This is the mail archive of the cygwin-xfree 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]

Re: start xterm automatically

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                    
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:
Problem reports:

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