[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [h-e-w] cygwin setup guide
From: |
Underwood, Jonathan |
Subject: |
RE: [h-e-w] cygwin setup guide |
Date: |
Wed, 22 May 2002 14:06:48 -0400 |
>From the Cygwin FAQ (www.cygwin.com):
;; This assumes that Cygwin is installed in C:\cygwin (the
;; default) and that C:\cygwin\bin is not already in your
;; Windows Path (it generally should not be).
;;
(setq exec-path (cons "C:/cygwin/bin" exec-path))
(setenv "PATH" (concat "C:\\cygwin\\bin;" (getenv "PATH")))
;;
;; NT-emacs assumes a Windows command shell, which you change
;; here.
;;
(setq process-coding-system-alist '(("bash" . undecided-unix)))
(setq shell-file-name "bash")
(setenv "SHELL" shell-file-name)
(setq explicit-shell-file-name shell-file-name)
;;
;; This removes unsightly ^M characters that would otherwise
;; appear in the output of java applications.
;;
(add-hook 'comint-output-filter-functions
'comint-strip-ctrl-m)
In actual fact, for emacs 21.x you don't need the line (setq
process-coding-system-alist '(("bash" . undecided-unix))) anymore.
Jonathan.
> -----Original Message-----
> From: Jeff Rancier [mailto:address@hidden
> Sent: May 22, 2002 12:48 PM
> To: Emacs Help (Windows)
> Subject: [h-e-w] cygwin setup guide
>
>
> Hello.
>
> Does anyone have a link to a guide showing me how to
> minimally setup cygwin
> in NTEmacs, using XP Pro & GNU Emacs 21.2.1 (i386-msvc-nt5.1.2600) of
> 2002-03-19 on buffy? Specifically for the JDEE.
>
> The only thing I've set is shell-file-name to bash.exe. Do
> I need to set
> Windows environmental variables? Registry changes?
>
> TIA.
> Jeff
>
>
>
RE: [h-e-w] cygwin setup guide, Dalton, Barnaby, 2002/05/23