From: utzoo!decvax!cca!chris.umcp-cs@UDel-Relay@sri-unix Newsgroups: net.unix-wizards Title: Re: Disabling Break Article-I.D.: sri-unix.4422 Posted: Fri Nov 26 00:00:25 1982 Received: Sat Nov 27 01:19:22 1982 From: Chris Torek Date: 23 Nov 82 15:17:55 EST (Tue) I was thinking about something very similar. It turns out that if you really want to do it, you can translate breaks (which look like framing errors) to any character you please, or even always send SIGINT. (The code I've looked at is for Berkeley 4.1BSD.) When a framing error occurs, the device driver does a (*cdevsw[tp->t_dev].l_rint) (tp->t_intr) [or whatever the names are] to insert an interrupt character into the input stream. If it were to call the l_rint with a minus one, and all the rint routines understood this, you could have many "break" protocols. I'd like to be able to generate SIGINT with the break key even in raw mode, and this could do it.