Re: How does one change the default shell?

2010-09-03 Thread Dave No, not /that/ one! Korn
On 02/09/2010 23:29, risin...@nationwide. wrote: I use pdksh as my login shell - I have been using the Korn shell (thanks Dave!) See From: header! cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: How does one change the default shell?

2010-09-03 Thread Eric Blake
On 09/03/2010 09:52 AM, Paul McFerrin wrote: How about the obviousChange the shell listed in the /etc/passwd file for the affected user. I for years had pdksh as my default shell. Yes, I was a long time ATTer, where the ksh was invented. Quit top-posting, and

Re: How does one change the default shell?

2010-09-02 Thread Eric Blake
On 09/02/2010 04:29 PM, risin...@nationwide.com wrote: I use pdksh as my login shell - I have been using the Korn shell (thanks Dave!) since 1984 or so, so it is what I am used to and has features I haven't been able to find in bash - at least not yet. So to expedite script writing, I use the

Re: How does one change the default shell?

2010-09-02 Thread Eric Blake
On 09/02/2010 04:29 PM, risin...@nationwide.com wrote: I use pdksh as my login shell - I have been using the Korn shell (thanks Dave!) since 1984 or so, so it is what I am used to and has features I haven't been able to find in bash - at least not yet. So to expedite script writing, I use the

Re: How does one change the default shell?

2010-09-02 Thread RISINGP1
On 09/02/2010 04:29 PM, risin...@nationwide.com wrote: I use pdksh as my login shell - I have been using the Korn shell (thanks Dave!) since 1984 or so, so it is what I am used to and has features I haven't been able to find in bash - at least not yet. So to expedite script writing, I use

Re: How does one change the default shell?

2010-09-02 Thread Eric Blake
On 09/02/2010 04:49 PM, risin...@nationwide.com wrote: write a script, I have to remember to put in the shebang line (#!/bin/pdksh) or half the time my scripts won't work. Is there a way to change the default shell for cygwin? I checked the user guide and the FAQ, but no joy there. I tried

Re: How does one change the default shell?

2010-09-02 Thread RISINGP1
[ACK! I just realized I was continuing my usurping of the thread. Sorry.] On 09/02/2010 04:29 PM, risin...@nationwide.com wrote: I use pdksh as my login shell - I have been using the Korn shell (thanks Dave!) since 1984 or so, so it is what I am used to and has features I haven't been able

Re: How does one change the default shell?

2010-09-02 Thread RISINGP1
Ah, so you mean how to change /bin/sh to be pdksh instead of bash. Simple: cp /bin/{pdk,}sh But be prepared to redo that every time you upgrade bash via setup.exe, and don't come crying to the list if things break that were expecting bash when they got pdksh. Thanks. I was

Re: How does one change the default shell?

2010-09-02 Thread Andy Koppe
On 2 September 2010 23:49, RISINGP1 wrote: My cygwin.bat: @echo off C: chdir C:\cygwin\bin REM bash --login -i REM pdksh -l -i start mintty -p 70,0 -t Console -e - Btw, you don't need cygwin.bat to start mintty; you can just put those parameters into a shortcut (or copy the one in the