delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/02/18:29:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,TW_PD,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
In-Reply-To: <AANLkTimkOLm5Oo8uBUZTuVyvzWCwNquwC8aSGcWRpLip@mail.gmail.com>
References: <AANLkTimkOLm5Oo8uBUZTuVyvzWCwNquwC8aSGcWRpLip AT mail DOT gmail DOT com>
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: How does one change the default shell?
X-KeepSent: 5981DAE8:C47B1D51-85257792:007A77BD; type=4; name=$KeepSent
Message-ID: <OF5981DAE8.C47B1D51-ON85257792.007A77BD-85257792.007B8620@lnotes-gw.ent.nwie.net>
From: RISINGP1 AT nationwide DOT com
Date: Thu, 2 Sep 2010 18:29:11 -0400
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 ksh language and features  Every time that I 
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 setting and exporting the 
SHELL variable, but that did not work.

Thanks,

- Phil
____________________________________________________________________
Phil Rising, Principal Consultant for Sogeti USA, LLC
Contracted to Nationwide, Corporate Internet and Contact Center Solutions 
Team
(Work) (614) 677-7445, (Fax) (614) 677-7046
Alternate email: Phil DOT Rising AT us DOT sogeti DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019