On Mon, Feb 3, 2025, at 11:37 PM, Zeffie via Bug reports for the GNU Bourne 
Again SHell wrote:
> READ THIS
> <quote>
> To be more clear here the GNU BASH shell that I tested with is merely
> a test case and the configuration was very harsh :
>
> $ ./configure --prefix=/home/dclarke/local --enable-threads=posix \
>> --enable-xpg-echo-default --enable-minimal-config \
>> --enable-strict-posix-default
> </quote>
>
> should he of added make for you!?

This is how he configured the shell that behaves CORRECTLY.

He tested FreeBSD ash, and it behaves INCORRECTLY.

He compiled and tested bash, and it behaves CORRECTLY.

Apparently you can't be trusted to accurately describe the bug
report, so for the record here's some context you omitted:

> If I build a GNU BASH shell with minimal options.
>
> [...]
>
> $ echo $SHELL
> /usr/local/shell/bash
> $
> $ stty -a
> speed 1200 baud; 24 rows; 80 columns;
> lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
>         -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
>         -extproc
> iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
>         brkint -inpck -ignpar -parmrk iutf8
> oflags: opost onlcr -ocrnl tab3 -onocr -onlret
> cflags: cread cs8 -parenb -parodd hupcl clocal -cstopb -crtscts -dsrflow
>         -dtrflow -mdmbuf rtsdtr
> cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
>         eol2 = <undef>; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
>         lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
>         status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
> $
> $ ls -la ^C
> $
> $   That was a CTRL-c and it works ! also we see ^C chars on the line ^C
> $
>
>       * * *   now we flip the flag for echoctl   * *
>
>
> $ stty -echoctl
> $
> $  That disables the output of CTRL chars like this -->
> $
> $  that is an invisible CTRL-c and that is correct for -echoctl terminal flag
> $
> $ stty echoctl
> $
> $ Now we see the CTRL-c again ^C
> $ that is correct behavior .... fully reasonable and no surprise to the user 
> ^C
>
> [...]
>
> To be more clear here the GNU BASH shell that I tested with is merely
> a test case and the configuration was very harsh :
>
> $ ./configure --prefix=/home/dclarke/local --enable-threads=posix \
> > --enable-xpg-echo-default --enable-minimal-config \
> > --enable-strict-posix-default

Unbelievable.

-- 
vq

Reply via email to