From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jay Cotton Newsgroups: gmane.emacs.help Subject: Re: problem with emacs shell mode Date: Tue, 21 Sep 2004 11:29:52 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3BAAD295-0BE3-11D9-898C-000393D94636@fleeingrabbit.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1095780717 15360 80.91.229.6 (21 Sep 2004 15:31:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2004 15:31:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 21 17:31:46 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9mcL-0001sh-00 for ; Tue, 21 Sep 2004 17:31:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9miH-0002UB-O0 for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Sep 2004 11:37:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C9mhh-0002Hk-7p for help-gnu-emacs@gnu.org; Tue, 21 Sep 2004 11:37:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C9mhf-0002Ga-6k for help-gnu-emacs@gnu.org; Tue, 21 Sep 2004 11:37:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9mhf-0002GK-0u for help-gnu-emacs@gnu.org; Tue, 21 Sep 2004 11:37:15 -0400 Original-Received: from [209.239.41.145] (helo=host10.globalnameservers.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C9mba-00017a-Tb for help-gnu-emacs@gnu.org; Tue, 21 Sep 2004 11:30:59 -0400 Original-Received: from [192.168.1.100] (pcp02436026pcs.nchrls01.sc.comcast.net [68.58.185.72]) by host10.globalnameservers.com (8.12.10/8.12.10) with ESMTP id i8LFUwGG018112 for ; Tue, 21 Sep 2004 11:30:58 -0400 Resent-Date: Tue, 21 Sep 2004 11:30:57 -0400 Resent-To: help-gnu-emacs@gnu.org Resent-Message-Id: <1538DBD0-0BE3-11D9-898C-000393D94636@fleeingrabbit.com> Resent-From: Jay Cotton Original-To: Ian Zimmerman X-Mailer: Apple Mail (2.619) Resent-Date: Tue, 21 Sep 2004 11:37:16 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20797 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20797 It worked! I set it to true in my .emacs and now it works like a charm. Thanks a bunch! (setq process-connection-type t) On Sep 21, 2004, at 10:56 AM, Ian Zimmerman wrote: > > Jay> Everything was working great, and I started to think I was finally > Jay> in emacs paradise, and then I opened a shell buffer with M-x > Jay> shell. The problem I encountered is that the shell seems to hold > Jay> onto output of the underlying processes without displaying it on > Jay> the screen. So, for instance, if I run the unix command 'units' at > Jay> the shell prompt, instead of prompting me for what unit I have > Jay> (which is what the program is supposed to do), it appears to > Jay> hang. The only time it will show the output (that I'm aware of) is > Jay> when the underlying process ends. As a result, programs like 'ls' > Jay> appear to work because they aren't interactive - they end almost > as > Jay> soon as they are started and their output appears immediately in > Jay> the buffer. But none of my interactive shell scripts work. :( > > Tweaking process-connection-type might help, but no promises. OS X > is weird, as I am learning on my own, unfortunately :-( > > -- > "It's not true or not." A reality show producer (real quote) > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs >