Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #239525

Re: Get Terminal to Echo line in buffer on backspace

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Get Terminal to Echo line in buffer on backspace
Date 2021-08-31 16:50 +0200
Message-ID <CSdfj-505-1@gated-at.bofh.it> (permalink)
References <CROJX-5U5-1@gated-at.bofh.it> <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>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

??

> Six decades or so ago, when teletypes ran at lamentable speeds,
> typeahead was fairly essential for power users. I remember that
> the Phoenix/MVS system at Cambridge had a facility where typing
> a space would suspend printing output at the end of a line
> (like a perfectly timed XOFF), whereupon you could type a command
> line undisturbed for up to 60 secs, until you either sent it or
> aborted it (which would resume printing output).

So... you're talking about something *completely* different from the
OP's requirement.

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.

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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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