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: Wed, 26 May 2004 22:00:35 +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 1085609289 30275 80.91.224.253 (26 May 2004 22:08:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 May 2004 22:08:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 27 00:07:47 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 1BT6Ys-0007X4-00 for ; Thu, 27 May 2004 00:07:46 +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 1BT6VM-00031q-B2 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 May 2004 18:04:08 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!newsfeed.mathworks.com!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 71 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader2.panix.com 1085608835 4964 166.84.1.1 (26 May 2004 22:00:35 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Wed, 26 May 2004 22:00:35 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: shelby.stanford.edu gnu.emacs.help:123495 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:18786 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18786 In article , Barry Margolin wrote: >In article , > dkcombs@panix.com (David Combs) wrote: > >> 228 ==/dkcjunk==> alias xalias 'printf "At startup, su(ck)-in one .smd >> "subcommand"-file:\n (NOTE: below, "su" is ok-abbrev for suck-in ("source") >> cmd "subcommands t.smd",\n meaning "read in the sub-commands located in >> subcommands-file t.smd")\n At startup, "su" EITHER: cuffs.smd OR >> tools.smd\n (should be local indir-symlinks *thru* >> /home/dkc/4msnew/{cuffs,tools}.smd)"' >> >> 228 ==/dkcjunk==> xalias >> qq >> q >> q >> Q >> q >> q >>  >> q >>  >> >> See just above, my "g", several of them. >> >> Does nothing, I think. > >Where's the "man" command in that alias? What I see there is lots of >quoting problems in the printf command. > >-- >Barry Margolin, barmar@alum.mit.edu >Arlington, MA >*** PLEASE post questions in newsgroups, not directly to me *** Took it down last night for lev0-dump; lost all those "bad" shell-buffers. So, from scratch, try this one, and see if you can discover how to recover from it: | cpml% printf "hello\nHere we are. We are now HERE.\nGoodbye\n" >! foo.foo | cpml% cat foo.foo | hello | Here we are. We are now HERE. | Goodbye | 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! David