From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: Latest cygwin.bat - need one
Date: Tue, 13 Dec 2011 03:07:00 -0000 [thread overview]
Message-ID: <4EE6C16B.8050103@cornell.edu> (raw)
In-Reply-To: <20111213013746.GJ11542@mrvideo.vidiot.com>
[Sorry, I again accidentally replied to the OP instead of to the list.]
On 12/12/2011 8:37 PM, Mike Brown wrote:
> On Mon, Dec 12, 2011 at 04:11:48PM -0800, Gary Johnson wrote:
>> General
>> [Name:] Cygwin Terminal
>> Shortcut
>> Target: C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -
>> Start in: [empty]
>> Shortcut key: None
>> Run: Normal window
>> [Icon:] C:\cygwin\Cygwin-Termina.ico
>
> Thanks, I created a shortcut with the above info and it is close.
>
> It starts and it finds my shell and my config files. But $SHELL is empty
> and the terminal has no clue as to where any of the Cygwin programs are.
> The PATH that is created before any of my files are read contains info on
> Windblows program locations, but nowhere is /usr/bin or /bin, or any of the
> long path names to the Cygwin binaries.
>
> When started from the cygwin.bat file, "/usr/local/bin:/usr/bin:/bin:" prefice
> the Windblows paths. So, a PATH that includes the needed info to the cygwin
> binaries is built when BAT is run, but not when mintty is started.
>
> Is there a reason why Cygwin is not building a PATH with the needed info?
Are you sure you didn't forget the `-' at the end of the target? That's
what tells mintty to start your shell as a login shell, in which case
the commands in /etc/profile should get executed. One of the commands
in the default /etc/profile adds /usr/local/bin and /usr/bin to PATH.
Have you modified /etc/profile?
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2011-12-13 3:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 5:48 Mike Brown
2011-12-12 6:31 ` Mike Brown
2011-12-12 7:13 ` Tim McDaniel
2011-12-12 8:01 ` Mike Brown
2011-12-12 15:45 ` Ken Brown
2011-12-12 17:45 ` Mike Brown
2011-12-12 20:19 ` Jeremy Bopp
2011-12-12 20:28 ` Ken Brown
2011-12-12 21:24 ` Mike Brown
2011-12-12 21:30 ` Jeremy Bopp
2011-12-13 0:11 ` Gary Johnson
2011-12-13 1:38 ` Mike Brown
2011-12-13 2:07 ` mintty Mike Brown
2011-12-13 3:07 ` Ken Brown [this message]
2011-12-13 4:24 ` Latest cygwin.bat - need one Mike Brown
2011-12-13 3:12 ` Jeremy Bopp
2011-12-13 11:34 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EE6C16B.8050103@cornell.edu \
--to=kbrown@cornell.edu \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).