start xterm automatically

andreaphus andrealphus@gmail.com
Thu Sep 10 01:47:00 GMT 2009


I'd like to set it so that when I run cygwin it automatically launches an
xterm shell but Im having problems.

I normally run cygwin and then run startxwin.bat (which works fine). I can
not just put startxwin.bat in .bash_profile because it will loop opening
shells (it resourced .bash_profile everytime which in turns opens a new
xterm). I thought this might because the xterm I was opening up in
startxwin.bat was a login shell but I changed the xterm command from -ls to
+ls (a non login shell, and thus it should not resource .bash_profile but it
still does).

Ideally I want to run cygwin, have it automatically open a login xterm
shell, and then auto close the cygwin shell.

Any suggestions.
-- 
View this message in context: http://www.nabble.com/start-xterm-automatically-tp25375737p25375737.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list