On 09/09/2009 09:47 PM, andreaphus wrote:
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.
I assume you're starting Cygwin with cygwin.bat. How do you start that? Is there a reason you cannot start startxwin.bat the same way? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/