From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: is easy to get hung in infinite ^G stream; how to stop it? Date: Thu, 27 May 2004 02:56:39 -0400 Organization: Looking for work Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085643809 472 80.91.224.253 (27 May 2004 07:43:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 May 2004 07:43:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 27 09:43:22 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTFXu-0005pH-00 for ; Thu, 27 May 2004 09:43:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTEtb-0005K7-9L for geh-help-gnu-emacs@m.gmane.org; Thu, 27 May 2004 03:01:43 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 27 May 2004 01:56:40 -0500 Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X) X-Copies-To: never Original-Lines: 25 Original-NNTP-Posting-Host: 24.128.26.140 Original-X-Trace: sv3-HS6dMzk5mol0c+DR5ppDs3+M0fok04sY7S0xy7S47GzO6zqeyEdl2vUobytxOU4fLxYQYCx9gtJnj7T!/fn8Fjle/1PXrXEapSIS3PvsXzTfBEkgTInBbZFZEWiJIEcdZM3Tamv/2+20ssnemm8XtIsX6B7E!vyA4GVKvlhg= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:123511 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:18808 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18808 In article , dkcombs@panix.com (David Combs) wrote: > PS: One puzzle: what's this stuff about how wonderful > "ed" is? (Yes, is better than ex for *scripts*, for sure) -- > how does it relate to this post? Except to suggest > that when in *shell* I should use ed rather than vi -- > again, vi is only an easy way to get the ^G problem > (and I very often do use ex from *shell*). In general, when you're in a *shell* buffer, you can't use any full-screen applications. The shell buffer is not emulating a video terminal, it's more like a dumb hardcopy terminal. One thing that will help alot is to set $PAGER to "cat" when you're in a shell buffer. Put the following in your .cshrc: if ( $?EMACS ) setenv PAGER cat This should avoid most unintentional use of "more" or "less". -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***