$NetBSD: patch-bb,v 1.1 2005/10/20 17:48:49 wiz Exp $ --- readline/rltty.c.orig 2004-06-01 09:01:39.000000000 -0600 +++ readline/rltty.c @@ -619,6 +619,9 @@ prepare_terminal_settings (meta_flag, ol just to be sure. This includes ^Y and ^V. This should not really be necessary. */ #if defined (TERMIOS_TTY_DRIVER) && defined (_POSIX_VDISABLE) +#if defined (VDISCARD) + tiop->c_cc[VDISCARD] = _POSIX_VDISABLE; +#endif #if defined (VLNEXT) tiop->c_cc[VLNEXT] = _POSIX_VDISABLE;