This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: Emacs, tramp, ssh, cygwin, and what is a pseudo-terminal?


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/


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