This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: Running bash inside NT Emacs's "shell"


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


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