From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1469 invoked by alias); 13 Dec 2011 01:38:05 -0000 Received: (qmail 1460 invoked by uid 22791); 13 Dec 2011 01:38:04 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mrvideo.vidiot.com (HELO mrvideo.vidiot.com) (75.100.112.198) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Dec 2011 01:37:51 +0000 Received: from localhost ([127.0.0.1] helo=mrvideo.vidiot.com) by mrvideo.vidiot.com with esmtp (Exim 4.69) (envelope-from ) id 1RaHJX-0005bs-Dp for cygwin@cygwin.com; Mon, 12 Dec 2011 19:37:51 -0600 Received: (from brown@localhost) by mrvideo.vidiot.com (8.13.8+Sun/8.13.8/Submit) id pBD1bk4U021567 for cygwin@cygwin.com; Mon, 12 Dec 2011 19:37:46 -0600 (CST) Date: Tue, 13 Dec 2011 01:38:00 -0000 From: Mike Brown To: cygwin mail list Subject: Re: Latest cygwin.bat - need one Message-ID: <20111213013746.GJ11542@mrvideo.vidiot.com> References: <20111212054801.GD4028@mrvideo.vidiot.com> <20111212063131.GE4028@mrvideo.vidiot.com> <4EE62188.5050000@cornell.edu> <20111212174456.GB11542@mrvideo.vidiot.com> <4EE663F7.4060004@cornell.edu> <20111212212343.GF11542@mrvideo.vidiot.com> <4EE67261.9080408@bopp.net> <20111213001148.GA13086@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111213001148.GA13086@phoenix> User-Agent: Mutt/1.5.17 (2007-11-01) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-12/txt/msg00286.txt.bz2 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? I've modified my environment resource file to look for $TERM == xterm and added the needed Cygwin paths. BTW, what is with white text on a black background? UGGHH! :-) MB -- e-mail: vidiot@vidiot.com | vidiot@vidiot.net /~\ The ASCII [I've been to Earth. I know where it is. ] \ / Ribbon Campaign [And I'm gonna take us there. Starbuck 3/25/07] X Against Visit - URL: http://vidiot.com/ | http://vidiot.net/ / \ HTML Email -- 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