From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Glenn Ammons Newsgroups: gmane.emacs.help Subject: Re: Terminal problem in shell mode Date: 23 Apr 2003 16:16:07 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84znmis789.fsf@lucy.is.informatik.uni-duisburg.de> <847k9l91uq.fsf@lucy.is.informatik.uni-duisburg.de> <84ist5414t.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1051133473 27764 80.91.224.249 (23 Apr 2003 21:31:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2003 21:31:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 23:31:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 198RpC-0007Bj-00 for ; Wed, 23 Apr 2003 23:30:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 198RfA-0005hh-02 for gnu-help-gnu-emacs@m.gmane.org; Wed, 23 Apr 2003 17:20:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.cs.wisc.edu!news.cs.wisc.edu!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) Original-Lines: 17 Original-NNTP-Posting-Host: salsa.cs.wisc.edu Original-X-Trace: 1051132567 spool.cs.wisc.edu 1168 128.105.175.15 Original-Xref: shelby.stanford.edu gnu.emacs.help:112247 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8746 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8746 kai.grossjohann@gmx.net (Kai Großjohann) writes: > Glenn Ammons writes: > > > So, how do I convince shell-mode on NTEmacs that it is a tty? > > Emacs has the concept of a process connection type. See the variable > process-connection-type. Does this help? No, I think Benny is right about Windows. process-connection-type is t for shell-mode on both Windows and Unix; apparently, on Unix, Emacs communicates with bash through a pty, but on Windows it uses a pipe, since there are no ptys. What a bummer. It's tough getting a decent command-line on Windows. --glenn