xterm -ls -e
Kris Thielemans
kris.thielemans@csc.mrc.ac.uk
Tue Sep 16 15:20:00 GMT 2003
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
More information about the Cygwin-xfree
mailing list