From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: changing default shell Date: Tue, 22 Mar 2005 17:17:56 -0700 Message-ID: <3abqtpF67ufc7U1@individual.net> References: <87psxzpmkx.fsf@thalassa.informatimago.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111537046 6776 80.91.229.2 (23 Mar 2005 00:17:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Mar 2005 00:17:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 23 01:17:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDtYq-0004u9-0d for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Mar 2005 01:17:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDtqE-0006pN-8Z for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Mar 2005 19:35:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-X-Trace: individual.net CwJNpplWsceCuR0e5a6SCwONatMh5Nzb0iNcFUKxgP69SfXgc= User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:129549 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:25099 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25099 Justin wrote: > Thanks for the help. Yes, customize-variable was the one I was looking for. > > I have cygwin installed on my windows xp system. I have used > customize-variable to change the shell to C:/cygwin/bin/bash.exe > > I clicked "Save for Future Sessions" and it put this in my ~/.emacs: > > (custom-set-variables > ;; custom-set-variables was added by Custom -- don't edit or cut/paste > it! > ;; Your init file should contain only one such instance. > '(shell-file-name "C:/cygwin/bin/bash.exe")) > (custom-set-faces > ;; custom-set-faces was added by Custom -- don't edit or cut/paste it! > ;; Your init file should contain only one such instance. > ) > > > The problem is when I go: M-x shell it still uses the cripled ms command > prompt. shell-file-name affects commands like `M-!' and `M-|'. `C-h f shell RET' explains that you need to customize the explicit-shell-file-name variable (or set the ESHELL or SHELL environment variable). -- Kevin