[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 <barmar-E063AD.00315626052004@comcast.dca.giganews.com>,
Barry Margolin <barmar@alum.mit.edu> wrote:
>In article <c90lqu$7in$1@reader2.panix.com>,
> 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<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, 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
- Re: is easy to get hung in infinite ^G stream; how to stop it?, David Combs, 2004/05/25
- Re: is easy to get hung in infinite ^G stream; how to stop it?, David Combs, 2004/05/25
- Re: is easy to get hung in infinite ^G stream; how to stop it?, Barry Margolin, 2004/05/26
- Re: is easy to get hung in infinite ^G stream; how to stop it?,
David Combs <=
- Re: is easy to get hung in infinite ^G stream; how to stop it?, Stefan Monnier, 2004/05/26
- Re: is easy to get hung in infinite ^G stream; how to stop it?, David Combs, 2004/05/27
- Re: is easy to get hung in infinite ^G stream; how to stop it?, Barry Margolin, 2004/05/27
- Re: is easy to get hung in infinite ^G stream; how to stop it?, Stefan Monnier, 2004/05/27
- Re: is easy to get hung in infinite ^G stream; how to stop it?, Kai Grossjohann, 2004/05/28