Date: Wed, 13 Aug 2014 09:46:27 +1000 From: John Marshall <john.marshall@riverwillow.com.au> To: Warner Losh <imp@bsdimp.com> Cc: FreeBSD Stable <freebsd-stable@freebsd.org>, John Baldwin <jhb@FreeBSD.org> Subject: Re: Support DISCARD (^O) Message-ID: <20140812234627.GA8627@rwpc15.gfn.riverwillow.net.au> In-Reply-To: <C2DEB4C5-8FB2-4CC0-9F87-2C927C92AE6C@bsdimp.com> References: <201408121644.18345.jhb@freebsd.org> <C2DEB4C5-8FB2-4CC0-9F87-2C927C92AE6C@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 12 Aug 2014, 17:12 -0600, Warner Losh wrote: > On Aug 12, 2014, at 2:44 PM, John Baldwin <jhb@FreeBSD.org> wrote: > > From: Eivind Nicolay Evensen <eivinde@terraplane.org> > > Date: July 5, 2014 at 4:34:16 AM MDT > > On Tue, Dec 17, 2013 at 10:18:16PM +0100, Eivind Evensen wrote: > >>=20 > >> I don't know if there is any particular reason that support for DISCAR= D/^O > >> was not included in the tty rewrite that happened from FreeBSD 7 to 8, > >> but in case anybody else wants it, here's a diff functioning mostly > >> like in 7, except output isn't switched back on automatically on input. > >>=20 > >> Diff is against FreeBSD 8, however, last time I checked I didn't see > >> much difference in the newer versions. > >=20 > > Here's a diff against FreeBSD 10. It seems to work fine there too. > DISCARD is supposed to turn back off after any character that you type, n= ot just ^O again. Irrespective of exactly how it's implemented, I'd love to see this. Coming from a VMS background, I was used to a ^O toggle. I reach for ^O whenever I unintentionally initiate a huge stream of terminal output over a WAN link. --=20 John Marshall --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPqp1MACgkQw/tAaKKahKLjpgCgmYGM6KYE4FWoOTDahRC38VlD /7QAn2EE9ZtTMUsc0oxjfI0UZpbyi5HC =84/R -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140812234627.GA8627>