help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is easy to get hung in infinite ^G stream; how to stop it?


From: David Combs
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)

In article <address@hidden>,
Barry Margolin  <address@hidden> wrote:
>In article <address@hidden>,
> address@hidden (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<return>", 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, address@hidden
>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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]