Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 14 Nov 2001 12:57:35 +0000
From: JAmes Coleman <james.coleman@s3group.com>
Subject: Re: Emacs, tramp, ssh, cygwin, and what is a pseudo-terminal?
To: cygwin@cygwin.com
Cc: jonadab@bright.net
Message-id: <3BF26A3F.22ACD668@s3group.com>
MIME-version: 1.0
X-Mailer: Mozilla 4.73 [en] (WinNT; I)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Accept-Language: en

To run cygwin shell as emacs shell try the following in your .emacs
c:\.emacs default location, read ntemacs FAQ for full details
Replace d:/cygwin with wherever cygwin is installed in your environment.

;# http://www.cs.washington.edu/homes/voelker/ntemacs.html
;How do I use a shell in Emacs?
;http://www.gnu.org/software/emacs/windows/faq7.html#shell

;#set |grep COMSPEC
;#COMSPEC=C:\WINNT\system32\cmd.exe

;; For the interactive shell
(setq explicit-shell-file-name "d:/cygwin/bin/bash.exe")

;; For subprocesses invoked via the shell (e.g., "shell -c command")
(setq shell-file-name "d:/cygwin/bin/bash.exe")

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

