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

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Get Terminal to Echo line in buffer on backspace
Date Tue, 31 Aug 2021 16:50:01 +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>
X-Mailbox-Line From debian-user-request@lists.debian.org Tue Aug 31 14:40:23 2021
Old-Return-Path <greg@wooledge.org>
X-Amavis-Spam-Status No, score=-6.107 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RDNS_NONE=0.793] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Mail-Followup-To debian-user@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Mailing-List <debian-user@lists.debian.org> archive/latest/780215
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/YS4/Ri8w4GSeOl6y@wooledge.org
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 31 Aug 2021 10:40:06 -0400
X-Original-Message-ID <YS4/Ri8w4GSeOl6y@wooledge.org>
X-Original-References <11000339-dda5-1cbf-6dd6-502507e21f45@little-beak.com> <YSzSDqxC/2HKRaf1@wooledge.org> <YSzzzdQc8Pck6tqw@phare.normalesup.org> <YSz7ou2JyD0w4se7@wooledge.org> <20210831140748.GC5364@axis.corp>
Xref csiph.com linux.debian.user:239525

Show key headers only | 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