Date: Wed, 12 Apr 1995 17:46:37 -0600 From: Nate Williams <nate@trout.sri.MT.net> To: Poul-Henning Kamp <phk@ref.tfs.com>, bde@zeta.org.au (Bruce Evans) Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Subject: Re: cvs commit: src/sys/i386/isa sio.c Message-ID: <199504122346.RAA15739@trout.sri.MT.net> In-Reply-To: Poul-Henning Kamp <phk@ref.tfs.com> "Re: cvs commit: src/sys/i386/isa sio.c" (Apr 12, 4:31pm)
next in thread | previous in thread | raw e-mail | index | archive | help
> > > Dropping into the debugger when a break comes down the serial line is a > > > >MISFEATURE (1st class)< and has been put under it's own #ifdef. This > > > should be a magic sequence of chars instead. > > > > A magic sequence of chars would be a misfeature, as it would be for > > syscons. The escape should be out of bounds (perhaps it should optionally > > be break && some combination of the modem status lines). > > No, we want something you can send on a modem... Why is break a bad thing? Any magic sequence of chars is *worse* since there is no guarantee that something might not send it to the console and therefore drop into a debugger. Break is good because it is out-of-bound AND can be sent from modem's and other serial devices w/out special hardware. Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504122346.RAA15739>