help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] term (ansi-term) and cygwin


From: Sprenger, Karel
Subject: RE: [h-e-w] term (ansi-term) and cygwin
Date: Fri, 7 Jun 2002 22:46:10 +0200

Benoit,

In my ~/.bashrc I have 

   TERM=cygwin; export TERM

and a similar emacs setup like yours.  With that M-x shell gives a bash shell 
that works well.

Cheers,
Karel

-----Original Message-----
From: Benoit ROUSSELLE [mailto:address@hidden
Sent: donderdag 6 juni 2002 16:24
To: address@hidden
Subject: [h-e-w] term (ansi-term) and cygwin



Does someone succeeded to use the term or the ansi-term under ntemacs
21.2 with cygwin ?

a piece of your .emacs with cygwin config would be greatly
apreciated.

my shell is working fine but nothing happen under my term buffer.

in case this is my cygwin config:

,------------------------------------------
| ;; shell set up
| (setq exec-path (cons "C:/cygwin/bin" exec-path))
| (setenv "PATH" (concat "C:\\cygwin\\bin;" (getenv "PATH")))
| 
| (require 'cygwin-mount)
| (cygwin-mount-activate)
| 
| (setq process-coding-system-alist '(("bash" . undecided-unix)))
| (setq w32-quote-process-args ?\")
| (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)
| (add-hook 'comint-output-filter-functions
|         'comint-watch-for-password-prompt nil t)
`------------------------------------------

Thanks !
Benoit

-- 
-------------------
Benoit ROUSSELLE





reply via email to

[Prev in Thread] Current Thread [Next in Thread]