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    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

  • [PATCH] Preserve ech... Zeffie via Bug reports for the GNU Bourne Again SHell
    • Re: [PATCH] Pre... Chet Ramey
      • Re: [PATCH]... Zeffie via Bug reports for the GNU Bourne Again SHell
        • Re: [PA... Chet Ramey
          • Re:... Zeffie via Bug reports for the GNU Bourne Again SHell
            • ... microsuxx
              • ... Zeffie via Bug reports for the GNU Bourne Again SHell
            • ... Greg Wooledge
            • ... Lawrence Velázquez
              • ... Zeffie via Bug reports for the GNU Bourne Again SHell

Reply via email to