Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #239558
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Get Terminal to Echo line in buffer on backspace |
| Date | 2021-09-01 16:10 +0200 |
| Message-ID | <CSz6a-2bn-5@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <CROTE-5XB-7@gated-at.bofh.it> <CRR58-7qq-3@gated-at.bofh.it> <CRRya-7A1-7@gated-at.bofh.it> <CScCB-4N1-7@gated-at.bofh.it> <CSdfj-505-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue 31 Aug 2021 at 10:40:06 (-0400), Greg Wooledge wrote: > On Tue, Aug 31, 2021 at 09:07:49AM -0500, David Wright wrote: > > Bound or unbound, I couldn't make ESC 1 Ctrl-L do anything useful > > while output is in progress (like a clean display of the typeahead > > so far typed). I couldn't see a way to force echoing the line at > > that time. > > ?? > > So... you're talking about something *completely* different from the > OP's requirement. Yes, as Nicolas pointed out, I was conflating two different things. > The OP, as far as I've been able to determine, has a *background* job > that's writing characters to the terminal while they're typing into > an interactive shell's prompt. The shell is not running a foreground > command. There is no "type ahead" involved. > > You're talking about running a *foreground* command, and then trying to > type another command while this one is still running. It's a totally > different scenario. Yes, I now see that. But as the movie looked very like a foreground job (ping), I tried that out too. Just typing the ^R has an effect very like what is seen there, and you can type ahead and rubout at will, producing a neat, corrected command line. I can't recall my having used ^R in that way before. > The Ctrl-L stuff (in all its variations) is intended only for the OP's > scenario. They're typing at a shell prompt, and a bit of "noise" > is thrown onto the screen, disrupting them. It's a one-time event, and > they'd just like to wipe away the noise so they can see what they're > typing (and specifically so that backspace is handled "correctly"). > > It won't help in your scenario, at all. No, I discovered that; just like you, I'd never looked into this stuff. I'm afraid I just treat some of the posts here as brainteasers, giving motivation for a bit of poking around. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Get Terminal to Echo line in buffer on backspace Thomas Anderson <thomas.anderson@little-beak.com> - 2021-08-30 14:40 +0200
Re: Get Terminal to Echo line in buffer on backspace Nicolas George <george@nsup.org> - 2021-08-30 14:50 +0200
Re: Get Terminal to Echo line in buffer on backspace Greg Wooledge <greg@wooledge.org> - 2021-08-30 14:50 +0200
Re: Get Terminal to Echo line in buffer on backspace Thomas Anderson <thomas.anderson@little-beak.com> - 2021-08-30 15:00 +0200
Re: Get Terminal to Echo line in buffer on backspace Greg Wooledge <greg@wooledge.org> - 2021-08-30 15:20 +0200
Re: Get Terminal to Echo line in buffer on backspace songbird <songbird@anthive.com> - 2021-08-31 04:00 +0200
Re: Get Terminal to Echo line in buffer on backspace Nicolas George <george@nsup.org> - 2021-08-30 17:10 +0200
Re: Get Terminal to Echo line in buffer on backspace Nicolas George <george@nsup.org> - 2021-08-30 17:10 +0200
Re: Get Terminal to Echo line in buffer on backspace Greg Wooledge <greg@wooledge.org> - 2021-08-30 17:40 +0200
Re: Get Terminal to Echo line in buffer on backspace David Wright <deblis@lionunicorn.co.uk> - 2021-08-31 16:10 +0200
Re: Get Terminal to Echo line in buffer on backspace Nicolas George <george@nsup.org> - 2021-08-31 16:20 +0200
Re: Get Terminal to Echo line in buffer on backspace David Wright <deblis@lionunicorn.co.uk> - 2021-08-31 16:50 +0200
Re: Get Terminal to Echo line in buffer on backspace Greg Wooledge <greg@wooledge.org> - 2021-08-31 16:50 +0200
Re: Get Terminal to Echo line in buffer on backspace David Wright <deblis@lionunicorn.co.uk> - 2021-09-01 16:10 +0200
Re: Get Terminal to Echo line in buffer on backspace Thomas Anderson <thomas.anderson@little-beak.com> - 2021-09-02 05:50 +0200
Re: Get Terminal to Echo line in buffer on backspace Greg Wooledge <greg@wooledge.org> - 2021-09-02 15:40 +0200
csiph-web