bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fg via keybind modifies tty settings


From: David Moberg
Subject: Re: fg via keybind modifies tty settings
Date: Thu, 28 Nov 2024 04:54:11 +0100

Yes, if seems like the way to do this in bash. It's unfortunate because
doing it with a binding is more elegant as it avoids polluting the terminal
output and shell history.

In hindight: should the changes that were made to bash due to this
discussion, be reverted? The previous behavior was less annoying to me
(maybe because I was used to it)

Den mån 18 nov. 2024 19:49Chet Ramey <chet.ramey@case.edu> skrev:

> On 11/16/24 5:29 AM, David Moberg wrote:
> > Ok, is there anything I can do on my user side to get desired behavior?
> > (similar to running `stty sane` every time I send vim to the background.)
>
> As several others have suggested, a simple macro that clears the line,
> saving the text on the kill ring for future yanking, and inserts `fg\n'
> is probably the best.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]