Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <376A54E7.3D7EA7EE@1c.ru> Date: Fri, 18 Jun 1999 18:17:11 +0400 From: Vadim Egorov X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: Alan Patterson CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: NTEmacs problem References: <376A4D5A DOT 1AA57CE9 AT nexan DOT com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-MDaemon-Deliver-To: cygwin AT sourceware DOT cygnus DOT com X-Return-Path: EgorovV AT 1c DOT ru 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