Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <004a01bf012b$11f40710$614b62c7@montana.intercept.com>
From: "Larry A. Roberts" <larry_roberts@intercept.com>
To: <cygwin@sourceware.cygnus.com>
Subject: Re: Running bash inside NT Emacs's "shell"
Date: Fri, 17 Sep 1999 12:38:28 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3612.1700
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
X-SLUIDL: 58253887-6D0911D3-9A7A0050-046FC7E3

Below is a clip of my ".emacs" file. Put it in your home
directory, defined by the $HOME environment variable.

Also define $ESHELL to have the path to bash.exe.

Information like this is available from the following web
address: (although I just tried going there and got an
error).

http://www.cs.washington.edu/homes/voelker/ntemacs.html

Good Luck,

Larry

----------------------".emacs" below this line---------------

(defun my-shell-setup ()
  "For bash (cygwin 18) under Emacs 20"
  (setq comint-scroll-show-maximum-output 'this)
  (setq comint-completion-addsuffix t)
  (setq comint-eol-on-send t)
  (setq w32-quote-process-args ?\")
  (make-variable-buffer-local 'comint-completion-addsuffix))

(setq shell-mode-hook 'my-shell-setup)

(setq process-coding-system-alist (cons '("bash" . raw-text-unix)
                                        process-coding-system-alist))


(set-default-font "-*-Courier New-normal-r-*-*-17-102-*-*-c-*-*-ansi-")
(setq-default indent-tabs-mode nil)
(setq c-tab-always-indent t)

----------------------".emacs" above this line------------------


-----Original Message-----
From: Larry_Bottorff@cch.com <Larry_Bottorff@cch.com>
To: cygwin@sourceware.cygnus.com <cygwin@sourceware.cygnus.com>
Date: Friday, September 17, 1999 11:44 AM
Subject: Running bash inside NT Emacs's "shell"


I found the tip in the b20.1 readme on running bash inside emacs's
"shell". It
said to add certain lines to my "startup file". Which "startup file"
might that
be?

Larry Bottorff
mrprenzl@midusa.net
Larry_Bottorff@cch.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

