Date: Tue, 12 Aug 2014 17:51:44 -0600 From: Warner Losh <imp@bsdimp.com> To: John Marshall <john.marshall@riverwillow.com.au> Cc: FreeBSD Stable <freebsd-stable@freebsd.org>, John Baldwin <jhb@FreeBSD.org> Subject: Re: Support DISCARD (^O) Message-ID: <0A198785-F7E5-4731-9DF7-587E6BDD03C9@bsdimp.com> In-Reply-To: <20140812234627.GA8627@rwpc15.gfn.riverwillow.net.au> References: <201408121644.18345.jhb@freebsd.org> <C2DEB4C5-8FB2-4CC0-9F87-2C927C92AE6C@bsdimp.com> <20140812234627.GA8627@rwpc15.gfn.riverwillow.net.au>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Aug 12, 2014, at 5:46 PM, John Marshall <john.marshall@riverwillow.com.au> wrote: > 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: >>>> >>>> I don't know if there is any particular reason that support for DISCARD/^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. >>>> >>>> Diff is against FreeBSD 8, however, last time I checked I didn't see >>>> much difference in the newer versions. >>> >>> 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, not 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. I was hoping someone would fix that :) However, I agree with you: having ^O toggle is better than its current state. Warner [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJT6qiQAAoJEGwc0Sh9sBEAQTQP/i0FQHq3fkA9J3fD7zqS7lXX wb+uYpCSfQcIIsjWRsyKxRe/ae8B3jBP5aCBE10fploUmWPlycWtK04fWmuMvEwI G84obh/oVKmZgyYVqCwnb3gM9KHHBTbfptwIHmX+aMRIRHBr8+EN7+TfbwtgLUwu DsQEArprUGn2coM2D7UOfS5CH3blRQUomSSrS0os6JFDEFULYOwiijcCw7uGJMUr Nnub8GRjsWNWsCW7xu3y+OspnXgePkcL8H2097fktQJ1HubyDl2F90oDUd/j1D9q ZWV8l9WflDFeRO4tR7gVV2Toyg2Drf0bXN12y8t+gy3Jnf0jDL8muzveJuPM1u6S eCFLCG8NBihSUhWfpGHnIWV4M5TUwxurdN7HzoUlr0+R8WopUZyEoUGD705FbYXj O6oP0rOMuMjzNrYvaMHAph/nVseOxiTDukvByF+3KucOJEQpEI/p+49Bw1XVRXVp i1Xvr5SGZ7DS7kYS8CkhUrfzTFPJiNQigmhzmldNNEihAopEBQUU0C9UJCaG5kMS EAvbJ3EdA53XYsVIofnht3eZ/9y9NMUWksOH3ON5vkwOWsN3UuJ67QHLfapl3Gzb rzNCjoRrL+Z78Jyt1YMuGqMmOjFxJaob+IUrUhlMahbJ4E5gmAJ3i6kYPyiPSLME ZSYUW3OnBA6EnzDvQUuh =g435 -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0A198785-F7E5-4731-9DF7-587E6BDD03C9>
