Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/15/85; site amdcad.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!amdcad!phil From: phil@amdcad.UUCP (Phil Ngai) Newsgroups: net.unix Subject: Re: rts/cts - a tutorial on flow control Message-ID: <1423@amdcad.UUCP> Date: Wed, 22-May-85 21:52:10 EDT Article-I.D.: amdcad.1423 Posted: Wed May 22 21:52:10 1985 Date-Received: Fri, 24-May-85 01:53:51 EDT References: <388@gitpyr.UUCP> <1345@amdcad.UUCP> <879@sdcsvax.UUCP> Reply-To: phil@amdcad.UUCP (Phil Ngai) Distribution: net Organization: AMD, Sunnyvale, California Lines: 43 Keywords: tutorial, ignorance In article <879@sdcsvax.UUCP> brian@sdcsvax.UUCP (Brian Kantor) writes: >XON-XOFF (aka DC1/DC3) are examples of reserved characters. When they >occur in the data stream, they are interpreted. If its desired that >they be treated as data (for example, as a command key for EMACS, or as You're not supposed to use XOFF/XON as data. Many people would claim that EMACS is broken for using XOFF for a search command. Some have remapped it. Certainly terminals like the VT100 and the VT220 like to use XOFF/XON for flow control. I have seen people send padding characters to avoid using XOFF/XON, since I seem to have overworked the word "gross" I won't give my opinion about such methods. >But consider. Now you have two Un*x systems talking to each other with >UUCP, and the network gets congested. UUCP needs an eight-bit >transparent path, so it doesn't really handle XON-XOFF. How is the >network to tell the sending computer that it should stop? If you want to complain about not having an eight-bit transparent path, try beating on the people who run X.25 networks. See how far you get. Our friends in Europe decided the right way to use uucp over X.25 networks was to invent a new "f" protocol (which is in the 4.3 BSD uucp) which restricts itself to 7 bit characters. Binary data can be sent, the protocol maps the byte into a valid character range and prefixes a special byte. I believe this is what kermit does to use 7 bit data paths also. >similar. And how about a Diablo terminal, that wants ETX/ACK instead of >XON/XOFF? I believe those are valid characters. By the way, if you are interested in funky character sets, you should look at the programmers manual for the VT220 to see how they handle the extra characters needed to function in a European market. I'll give you a hint: they don't use XOFF as data. One neat thing (which is sort of irrelevant) is the availability of software configurable character sets. You can actually down load the fonts. And you don't need an eight bit data path for that either. -- What do you do the day after a peak experience? Phil Ngai (408) 749-5720 UUCP: {ucbvax,decwrl,ihnp4,allegra}!amdcad!phil ARPA: amdcad!phil@decwrl.ARPA