home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: Plain text[LF]
| default
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000010| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000020| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000030| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000040| 25 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |%.% | |
|00000050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000080| 20 20 25 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 | %.% | |
|00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 4c 65 67 61 | | Lega|
|000000a0| 6c 20 4e 6f 74 69 63 65 | 20 20 20 20 20 20 20 20 |l Notice| |
|000000b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000c0| 20 20 20 20 25 0a 25 20 | 20 20 20 20 20 20 20 20 | %.% | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000100| 20 20 20 20 20 20 25 0a | 25 20 54 68 69 73 20 64 | %.|% This d|
|00000110| 6f 63 75 6d 65 6e 74 20 | 69 73 20 63 6f 70 79 72 |ocument |is copyr|
|00000120| 69 67 68 74 20 28 43 29 | 20 4f 6c 61 66 20 4b 69 |ight (C)| Olaf Ki|
|00000130| 72 63 68 2c 20 6f 6b 69 | 72 40 6d 6f 6e 61 64 2e |rch, oki|r@monad.|
|00000140| 73 77 62 2e 64 65 20 20 | 25 0a 25 20 20 20 20 20 |swb.de |%.% |
|00000150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 25 0a 25 20 46 6f | | %.% Fo|
|00000190| 72 20 63 6f 70 79 69 6e | 67 20 63 6f 6e 64 69 74 |r copyin|g condit|
|000001a0| 69 6f 6e 73 2c 20 70 6c | 65 61 73 65 20 72 65 66 |ions, pl|ease ref|
|000001b0| 65 72 20 74 6f 20 74 68 | 65 20 66 69 6c 65 20 43 |er to th|e file C|
|000001c0| 4f 50 59 49 4e 47 2e 09 | 25 0a 25 20 20 20 20 20 |OPYING..|%.% |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000200| 20 20 20 20 20 20 20 20 | 20 20 25 0a 25 20 54 68 | | %.% Th|
|00000210| 65 20 61 75 74 68 6f 72 | 20 69 73 20 6e 6f 74 20 |e author| is not |
|00000220| 6c 69 61 62 6c 65 20 66 | 6f 72 20 61 6e 79 20 64 |liable f|or any d|
|00000230| 61 6d 61 67 65 73 2c 20 | 64 69 72 65 63 74 20 6f |amages, |direct o|
|00000240| 72 20 69 6e 64 69 72 65 | 63 74 2c 20 25 0a 25 20 |r indire|ct, %.% |
|00000250| 72 65 73 75 6c 74 69 6e | 67 20 66 72 6f 6d 20 74 |resultin|g from t|
|00000260| 68 65 20 75 73 65 20 6f | 66 20 69 6e 66 6f 72 6d |he use o|f inform|
|00000270| 61 74 69 6f 6e 20 70 72 | 6f 76 69 64 65 64 20 69 |ation pr|ovided i|
|00000280| 6e 20 74 68 69 73 20 20 | 20 20 20 20 20 20 25 0a |n this | %.|
|00000290| 25 20 64 6f 63 75 6d 65 | 6e 74 2e 20 20 20 20 20 |% docume|nt. |
|000002a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002d0| 25 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |%.% | |
|000002e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000300| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000310| 20 20 25 0a 25 25 25 25 | 25 25 25 25 25 25 25 25 | %.%%%%|%%%%%%%%|
|00000320| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000330| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000340| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000350| 25 25 25 25 25 0a 25 20 | 57 68 65 6e 20 76 69 65 |%%%%%.% |When vie|
|00000360| 77 69 6e 67 20 74 68 69 | 73 20 64 6f 63 75 6d 65 |wing thi|s docume|
|00000370| 6e 74 20 77 69 74 68 20 | 76 69 20 6f 6e 20 61 6e |nt with |vi on an|
|00000380| 20 38 30 2d 63 6f 6c 75 | 6d 6e 73 20 73 63 72 65 | 80-colu|mns scre|
|00000390| 65 6e 2c 20 20 20 25 0a | 25 20 64 6f 20 61 20 27 |en, %.|% do a '|
|000003a0| 3a 73 65 20 6e 6f 6e 75 | 6d 62 65 72 27 20 66 69 |:se nonu|mber' fi|
|000003b0| 72 73 74 2e 20 20 20 20 | 20 20 20 20 20 20 20 20 |rst. | |
|000003c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003d0| 20 20 20 20 20 20 20 20 | 25 0a 25 25 25 25 25 25 | |%.%%%%%%|
|000003e0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000003f0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000400| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000410| 25 25 25 25 25 25 25 25 | 25 25 25 0a 0a 25 25 25 |%%%%%%%%|%%%..%%%|
|00000420| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000430| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000440| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000450| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 0a 25 |%%%%%%%%|%%%%%%.%|
|00000460| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000470| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000480| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000490| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000004a0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|000004b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004e0| 20 25 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 | %.% | |
|000004f0| 20 20 20 53 20 54 20 41 | 20 52 20 54 20 20 20 4f | S T A| R T O|
|00000500| 20 46 20 20 20 43 20 48 | 20 41 20 50 20 54 20 45 | F C H| A P T E|
|00000510| 20 52 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | R | |
|00000520| 20 20 20 25 0a 25 20 20 | 20 20 20 20 20 20 20 20 | %.% | |
|00000530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000560| 20 20 20 20 20 25 0a 25 | 25 25 25 25 25 25 25 25 | %.%|%%%%%%%%|
|00000570| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000580| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000590| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005a0| 25 25 25 25 25 25 25 25 | 0a 25 25 25 25 25 25 25 |%%%%%%%%|.%%%%%%%|
|000005b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005c0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005d0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005e0| 25 25 25 25 25 25 25 25 | 25 25 0a 0a 0a 5c 63 68 |%%%%%%%%|%%...\ch|
|000005f0| 61 70 74 65 72 7b 53 65 | 74 74 69 6e 67 20 75 70 |apter{Se|tting up|
|00000600| 20 74 68 65 20 53 65 72 | 69 61 6c 20 48 61 72 64 | the Ser|ial Hard|
|00000610| 77 61 72 65 7d 0a 25 25 | 25 25 25 25 25 25 25 25 |ware}.%%|%%%%%%%%|
|00000620| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000630| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000640| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000650| 25 25 25 25 25 25 25 0a | 5c 6c 61 62 65 6c 7b 73 |%%%%%%%.|\label{s|
|00000660| 65 72 69 61 6c 7d 0a 5c | 69 6e 64 65 78 7b 68 61 |erial}.\|index{ha|
|00000670| 72 64 77 61 72 65 21 73 | 65 72 69 61 6c 7c 28 7d |rdware!s|erial|(}|
|00000680| 0a 5c 69 6e 64 65 78 7b | 64 65 76 69 63 65 2c 20 |.\index{|device, |
|00000690| 73 65 72 69 61 6c 7c 28 | 7d 0a 0a 54 68 65 72 65 |serial|(|}..There|
|000006a0| 20 61 72 65 20 72 75 6d | 6f 72 73 20 74 68 61 74 | are rum|ors that|
|000006b0| 20 74 68 65 72 65 20 61 | 72 65 20 73 6f 6d 65 20 | there a|re some |
|000006c0| 70 65 6f 70 6c 65 20 6f | 75 74 20 74 68 65 72 65 |people o|ut there|
|000006d0| 20 69 6e 20 6e 65 74 6c | 61 6e 64 20 77 68 6f 0a | in netl|and who.|
|000006e0| 6f 6e 6c 79 20 6f 77 6e | 20 6f 6e 65 20 50 43 20 |only own| one PC |
|000006f0| 61 6e 64 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |and don'|t have t|
|00000700| 68 65 20 6d 6f 6e 65 79 | 20 74 6f 20 73 70 65 6e |he money| to spen|
|00000710| 64 20 6f 6e 20 61 20 54 | 31 7e 49 6e 74 65 72 6e |d on a T|1~Intern|
|00000720| 65 74 20 6c 69 6e 6b 2e | 0a 54 6f 20 67 65 74 20 |et link.|.To get |
|00000730| 74 68 65 69 72 20 64 61 | 69 6c 79 20 64 6f 73 65 |their da|ily dose|
|00000740| 20 6f 66 20 6e 65 77 73 | 20 61 6e 64 20 6d 61 69 | of news| and mai|
|00000750| 6c 20 6e 65 76 65 72 74 | 68 65 6c 65 73 73 2c 20 |l nevert|heless, |
|00000760| 74 68 65 79 20 61 72 65 | 20 73 61 69 64 20 74 6f |they are| said to|
|00000770| 0a 72 65 6c 79 20 6f 6e | 20 53 4c 49 50 20 6c 69 |.rely on| SLIP li|
|00000780| 6e 6b 73 2c 20 55 55 43 | 50 20 6e 65 74 77 6f 72 |nks, UUC|P networ|
|00000790| 6b 73 2c 20 61 6e 64 20 | 62 75 6c 6c 65 74 69 6e |ks, and |bulletin|
|000007a0| 20 62 6f 61 72 64 20 73 | 79 73 74 65 6d 73 20 28 | board s|ystems (|
|000007b0| 42 42 53 27 73 29 0a 74 | 68 61 74 20 75 74 69 6c |BBS's).t|hat util|
|000007c0| 69 7a 65 20 70 75 62 6c | 69 63 20 74 65 6c 65 70 |ize publ|ic telep|
|000007d0| 68 6f 6e 65 20 6e 65 74 | 77 6f 72 6b 73 2e 0a 0a |hone net|works...|
|000007e0| 0a 5c 69 6e 64 65 78 7b | 48 61 6e 6b 69 6e 73 2c |.\index{|Hankins,|
|000007f0| 20 47 72 65 67 7d 0a 5c | 69 6e 64 65 78 7b 48 4f | Greg}.\|index{HO|
|00000800| 57 54 4f 21 53 65 72 69 | 61 6c 7d 0a 54 68 69 73 |WTO!Seri|al}.This|
|00000810| 20 63 68 61 70 74 65 72 | 20 69 73 20 69 6e 74 65 | chapter| is inte|
|00000820| 6e 64 65 64 20 74 6f 20 | 68 65 6c 70 20 61 6c 6c |nded to |help all|
|00000830| 20 74 68 6f 73 65 20 70 | 65 6f 70 6c 65 20 77 68 | those p|eople wh|
|00000840| 6f 20 72 65 6c 79 20 6f | 6e 20 6d 6f 64 65 6d 73 |o rely o|n modems|
|00000850| 20 74 6f 0a 6d 61 69 6e | 74 61 69 6e 20 74 68 65 | to.main|tain the|
|00000860| 69 72 20 6c 69 6e 6b 2e | 20 48 6f 77 65 76 65 72 |ir link.| However|
|00000870| 2c 20 74 68 65 72 65 20 | 61 72 65 20 6d 61 6e 79 |, there |are many|
|00000880| 20 64 65 74 61 69 6c 73 | 20 74 68 61 74 20 74 68 | details| that th|
|00000890| 69 73 20 63 68 61 70 74 | 65 72 0a 63 61 6e 6e 6f |is chapt|er.canno|
|000008a0| 74 20 67 6f 20 69 6e 74 | 6f 2c 20 66 6f 72 20 69 |t go int|o, for i|
|000008b0| 6e 73 74 61 6e 63 65 20 | 68 6f 77 20 74 6f 20 63 |nstance |how to c|
|000008c0| 6f 6e 66 69 67 75 72 65 | 20 79 6f 75 72 20 6d 6f |onfigure| your mo|
|000008d0| 64 65 6d 20 66 6f 72 20 | 64 69 61 6c 69 6e 2e 20 |dem for |dialin. |
|000008e0| 41 6c 6c 0a 74 68 65 73 | 65 20 74 6f 70 69 63 73 |All.thes|e topics|
|000008f0| 20 77 69 6c 6c 20 62 65 | 20 63 6f 76 65 72 65 64 | will be| covered|
|00000900| 20 69 6e 20 74 68 65 20 | 75 70 63 6f 6d 69 6e 67 | in the |upcoming|
|00000910| 20 53 65 72 69 61 6c 20 | 48 4f 57 54 4f 20 62 79 | Serial |HOWTO by|
|00000920| 20 47 72 65 67 0a 48 61 | 6e 6b 69 6e 73 2c 5c 66 | Greg.Ha|nkins,\f|
|00000930| 6f 6f 74 6e 6f 74 65 7b | 0a 20 54 6f 20 62 65 20 |ootnote{|. To be |
|00000940| 72 65 61 63 68 65 64 20 | 61 74 20 5c 65 6d 61 69 |reached |at \emai|
|00000950| 6c 7b 67 72 65 67 68 40 | 63 63 2e 67 61 74 65 63 |l{gregh@|cc.gatec|
|00000960| 68 2e 65 64 75 7d 2e 0a | 7d 20 74 6f 20 62 65 20 |h.edu}..|} to be |
|00000970| 70 6f 73 74 65 64 20 74 | 6f 20 5c 6e 67 72 70 7b |posted t|o \ngrp{|
|00000980| 63 6f 6d 70 2e 6f 73 2e | 6c 69 6e 75 78 2e 61 6e |comp.os.|linux.an|
|00000990| 6e 6f 75 6e 63 65 7d 20 | 6f 6e 20 61 20 72 65 67 |nounce} |on a reg|
|000009a0| 75 6c 61 72 20 62 61 73 | 69 73 2e 0a 0a 0a 0a 5c |ular bas|is.....\|
|000009b0| 73 65 63 74 69 6f 6e 7b | 43 6f 6d 6d 75 6e 69 63 |section{|Communic|
|000009c0| 61 74 69 6f 6e 20 53 6f | 66 74 77 61 72 65 20 66 |ation So|ftware f|
|000009d0| 6f 72 20 4d 6f 64 65 6d | 20 4c 69 6e 6b 73 7d 0a |or Modem| Links}.|
|000009e0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000009f0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000a00| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000a10| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000a20| 25 0a 5c 6c 61 62 65 6c | 7b 73 65 72 69 61 6c 2e |%.\label|{serial.|
|00000a30| 73 6f 66 74 77 61 72 65 | 7d 0a 5c 69 6e 64 65 78 |software|}.\index|
|00000a40| 7b 74 65 72 6d 69 6e 61 | 6c 20 70 72 6f 67 72 61 |{termina|l progra|
|00000a50| 6d 73 7d 0a 5c 69 6e 64 | 65 78 7b 42 42 53 7d 0a |ms}.\ind|ex{BBS}.|
|00000a60| 5c 69 6e 64 65 78 7b 62 | 75 6c 6c 65 74 69 6e 20 |\index{b|ulletin |
|00000a70| 62 6f 61 72 64 7d 0a 0a | 54 68 65 72 65 20 61 72 |board}..|There ar|
|00000a80| 65 20 61 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 6f |e a numb|er of co|
|00000a90| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 20 70 61 63 6b |mmunicat|ion pack|
|00000aa0| 61 67 65 73 20 61 76 61 | 69 6c 61 62 6c 65 20 66 |ages ava|ilable f|
|00000ab0| 6f 72 20 5c 6c 69 6e 75 | 78 2e 20 4d 61 6e 79 0a |or \linu|x. Many.|
|00000ac0| 6f 66 20 74 68 65 6d 20 | 61 72 65 20 5c 65 6d 70 |of them |are \emp|
|00000ad0| 68 7b 74 65 72 6d 69 6e | 61 6c 20 70 72 6f 67 72 |h{termin|al progr|
|00000ae0| 61 6d 73 7d 20 77 68 69 | 63 68 20 61 6c 6c 6f 77 |ams} whi|ch allow|
|00000af0| 20 61 20 75 73 65 72 20 | 74 6f 20 64 69 61 6c 20 | a user |to dial |
|00000b00| 69 6e 74 6f 0a 61 6e 6f | 74 68 65 72 20 63 6f 6d |into.ano|ther com|
|00000b10| 70 75 74 65 72 20 61 73 | 20 69 66 20 73 68 65 20 |puter as| if she |
|00000b20| 77 61 73 20 73 69 74 74 | 69 6e 67 20 69 6e 20 66 |was sitt|ing in f|
|00000b30| 72 6f 6e 74 20 6f 66 20 | 61 20 73 69 6d 70 6c 65 |ront of |a simple|
|00000b40| 20 74 65 72 6d 69 6e 61 | 6c 2e 0a 54 68 65 20 74 | termina|l..The t|
|00000b50| 72 61 64 69 74 69 6f 6e | 61 6c 20 74 65 72 6d 69 |radition|al termi|
|00000b60| 6e 61 6c 20 70 72 6f 67 | 72 61 6d 20 66 6f 72 20 |nal prog|ram for |
|00000b70| 5c 75 6e 69 63 65 73 7b | 7d 20 69 73 20 5c 70 72 |\unices{|} is \pr|
|00000b80| 6f 67 7b 6b 65 72 6d 69 | 74 7d 2e 20 49 74 20 69 |og{kermi|t}. It i|
|00000b90| 73 2c 0a 68 6f 77 65 76 | 65 72 2c 20 73 6f 6d 65 |s,.howev|er, some|
|00000ba0| 77 68 61 74 20 53 70 61 | 72 74 61 6e 2e 20 54 68 |what Spa|rtan. Th|
|00000bb0| 65 72 65 20 61 72 65 20 | 6d 6f 72 65 20 63 6f 6d |ere are |more com|
|00000bc0| 66 6f 72 74 61 62 6c 65 | 20 70 72 6f 67 72 61 6d |fortable| program|
|00000bd0| 73 0a 61 76 61 69 6c 61 | 62 6c 65 20 74 68 61 74 |s.availa|ble that|
|00000be0| 20 73 75 70 70 6f 72 74 | 20 61 20 64 69 63 74 69 | support| a dicti|
|00000bf0| 6f 6e 61 72 79 20 6f 66 | 20 74 65 6c 65 70 68 6f |onary of| telepho|
|00000c00| 6e 65 20 6e 75 6d 65 72 | 73 2c 20 73 63 72 69 70 |ne numer|s, scrip|
|00000c10| 74 20 6c 61 6e 67 75 61 | 67 65 73 0a 66 6f 72 20 |t langua|ges.for |
|00000c20| 63 61 6c 6c 69 6e 67 20 | 61 6e 64 20 6c 6f 67 67 |calling |and logg|
|00000c30| 69 6e 67 20 69 6e 74 6f | 20 72 65 6d 6f 74 65 20 |ing into| remote |
|00000c40| 63 6f 6d 70 75 74 65 72 | 20 73 79 73 74 65 6d 73 |computer| systems|
|00000c50| 2c 20 65 74 63 2e 20 4f | 6e 65 20 6f 66 20 74 68 |, etc. O|ne of th|
|00000c60| 65 6d 0a 69 73 20 5c 70 | 72 6f 67 7b 6d 69 6e 69 |em.is \p|rog{mini|
|00000c70| 63 6f 6d 7d 2c 20 77 68 | 69 63 68 20 69 73 20 63 |com}, wh|ich is c|
|00000c80| 6c 6f 73 65 20 74 6f 20 | 73 6f 6d 65 20 74 65 72 |lose to |some ter|
|00000c90| 6d 69 6e 61 6c 20 70 72 | 6f 67 72 61 6d 73 20 66 |minal pr|ograms f|
|00000ca0| 6f 72 6d 65 72 0a 44 4f | 53 20 75 73 65 72 73 20 |ormer.DO|S users |
|00000cb0| 6d 69 67 68 74 20 62 65 | 20 61 63 63 75 73 74 6f |might be| accusto|
|00000cc0| 6d 65 64 20 74 6f 2e 20 | 54 68 65 72 65 20 61 72 |med to. |There ar|
|00000cd0| 65 20 61 6c 73 6f 20 58 | 2d 62 61 73 65 64 20 63 |e also X|-based c|
|00000ce0| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 0a 70 61 |ommunica|tions.pa|
|00000cf0| 63 6b 61 67 65 73 2c 20 | 65 2e 67 2e 20 5c 70 72 |ckages, |e.g. \pr|
|00000d00| 6f 67 7b 73 65 79 6f 6e | 7d 2e 0a 0a 0a 41 6c 73 |og{seyon|}....Als|
|00000d10| 6f 2c 20 61 20 6e 75 6d | 62 65 72 20 6f 66 20 5c |o, a num|ber of \|
|00000d20| 6c 69 6e 75 78 2d 62 61 | 73 65 64 20 42 42 53 20 |linux-ba|sed BBS |
|00000d30| 70 61 63 6b 61 67 65 73 | 20 61 72 65 20 61 76 61 |packages| are ava|
|00000d40| 69 6c 61 62 6c 65 20 66 | 6f 72 20 70 65 6f 70 6c |ilable f|or peopl|
|00000d50| 65 0a 74 68 61 74 20 77 | 61 6e 74 20 74 6f 20 72 |e.that w|ant to r|
|00000d60| 75 6e 20 61 20 62 75 6c | 6c 65 74 69 6e 20 62 6f |un a bul|letin bo|
|00000d70| 61 72 64 20 73 79 73 74 | 65 6d 2e 20 20 53 6f 6d |ard syst|em. Som|
|00000d80| 65 20 6f 66 20 74 68 65 | 73 65 20 70 61 63 6b 61 |e of the|se packa|
|00000d90| 67 65 73 20 63 61 6e 20 | 62 65 0a 66 6f 75 6e 64 |ges can |be.found|
|00000da0| 20 61 74 20 5c 68 6f 73 | 74 7b 73 75 6e 73 69 74 | at \hos|t{sunsit|
|00000db0| 65 2e 75 6e 63 2e 65 64 | 75 7d 20 69 6e 20 5c 66 |e.unc.ed|u} in \f|
|00000dc0| 69 6c 65 7b 2f 70 75 62 | 2f 4c 69 6e 75 78 2f 73 |ile{/pub|/Linux/s|
|00000dd0| 79 73 74 65 6d 2f 4e 65 | 74 77 6f 72 6b 7d 2e 0a |ystem/Ne|twork}..|
|00000de0| 0a 0a 5c 69 6e 64 65 78 | 7b 55 55 43 50 7d 0a 5c |..\index|{UUCP}.\|
|00000df0| 69 6e 64 65 78 7b 46 69 | 64 6f 4e 65 74 7d 0a 41 |index{Fi|doNet}.A|
|00000e00| 70 61 72 74 20 66 72 6f | 6d 20 74 65 72 6d 69 6e |part fro|m termin|
|00000e10| 61 6c 20 70 72 6f 67 72 | 61 6d 73 2c 20 74 68 65 |al progr|ams, the|
|00000e20| 72 65 20 69 73 20 61 6c | 73 6f 20 73 6f 66 74 77 |re is al|so softw|
|00000e30| 61 72 65 20 74 68 61 74 | 20 75 73 65 73 20 61 20 |are that| uses a |
|00000e40| 73 65 72 69 61 6c 0a 6c | 69 6e 6b 20 6e 6f 6e 2d |serial.l|ink non-|
|00000e50| 69 6e 74 65 72 61 63 74 | 69 76 65 6c 79 20 74 6f |interact|ively to|
|00000e60| 20 74 72 61 6e 73 70 6f | 72 74 20 64 61 74 61 20 | transpo|rt data |
|00000e70| 74 6f 20 6f 72 20 66 72 | 6f 6d 20 79 6f 75 72 20 |to or fr|om your |
|00000e80| 63 6f 6d 70 75 74 65 72 | 2e 20 54 68 65 0a 61 64 |computer|. The.ad|
|00000e90| 76 61 6e 74 61 67 65 20 | 6f 66 20 74 68 69 73 20 |vantage |of this |
|00000ea0| 74 65 63 68 6e 69 71 75 | 65 20 69 73 20 74 68 61 |techniqu|e is tha|
|00000eb0| 74 20 69 74 20 74 61 6b | 65 73 20 6d 75 63 68 20 |t it tak|es much |
|00000ec0| 6c 65 73 73 20 74 69 6d | 65 20 74 6f 20 64 6f 77 |less tim|e to dow|
|00000ed0| 6e 6c 6f 61 64 0a 61 20 | 66 65 77 20 64 6f 7a 65 |nload.a |few doze|
|00000ee0| 6e 20 6b 69 6c 6f 62 79 | 74 65 73 20 61 75 74 6f |n kiloby|tes auto|
|00000ef0| 6d 61 74 69 63 61 6c 6c | 79 2c 20 74 68 61 6e 20 |maticall|y, than |
|00000f00| 69 74 20 6d 69 67 68 74 | 20 74 61 6b 65 20 79 6f |it might| take yo|
|00000f10| 75 20 74 6f 20 72 65 61 | 64 20 79 6f 75 72 0a 6d |u to rea|d your.m|
|00000f20| 61 69 6c 20 6f 6e 2d 6c | 69 6e 65 20 69 6e 20 73 |ail on-l|ine in s|
|00000f30| 6f 6d 65 20 6d 61 69 6c | 62 6f 78 20 61 6e 64 20 |ome mail|box and |
|00000f40| 62 72 6f 77 73 65 20 61 | 20 62 75 6c 6c 65 74 69 |browse a| bulleti|
|00000f50| 6e 20 62 6f 61 72 64 20 | 66 6f 72 20 69 6e 74 65 |n board |for inte|
|00000f60| 72 65 73 74 69 6e 67 0a | 61 72 74 69 63 6c 65 73 |resting.|articles|
|00000f70| 2e 20 4f 6e 20 74 68 65 | 20 6f 74 68 65 72 20 68 |. On the| other h|
|00000f80| 61 6e 64 2c 20 74 68 69 | 73 20 72 65 71 75 69 72 |and, thi|s requir|
|00000f90| 65 73 20 6d 6f 72 65 20 | 64 69 73 6b 20 73 74 6f |es more |disk sto|
|00000fa0| 72 61 67 65 20 62 65 63 | 61 75 73 65 20 6f 66 0a |rage bec|ause of.|
|00000fb0| 74 68 65 20 6c 6f 61 64 | 73 20 6f 66 20 75 73 65 |the load|s of use|
|00000fc0| 6c 65 73 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |less inf|ormation|
|00000fd0| 20 79 6f 75 20 75 73 75 | 61 6c 6c 79 20 67 65 74 | you usu|ally get|
|00000fe0| 2e 0a 0a 0a 54 68 65 20 | 65 70 69 74 6f 6d 65 20 |....The |epitome |
|00000ff0| 6f 66 20 74 68 69 73 20 | 73 6f 72 74 20 6f 66 20 |of this |sort of |
|00001000| 63 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 73 |communic|ations s|
|00001010| 6f 66 74 77 61 72 65 20 | 69 73 20 55 55 43 50 2e |oftware |is UUCP.|
|00001020| 20 49 74 20 69 73 20 61 | 0a 70 72 6f 67 72 61 6d | It is a|.program|
|00001030| 20 73 75 69 74 65 20 74 | 68 61 74 20 63 6f 70 69 | suite t|hat copi|
|00001040| 65 73 20 66 69 6c 65 73 | 20 66 72 6f 6d 20 6f 6e |es files| from on|
|00001050| 65 20 68 6f 73 74 20 74 | 6f 20 61 6e 6f 74 68 65 |e host t|o anothe|
|00001060| 72 2c 20 65 78 65 63 75 | 74 65 73 0a 70 72 6f 67 |r, execu|tes.prog|
|00001070| 72 61 6d 73 20 6f 6e 20 | 61 20 72 65 6d 6f 74 65 |rams on |a remote|
|00001080| 20 68 6f 73 74 2c 20 65 | 74 63 2e 20 49 74 20 69 | host, e|tc. It i|
|00001090| 73 20 66 72 65 71 75 65 | 6e 74 6c 79 20 75 73 65 |s freque|ntly use|
|000010a0| 64 20 74 6f 20 74 72 61 | 6e 73 70 6f 72 74 20 6d |d to tra|nsport m|
|000010b0| 61 69 6c 0a 6f 72 20 6e | 65 77 73 20 69 6e 20 70 |ail.or n|ews in p|
|000010c0| 72 69 76 61 74 65 20 6e | 65 74 77 6f 72 6b 73 2e |rivate n|etworks.|
|000010d0| 20 49 61 6e 20 54 61 79 | 6c 6f 72 27 73 20 55 55 | Ian Tay|lor's UU|
|000010e0| 43 50 20 70 61 63 6b 61 | 67 65 2c 20 77 68 69 63 |CP packa|ge, whic|
|000010f0| 68 20 61 6c 73 6f 20 72 | 75 6e 73 0a 75 6e 64 65 |h also r|uns.unde|
|00001100| 72 20 5c 6c 69 6e 75 78 | 7b 7d 2c 20 69 73 20 64 |r \linux|{}, is d|
|00001110| 65 73 63 72 69 62 65 64 | 20 69 6e 20 74 68 65 20 |escribed| in the |
|00001120| 66 6f 6c 6c 6f 77 69 6e | 67 20 63 68 61 70 74 65 |followin|g chapte|
|00001130| 72 2e 20 20 4f 74 68 65 | 72 0a 6e 6f 6e 2d 69 6e |r. Othe|r.non-in|
|00001140| 74 65 72 61 63 74 69 76 | 65 20 63 6f 6d 6d 75 6e |teractiv|e commun|
|00001150| 69 63 61 74 69 6f 6e 20 | 73 6f 66 74 77 61 72 65 |ication |software|
|00001160| 20 69 73 2c 20 66 6f 72 | 20 65 78 61 6d 70 6c 65 | is, for| example|
|00001170| 2c 20 75 73 65 64 20 74 | 68 72 6f 75 67 68 6f 75 |, used t|hroughou|
|00001180| 74 0a 46 69 64 6f 6e 65 | 74 2e 20 50 6f 72 74 73 |t.Fidone|t. Ports|
|00001190| 20 6f 66 20 46 69 64 6f | 6e 65 74 20 61 70 70 6c | of Fido|net appl|
|000011a0| 69 63 61 74 69 6f 6e 73 | 20 6c 69 6b 65 20 5c 70 |ications| like \p|
|000011b0| 72 6f 67 7b 69 66 6d 61 | 69 6c 7d 20 61 72 65 20 |rog{ifma|il} are |
|000011c0| 61 6c 73 6f 0a 61 76 61 | 69 6c 61 62 6c 65 2e 0a |also.ava|ilable..|
|000011d0| 0a 0a 5c 69 6e 64 65 78 | 7b 53 4c 49 50 7d 0a 53 |..\index|{SLIP}.S|
|000011e0| 4c 49 50 2c 20 74 68 65 | 20 73 65 72 69 61 6c 20 |LIP, the| serial |
|000011f0| 6c 69 6e 65 20 49 6e 74 | 65 72 6e 65 74 20 70 72 |line Int|ernet pr|
|00001200| 6f 74 6f 63 6f 6c 2c 20 | 69 73 20 73 6f 6d 65 77 |otocol, |is somew|
|00001210| 68 61 74 20 69 6e 62 65 | 74 77 65 65 6e 2c 0a 61 |hat inbe|tween,.a|
|00001220| 6c 6c 6f 77 69 6e 67 20 | 62 6f 74 68 20 69 6e 74 |llowing |both int|
|00001230| 65 72 61 63 74 69 76 65 | 20 61 6e 64 20 6e 6f 6e |eractive| and non|
|00001240| 2d 69 6e 74 65 72 61 63 | 74 69 76 65 20 75 73 65 |-interac|tive use|
|00001250| 2e 20 4d 61 6e 79 20 70 | 65 6f 70 6c 65 0a 75 73 |. Many p|eople.us|
|00001260| 65 20 53 4c 49 50 20 74 | 6f 20 64 69 61 6c 20 75 |e SLIP t|o dial u|
|00001270| 70 20 74 68 65 69 72 20 | 63 61 6d 70 75 73 20 6e |p their |campus n|
|00001280| 65 74 77 6f 72 6b 20 6f | 72 20 73 6f 6d 65 20 6f |etwork o|r some o|
|00001290| 74 68 65 72 20 73 6f 72 | 74 20 6f 66 0a 70 75 62 |ther sor|t of.pub|
|000012a0| 6c 69 63 20 53 4c 49 50 | 20 73 65 72 76 65 72 20 |lic SLIP| server |
|000012b0| 74 6f 20 72 75 6e 20 46 | 54 50 20 73 65 73 73 69 |to run F|TP sessi|
|000012c0| 6f 6e 73 2c 20 65 74 63 | 2e 20 53 4c 49 50 20 6d |ons, etc|. SLIP m|
|000012d0| 61 79 20 68 6f 77 65 76 | 65 72 20 61 6c 73 6f 0a |ay howev|er also.|
|000012e0| 62 65 20 75 73 65 64 20 | 6f 76 65 72 20 70 65 72 |be used |over per|
|000012f0| 6d 61 6e 65 6e 74 20 6f | 72 20 73 65 6d 69 2d 70 |manent o|r semi-p|
|00001300| 65 72 6d 61 6e 65 6e 74 | 20 63 6f 6e 6e 65 63 74 |ermanent| connect|
|00001310| 69 6f 6e 73 20 66 6f 72 | 20 4c 41 4e 2d 74 6f 2d |ions for| LAN-to-|
|00001320| 4c 41 4e 0a 63 6f 75 70 | 6c 69 6e 67 2c 20 61 6c |LAN.coup|ling, al|
|00001330| 74 68 6f 75 67 68 20 74 | 68 69 73 20 69 73 20 72 |though t|his is r|
|00001340| 65 61 6c 6c 79 20 6f 6e | 6c 79 20 69 6e 74 65 72 |eally on|ly inter|
|00001350| 65 73 74 69 6e 67 20 77 | 69 74 68 20 49 53 44 4e |esting w|ith ISDN|
|00001360| 2e 0a 0a 0a 0a 5c 73 65 | 63 74 69 6f 6e 7b 49 6e |.....\se|ction{In|
|00001370| 74 72 6f 64 75 63 74 69 | 6f 6e 20 74 6f 20 53 65 |troducti|on to Se|
|00001380| 72 69 61 6c 20 44 65 76 | 69 63 65 73 7d 0a 25 25 |rial Dev|ices}.%%|
|00001390| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000013a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000013b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000013c0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 0a |%%%%%%%%|%%%%%%%.|
|000013d0| 5c 6c 61 62 65 6c 7b 73 | 65 72 69 61 6c 2e 74 74 |\label{s|erial.tt|
|000013e0| 79 73 7d 0a 5c 69 6e 64 | 65 78 7b 74 74 79 7c 28 |ys}.\ind|ex{tty|(|
|000013f0| 7d 0a 0a 54 68 65 20 64 | 65 76 69 63 65 73 20 61 |}..The d|evices a|
|00001400| 20 5c 75 6e 69 78 7b 7d | 20 6b 65 72 6e 65 6c 20 | \unix{}| kernel |
|00001410| 70 72 6f 76 69 64 65 73 | 20 66 6f 72 20 61 63 63 |provides| for acc|
|00001420| 65 73 73 69 6e 67 20 73 | 65 72 69 61 6c 20 64 65 |essing s|erial de|
|00001430| 76 69 63 65 73 20 61 72 | 65 0a 74 79 70 69 63 61 |vices ar|e.typica|
|00001440| 6c 6c 79 20 63 61 6c 6c | 65 64 20 5c 65 6d 70 68 |lly call|ed \emph|
|00001450| 7b 74 74 79 73 7d 2e 20 | 54 68 69 73 20 69 73 20 |{ttys}. |This is |
|00001460| 61 6e 20 61 62 62 72 65 | 76 69 61 74 69 6f 6e 20 |an abbre|viation |
|00001470| 66 6f 72 20 5c 65 6d 70 | 68 7b 54 65 6c 65 74 79 |for \emp|h{Telety|
|00001480| 70 65 7d 5c 54 4d 2c 0a | 77 68 69 63 68 20 75 73 |pe}\TM,.|which us|
|00001490| 65 64 20 74 6f 20 62 65 | 20 6f 6e 65 20 6f 66 20 |ed to be| one of |
|000014a0| 74 68 65 20 6d 61 6a 6f | 72 20 6d 61 6e 75 66 61 |the majo|r manufa|
|000014b0| 63 74 75 72 65 72 73 20 | 6f 66 20 74 65 72 6d 69 |cturers |of termi|
|000014c0| 6e 61 6c 73 20 69 6e 20 | 74 68 65 0a 65 61 72 6c |nals in |the.earl|
|000014d0| 79 20 64 61 79 73 20 6f | 66 20 55 6e 69 78 2e 20 |y days o|f Unix. |
|000014e0| 20 54 68 65 20 74 65 72 | 6d 20 69 73 20 75 73 65 | The ter|m is use|
|000014f0| 64 20 6e 6f 77 61 64 61 | 79 73 20 66 6f 72 20 61 |d nowada|ys for a|
|00001500| 6e 79 20 63 68 61 72 61 | 63 74 65 72 2d 62 61 73 |ny chara|cter-bas|
|00001510| 65 64 20 64 61 74 61 0a | 74 65 72 6d 69 6e 61 6c |ed data.|terminal|
|00001520| 2e 20 20 54 68 72 6f 75 | 67 68 6f 75 74 20 74 68 |. Throu|ghout th|
|00001530| 69 73 20 63 68 61 70 74 | 65 72 2c 20 77 65 20 77 |is chapt|er, we w|
|00001540| 69 6c 6c 20 75 73 65 20 | 74 68 65 20 74 65 72 6d |ill use |the term|
|00001550| 20 65 78 63 6c 75 73 69 | 76 65 6c 79 20 74 6f 0a | exclusi|vely to.|
|00001560| 72 65 66 65 72 20 74 6f | 20 6b 65 72 6e 65 6c 20 |refer to| kernel |
|00001570| 64 65 76 69 63 65 73 2e | 0a 0a 0a 5c 6c 69 6e 75 |devices.|...\linu|
|00001580| 78 7b 7d 20 64 69 73 74 | 69 6e 67 75 69 73 68 65 |x{} dist|inguishe|
|00001590| 73 20 74 68 72 65 65 20 | 63 6c 61 73 73 65 73 20 |s three |classes |
|000015a0| 6f 66 20 74 74 79 73 3a | 20 28 76 69 72 74 75 61 |of ttys:| (virtua|
|000015b0| 6c 29 20 63 6f 6e 73 6f | 6c 65 73 2c 0a 70 73 65 |l) conso|les,.pse|
|000015c0| 75 64 6f 2d 74 65 72 6d | 69 6e 61 6c 73 20 28 73 |udo-term|inals (s|
|000015d0| 69 6d 69 6c 61 72 20 74 | 6f 20 61 20 74 77 6f 2d |imilar t|o a two-|
|000015e0| 77 61 79 20 70 69 70 65 | 2c 20 75 73 65 64 20 62 |way pipe|, used b|
|000015f0| 79 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 73 75 |y applic|ation su|
|00001600| 63 68 20 61 73 0a 58 31 | 31 29 2c 20 61 6e 64 20 |ch as.X1|1), and |
|00001610| 73 65 72 69 61 6c 20 64 | 65 76 69 63 65 73 2e 20 |serial d|evices. |
|00001620| 20 54 68 65 20 6c 61 74 | 74 65 72 20 61 72 65 20 | The lat|ter are |
|00001630| 61 6c 73 6f 20 63 6f 75 | 6e 74 65 64 20 61 73 20 |also cou|nted as |
|00001640| 74 74 79 73 2c 20 62 65 | 63 61 75 73 65 0a 74 68 |ttys, be|cause.th|
|00001650| 65 79 20 70 65 72 6d 69 | 74 20 69 6e 74 65 72 61 |ey permi|t intera|
|00001660| 63 74 69 76 65 20 73 65 | 73 73 69 6f 6e 73 20 6f |ctive se|ssions o|
|00001670| 76 65 72 20 61 20 73 65 | 72 69 61 6c 20 63 6f 6e |ver a se|rial con|
|00001680| 6e 65 63 74 69 6f 6e 3b | 20 62 65 20 69 74 20 66 |nection;| be it f|
|00001690| 72 6f 6d 20 61 0a 68 61 | 72 64 2d 77 69 72 65 64 |rom a.ha|rd-wired|
|000016a0| 20 74 65 72 6d 69 6e 61 | 6c 20 6f 72 20 61 20 72 | termina|l or a r|
|000016b0| 65 6d 6f 74 65 20 63 6f | 6d 70 75 74 65 72 20 6f |emote co|mputer o|
|000016c0| 76 65 72 20 61 20 74 65 | 6c 65 70 68 6f 6e 65 20 |ver a te|lephone |
|000016d0| 6c 69 6e 65 2e 0a 0a 0a | 54 74 79 73 20 68 61 76 |line....|Ttys hav|
|000016e0| 65 20 61 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 6f |e a numb|er of co|
|000016f0| 6e 66 69 67 75 72 61 62 | 6c 65 20 70 61 72 61 6d |nfigurab|le param|
|00001700| 65 74 65 72 73 20 77 68 | 69 63 68 20 63 61 6e 20 |eters wh|ich can |
|00001710| 62 65 20 73 65 74 20 75 | 73 69 6e 67 20 74 68 65 |be set u|sing the|
|00001720| 0a 5c 66 75 6e 63 7b 69 | 6f 63 74 6c 28 32 29 7d |.\func{i|octl(2)}|
|00001730| 20 73 79 73 74 65 6d 20 | 63 61 6c 6c 2e 20 4d 61 | system |call. Ma|
|00001740| 6e 79 20 6f 66 20 74 68 | 65 6d 20 61 70 70 6c 79 |ny of th|em apply|
|00001750| 20 6f 6e 6c 79 20 74 6f | 20 73 65 72 69 61 6c 20 | only to| serial |
|00001760| 64 65 76 69 63 65 73 2c | 0a 73 69 6e 63 65 20 74 |devices,|.since t|
|00001770| 68 65 79 20 6e 65 65 64 | 20 61 20 67 72 65 61 74 |hey need| a great|
|00001780| 20 64 65 61 6c 20 6d 6f | 72 65 20 66 6c 65 78 69 | deal mo|re flexi|
|00001790| 62 69 6c 69 74 79 20 74 | 6f 20 68 61 6e 64 6c 65 |bility t|o handle|
|000017a0| 20 76 61 72 79 69 6e 67 | 20 74 79 70 65 73 20 6f | varying| types o|
|000017b0| 66 0a 63 6f 6e 6e 65 63 | 74 69 6f 6e 73 2e 0a 0a |f.connec|tions...|
|000017c0| 0a 5c 69 6e 64 65 78 7b | 6c 69 6e 65 20 64 69 73 |.\index{|line dis|
|000017d0| 63 69 70 6c 69 6e 65 7d | 0a 5c 69 6e 64 65 78 7b |cipline}|.\index{|
|000017e0| 74 74 79 21 6c 69 6e 65 | 20 64 69 73 63 69 70 6c |tty!line| discipl|
|000017f0| 69 6e 65 7d 0a 41 6d 6f | 6e 67 20 74 68 65 20 6d |ine}.Amo|ng the m|
|00001800| 6f 73 74 20 70 72 6f 6d | 69 6e 65 6e 74 20 6c 69 |ost prom|inent li|
|00001810| 6e 65 20 70 61 72 61 6d | 65 74 65 72 73 20 61 72 |ne param|eters ar|
|00001820| 65 20 74 68 65 20 6c 69 | 6e 65 20 73 70 65 65 64 |e the li|ne speed|
|00001830| 20 61 6e 64 20 70 61 72 | 69 74 79 2e 0a 42 75 74 | and par|ity..But|
|00001840| 20 74 68 65 72 65 20 61 | 72 65 20 61 6c 73 6f 20 | there a|re also |
|00001850| 66 6c 61 67 73 20 66 6f | 72 20 74 68 65 20 63 6f |flags fo|r the co|
|00001860| 6e 76 65 72 73 69 6f 6e | 20 62 65 74 77 65 65 6e |nversion| between|
|00001870| 20 75 70 70 65 72 20 61 | 6e 64 20 6c 6f 77 65 72 | upper a|nd lower|
|00001880| 20 63 61 73 65 0a 63 68 | 61 72 61 63 74 65 72 73 | case.ch|aracters|
|00001890| 2c 20 6f 66 20 63 61 72 | 72 69 61 67 65 20 72 65 |, of car|riage re|
|000018a0| 74 75 72 6e 20 69 6e 74 | 6f 20 6c 69 6e 65 20 66 |turn int|o line f|
|000018b0| 65 65 64 2c 20 65 74 63 | 2e 20 54 68 65 20 74 74 |eed, etc|. The tt|
|000018c0| 79 20 64 72 69 76 65 72 | 20 6d 61 79 0a 61 6c 73 |y driver| may.als|
|000018d0| 6f 20 73 75 70 70 6f 72 | 74 20 76 61 72 69 6f 75 |o suppor|t variou|
|000018e0| 73 20 5c 65 6d 70 68 7b | 6c 69 6e 65 20 64 69 73 |s \emph{|line dis|
|000018f0| 63 69 70 6c 69 6e 65 73 | 7d 20 77 68 69 63 68 20 |ciplines|} which |
|00001900| 6d 61 6b 65 20 74 68 65 | 20 64 65 76 69 63 65 0a |make the| device.|
|00001910| 64 72 69 76 65 72 20 62 | 65 68 61 76 65 20 63 6f |driver b|ehave co|
|00001920| 6d 70 6c 65 74 65 6c 79 | 20 64 69 66 66 65 72 65 |mpletely| differe|
|00001930| 6e 74 2e 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |nt. For |example,|
|00001940| 20 74 68 65 20 53 4c 49 | 50 20 64 72 69 76 65 72 | the SLI|P driver|
|00001950| 20 66 6f 72 0a 5c 6c 69 | 6e 75 78 7b 7d 20 69 73 | for.\li|nux{} is|
|00001960| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 20 62 79 20 | impleme|nted by |
|00001970| 6d 65 61 6e 73 20 6f 66 | 20 61 20 73 70 65 63 69 |means of| a speci|
|00001980| 61 6c 20 6c 69 6e 65 20 | 64 69 73 63 69 70 6c 69 |al line |discipli|
|00001990| 6e 65 2e 0a 0a 0a 5c 69 | 6e 64 65 78 7b 73 65 72 |ne....\i|ndex{ser|
|000019a0| 69 61 6c 20 6c 69 6e 65 | 21 73 70 65 65 64 7d 0a |ial line|!speed}.|
|000019b0| 5c 69 6e 64 65 78 7b 6d | 6f 64 65 6d 2c 20 73 70 |\index{m|odem, sp|
|000019c0| 65 65 64 7d 0a 5c 69 6e | 64 65 78 7b 42 61 75 64 |eed}.\in|dex{Baud|
|000019d0| 20 72 61 74 65 7d 0a 5c | 69 6e 64 65 78 7b 42 69 | rate}.\|index{Bi|
|000019e0| 74 20 72 61 74 65 7d 0a | 54 68 65 72 65 20 69 73 |t rate}.|There is|
|000019f0| 20 61 20 62 69 74 20 6f | 66 20 61 6d 62 69 67 75 | a bit o|f ambigu|
|00001a00| 69 74 79 20 61 62 6f 75 | 74 20 68 6f 77 20 74 6f |ity abou|t how to|
|00001a10| 20 6d 65 61 73 75 72 65 | 20 61 20 6c 69 6e 65 27 | measure| a line'|
|00001a20| 73 20 73 70 65 65 64 2e | 20 20 54 68 65 0a 63 6f |s speed.| The.co|
|00001a30| 72 72 65 63 74 20 74 68 | 65 20 74 65 72 6d 20 69 |rrect th|e term i|
|00001a40| 73 20 5c 65 6d 70 68 7b | 42 69 74 20 72 61 74 65 |s \emph{|Bit rate|
|00001a50| 7d 2c 20 77 68 69 63 68 | 20 69 73 20 72 65 6c 61 |}, which| is rela|
|00001a60| 74 65 64 20 74 6f 20 74 | 68 65 20 6c 69 6e 65 27 |ted to t|he line'|
|00001a70| 73 20 74 72 61 6e 73 66 | 65 72 0a 73 70 65 65 64 |s transf|er.speed|
|00001a80| 20 6d 65 61 73 75 72 65 | 64 20 69 6e 20 62 69 74 | measure|d in bit|
|00001a90| 73 20 70 65 72 20 73 65 | 63 6f 6e 64 20 28 6f 72 |s per se|cond (or|
|00001aa0| 20 62 70 73 20 66 6f 72 | 20 73 68 6f 72 74 29 2e | bps for| short).|
|00001ab0| 20 20 53 6f 6d 65 74 69 | 6d 65 73 2c 20 79 6f 75 | Someti|mes, you|
|00001ac0| 20 68 65 61 72 0a 70 65 | 6f 70 6c 65 20 72 65 66 | hear.pe|ople ref|
|00001ad0| 65 72 20 74 6f 20 69 74 | 20 61 73 20 74 68 65 20 |er to it| as the |
|00001ae0| 5c 65 6d 70 68 7b 42 61 | 75 64 20 72 61 74 65 7d |\emph{Ba|ud rate}|
|00001af0| 2c 20 77 68 69 63 68 20 | 69 73 20 6e 6f 74 20 71 |, which |is not q|
|00001b00| 75 69 74 65 20 63 6f 72 | 72 65 63 74 2e 0a 54 68 |uite cor|rect..Th|
|00001b10| 65 73 65 20 74 77 6f 20 | 74 65 72 6d 73 20 61 72 |ese two |terms ar|
|00001b20| 65 2c 20 68 6f 77 65 76 | 65 72 2c 20 6e 6f 74 20 |e, howev|er, not |
|00001b30| 69 6e 74 65 72 63 68 61 | 6e 67 65 61 62 6c 65 2e |intercha|ngeable.|
|00001b40| 20 54 68 65 20 42 61 75 | 64 20 72 61 74 65 0a 72 | The Bau|d rate.r|
|00001b50| 65 66 65 72 73 20 74 6f | 20 61 20 70 68 79 73 69 |efers to| a physi|
|00001b60| 63 61 6c 20 63 68 61 72 | 61 63 74 65 72 69 73 74 |cal char|acterist|
|00001b70| 69 63 20 6f 66 20 73 6f | 6d 65 20 73 65 72 69 61 |ic of so|me seria|
|00001b80| 6c 20 64 65 76 69 63 65 | 2c 20 6e 61 6d 65 6c 79 |l device|, namely|
|00001b90| 20 74 68 65 0a 63 6c 6f | 63 6b 20 72 61 74 65 20 | the.clo|ck rate |
|00001ba0| 61 74 20 77 68 69 63 68 | 20 70 75 6c 73 65 73 20 |at which| pulses |
|00001bb0| 61 72 65 20 74 72 61 6e | 73 6d 69 74 74 65 64 2e |are tran|smitted.|
|00001bc0| 20 20 54 68 65 20 62 69 | 74 20 72 61 74 65 20 72 | The bi|t rate r|
|00001bd0| 61 74 68 65 72 0a 64 65 | 6e 6f 74 65 73 20 61 20 |ather.de|notes a |
|00001be0| 63 75 72 72 65 6e 74 20 | 73 74 61 74 65 20 6f 66 |current |state of|
|00001bf0| 20 61 6e 20 65 78 69 73 | 74 69 6e 67 20 73 65 72 | an exis|ting ser|
|00001c00| 69 61 6c 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 62 |ial conn|ection b|
|00001c10| 65 74 77 65 65 6e 20 74 | 77 6f 0a 70 6f 69 6e 74 |etween t|wo.point|
|00001c20| 73 2c 20 6e 61 6d 65 6c | 79 20 74 68 65 20 61 76 |s, namel|y the av|
|00001c30| 65 72 61 67 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |erage nu|mber of |
|00001c40| 62 69 74 73 20 74 72 61 | 6e 73 66 65 72 72 65 64 |bits tra|nsferred|
|00001c50| 20 70 65 72 20 73 65 63 | 6f 6e 64 2e 20 49 74 0a | per sec|ond. It.|
|00001c60| 69 73 20 69 6d 70 6f 72 | 74 61 6e 74 20 74 6f 20 |is impor|tant to |
|00001c70| 6b 6e 6f 77 20 74 68 61 | 74 20 74 68 65 73 65 20 |know tha|t these |
|00001c80| 74 77 6f 20 76 61 6c 75 | 65 73 20 61 72 65 20 75 |two valu|es are u|
|00001c90| 73 75 61 6c 6c 79 20 64 | 69 66 66 65 72 65 6e 74 |sually d|ifferent|
|00001ca0| 2c 20 61 73 0a 6d 6f 73 | 74 20 64 65 76 69 63 65 |, as.mos|t device|
|00001cb0| 73 20 65 6e 63 6f 64 65 | 20 6d 6f 72 65 20 74 68 |s encode| more th|
|00001cc0| 61 6e 20 6f 6e 65 20 62 | 69 74 20 70 65 72 20 65 |an one b|it per e|
|00001cd0| 6c 65 63 74 72 69 63 61 | 6c 20 70 75 6c 73 65 2e |lectrica|l pulse.|
|00001ce0| 0a 0a 0a 0a 5c 73 65 63 | 74 69 6f 6e 7b 41 63 63 |....\sec|tion{Acc|
|00001cf0| 65 73 73 69 6e 67 20 53 | 65 72 69 61 6c 20 44 65 |essing S|erial De|
|00001d00| 76 69 63 65 73 7d 0a 5c | 6c 61 62 65 6c 7b 73 65 |vices}.\|label{se|
|00001d10| 72 69 61 6c 2e 64 65 76 | 69 63 65 73 7d 0a 25 25 |rial.dev|ices}.%%|
|00001d20| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001d30| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001d40| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001d50| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 0a |%%%%%%%%|%%%%%%%.|
|00001d60| 4c 69 6b 65 20 61 6c 6c | 20 64 65 76 69 63 65 73 |Like all| devices|
|00001d70| 20 69 6e 20 61 20 5c 75 | 6e 69 78 7b 7d 20 73 79 | in a \u|nix{} sy|
|00001d80| 73 74 65 6d 2c 20 73 65 | 72 69 61 6c 20 70 6f 72 |stem, se|rial por|
|00001d90| 74 73 20 61 72 65 20 61 | 63 63 65 73 73 65 64 0a |ts are a|ccessed.|
|00001da0| 74 68 72 6f 75 67 68 20 | 64 65 76 69 63 65 20 73 |through |device s|
|00001db0| 70 65 63 69 61 6c 20 66 | 69 6c 65 73 2c 20 6c 6f |pecial f|iles, lo|
|00001dc0| 63 61 74 65 64 20 69 6e | 20 74 68 65 20 5c 66 69 |cated in| the \fi|
|00001dd0| 6c 65 7b 2f 64 65 76 7d | 20 64 69 72 65 63 74 6f |le{/dev}| directo|
|00001de0| 72 79 2e 0a 54 68 65 72 | 65 20 61 72 65 20 74 77 |ry..Ther|e are tw|
|00001df0| 6f 20 76 61 72 69 65 74 | 69 65 73 20 6f 66 20 64 |o variet|ies of d|
|00001e00| 65 76 69 63 65 20 66 69 | 6c 65 73 20 72 65 6c 61 |evice fi|les rela|
|00001e10| 74 65 64 20 74 6f 20 73 | 65 72 69 61 6c 20 64 72 |ted to s|erial dr|
|00001e20| 69 76 65 72 73 2c 0a 61 | 6e 64 20 66 6f 72 20 65 |ivers,.a|nd for e|
|00001e30| 61 63 68 20 70 6f 72 74 | 2c 20 74 68 65 72 65 20 |ach port|, there |
|00001e40| 69 73 20 6f 6e 65 20 64 | 65 76 69 63 65 20 66 69 |is one d|evice fi|
|00001e50| 6c 65 20 66 72 6f 6d 20 | 65 61 63 68 20 6f 66 20 |le from |each of |
|00001e60| 74 68 65 6d 2e 0a 44 65 | 70 65 6e 64 69 6e 67 20 |them..De|pending |
|00001e70| 6f 6e 20 74 68 65 20 66 | 69 6c 65 20 69 74 20 69 |on the f|ile it i|
|00001e80| 73 20 61 63 63 65 73 73 | 65 64 20 62 79 2c 20 74 |s access|ed by, t|
|00001e90| 68 65 20 64 65 76 69 63 | 65 20 77 69 6c 6c 20 62 |he devic|e will b|
|00001ea0| 65 68 61 76 65 0a 64 69 | 66 66 65 72 65 6e 74 6c |ehave.di|fferentl|
|00001eb0| 79 2e 0a 0a 0a 5c 69 6e | 64 65 78 7b 64 65 76 2f |y....\in|dex{dev/|
|00001ec0| 63 75 61 2a 40 5c 66 69 | 6c 65 7b 2f 64 65 76 2f |cua*@\fi|le{/dev/|
|00001ed0| 63 75 61 2a 7d 7c 28 7d | 0a 5c 69 6e 64 65 78 7b |cua*}|(}|.\index{|
|00001ee0| 64 65 76 2f 74 74 79 53 | 2a 40 5c 66 69 6c 65 7b |dev/ttyS|*@\file{|
|00001ef0| 2f 64 65 76 2f 74 74 79 | 53 2a 7d 7c 28 7d 0a 5c |/dev/tty|S*}|(}.\|
|00001f00| 69 6e 64 65 78 7b 73 65 | 72 69 61 6c 20 6c 69 6e |index{se|rial lin|
|00001f10| 65 21 64 65 76 69 63 65 | 20 66 69 6c 65 7d 0a 5c |e!device| file}.\|
|00001f20| 69 6e 64 65 78 7b 64 69 | 61 6c 6f 75 74 20 64 65 |index{di|alout de|
|00001f30| 76 69 63 65 7d 0a 5c 69 | 6e 64 65 78 7b 64 69 61 |vice}.\i|ndex{dia|
|00001f40| 6c 69 6e 20 64 65 76 69 | 63 65 7d 0a 54 68 65 20 |lin devi|ce}.The |
|00001f50| 66 69 72 73 74 20 76 61 | 72 69 65 74 79 20 69 73 |first va|riety is|
|00001f60| 20 75 73 65 64 20 77 68 | 65 6e 65 76 65 72 20 74 | used wh|enever t|
|00001f70| 68 65 20 70 6f 72 74 20 | 69 73 20 75 73 65 64 20 |he port |is used |
|00001f80| 66 6f 72 20 64 69 61 6c | 69 6e 67 20 69 6e 3b 20 |for dial|ing in; |
|00001f90| 69 74 0a 68 61 73 20 61 | 20 6d 61 6a 6f 72 20 6e |it.has a| major n|
|00001fa0| 75 6d 62 65 72 20 6f 66 | 7e 34 2c 20 61 6e 64 20 |umber of|~4, and |
|00001fb0| 74 68 65 20 66 69 6c 65 | 73 20 61 72 65 20 6e 61 |the file|s are na|
|00001fc0| 6d 65 64 20 5c 66 69 6c | 65 7b 74 74 79 53 30 7d |med \fil|e{ttyS0}|
|00001fd0| 2c 0a 5c 66 69 6c 65 7b | 74 74 79 53 31 7d 2c 20 |,.\file{|ttyS1}, |
|00001fe0| 65 74 63 2e 20 54 68 65 | 20 73 65 63 6f 6e 64 20 |etc. The| second |
|00001ff0| 76 61 72 69 65 74 79 20 | 69 73 20 75 73 65 64 20 |variety |is used |
|00002000| 77 68 65 6e 20 64 69 61 | 6c 69 6e 67 20 6f 75 74 |when dia|ling out|
|00002010| 0a 74 68 72 6f 75 67 68 | 20 61 20 70 6f 72 74 3b |.through| a port;|
|00002020| 20 74 68 65 20 66 69 6c | 65 73 20 61 72 65 20 63 | the fil|es are c|
|00002030| 61 6c 6c 65 64 20 5c 66 | 69 6c 65 7b 63 75 61 30 |alled \f|ile{cua0|
|00002040| 7d 2c 20 65 74 63 2c 20 | 61 6e 64 0a 68 61 76 65 |}, etc, |and.have|
|00002050| 20 61 20 6d 61 6a 6f 72 | 20 6e 75 6d 62 65 72 20 | a major| number |
|00002060| 6f 66 7e 35 2e 0a 0a 0a | 5c 69 6e 64 65 78 7b 43 |of~5....|\index{C|
|00002070| 4f 4d 20 70 6f 72 74 7d | 0a 5c 69 6e 64 65 78 7b |OM port}|.\index{|
|00002080| 70 6f 72 74 21 43 4f 4d | 7d 0a 4d 69 6e 6f 72 20 |port!COM|}.Minor |
|00002090| 6e 75 6d 62 65 72 73 20 | 61 72 65 20 69 64 65 6e |numbers |are iden|
|000020a0| 74 69 63 61 6c 20 66 6f | 72 20 62 6f 74 68 20 74 |tical fo|r both t|
|000020b0| 79 70 65 73 2e 20 49 66 | 20 79 6f 75 20 68 61 76 |ypes. If| you hav|
|000020c0| 65 20 79 6f 75 72 20 6d | 6f 64 65 6d 20 6f 6e 0a |e your m|odem on.|
|000020d0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 70 6f 72 74 73 |one of t|he ports|
|000020e0| 20 5c 66 69 6c 65 7b 43 | 4f 4d 31 7d 20 74 68 72 | \file{C|OM1} thr|
|000020f0| 6f 75 67 68 20 5c 66 69 | 6c 65 7b 43 4f 4d 34 7d |ough \fi|le{COM4}|
|00002100| 2c 20 69 74 73 20 6d 69 | 6e 6f 72 20 6e 75 6d 62 |, its mi|nor numb|
|00002110| 65 72 20 77 69 6c 6c 0a | 62 65 20 74 68 65 20 5c |er will.|be the \|
|00002120| 66 69 6c 65 7b 43 4f 4d | 7d 20 70 6f 72 74 20 6e |file{COM|} port n|
|00002130| 75 6d 62 65 72 20 70 6c | 75 73 20 36 33 2e 20 49 |umber pl|us 63. I|
|00002140| 66 20 79 6f 75 72 20 73 | 65 74 75 70 20 69 73 20 |f your s|etup is |
|00002150| 64 69 66 66 65 72 65 6e | 74 20 66 72 6f 6d 0a 74 |differen|t from.t|
|00002160| 68 61 74 2c 20 66 6f 72 | 20 65 78 61 6d 70 6c 65 |hat, for| example|
|00002170| 20 77 68 65 6e 20 75 73 | 69 6e 67 20 61 20 62 6f | when us|ing a bo|
|00002180| 61 72 64 20 73 75 70 70 | 6f 72 74 69 6e 67 20 6d |ard supp|orting m|
|00002190| 75 6c 74 69 70 6c 65 20 | 73 65 72 69 61 6c 20 6c |ultiple |serial l|
|000021a0| 69 6e 65 73 2c 0a 70 6c | 65 61 73 65 20 72 65 66 |ines,.pl|ease ref|
|000021b0| 65 72 20 74 6f 20 74 68 | 65 20 53 65 72 69 61 6c |er to th|e Serial|
|000021c0| 20 48 6f 77 74 6f 2e 0a | 0a 0a 41 73 73 75 6d 65 | Howto..|..Assume|
|000021d0| 20 79 6f 75 72 20 6d 6f | 64 65 6d 20 69 73 20 6f | your mo|dem is o|
|000021e0| 6e 20 5c 66 69 6c 65 7b | 43 4f 4d 32 7d 2e 20 54 |n \file{|COM2}. T|
|000021f0| 68 75 73 20 69 74 73 20 | 6d 69 6e 6f 72 20 6e 75 |hus its |minor nu|
|00002200| 6d 62 65 72 20 77 69 6c | 6c 20 62 65 7e 36 35 2c |mber wil|l be~65,|
|00002210| 0a 61 6e 64 20 69 74 73 | 20 6d 61 6a 6f 72 20 6e |.and its| major n|
|00002220| 75 6d 62 65 72 20 77 69 | 6c 6c 20 62 65 20 35 20 |umber wi|ll be 5 |
|00002230| 66 6f 72 20 64 69 61 6c | 69 6e 67 20 6f 75 74 2e |for dial|ing out.|
|00002240| 20 20 54 68 65 72 65 20 | 73 68 6f 75 6c 64 20 62 | There |should b|
|00002250| 65 20 61 0a 64 65 76 69 | 63 65 20 5c 66 69 6c 65 |e a.devi|ce \file|
|00002260| 7b 63 75 61 31 7d 20 77 | 68 69 63 68 20 68 61 73 |{cua1} w|hich has|
|00002270| 20 74 68 65 73 65 20 6e | 75 6d 62 65 72 73 2e 20 | these n|umbers. |
|00002280| 4c 69 73 74 20 74 68 65 | 20 73 65 72 69 61 6c 20 |List the| serial |
|00002290| 74 74 79 73 20 69 6e 0a | 74 68 65 20 5c 66 69 6c |ttys in.|the \fil|
|000022a0| 65 7b 2f 64 65 76 7d 20 | 64 69 72 65 63 74 6f 72 |e{/dev} |director|
|000022b0| 79 2e 20 20 43 6f 6c 75 | 6d 6e 73 20 35 20 61 6e |y. Colu|mns 5 an|
|000022c0| 64 20 36 20 73 68 6f 75 | 6c 64 20 73 68 6f 77 20 |d 6 shou|ld show |
|000022d0| 6d 61 6a 6f 72 20 61 6e | 64 20 6d 69 6e 6f 72 0a |major an|d minor.|
|000022e0| 6e 75 6d 62 65 72 73 2c | 20 72 65 73 70 65 63 74 |numbers,| respect|
|000022f0| 69 76 65 6c 79 3a 0a 0a | 0a 5c 62 65 67 69 6e 7b |ively:..|.\begin{|
|00002300| 74 73 63 72 65 65 6e 7d | 0a 5c 62 65 67 69 6e 7b |tscreen}|.\begin{|
|00002310| 76 65 72 62 61 74 69 6d | 7d 0a 24 20 6c 73 20 2d |verbatim|}.$ ls -|
|00002320| 6c 20 2f 64 65 76 2f 63 | 75 61 2a 0a 63 72 77 2d |l /dev/c|ua*.crw-|
|00002330| 72 77 2d 72 77 2d 20 20 | 20 31 20 72 6f 6f 74 20 |rw-rw- | 1 root |
|00002340| 20 20 20 20 72 6f 6f 74 | 20 20 20 20 20 20 20 35 | root| 5|
|00002350| 2c 20 20 36 34 20 4e 6f | 76 20 33 30 20 31 39 3a |, 64 No|v 30 19:|
|00002360| 33 31 20 2f 64 65 76 2f | 63 75 61 30 0a 63 72 77 |31 /dev/|cua0.crw|
|00002370| 2d 72 77 2d 72 77 2d 20 | 20 20 31 20 72 6f 6f 74 |-rw-rw- | 1 root|
|00002380| 20 20 20 20 20 72 6f 6f | 74 20 20 20 20 20 20 20 | roo|t |
|00002390| 35 2c 20 20 36 35 20 4e | 6f 76 20 33 30 20 32 32 |5, 65 N|ov 30 22|
|000023a0| 3a 30 38 20 2f 64 65 76 | 2f 63 75 61 31 0a 63 72 |:08 /dev|/cua1.cr|
|000023b0| 77 2d 72 77 2d 72 77 2d | 20 20 20 31 20 72 6f 6f |w-rw-rw-| 1 roo|
|000023c0| 74 20 20 20 20 20 72 6f | 6f 74 20 20 20 20 20 20 |t ro|ot |
|000023d0| 20 35 2c 20 20 36 36 20 | 4f 63 74 20 32 38 20 31 | 5, 66 |Oct 28 1|
|000023e0| 31 3a 35 36 20 2f 64 65 | 76 2f 63 75 61 32 0a 63 |1:56 /de|v/cua2.c|
|000023f0| 72 77 2d 72 77 2d 72 77 | 2d 20 20 20 31 20 72 6f |rw-rw-rw|- 1 ro|
|00002400| 6f 74 20 20 20 20 20 72 | 6f 6f 74 20 20 20 20 20 |ot r|oot |
|00002410| 20 20 35 2c 20 20 36 37 | 20 4d 61 72 20 31 39 20 | 5, 67| Mar 19 |
|00002420| 20 31 39 39 32 20 2f 64 | 65 76 2f 63 75 61 33 0a | 1992 /d|ev/cua3.|
|00002430| 5c 65 6e 64 7b 76 65 72 | 62 61 74 69 6d 7d 0a 5c |\end{ver|batim}.\|
|00002440| 65 6e 64 7b 74 73 63 72 | 65 65 6e 7d 0a 0a 0a 49 |end{tscr|een}...I|
|00002450| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 73 75 |f there |is no su|
|00002460| 63 68 20 64 65 76 69 63 | 65 2c 20 79 6f 75 20 77 |ch devic|e, you w|
|00002470| 69 6c 6c 20 68 61 76 65 | 20 74 6f 20 63 72 65 61 |ill have| to crea|
|00002480| 74 65 20 6f 6e 65 3a 20 | 62 65 63 6f 6d 65 0a 73 |te one: |become.s|
|00002490| 75 70 65 72 2d 75 73 65 | 72 20 61 6e 64 20 74 79 |uper-use|r and ty|
|000024a0| 70 65 0a 0a 0a 5c 62 65 | 67 69 6e 7b 74 73 63 72 |pe...\be|gin{tscr|
|000024b0| 65 65 6e 7d 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |een}.\be|gin{verb|
|000024c0| 61 74 69 6d 7d 0a 23 20 | 6d 6b 6e 6f 64 20 2d 6d |atim}.# |mknod -m|
|000024d0| 20 36 36 36 20 2f 64 65 | 76 2f 63 75 61 31 20 63 | 666 /de|v/cua1 c|
|000024e0| 20 35 20 36 35 0a 23 20 | 63 68 6f 77 6e 20 72 6f | 5 65.# |chown ro|
|000024f0| 6f 74 2e 72 6f 6f 74 20 | 2f 64 65 76 2f 63 75 61 |ot.root |/dev/cua|
|00002500| 31 0a 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |1.\end{v|erbatim}|
|00002510| 0a 5c 65 6e 64 7b 74 73 | 63 72 65 65 6e 7d 0a 0a |.\end{ts|creen}..|
|00002520| 0a 5c 69 6e 64 65 78 7b | 64 65 76 2f 6d 6f 64 65 |.\index{|dev/mode|
|00002530| 6d 40 5c 66 69 6c 65 7b | 2f 64 65 76 2f 6d 6f 64 |m@\file{|/dev/mod|
|00002540| 65 6d 7d 7d 0a 53 6f 6d | 65 20 70 65 6f 70 6c 65 |em}}.Som|e people|
|00002550| 20 73 75 67 67 65 73 74 | 20 6d 61 6b 69 6e 67 20 | suggest| making |
|00002560| 5c 66 69 6c 65 7b 2f 64 | 65 76 2f 6d 6f 64 65 6d |\file{/d|ev/modem|
|00002570| 7d 20 61 20 73 79 6d 62 | 6f 6c 69 63 20 6c 69 6e |} a symb|olic lin|
|00002580| 6b 20 74 6f 20 79 6f 75 | 72 0a 6d 6f 64 65 6d 20 |k to you|r.modem |
|00002590| 64 65 76 69 63 65 2c 20 | 73 6f 20 74 68 61 74 20 |device, |so that |
|000025a0| 63 61 73 75 61 6c 20 75 | 73 65 72 73 20 64 6f 6e |casual u|sers don|
|000025b0| 27 74 20 68 61 76 65 20 | 74 6f 20 72 65 6d 65 6d |'t have |to remem|
|000025c0| 62 65 72 20 74 68 65 20 | 73 6f 6d 65 77 68 61 74 |ber the |somewhat|
|000025d0| 0a 75 6e 69 6e 74 75 69 | 74 69 76 65 20 5c 66 69 |.unintui|tive \fi|
|000025e0| 6c 65 7b 63 75 61 31 7d | 2e 20 48 6f 77 65 76 65 |le{cua1}|. Howeve|
|000025f0| 72 2c 20 79 6f 75 20 63 | 61 6e 6e 6f 74 20 75 73 |r, you c|annot us|
|00002600| 65 20 5c 66 69 6c 65 7b | 6d 6f 64 65 6d 7d 20 69 |e \file{|modem} i|
|00002610| 6e 20 6f 6e 65 0a 70 72 | 6f 67 72 61 6d 2c 20 61 |n one.pr|ogram, a|
|00002620| 6e 64 20 74 68 65 20 72 | 65 61 6c 20 64 65 76 69 |nd the r|eal devi|
|00002630| 63 65 20 66 69 6c 65 20 | 6e 61 6d 65 20 69 6e 20 |ce file |name in |
|00002640| 61 6e 6f 74 68 65 72 2e | 20 54 68 69 73 20 69 73 |another.| This is|
|00002650| 20 62 65 63 61 75 73 65 | 0a 74 68 65 73 65 20 70 | because|.these p|
|00002660| 72 6f 67 72 61 6d 73 20 | 75 73 65 20 73 6f 2d 63 |rograms |use so-c|
|00002670| 61 6c 6c 65 64 20 5c 65 | 6d 70 68 7b 6c 6f 63 6b |alled \e|mph{lock|
|00002680| 20 66 69 6c 65 73 7d 20 | 74 6f 20 73 69 67 6e 61 | files} |to signa|
|00002690| 6c 20 74 68 61 74 20 74 | 68 65 0a 64 65 76 69 63 |l that t|he.devic|
|000026a0| 65 20 69 73 20 75 73 65 | 64 2e 20 42 79 20 63 6f |e is use|d. By co|
|000026b0| 6e 76 65 6e 74 69 6f 6e | 2c 20 74 68 65 20 6c 6f |nvention|, the lo|
|000026c0| 63 6b 20 66 69 6c 65 20 | 6e 61 6d 65 20 66 6f 72 |ck file |name for|
|000026d0| 20 5c 66 69 6c 65 7b 63 | 75 61 31 7d 2c 20 66 6f | \file{c|ua1}, fo|
|000026e0| 72 0a 69 6e 73 74 61 6e | 63 65 2c 20 69 73 20 5c |r.instan|ce, is \|
|000026f0| 66 69 6c 65 7b 4c 43 4b | 2e 2e 63 75 61 31 7d 2e |file{LCK|..cua1}.|
|00002700| 20 20 55 73 69 6e 67 20 | 64 69 66 66 65 72 65 6e | Using |differen|
|00002710| 74 20 64 65 76 69 63 65 | 20 66 69 6c 65 73 20 66 |t device| files f|
|00002720| 6f 72 20 74 68 65 0a 73 | 61 6d 65 20 70 6f 72 74 |or the.s|ame port|
|00002730| 20 6d 65 61 6e 73 20 74 | 68 61 74 20 70 72 6f 67 | means t|hat prog|
|00002740| 72 61 6d 73 20 77 69 6c | 6c 20 66 61 69 6c 20 74 |rams wil|l fail t|
|00002750| 6f 20 72 65 63 6f 67 6e | 69 7a 65 20 65 61 63 68 |o recogn|ize each|
|00002760| 20 6f 74 68 65 72 27 73 | 20 6c 6f 63 6b 0a 66 69 | other's| lock.fi|
|00002770| 6c 65 73 2c 20 61 6e 64 | 20 77 69 6c 6c 20 62 6f |les, and| will bo|
|00002780| 74 68 20 75 73 65 20 74 | 68 65 20 64 65 76 69 63 |th use t|he devic|
|00002790| 65 20 61 74 20 74 68 65 | 20 73 61 6d 65 20 74 69 |e at the| same ti|
|000027a0| 6d 65 2e 20 41 73 20 61 | 20 72 65 73 75 6c 74 2c |me. As a| result,|
|000027b0| 20 62 6f 74 68 0a 61 70 | 70 6c 69 63 61 74 69 6f | both.ap|plicatio|
|000027c0| 6e 73 20 77 69 6c 6c 20 | 6e 6f 74 20 77 6f 72 6b |ns will |not work|
|000027d0| 20 61 74 20 61 6c 6c 2e | 0a 0a 0a 5c 69 6e 64 65 | at all.|...\inde|
|000027e0| 78 7b 64 65 76 2f 63 75 | 61 2a 40 5c 66 69 6c 65 |x{dev/cu|a*@\file|
|000027f0| 7b 2f 64 65 76 2f 63 75 | 61 2a 7d 7c 29 7d 0a 5c |{/dev/cu|a*}|)}.\|
|00002800| 69 6e 64 65 78 7b 64 65 | 76 2f 74 74 79 53 2a 40 |index{de|v/ttyS*@|
|00002810| 5c 66 69 6c 65 7b 2f 64 | 65 76 2f 74 74 79 53 2a |\file{/d|ev/ttyS*|
|00002820| 7d 7c 29 7d 0a 0a 0a 5c | 73 65 63 74 69 6f 6e 7b |}|)}...\|section{|
|00002830| 53 65 72 69 61 6c 20 48 | 61 72 64 77 61 72 65 7d |Serial H|ardware}|
|00002840| 0a 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |.%%%%%%%|%%%%%%%%|
|00002850| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002860| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002870| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002880| 25 25 0a 25 20 49 6e 74 | 72 6f 20 74 6f 20 73 65 |%%.% Int|ro to se|
|00002890| 72 69 61 6c 20 68 61 72 | 64 77 61 72 65 2c 20 6c |rial har|dware, l|
|000028a0| 69 67 68 74 6c 79 20 74 | 6f 75 63 68 69 6e 67 20 |ightly t|ouching |
|000028b0| 52 53 20 32 33 32 20 3a | 2d 29 0a 25 20 4d 65 62 |RS 232 :|-).% Meb|
|000028c0| 62 65 20 49 20 73 68 6f | 75 6c 64 20 6d 65 6e 74 |be I sho|uld ment|
|000028d0| 69 6f 6e 20 6e 75 6c 6c | 20 6d 6f 64 65 6d 20 63 |ion null| modem c|
|000028e0| 61 62 6c 65 73 3f 0a 25 | 25 25 25 25 25 25 25 25 |ables?.%|%%%%%%%%|
|000028f0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002900| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002910| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002920| 25 25 25 25 25 25 25 25 | 0a 5c 6c 61 62 65 6c 7b |%%%%%%%%|.\label{|
|00002930| 73 65 72 69 61 6c 2e 68 | 61 72 64 77 61 72 65 7d |serial.h|ardware}|
|00002940| 0a 5c 69 6e 64 65 78 7b | 52 53 2d 32 33 32 7d 0a |.\index{|RS-232}.|
|00002950| 0a 5c 6c 69 6e 75 78 7b | 7d 20 63 75 72 72 65 6e |.\linux{|} curren|
|00002960| 74 6c 79 20 73 75 70 70 | 6f 72 74 73 20 61 20 77 |tly supp|orts a w|
|00002970| 69 64 65 20 76 61 72 69 | 65 74 79 20 6f 66 20 73 |ide vari|ety of s|
|00002980| 65 72 69 61 6c 20 62 6f | 61 72 64 73 20 77 68 69 |erial bo|ards whi|
|00002990| 63 68 20 75 73 65 0a 74 | 68 65 20 52 53 2d 32 33 |ch use.t|he RS-23|
|000029a0| 32 20 73 74 61 6e 64 61 | 72 64 2e 20 20 52 53 2d |2 standa|rd. RS-|
|000029b0| 32 33 32 20 69 73 20 63 | 75 72 72 65 6e 74 6c 79 |232 is c|urrently|
|000029c0| 20 74 68 65 20 6d 6f 73 | 74 20 63 6f 6d 6d 6f 6e | the mos|t common|
|000029d0| 20 73 74 61 6e 64 61 72 | 64 20 66 6f 72 0a 73 65 | standar|d for.se|
|000029e0| 72 69 61 6c 20 63 6f 6d | 6d 75 6e 63 69 63 61 74 |rial com|muncicat|
|000029f0| 69 6f 6e 73 20 69 6e 20 | 74 68 65 20 50 43 20 77 |ions in |the PC w|
|00002a00| 6f 72 6c 64 2e 20 49 74 | 20 75 73 65 73 20 61 20 |orld. It| uses a |
|00002a10| 6e 75 6d 62 65 72 20 6f | 66 20 63 69 72 63 75 69 |number o|f circui|
|00002a20| 74 73 20 66 6f 72 0a 74 | 72 61 6e 73 6d 69 74 74 |ts for.t|ransmitt|
|00002a30| 69 6e 67 20 73 69 6e 67 | 6c 65 20 62 69 74 73 20 |ing sing|le bits |
|00002a40| 61 73 20 77 65 6c 6c 20 | 61 73 20 66 6f 72 20 73 |as well |as for s|
|00002a50| 79 6e 63 68 72 6f 6e 69 | 7a 61 74 69 6f 6e 2e 20 |ynchroni|zation. |
|00002a60| 41 64 64 69 74 69 6f 6e | 61 6c 0a 6c 69 6e 65 73 |Addition|al.lines|
|00002a70| 20 6d 61 79 20 62 65 20 | 75 73 65 64 20 66 6f 72 | may be |used for|
|00002a80| 20 73 69 67 6e 61 6c 69 | 6e 67 20 74 68 65 20 70 | signali|ng the p|
|00002a90| 72 65 73 65 6e 63 65 20 | 6f 66 20 61 20 63 61 72 |resence |of a car|
|00002aa0| 72 69 65 72 20 28 75 73 | 65 64 20 62 79 0a 6d 6f |rier (us|ed by.mo|
|00002ab0| 64 65 6d 73 29 2c 20 61 | 6e 64 20 68 61 6e 64 73 |dems), a|nd hands|
|00002ac0| 68 61 6b 65 2e 0a 0a 0a | 5c 69 6e 64 65 78 7b 73 |hake....|\index{s|
|00002ad0| 65 72 69 61 6c 20 6c 69 | 6e 65 21 68 61 72 64 77 |erial li|ne!hardw|
|00002ae0| 61 72 65 20 68 61 6e 64 | 73 68 61 6b 65 7d 0a 5c |are hand|shake}.\|
|00002af0| 69 6e 64 65 78 7b 68 61 | 6e 64 73 68 61 6b 65 2c |index{ha|ndshake,|
|00002b00| 20 68 61 72 64 77 61 72 | 65 7d 0a 5c 69 6e 64 65 | hardwar|e}.\inde|
|00002b10| 78 7b 68 61 72 64 77 61 | 72 65 21 68 61 6e 64 73 |x{hardwa|re!hands|
|00002b20| 68 61 6b 65 7d 0a 5c 69 | 6e 64 65 78 7b 52 54 53 |hake}.\i|ndex{RTS|
|00002b30| 2f 43 54 53 7d 0a 41 6c | 74 68 6f 75 67 68 20 68 |/CTS}.Al|though h|
|00002b40| 61 72 64 77 61 72 65 20 | 68 61 6e 64 73 68 61 6b |ardware |handshak|
|00002b50| 65 20 69 73 20 6f 70 74 | 69 6f 6e 61 6c 2c 20 69 |e is opt|ional, i|
|00002b60| 74 20 69 73 20 76 65 72 | 79 20 75 73 65 66 75 6c |t is ver|y useful|
|00002b70| 2e 20 49 74 20 61 6c 6c | 6f 77 73 0a 65 69 74 68 |. It all|ows.eith|
|00002b80| 65 72 20 6f 66 20 74 68 | 65 20 74 77 6f 20 73 74 |er of th|e two st|
|00002b90| 61 74 69 6f 6e 73 20 74 | 6f 20 73 69 67 6e 61 6c |ations t|o signal|
|00002ba0| 20 77 68 65 74 68 65 72 | 20 69 74 20 69 73 20 72 | whether| it is r|
|00002bb0| 65 61 64 79 20 74 6f 20 | 72 65 63 65 69 76 65 20 |eady to |receive |
|00002bc0| 6d 6f 72 65 0a 64 61 74 | 61 2c 20 6f 72 20 69 66 |more.dat|a, or if|
|00002bd0| 20 74 68 65 20 6f 74 68 | 65 72 20 73 74 61 74 69 | the oth|er stati|
|00002be0| 6f 6e 20 73 68 6f 75 6c | 64 20 70 61 75 73 65 20 |on shoul|d pause |
|00002bf0| 75 6e 74 69 6c 20 74 68 | 65 20 72 65 63 65 69 76 |until th|e receiv|
|00002c00| 65 72 20 69 73 20 64 6f | 6e 65 0a 70 72 6f 63 65 |er is do|ne.proce|
|00002c10| 73 73 69 6e 67 20 74 68 | 65 20 69 6e 63 6f 6d 69 |ssing th|e incomi|
|00002c20| 6e 67 20 64 61 74 61 2e | 20 20 54 68 65 20 6c 69 |ng data.| The li|
|00002c30| 6e 65 73 20 75 73 65 64 | 20 66 6f 72 20 74 68 69 |nes used| for thi|
|00002c40| 73 20 61 72 65 20 63 61 | 6c 6c 65 64 0a 60 60 43 |s are ca|lled.``C|
|00002c50| 6c 65 61 72 20 74 6f 20 | 53 65 6e 64 27 27 20 28 |lear to |Send'' (|
|00002c60| 43 54 53 29 20 61 6e 64 | 20 60 60 52 65 61 64 79 |CTS) and| ``Ready|
|00002c70| 20 74 6f 20 53 65 6e 64 | 27 27 20 28 52 54 53 29 | to Send|'' (RTS)|
|00002c80| 2c 20 72 65 73 70 65 63 | 74 69 76 65 6c 79 2c 20 |, respec|tively, |
|00002c90| 77 68 69 63 68 0a 61 63 | 63 6f 75 6e 74 73 20 66 |which.ac|counts f|
|00002ca0| 6f 72 20 74 68 65 20 63 | 6f 6c 6c 6f 71 75 69 61 |or the c|olloquia|
|00002cb0| 6c 20 6e 61 6d 65 20 6f | 66 20 68 61 72 64 77 61 |l name o|f hardwa|
|00002cc0| 72 65 20 68 61 6e 64 73 | 68 61 6b 65 2c 20 6e 61 |re hands|hake, na|
|00002cd0| 6d 65 6c 79 0a 60 60 52 | 54 53 2f 43 54 53 27 27 |mely.``R|TS/CTS''|
|00002ce0| 2e 0a 0a 0a 5c 69 6e 64 | 65 78 7b 31 36 34 35 30 |....\ind|ex{16450|
|00002cf0| 20 55 41 52 54 7d 0a 5c | 69 6e 64 65 78 7b 31 36 | UART}.\|index{16|
|00002d00| 35 35 30 20 55 41 52 54 | 7d 0a 5c 69 6e 64 65 78 |550 UART|}.\index|
|00002d10| 7b 55 41 52 54 7d 0a 49 | 6e 20 50 43 73 2c 20 74 |{UART}.I|n PCs, t|
|00002d20| 68 65 20 52 53 2d 32 33 | 32 20 69 6e 74 65 72 66 |he RS-23|2 interf|
|00002d30| 61 63 65 20 69 73 20 75 | 73 75 61 6c 6c 79 20 64 |ace is u|sually d|
|00002d40| 72 69 76 65 6e 20 62 79 | 20 61 20 55 41 52 54 20 |riven by| a UART |
|00002d50| 63 68 69 70 20 64 65 72 | 69 76 65 64 0a 66 72 6f |chip der|ived.fro|
|00002d60| 6d 20 74 68 65 20 4e 61 | 74 69 6f 6e 61 6c 20 53 |m the Na|tional S|
|00002d70| 65 6d 69 63 6f 6e 64 75 | 63 74 6f 72 7e 31 36 34 |emicondu|ctor~164|
|00002d80| 35 30 20 63 68 69 70 2c | 20 6f 72 20 61 20 6e 65 |50 chip,| or a ne|
|00002d90| 77 65 72 20 76 65 72 73 | 69 6f 6e 20 74 68 65 72 |wer vers|ion ther|
|00002da0| 65 6f 66 2c 0a 74 68 65 | 20 4e 53 43 7e 31 36 35 |eof,.the| NSC~165|
|00002db0| 35 30 41 5c 66 6f 6f 74 | 6e 6f 74 65 7b 0a 20 54 |50A\foot|note{. T|
|00002dc0| 68 65 72 65 20 77 61 73 | 20 61 6c 73 6f 20 61 20 |here was| also a |
|00002dd0| 4e 53 43 7e 31 36 35 35 | 30 2c 20 62 75 74 20 69 |NSC~1655|0, but i|
|00002de0| 74 27 73 20 46 49 46 4f | 20 6e 65 76 65 72 20 72 |t's FIFO| never r|
|00002df0| 65 61 6c 6c 79 20 77 6f | 72 6b 65 64 2e 0a 7d 2e |eally wo|rked..}.|
|00002e00| 20 53 6f 6d 65 20 62 72 | 61 6e 64 73 20 28 6d 6f | Some br|ands (mo|
|00002e10| 73 74 20 6e 6f 74 61 62 | 6c 79 20 69 6e 74 65 72 |st notab|ly inter|
|00002e20| 6e 61 6c 20 6d 6f 64 65 | 6d 73 20 65 71 75 69 70 |nal mode|ms equip|
|00002e30| 70 65 64 20 77 69 74 68 | 20 74 68 65 20 52 6f 63 |ped with| the Roc|
|00002e40| 6b 77 65 6c 6c 0a 63 68 | 69 70 73 65 74 29 20 61 |kwell.ch|ipset) a|
|00002e50| 6c 73 6f 20 75 73 65 20 | 63 6f 6d 70 6c 65 74 65 |lso use |complete|
|00002e60| 6c 79 20 64 69 66 66 65 | 72 65 6e 74 20 63 68 69 |ly diffe|rent chi|
|00002e70| 70 73 20 74 68 61 74 20 | 68 61 76 65 20 62 65 65 |ps that |have bee|
|00002e80| 6e 20 70 72 6f 67 72 61 | 6d 6d 65 64 0a 74 6f 20 |n progra|mmed.to |
|00002e90| 62 65 68 61 76 65 20 61 | 73 20 69 66 20 74 68 65 |behave a|s if the|
|00002ea0| 79 20 77 65 72 65 20 31 | 36 35 35 30 27 73 2e 0a |y were 1|6550's..|
|00002eb0| 0a 0a 5c 69 6e 64 65 78 | 7b 38 32 35 30 20 55 41 |..\index|{8250 UA|
|00002ec0| 52 54 7d 0a 54 68 65 20 | 6d 61 69 6e 20 64 69 66 |RT}.The |main dif|
|00002ed0| 66 65 72 65 6e 63 65 20 | 62 65 74 77 65 65 6e 20 |ference |between |
|00002ee0| 31 36 34 35 30 27 73 20 | 61 6e 64 20 31 36 35 35 |16450's |and 1655|
|00002ef0| 30 27 73 20 74 68 61 74 | 20 74 68 65 20 6c 61 74 |0's that| the lat|
|00002f00| 74 65 72 20 68 61 76 65 | 20 61 0a 46 49 46 4f 20 |ter have| a.FIFO |
|00002f10| 62 75 66 66 65 72 20 6f | 66 20 31 36 20 42 79 74 |buffer o|f 16 Byt|
|00002f20| 65 73 2c 20 77 68 69 6c | 65 20 74 68 65 20 66 6f |es, whil|e the fo|
|00002f30| 72 6d 65 72 20 6f 6e 6c | 79 20 68 61 76 65 20 61 |rmer onl|y have a|
|00002f40| 20 31 2d 42 79 74 65 20 | 62 75 66 66 65 72 2e 0a | 1-Byte |buffer..|
|00002f50| 54 68 69 73 20 6d 61 6b | 65 73 20 31 36 34 35 30 |This mak|es 16450|
|00002f60| 27 73 20 73 75 69 74 61 | 62 6c 65 20 66 6f 72 20 |'s suita|ble for |
|00002f70| 73 70 65 65 64 73 20 75 | 70 20 74 6f 20 39 36 30 |speeds u|p to 960|
|00002f80| 30 7e 42 61 75 64 2c 20 | 77 68 69 6c 65 20 68 69 |0~Baud, |while hi|
|00002f90| 67 68 65 72 0a 73 70 65 | 65 64 73 20 72 65 71 75 |gher.spe|eds requ|
|00002fa0| 69 72 65 20 61 20 31 36 | 35 35 30 2d 63 6f 6d 70 |ire a 16|550-comp|
|00002fb0| 61 74 69 62 6c 65 20 63 | 68 69 70 2e 20 20 42 65 |atible c|hip. Be|
|00002fc0| 73 69 64 65 73 20 74 68 | 65 73 65 20 63 68 69 70 |sides th|ese chip|
|00002fd0| 73 2c 20 5c 6c 69 6e 75 | 78 7b 7d 0a 61 6c 73 6f |s, \linu|x{}.also|
|00002fe0| 20 73 75 70 70 6f 72 74 | 73 20 74 68 65 20 38 32 | support|s the 82|
|00002ff0| 35 30 20 63 68 69 70 2c | 20 77 68 69 63 68 20 77 |50 chip,| which w|
|00003000| 61 73 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |as the o|riginal |
|00003010| 55 41 52 54 20 66 6f 72 | 20 74 68 65 20 50 43 2d |UART for| the PC-|
|00003020| 41 54 2e 0a 0a 0a 49 6e | 20 74 68 65 20 64 65 66 |AT....In| the def|
|00003030| 61 75 6c 74 20 63 6f 6e | 66 69 67 75 72 61 74 69 |ault con|figurati|
|00003040| 6f 6e 2c 20 74 68 65 20 | 6b 65 72 6e 65 6c 20 63 |on, the |kernel c|
|00003050| 68 65 63 6b 73 20 74 68 | 65 20 66 6f 75 72 20 73 |hecks th|e four s|
|00003060| 74 61 6e 64 61 72 64 0a | 73 65 72 69 61 6c 20 70 |tandard.|serial p|
|00003070| 6f 72 74 73 20 5c 66 69 | 6c 65 7b 43 4f 4d 31 7d |orts \fi|le{COM1}|
|00003080| 20 74 68 72 6f 75 67 68 | 20 5c 66 69 6c 65 7b 43 | through| \file{C|
|00003090| 4f 4d 34 7d 2e 20 54 68 | 65 73 65 20 77 69 6c 6c |OM4}. Th|ese will|
|000030a0| 20 62 65 0a 61 73 73 69 | 67 6e 65 64 20 64 65 76 | be.assi|gned dev|
|000030b0| 69 63 65 20 6d 69 6e 6f | 72 20 6e 75 6d 62 65 72 |ice mino|r number|
|000030c0| 73 20 36 34 20 74 68 72 | 6f 75 67 68 20 36 37 2c |s 64 thr|ough 67,|
|000030d0| 20 61 73 20 64 65 73 63 | 72 69 62 65 64 20 61 62 | as desc|ribed ab|
|000030e0| 6f 76 65 2e 0a 0a 0a 5c | 69 6e 64 65 78 7b 63 6f |ove....\|index{co|
|000030f0| 6e 66 69 67 75 72 69 6e | 67 21 73 65 72 69 61 6c |nfigurin|g!serial|
|00003100| 20 70 6f 72 74 7c 28 7d | 0a 5c 69 6e 64 65 78 7b | port|(}|.\index{|
|00003110| 73 65 74 73 65 72 69 61 | 6c 40 5c 70 72 6f 67 7b |setseria|l@\prog{|
|00003120| 73 65 74 73 65 72 69 61 | 6c 7d 7d 0a 5c 69 6e 64 |setseria|l}}.\ind|
|00003130| 65 78 7b 54 27 73 6f 2c | 20 54 68 65 6f 64 6f 72 |ex{T'so,| Theodor|
|00003140| 65 7d 0a 49 66 20 79 6f | 75 20 77 61 6e 74 20 74 |e}.If yo|u want t|
|00003150| 6f 20 63 6f 6e 66 69 67 | 75 72 65 20 79 6f 75 72 |o config|ure your|
|00003160| 20 73 65 72 69 61 6c 20 | 70 6f 72 74 73 20 70 72 | serial |ports pr|
|00003170| 6f 70 65 72 6c 79 2c 20 | 79 6f 75 20 73 68 6f 75 |operly, |you shou|
|00003180| 6c 64 20 69 6e 73 74 61 | 6c 6c 0a 54 65 64 20 54 |ld insta|ll.Ted T|
|00003190| 73 6f 27 73 20 5c 70 72 | 6f 67 7b 73 65 74 73 65 |so's \pr|og{setse|
|000031a0| 72 69 61 6c 7d 20 63 6f | 6d 6d 61 6e 64 20 61 6c |rial} co|mmand al|
|000031b0| 6f 6e 67 20 77 69 74 68 | 20 74 68 65 20 5c 66 69 |ong with| the \fi|
|000031c0| 6c 65 7b 72 63 2e 73 65 | 72 69 61 6c 7d 0a 73 63 |le{rc.se|rial}.sc|
|000031d0| 72 69 70 74 2e 20 20 54 | 68 69 73 20 73 63 72 69 |ript. T|his scri|
|000031e0| 70 74 20 73 68 6f 75 6c | 64 20 62 65 20 69 6e 76 |pt shoul|d be inv|
|000031f0| 6f 6b 65 64 20 66 72 6f | 6d 20 5c 66 69 6c 65 7b |oked fro|m \file{|
|00003200| 2f 65 74 63 2f 72 63 7d | 20 61 74 20 73 79 73 74 |/etc/rc}| at syst|
|00003210| 65 6d 0a 62 6f 6f 74 20 | 74 69 6d 65 2e 20 49 74 |em.boot |time. It|
|00003220| 20 75 73 65 73 20 5c 70 | 72 6f 67 7b 73 65 74 73 | uses \p|rog{sets|
|00003230| 65 72 69 61 6c 7d 20 74 | 6f 20 63 6f 6e 66 69 67 |erial} t|o config|
|00003240| 75 72 65 20 74 68 65 20 | 6b 65 72 6e 65 6c 20 73 |ure the |kernel s|
|00003250| 65 72 69 61 6c 0a 64 65 | 76 69 63 65 73 2e 20 41 |erial.de|vices. A|
|00003260| 20 74 79 70 69 63 61 6c | 20 5c 66 69 6c 65 7b 72 | typical| \file{r|
|00003270| 63 2e 73 65 72 69 61 6c | 7d 20 73 63 72 69 70 74 |c.serial|} script|
|00003280| 20 6c 6f 6f 6b 73 20 6c | 69 6b 65 20 74 68 69 73 | looks l|ike this|
|00003290| 3a 0a 0a 0a 5c 62 65 67 | 69 6e 7b 74 73 63 72 65 |:...\beg|in{tscre|
|000032a0| 65 6e 7d 0a 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |en}.\beg|in{verba|
|000032b0| 74 69 6d 7d 0a 23 20 2f | 65 74 63 2f 72 63 2e 73 |tim}.# /|etc/rc.s|
|000032c0| 65 72 69 61 6c 20 2d 20 | 73 65 72 69 61 6c 20 6c |erial - |serial l|
|000032d0| 69 6e 65 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |ine conf|iguratio|
|000032e0| 6e 20 73 63 72 69 70 74 | 2e 0a 23 0a 23 20 44 6f |n script|..#.# Do|
|000032f0| 20 77 69 6c 64 20 69 6e | 74 65 72 72 75 70 74 20 | wild in|terrupt |
|00003300| 64 65 74 65 63 74 69 6f | 6e 0a 2f 73 62 69 6e 2f |detectio|n./sbin/|
|00003310| 73 65 74 73 65 72 69 61 | 6c 20 2d 57 20 2f 64 65 |setseria|l -W /de|
|00003320| 76 2f 63 75 61 2a 0a 0a | 23 20 43 6f 6e 66 69 67 |v/cua*..|# Config|
|00003330| 75 72 65 20 73 65 72 69 | 61 6c 20 64 65 76 69 63 |ure seri|al devic|
|00003340| 65 73 0a 2f 73 62 69 6e | 2f 73 65 74 73 65 72 69 |es./sbin|/setseri|
|00003350| 61 6c 20 2f 64 65 76 2f | 63 75 61 30 20 61 75 74 |al /dev/|cua0 aut|
|00003360| 6f 5f 69 72 71 20 73 6b | 69 70 5f 74 65 73 74 20 |o_irq sk|ip_test |
|00003370| 61 75 74 6f 63 6f 6e 66 | 69 67 0a 2f 73 62 69 6e |autoconf|ig./sbin|
|00003380| 2f 73 65 74 73 65 72 69 | 61 6c 20 2f 64 65 76 2f |/setseri|al /dev/|
|00003390| 63 75 61 31 20 61 75 74 | 6f 5f 69 72 71 20 73 6b |cua1 aut|o_irq sk|
|000033a0| 69 70 5f 74 65 73 74 20 | 61 75 74 6f 63 6f 6e 66 |ip_test |autoconf|
|000033b0| 69 67 0a 2f 73 62 69 6e | 2f 73 65 74 73 65 72 69 |ig./sbin|/setseri|
|000033c0| 61 6c 20 2f 64 65 76 2f | 63 75 61 32 20 61 75 74 |al /dev/|cua2 aut|
|000033d0| 6f 5f 69 72 71 20 73 6b | 69 70 5f 74 65 73 74 20 |o_irq sk|ip_test |
|000033e0| 61 75 74 6f 63 6f 6e 66 | 69 67 0a 2f 73 62 69 6e |autoconf|ig./sbin|
|000033f0| 2f 73 65 74 73 65 72 69 | 61 6c 20 2f 64 65 76 2f |/setseri|al /dev/|
|00003400| 63 75 61 33 20 61 75 74 | 6f 5f 69 72 71 20 73 6b |cua3 aut|o_irq sk|
|00003410| 69 70 5f 74 65 73 74 20 | 61 75 74 6f 63 6f 6e 66 |ip_test |autoconf|
|00003420| 69 67 0a 0a 23 20 44 69 | 73 70 6c 61 79 20 73 65 |ig..# Di|splay se|
|00003430| 72 69 61 6c 20 64 65 76 | 69 63 65 20 63 6f 6e 66 |rial dev|ice conf|
|00003440| 69 67 75 72 61 74 69 6f | 6e 0a 2f 73 62 69 6e 2f |iguratio|n./sbin/|
|00003450| 73 65 74 73 65 72 69 61 | 6c 20 2d 62 67 20 2f 64 |setseria|l -bg /d|
|00003460| 65 76 2f 63 75 61 2a 0a | 5c 65 6e 64 7b 76 65 72 |ev/cua*.|\end{ver|
|00003470| 62 61 74 69 6d 7d 0a 5c | 65 6e 64 7b 74 73 63 72 |batim}.\|end{tscr|
|00003480| 65 65 6e 7d 0a 0a 0a 5c | 6e 6f 69 6e 64 65 6e 74 |een}...\|noindent|
|00003490| 0a 50 6c 65 61 73 65 20 | 72 65 66 65 72 20 74 6f |.Please |refer to|
|000034a0| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|000034b0| 6f 6e 20 74 68 61 74 20 | 63 6f 6d 65 73 20 61 6c |on that |comes al|
|000034c0| 6f 6e 67 20 77 69 74 68 | 20 5c 70 72 6f 67 7b 73 |ong with| \prog{s|
|000034d0| 65 74 73 65 72 69 61 6c | 7d 0a 66 6f 72 20 61 6e |etserial|}.for an|
|000034e0| 20 65 78 70 6c 61 6e 61 | 74 69 6f 6e 20 6f 66 20 | explana|tion of |
|000034f0| 74 68 65 20 70 61 72 61 | 6d 65 74 65 72 73 2e 0a |the para|meters..|
|00003500| 0a 49 66 20 79 6f 75 72 | 20 73 65 72 69 61 6c 20 |.If your| serial |
|00003510| 63 61 72 64 20 69 73 20 | 6e 6f 74 20 64 65 74 65 |card is |not dete|
|00003520| 63 74 65 64 2c 20 6f 72 | 20 74 68 65 20 5c 70 72 |cted, or| the \pr|
|00003530| 6f 67 7b 73 65 74 73 65 | 72 69 61 6c 20 2d 62 67 |og{setse|rial -bg|
|00003540| 7d 20 63 6f 6d 6d 61 6e | 64 0a 73 68 6f 77 73 20 |} comman|d.shows |
|00003550| 61 6e 20 69 6e 63 6f 72 | 72 65 63 74 20 73 65 74 |an incor|rect set|
|00003560| 74 69 6e 67 2c 20 79 6f | 75 20 77 69 6c 6c 20 68 |ting, yo|u will h|
|00003570| 61 76 65 20 74 6f 20 66 | 6f 72 63 65 20 74 68 65 |ave to f|orce the|
|00003580| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 0a 62 | configu|ration.b|
|00003590| 79 20 65 78 70 6c 69 63 | 69 74 6c 79 20 73 75 70 |y explic|itly sup|
|000035a0| 70 6c 79 69 6e 67 20 74 | 68 65 20 63 6f 72 72 65 |plying t|he corre|
|000035b0| 63 74 20 76 61 6c 75 65 | 73 2e 20 55 73 65 72 73 |ct value|s. Users|
|000035c0| 20 77 69 74 68 20 69 6e | 74 65 72 6e 61 6c 20 6d | with in|ternal m|
|000035d0| 6f 64 65 6d 73 20 65 71 | 75 69 70 70 65 64 0a 77 |odems eq|uipped.w|
|000035e0| 69 74 68 20 74 68 65 20 | 52 6f 63 6b 77 65 6c 6c |ith the |Rockwell|
|000035f0| 20 63 68 69 70 73 65 74 | 20 61 72 65 20 72 65 70 | chipset| are rep|
|00003600| 6f 72 74 65 64 20 74 6f | 20 65 78 70 65 72 69 65 |orted to| experie|
|00003610| 6e 63 65 20 74 68 69 73 | 20 70 72 6f 62 6c 65 6d |nce this| problem|
|00003620| 2e 20 49 66 2c 0a 66 6f | 72 20 65 78 61 6d 70 6c |. If,.fo|r exampl|
|00003630| 65 2c 20 74 68 65 20 55 | 41 52 54 20 63 68 69 70 |e, the U|ART chip|
|00003640| 20 69 73 20 72 65 70 6f | 72 74 65 64 20 74 6f 20 | is repo|rted to |
|00003650| 62 65 20 61 20 4e 53 43 | 7e 31 36 34 35 30 2c 20 |be a NSC|~16450, |
|00003660| 77 68 69 6c 65 20 69 6e | 20 66 61 63 74 0a 69 74 |while in| fact.it|
|00003670| 20 69 73 20 4e 53 43 7e | 31 36 35 35 30 2d 63 6f | is NSC~|16550-co|
|00003680| 6d 70 61 74 69 62 6c 65 | 2c 20 79 6f 75 20 68 61 |mpatible|, you ha|
|00003690| 76 65 20 74 6f 20 63 68 | 61 6e 67 65 20 74 68 65 |ve to ch|ange the|
|000036a0| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 63 | configu|ration c|
|000036b0| 6f 6d 6d 61 6e 64 0a 66 | 6f 72 20 74 68 65 20 6f |ommand.f|or the o|
|000036c0| 66 66 65 6e 64 69 6e 67 | 20 70 6f 72 74 20 74 6f |ffending| port to|
|000036d0| 0a 0a 0a 5c 62 65 67 69 | 6e 7b 74 73 63 72 65 65 |...\begi|n{tscree|
|000036e0| 6e 7d 0a 2f 73 62 69 6e | 2f 73 65 74 73 65 72 69 |n}./sbin|/setseri|
|000036f0| 61 6c 20 2f 64 65 76 2f | 63 75 61 31 20 61 75 74 |al /dev/|cua1 aut|
|00003700| 6f 5c 5f 69 72 71 20 73 | 6b 69 70 5c 5f 74 65 73 |o\_irq s|kip\_tes|
|00003710| 74 20 61 75 74 6f 63 6f | 6e 66 69 67 20 75 61 72 |t autoco|nfig uar|
|00003720| 74 20 31 36 35 35 30 0a | 5c 65 6e 64 7b 74 73 63 |t 16550.|\end{tsc|
|00003730| 72 65 65 6e 7d 0a 0a 0a | 53 69 6d 69 6c 61 72 20 |reen}...|Similar |
|00003740| 6f 70 74 69 6f 6e 73 20 | 65 78 69 73 74 20 74 6f |options |exist to|
|00003750| 20 66 6f 72 63 65 20 5c | 66 69 6c 65 7b 43 4f 4d | force \|file{COM|
|00003760| 7d 20 70 6f 72 74 2c 20 | 62 61 73 65 20 61 64 64 |} port, |base add|
|00003770| 72 65 73 73 2c 20 61 6e | 64 20 49 52 51 0a 73 65 |ress, an|d IRQ.se|
|00003780| 74 74 69 6e 67 2e 20 50 | 6c 65 61 73 65 20 72 65 |tting. P|lease re|
|00003790| 66 65 72 20 74 6f 20 74 | 68 65 20 5c 70 72 6f 67 |fer to t|he \prog|
|000037a0| 7b 73 65 74 73 65 72 69 | 61 6c 28 38 29 7d 20 6d |{setseri|al(8)} m|
|000037b0| 61 6e 75 61 6c 20 70 61 | 67 65 2e 0a 0a 0a 5c 69 |anual pa|ge....\i|
|000037c0| 6e 64 65 78 7b 73 65 72 | 69 61 6c 20 6c 69 6e 65 |ndex{ser|ial line|
|000037d0| 21 68 61 72 64 77 61 72 | 65 20 68 61 6e 64 73 68 |!hardwar|e handsh|
|000037e0| 61 6b 65 7d 0a 5c 69 6e | 64 65 78 7b 68 61 6e 64 |ake}.\in|dex{hand|
|000037f0| 73 68 61 6b 65 2c 20 68 | 61 72 64 77 61 72 65 7d |shake, h|ardware}|
|00003800| 0a 5c 69 6e 64 65 78 7b | 68 61 72 64 77 61 72 65 |.\index{|hardware|
|00003810| 21 68 61 6e 64 73 68 61 | 6b 65 7d 0a 49 66 20 79 |!handsha|ke}.If y|
|00003820| 6f 75 72 20 6d 6f 64 65 | 6d 20 73 75 70 70 6f 72 |our mode|m suppor|
|00003830| 74 73 20 68 61 72 64 77 | 61 72 65 20 68 61 6e 64 |ts hardw|are hand|
|00003840| 73 68 61 6b 65 2c 20 79 | 6f 75 20 73 68 6f 75 6c |shake, y|ou shoul|
|00003850| 64 20 6d 61 6b 65 20 73 | 75 72 65 20 74 6f 0a 65 |d make s|ure to.e|
|00003860| 6e 61 62 6c 65 20 69 74 | 2e 20 53 75 72 70 72 69 |nable it|. Surpri|
|00003870| 73 69 6e 67 20 61 73 20 | 69 74 20 69 73 2c 20 6d |sing as |it is, m|
|00003880| 6f 73 74 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f |ost comm|unicatio|
|00003890| 6e 20 70 72 6f 67 72 61 | 6d 73 20 64 6f 20 6e 6f |n progra|ms do no|
|000038a0| 74 0a 61 74 74 65 6d 70 | 74 20 74 6f 20 65 6e 61 |t.attemp|t to ena|
|000038b0| 62 6c 65 20 74 68 69 73 | 20 62 79 20 64 65 66 61 |ble this| by defa|
|000038c0| 75 6c 74 3b 20 79 6f 75 | 20 68 61 76 65 20 74 6f |ult; you| have to|
|000038d0| 20 73 65 74 20 69 74 20 | 6d 61 6e 75 61 6c 6c 79 | set it |manually|
|000038e0| 20 69 6e 73 74 65 61 64 | 2e 0a 54 68 69 73 20 69 | instead|..This i|
|000038f0| 73 20 62 65 73 74 20 70 | 65 72 66 6f 72 6d 65 64 |s best p|erformed|
|00003900| 20 69 6e 20 74 68 65 20 | 5c 66 69 6c 65 7b 72 63 | in the |\file{rc|
|00003910| 2e 73 65 72 69 61 6c 7d | 20 73 63 72 69 70 74 2c |.serial}| script,|
|00003920| 20 75 73 69 6e 67 20 74 | 68 65 0a 5c 70 72 6f 67 | using t|he.\prog|
|00003930| 7b 73 74 74 79 7d 20 63 | 6f 6d 6d 61 6e 64 3a 0a |{stty} c|ommand:.|
|00003940| 0a 0a 5c 62 65 67 69 6e | 7b 74 73 63 72 65 65 6e |..\begin|{tscreen|
|00003950| 7d 0a 5c 24 20 73 74 74 | 79 20 63 72 74 73 63 74 |}.\$ stt|y crtsct|
|00003960| 73 20 3c 20 2f 64 65 76 | 2f 63 75 61 31 0a 5c 65 |s < /dev|/cua1.\e|
|00003970| 6e 64 7b 74 73 63 72 65 | 65 6e 7d 0a 0a 54 6f 20 |nd{tscre|en}..To |
|00003980| 63 68 65 63 6b 20 69 66 | 20 68 61 72 64 77 61 72 |check if| hardwar|
|00003990| 65 20 68 61 6e 64 73 68 | 61 6b 65 20 69 73 20 69 |e handsh|ake is i|
|000039a0| 6e 20 65 66 66 65 63 74 | 2c 20 75 73 65 0a 0a 5c |n effect|, use..\|
|000039b0| 62 65 67 69 6e 7b 74 73 | 63 72 65 65 6e 7d 0a 5c |begin{ts|creen}.\|
|000039c0| 24 20 73 74 74 79 20 2d | 61 20 3c 20 2f 64 65 76 |$ stty -|a < /dev|
|000039d0| 2f 63 75 61 31 0a 5c 65 | 6e 64 7b 74 73 63 72 65 |/cua1.\e|nd{tscre|
|000039e0| 65 6e 7d 0a 0a 54 68 69 | 73 20 67 69 76 65 73 20 |en}..Thi|s gives |
|000039f0| 79 6f 75 20 74 68 65 20 | 73 74 61 74 75 73 20 6f |you the |status o|
|00003a00| 66 20 61 6c 6c 20 66 6c | 61 67 73 20 66 6f 72 20 |f all fl|ags for |
|00003a10| 74 68 61 74 20 64 65 76 | 69 63 65 3b 20 61 20 66 |that dev|ice; a f|
|00003a20| 6c 61 67 0a 73 68 6f 77 | 6e 20 77 69 74 68 20 61 |lag.show|n with a|
|00003a30| 20 70 72 65 63 65 64 69 | 6e 67 20 6d 69 6e 75 73 | precedi|ng minus|
|00003a40| 20 61 73 20 69 6e 20 5c | 6f 70 74 69 6f 6e 7b 2d | as in \|option{-|
|00003a50| 63 72 74 73 63 74 73 7d | 20 6d 65 61 6e 73 20 74 |crtscts}| means t|
|00003a60| 68 61 74 20 74 68 65 0a | 66 6c 61 67 20 68 61 73 |hat the.|flag has|
|00003a70| 20 62 65 65 6e 20 74 75 | 72 6e 65 64 20 6f 66 66 | been tu|rned off|
|00003a80| 2e 0a 0a 5c 69 6e 64 65 | 78 7b 63 6f 6e 66 69 67 |...\inde|x{config|
|00003a90| 75 72 69 6e 67 21 73 65 | 72 69 61 6c 20 70 6f 72 |uring!se|rial por|
|00003aa0| 74 7c 29 7d 0a 0a 0a 5c | 69 6e 64 65 78 7b 74 74 |t|)}...\|index{tt|
|00003ab0| 79 7c 29 7d 0a 5c 69 6e | 64 65 78 7b 64 65 76 69 |y|)}.\in|dex{devi|
|00003ac0| 63 65 2c 20 73 65 72 69 | 61 6c 7c 29 7d 0a 5c 69 |ce, seri|al|)}.\i|
|00003ad0| 6e 64 65 78 7b 68 61 72 | 64 77 61 72 65 21 73 65 |ndex{har|dware!se|
|00003ae0| 72 69 61 6c 7c 29 7d 0a | 0a 25 25 25 25 25 25 25 |rial|)}.|.%%%%%%%|
|00003af0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003b00| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003b10| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003b20| 25 25 25 25 25 25 25 25 | 25 25 0a 25 25 25 25 25 |%%%%%%%%|%%.%%%%%|
|00003b30| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003b40| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003b50| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003b60| 25 25 25 25 25 25 25 25 | 25 25 25 25 0a 25 20 20 |%%%%%%%%|%%%%.% |
|00003b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 25 0a 25 | | %.%|
|00003bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003bc0| 45 20 4e 20 44 20 20 20 | 4f 20 46 20 20 20 43 20 |E N D |O F C |
|00003bd0| 48 20 41 20 50 20 54 20 | 45 20 52 20 20 20 20 20 |H A P T |E R |
|00003be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 25 | | %|
|00003bf0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00003c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c30| 20 25 0a 25 25 25 25 25 | 25 25 25 25 25 25 25 25 | %.%%%%%|%%%%%%%%|
|00003c40| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003c50| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003c60| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003c70| 25 25 25 25 0a 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%.%%%|%%%%%%%%|
|00003c80| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003c90| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003ca0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003cb0| 25 25 25 25 25 25 0a | |%%%%%%. | |
+--------+-------------------------+-------------------------+--------+--------+