www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/12/20:38:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Mon, 12 Dec 2011 19:37:46 -0600
From: Mike Brown <brown AT mrvideo DOT vidiot DOT com>
To: cygwin mail list <cygwin AT cygwin DOT com>
Subject: Re: Latest cygwin.bat - need one
Message-ID: <20111213013746.GJ11542@mrvideo.vidiot.com>
References: <20111212054801 DOT GD4028 AT mrvideo DOT vidiot DOT com> <20111212063131 DOT GE4028 AT mrvideo DOT vidiot DOT com> <4EE62188 DOT 5050000 AT cornell DOT edu> <20111212174456 DOT GB11542 AT mrvideo DOT vidiot DOT com> <4EE663F7 DOT 4060004 AT cornell DOT edu> <20111212212343 DOT GF11542 AT mrvideo DOT vidiot DOT com> <4EE67261 DOT 9080408 AT bopp DOT net> <20111213001148 DOT GA13086 AT phoenix>
MIME-Version: 1.0
In-Reply-To: <20111213001148.GA13086@phoenix>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT vidiot DOT com | vidiot AT vidiot DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019