Mail Archives: cygwin/1999/06/18/10:19:39
Hi,
For running shell Emacs uses shell-file-name and
explicit-shell-file-name
variables. In my ~/.emacs I have:
(setq shell-file-name "bash.exe")
(setq explicit-shell-file-name shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(setq shell-command-switch "-c")
(setq archive-zip-use-pkzip nil)
(setenv "SHELL" "/bin/bash")
(setq comint-process-echoes nil)
(setq w32-quote-process-args ?\")
(setq process-coding-system-alist
(cons '("bash" . raw-text-unix)
process-coding-system-alist))
(setq process-coding-system-alist
(cons '("gdb" . raw-text-unix)
process-coding-system-alist))
And it works ok.
Emacs runs ~/.emacs on startup - if HOME variable set in Emacs
environment.
(You can check it M-: (getenv "HOME") RET )
Emacs usually tries to auto detect EOL conversion but you have a few
ways to
customize this behavior - check Emacs mauls and FAQ - and this has
nothing
with cygwin.
But I would suggest ntemacs-users AT cs DOT washington DOT edu mailing list for
such
questions.
Regards
Vadim
Alan Patterson wrote:
>
> Hi,
> I have now managed to get the shell running, but it only runs the
> windows shell. I have placed the suggested lisp code in my
> $HOME/.emacs file but it doesn't seem to get loaded ?
>
> Also, I would like to know if ntemacs can use the cygwin feature of
> opening text files in text mode. I.e. can I edit windows text files
> that have the \r\n EOLs.
>
> Thanks in advance,
> Alan
>
> --
> Alan Patterson Algorithm Software Engineer
> Nexan Telemed Ltd. +44 1223 713500
> The Quorum, Barnwell Rd, +44 1223 713501 (fax)
> Cambridge CB5 8RE. alan DOT patterson AT nexan DOT com
>
--
*********************************************
Vadim Egorov, 1C * ÷ÁÄÉÍ åÇÏÒÏ×,1C
egorovv AT 1c DOT ru * egorovv AT 1c DOT ru
*********************************************
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -