From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7258 invoked by alias); 13 Dec 2011 03:12:26 -0000 Received: (qmail 7247 invoked by uid 22791); 13 Dec 2011 03:12:23 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail31.mailforbusiness.com (HELO mail31.mailforbusiness.com) (64.106.209.53) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Dec 2011 03:12:10 +0000 Received: from mail31.mailforbusiness.com (localhost.simplicato.com [127.0.0.1]) by mail31.mailforbusiness.com (Postfix) with ESMTP id 0909772B871 for ; Mon, 12 Dec 2011 22:12:09 -0500 (EST) Received: from [192.168.1.22] (unknown [70.114.249.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jeremy@bopp.net) by mail31.mailforbusiness.com (Postfix) with ESMTPSA id D787972B86C for ; Mon, 12 Dec 2011 22:12:08 -0500 (EST) Message-ID: <4EE6C288.8050800@bopp.net> Date: Tue, 13 Dec 2011 03:12:00 -0000 From: Jeremy Bopp User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Latest cygwin.bat - need one 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> <20111213013746.GJ11542@mrvideo.vidiot.com> In-Reply-To: <20111213013746.GJ11542@mrvideo.vidiot.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00289.txt.bz2 On 12/12/2011 07: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? As I recall, all of the PATH settings are handled in /etc/profile and files in /etc/profile.d. It sounds like you have a problem somewhere in there. Maybe you made local changes that prevented the package that provides /etc/profile from updating it when you upgraded Cygwin. Try installing a fresh instance of Cygwin to a different directory and see if things behave better there. You can leave your current installation where it is without much risk of interference, assuming your shell startup scripts don't have any hard coded paths to the original location. > I've modified my environment resource file to look for $TERM == xterm and > added the needed Cygwin paths. That shouldn't be necessary once you get the real problem sorted out. > BTW, what is with white text on a black background? UGGHH! :-) To each his own. Hopefully, you found all the configuration options so that you can change it as you please. :-) -Jeremy -- 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