From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: is easy to get hung in infinite ^G stream; how to stop it? Date: Thu, 27 May 2004 05:49:30 +0000 (UTC) Organization: Public Access Networks Corp. 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 1085637871 21077 80.91.224.253 (27 May 2004 06:04:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 May 2004 06:04:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 27 08:04:21 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 1BTE05-0001Ks-00 for ; Thu, 27 May 2004 08:04:21 +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 1BTDyO-0003F5-QX for geh-help-gnu-emacs@m.gmane.org; Thu, 27 May 2004 02:02:36 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 109 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader2.panix.com 1085636970 14687 166.84.1.3 (27 May 2004 05:49:30 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Thu, 27 May 2004 05:49:30 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: shelby.stanford.edu gnu.emacs.help:123510 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:18806 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18806 In article , Stefan Monnier wrote: >> | cpml% vi foo.foo >> | >> | [Using open mode] >> | 1 >> | "foo.foo" 3 lines, 45 characters >> | 1 >> | >> | 2 . >> |  >> | 3 3 >> |  >> | q >> |  >> |  <---- Tried a series of Control-C chars here >> | |  <---- each line comes from a simple newline. >> |  >> |  >> | > >> Thanks for *any* hints on escaping from this hole! > >Have you tried to type `: q RET' ? > > > Stefan Yep, have done, just like I was told to earlier -- with ZERO effect. And Kai wants me to use eshell -- but I'm used to csh/tcsh, and *really, really* don't want to get into bash, and am not sure just what I must do to my .cshrc to adjust it for eshell, and the info-doc that comes with eshell seems *really* lacking in anything useful as far as how to actually *use* the thing (esp for a csh-user), ... (using vi as the example to get the ^G^G... stuff is only showing an easy way to get into the situation -- of course, that's not what I actually do, when I *inadvertently* trigger it -- actually, I have little idea of what I did to cause it -- can't even do a "C-h l" at that time, to see what I've recently entered as keystrokes.) Please, can the gurus here try doing vi (as simple way to cause the problem) in *shell* -- where M-x shell gets me into my standard shell, csh. Then, see if *you* (said gurus) can escape. Thanks! 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*). >From: patl@athena.mit.edu (Patrick J. LoPresti) >Message-ID: <1991Jul11.031731.9260@athena.mit.edu> >Sender: news@athena.mit.edu (News system) >Subject: The True Path (long) >Date: 11 Jul 91 03:17:31 GMT >Path: ai-lab!mintaka!olivea!samsung!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!patl >Newsgroups: alt.religion.emacs,alt.slack >Organization: Massachusetts Institute of Technology >Lines: 95 >Xref: ai-lab alt.religion.emacs:244 alt.slack:1935 > >When I log into my Xenix system with my 110 baud teletype, both vi >*and* Emacs are just too damn slow. They print useless messages like, >'C-h for help' and '"foo" File is read only'. So I use the editor >that doesn't waste my VALUABLE time. > >Ed, man! !man ed > >ED(1) UNIX Programmer's Manual ED(1) > >NAME > ed - text editor > >SYNOPSIS > ed [ - ] [ -x ] [ name ] >DESCRIPTION > Ed is the standard text editor. >--- > >Computer Scientists love ed, not just because it comes first >alphabetically, but because it's the standard. Everyone else loves ed >because it's ED! > >"Ed is the standard text editor." > ... ... >not be vi. If you use ED, you are on THE PATH TO REDEMPTION. THE >SO-CALLED "VISUAL" EDITORS HAVE BEEN PLACED HERE BY ED TO TEMPT THE >FAITHLESS. DO NOT GIVE IN!!! THE MIGHTY ED HAS SPOKEN!!!