On 2/1/25 8:03 PM, Zeffie via Bug reports for the GNU Bourne Again SHell wrote:
Hello,This patch is submitted for consideration only. It addresses an issue in sh‑mode where Bash fails to preserve the user-configured echoctl flag.
Please show the scenario where bash isn't preserving the ECHOCTL flag if
it's present. The function you're modifying below changes the settings in
a termios struct that holds the current terminal settings. If the ECHOCTL
flag is set there, bash won't change it.
Further, the function you're modifying -- tt_setonechar -- is only used by
the read builtin to support `read -n' while the shell's input is a tty.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
