This is the mail archive of the cygwin-apps mailing list for the Cygwin 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: default terminal


On 1 June 2010 09:18, Corinna Vinschen wrote:
> What if Cygwin.bat just contains `start mintty.exe -' rather
> than `bash --login -i'?
>
> Advantages:
>
> - Not much of a change in setup.

Drawback: you get a console flashing up for the .bat file. I find that
really annoying, so I think it would need to be a direct shortcut.


> - Still allows to set environment variables before starting the first
> ÂCygwin process.

You can set variables on the mintty command line using /bin/env, e.g.:

 mintty /bin/env DISPLAY=:0 /bin/ssh -X server

But of course that doesn't take effect before the first Cygwin process.


> - Using the dash allows the user to use the Cygwin shotcut to start
> Âhis/her login shell as noted in /etc/passwd without having to change
> Â/Cygwin.bat.

Good point.

Andy


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