I entered a bug report against bash here: http://savannah.gnu.org/support/index.php?109449 see also http://mail-index.netbsd.org/pkgsrc-users/2018/01/16/msg026141.html but it's really a problem of the included readline.
By inspection of the source, readline 7.0 appears to need the same patch (with the directory name adjustted of course). --- lib/readline/rltty.c.orig 2018-01-17 13:13:06.000000000 +0100 +++ lib/readline/rltty.c 2018-01-17 13:16:55.000000000 +0100 @@ -308,6 +308,7 @@ /* Make the interrupt keys go away. Just enough to make people happy. */ tiop->ltchars.t_dsuspc = -1; /* C-y */ tiop->ltchars.t_lnextc = -1; /* C-v */ + tiop->ltchars.t_flushc = -1; /* C-o */ #endif /* TIOCGLTC */ } @@ -578,6 +579,10 @@ tiop->c_cc[VDSUSP] = _POSIX_VDISABLE; #endif +#if defined (VDISCARD) + tiop->c_cc[VDISCARD] = _POSIX_VDISABLE; +#endif + #endif /* TERMIOS_TTY_DRIVER && _POSIX_VDISABLE */ } #endif /* !NEW_TTY_DRIVER */ Regards, -Olaf. -- ___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X \X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly.
signature.asc
Description: PGP signature
_______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
