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


Groups > linux.debian.user > #239458

Re: Get Terminal to Echo line in buffer on backspace

From Thomas Anderson <thomas.anderson@little-beak.com>
Newsgroups linux.debian.user
Subject Re: Get Terminal to Echo line in buffer on backspace
Date 2021-08-30 15:00 +0200
Message-ID <CRP3j-60U-3@gated-at.bofh.it> (permalink)
References <CROJX-5U5-1@gated-at.bofh.it> <CROTE-5XB-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


It's hard for me to describe, so here is an example of I am looking to
emulate (this is from a mac).

https://cloud.little-beak.com/s/KxpjEHJ5RTEYZmS

On debian, I have tried many different terminal emulators, and all the
visible options to get this type

of behavior, but have failed. =(

On 30/08/2021 14:41, Greg Wooledge wrote:
> On Mon, Aug 30, 2021 at 12:26:32PM +0200, Thomas Anderson wrote:
>> My issue is: if I am typing to terminal, while receiving data, and I
>> backspace -- I just don't know how far I have backspaced, I have to guess.
> What you want to do is redraw the current command.  The easiest way to
> do this is to press Ctrl-L.  (Or if you're in vi mode, ESC Ctrl-L, and
> then you'll need to go back to command mode.)
>
> This clears the whole screen, though.  So if there's information you
> need to preserve, take that into account.
>
> Of course, another approach would be to stop doing whatever you're doing
> that causes you to "receive data" while you're typing in an interactive
> shell.  This might be a workflow issue of some kind.  Maybe you're
> running some sort of background job that spews noise.  Maybe you simply
> need to redirect that background job's output to a file.  Or maybe you
> want to run the noisy background job as a foreground job in a separate
> terminal (or a separate "tab", or a separate "virtual terminal" within
> screen or tmux, etc.).
>

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