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: Sun, 13 Oct 2024 18:10:34 +0200

A new issue popped up with these changes. After second time of suspend and
foreground with binding, the tty will not react to control keys but instead
print them on the prompt.

Repeat-By:

| start vim
  ctrl-z (to suspend)
  ctrl-a (bound to `fg` to bring to foregound)
  ctrl-z (to suspend a 2nd time)
  # broken state (but I dont see anything changed in the output of `stty
-a`)
  # ctrl-a prints ^A (instead of executing fg)
  # <UP> prints ^[[A (Instead of invoking history)

Issue 1: control codes are printed to prompt
Issue 2: typing `echo<TAB>` tab completes correctly to `echo`, but this
debug print is printed:
```
bash: DEBUG warning: cpl_reap: deleting 33287
```

My environment: I build bash for the first time today with `configure`
`sudo make install`. And bash verision that I just built: `GNU bash,
version 5.3.0(1)-beta (x86_64-pc-linux-gnu)` (launched from terminal
running my previous bash version `GNU bash, version 5.2.21(1)-release
(x86_64-pc-linux-gnu)`)




Den lör 12 okt. 2024 kl 10:04 skrev Lawrence Velázquez <vq@larryv.me>:

> On Sat, Oct 12, 2024, at 2:22 AM, David Moberg wrote:
> > So this kind of bugfix is not enough to ever trigger a new release on its
> > own? (sounds wise)
>
> No, but Chet does periodically release particularly important fixes
> as patches against the most recent release.  (Those make up most of
> the commits on the "master" branch.)
>
> > Is there any cadence to releases
>
> Not that I'm aware of.
>
> > or any other reason to expect a release at
> > some point in the future?
>
> I believe Chet is getting ready to release 5.3 sooner than later.
>
> --
> vq
>


reply via email to

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