This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
xterm -ls -e
- From: "Kris Thielemans" <kris dot thielemans at csc dot mrc dot ac dot uk>
- To: "Cygwin-Xfree" <cygwin-xfree at cygwin dot com>
- Cc: "Kris Thielemans" <kris dot thielemans at csc dot mrc dot ac dot uk>
- Date: Tue, 16 Sep 2003 16:16:24 +0100
- Subject: xterm -ls -e
- Reply-to: cygwin-xfree at cygwin dot com
Hi
I'm using almost the default startxwin.bat with the following:
start XWin -emulate3buttons
run xterm -ls -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
/usr/bin/bash
Funnily enough, the xterm I get did NOT run bash as a login shell (the -ls
option), as my ~/.bash_profile hasn't been read (for instance, the path is
not complete). When I delete the -e stuff, i.e. use
run xterm -ls -sl 1000 -sb -rightbar -ms red -fg yellow -bg black
everything is alright. (This only works because bash is the default shell on
cygwin).
In fact, the same problem occurs when running xterm from within an existing
xterm/bash session. Typing
xterm -ls -e /usr/bin/bash
does not read the profile, while
xterm -ls
does. So, I suspect an xterm problem.
I'm using NT 4.0 sp6a and a cygwin setup of 30th of August (i.e. before the
64 bit stuff).
Kris Thielemans
(kris.thielemans <at> imperial.ac.uk)
Hammersmith Imanet
Cyclotron Building
Hammersmith Hospital
Du Cane Road
London W12 ONN, United Kingdom
web site address: http://www.hammersmithimanet.com/~kris