Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site rlgvax.UUCP Path: utzoo!linus!genrad!mit-eddi!mit-vax!eagle!harpo!seismo!rlgvax!guy From: guy@rlgvax.UUCP Newsgroups: net.unix-wizards Subject: Re: to RAW or not to RAW Message-ID: <638@rlgvax.UUCP> Date: Tue, 14-Jun-83 01:57:09 EDT Article-I.D.: rlgvax.638 Posted: Tue Jun 14 01:57:09 1983 Date-Received: Tue, 14-Jun-83 13:07:58 EDT References: <143@umcp-cs.UUCP> Organization: RLG Corp., Reston, VA Lines: 33 Well, the LITOUT transmit-characters-unprocessed (except for parity, it looks like) bit IS available in USG UNIX, only it's turned on by turning OPOST *off*. (Seems a lot of TTY driver features which were activated by turning bits on in, say, the 4.1 driver are activated by turning a bit off in the USG driver; turning DECCTLQ on in 4.1 is equivalent to turning IXANY off in USG.) That's one nice thing about the USG driver; you get a bit for most features, and can selectively turn them on and off without affecting other things (a la carte as opposed to full dinner). For example, you can select 7-bits-plus-parity vs. 8-bits XON/XOFF flow control on or off process signal characters (interrupt, quit) process break signals as interrupt process erase/kill/EOF characters independently of one another (for example, you can have an 8-bit terminal with XON/XOFF flow control - in fact, you can have 8 bits plus parity). You can also efficiently turn off all "special" output processing (CR-NL mapping, tab expansion, delays) with one bit - this is also independent of input processing and 7-bit vs. 8-bit processing. You can also get at other capabilities of the hardware - 5-bit characters for Baudot lines, for example. It is, unfortunately, rather baroque and complicated; but since serial lines are used to interface to a wide variety of equipment (normal terminals, 8-bit terminals, Baudot lines, other computers running various protocols) it gives you the ability to talk to all of them without having to tweak the tty driver. Most users and hardware don't need all this, but its nice to have it there when you do need it. Guy Harris RLG Corporation {seismo,mcnc,we13,brl-bmd,allegra}!rlgvax!guy