delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Reply-To: | <Larry DOT Piano AT atomictangerine DOT Com> |
From: | "Lawrence Piano" <lpiano AT atomictangerine DOT Com> |
To: | <xemacs AT xemacs DOT org> |
Cc: | <cygwin AT cygwin DOT com>, |
"Lawrence J Piano \(E-mail\)" <lpiano AT atomictangerine DOT Com> | |
Subject: | Shell mode question |
Date: | Fri, 11 May 2001 12:17:36 +0100 |
Message-ID: | <000d01c0da0c$08765790$08e328c3@ATLONCAMB1> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
Importance: | Normal |
I have a problem with using cygwin tcsh in shell mode with the NT version of XEmacs 21.1.3. I searched the FAQ and mailing archives, but can't seem to find an answer. I also tried putting *only* the lines below in my .emacs file and removing my .tcshrc file to get rid of any interference. The problem is the shell loads and runs fine - almost. If I just press enter, the prompt line gets written to the right, that is, there is no CRLF to the next line. if I do a command like 'ps', the first line gets written on the current line, not the next line. This happens on NTEmacs as well, which makes me think I need to set some lisp variable or there's maybe an incompatibility between cygwin tcsh and emacs. My .emacs file has the lines: (if (eq my-unix-tools 'cygwin) (progn ;; General shell settings (setq explicit-shell-file-name (concat my-unix-bin "/tcsh.exe")) ;; Subprocesses invoked via the shell (setq shell-file-name (concat my-unix-bin "/tcsh.exe")) (setq w32-quote-process-args t) ; Emacs 20 (setq shell-command-switch "-cf") ;; The rest comes straight out of the Cygwin FAQ. (setenv "PID" nil) (load "comint") (fset 'original-comint-exec-1 (symbol-function 'comint-exec-1)) (defun comint-exec-1 (name buffer command switches) (let ((binary-process-input t) (binary-process-output nil)) (original-comint-exec-1 name buffer command switches))) (defun my-comint-init () (setq comint-process-echoes t)) (add-hook 'comint-mode-hook 'my-comint-init) ) ) I also tried: (setenv "SHELL" "tcsh.exe") (setq w32-quote-process-args t) ; Emacs 20 (setq shell-command-switch "-cf") but got the same result. Any ideas anyone? Thanks, Larry -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |