This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xterm -ls -e


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]