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


Groups > linux.debian.user > #225743

Re: Bash question hard to formulate

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Bash question hard to formulate
Date 2020-08-02 18:10 +0200
Message-ID <AzoIF-85Z-5@gated-at.bofh.it> (permalink)
References <AzoyZ-7Nd-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Aug 02, 2020 at 05:34:07PM +0200, Esteban L wrote:
> Hello,

[...]

> Maybe best description is:
> 
> I am tying this senten
> 
> <receive new input here from the terminal>
> 
> ce, and it's fine...but i
> 
> <receive new input>
> 
> I backspace now, as I want to replace the above line "and it's fine" and
> what comes after it to change it to "it's not fine"
> 
> 
> So, best description is, if i backspace upon receiving new data, I
> cannot see the line that I was typing.

Apart from The Wanderer's good suggestion, there's always CTRL-L, which
redisplays the typed-line-so-far clearing out everything else (this may
be desired or not).

This will work in other (terminal-ish) contexts, like vi(m) or more/less,
cleaning up when the terminal and the program behind it get confused.

Cheers
-- t

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


Thread

Re: Bash question hard to formulate <tomas@tuxteam.de> - 2020-08-02 18:10 +0200

csiph-web