Re: bash crashes if TERM is unset and the Delete key is pressed twice

2022-12-14 Thread Emanuele Torre
On Wed, Dec 14, 2022 at 02:30:04PM -0500, Chet Ramey wrote: > Try this. > > *** ../bash-20221202/lib/readline/readline.c 2022-12-06 09:48:50.0 > -0500 > --- lib/readline/readline.c 2022-12-14 14:20:32.0 -0500 > *** > *** 591,595 > (*rl_redisplay_function

Re: bash crashes if TERM is unset and the Delete key is pressed twice

2022-12-14 Thread Chet Ramey
On 12/14/22 2:01 PM, Emanuele Torre wrote: On Wed, Dec 14, 2022 at 12:31:39PM -0500, Chet Ramey wrote: On 12/13/22 9:00 AM, Emanuele Torre wrote: This happens since 88d69b4fa224d93ef1d26b80229668397bb6496b . If bash is started with the TERM variable unset or empty, it will segfault and crash i

Re: bash crashes if TERM is unset and the Delete key is pressed twice

2022-12-14 Thread Emanuele Torre
On Wed, Dec 14, 2022 at 12:31:39PM -0500, Chet Ramey wrote: > On 12/13/22 9:00 AM, Emanuele Torre wrote: > > This happens since 88d69b4fa224d93ef1d26b80229668397bb6496b . > > > > If bash is started with the TERM variable unset or empty, it will > > segfault and crash if you press the Delete key tw

Re: bash crashes if TERM is unset and the Delete key is pressed twice

2022-12-14 Thread Chet Ramey
On 12/13/22 9:00 AM, Emanuele Torre wrote: This happens since 88d69b4fa224d93ef1d26b80229668397bb6496b . If bash is started with the TERM variable unset or empty, it will segfault and crash if you press the Delete key twice (it only happens for the first prompt, and if you don't press anything b

bash crashes if TERM is unset and the Delete key is pressed twice

2022-12-13 Thread Emanuele Torre
This happens since 88d69b4fa224d93ef1d26b80229668397bb6496b . If bash is started with the TERM variable unset or empty, it will segfault and crash if you press the Delete key twice (it only happens for the first prompt, and if you don't press anything before the two Delete key presses). I was abl