delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/14/07:50:13

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

- Raw text -


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