home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3596 < prev    next >
SHell self-extracting ARchive  |  1991-07-11  |  41.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: 3596

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 61 6c 74 2e |Newsgrou|ps: alt.|
|00000010| 73 6f 75 72 63 65 73 0a | 46 72 6f 6d 3a 20 6a 70 |sources.|From: jp|
|00000020| 72 40 6a 70 72 61 64 6c | 65 79 2e 6a 70 72 2e 63 |r@jpradl|ey.jpr.c|
|00000030| 6f 6d 20 28 4a 65 61 6e | 2d 50 69 65 72 72 65 20 |om (Jean|-Pierre |
|00000040| 52 61 64 6c 65 79 29 0a | 53 75 62 6a 65 63 74 3a |Radley).|Subject:|
|00000050| 20 58 43 20 33 2e 30 62 | 20 33 2f 35 20 43 6f 6d | XC 3.0b| 3/5 Com|
|00000060| 6d 75 6e 69 63 61 74 69 | 6f 6e 73 20 50 72 6f 67 |municati|ons Prog|
|00000070| 72 61 6d 0a 44 61 74 65 | 3a 20 54 75 65 2c 20 30 |ram.Date|: Tue, 0|
|00000080| 39 20 4a 75 6c 20 31 39 | 39 31 20 30 31 3a 30 32 |9 Jul 19|91 01:02|
|00000090| 3a 35 36 20 47 4d 54 0a | 4d 65 73 73 61 67 65 2d |:56 GMT.|Message-|
|000000a0| 49 44 3a 20 3c 31 39 39 | 31 4a 75 6c 30 39 2e 30 |ID: <199|1Jul09.0|
|000000b0| 31 30 32 35 36 2e 37 39 | 32 38 40 6a 70 72 61 64 |10256.79|28@jprad|
|000000c0| 6c 65 79 2e 6a 70 72 2e | 63 6f 6d 3e 0a 0a 0a 2d |ley.jpr.|com>...-|
|000000d0| 2d 2d 63 75 74 2d 2d 2d | 0a 23 21 2f 62 69 6e 2f |--cut---|.#!/bin/|
|000000e0| 73 68 0a 23 20 54 68 69 | 73 20 69 73 20 61 20 73 |sh.# Thi|s is a s|
|000000f0| 68 65 6c 6c 20 61 72 63 | 68 69 76 65 2c 20 6d 65 |hell arc|hive, me|
|00000100| 61 6e 69 6e 67 3a 0a 23 | 20 31 2e 20 52 65 6d 6f |aning:.#| 1. Remo|
|00000110| 76 65 20 65 76 65 72 79 | 74 68 69 6e 67 20 61 62 |ve every|thing ab|
|00000120| 6f 76 65 20 74 68 65 20 | 23 21 2f 62 69 6e 2f 73 |ove the |#!/bin/s|
|00000130| 68 20 6c 69 6e 65 2e 0a | 23 20 32 2e 20 53 61 76 |h line..|# 2. Sav|
|00000140| 65 20 74 68 65 20 72 65 | 73 75 6c 74 69 6e 67 20 |e the re|sulting |
|00000150| 74 65 78 74 20 69 6e 20 | 61 20 66 69 6c 65 2e 0a |text in |a file..|
|00000160| 23 20 33 2e 20 45 78 65 | 63 75 74 65 20 74 68 65 |# 3. Exe|cute the|
|00000170| 20 66 69 6c 65 20 77 69 | 74 68 20 2f 62 69 6e 2f | file wi|th /bin/|
|00000180| 73 68 20 28 6e 6f 74 20 | 63 73 68 29 20 74 6f 20 |sh (not |csh) to |
|00000190| 63 72 65 61 74 65 20 74 | 68 65 20 66 69 6c 65 73 |create t|he files|
|000001a0| 3a 0a 23 09 78 63 2e 6e | 72 6f 0a 23 20 54 68 69 |:.#.xc.n|ro.# Thi|
|000001b0| 73 20 61 72 63 68 69 76 | 65 20 63 72 65 61 74 65 |s archiv|e create|
|000001c0| 64 3a 20 4d 6f 6e 20 4a | 75 6c 20 20 38 20 32 30 |d: Mon J|ul 8 20|
|000001d0| 3a 33 37 3a 33 36 20 31 | 39 39 31 0a 65 78 70 6f |:37:36 1|991.expo|
|000001e0| 72 74 20 50 41 54 48 3b | 20 50 41 54 48 3d 2f 62 |rt PATH;| PATH=/b|
|000001f0| 69 6e 3a 24 50 41 54 48 | 0a 65 63 68 6f 20 73 68 |in:$PATH|.echo sh|
|00000200| 61 72 3a 20 65 78 74 72 | 61 63 74 69 6e 67 20 22 |ar: extr|acting "|
|00000210| 27 78 63 2e 6e 72 6f 27 | 22 20 27 28 34 30 31 33 |'xc.nro'|" '(4013|
|00000220| 39 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |9 charac|ters)'.i|
|00000230| 66 20 74 65 73 74 20 2d | 66 20 27 78 63 2e 6e 72 |f test -|f 'xc.nr|
|00000240| 6f 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |o'.then.|.echo sh|
|00000250| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|00000260| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00000270| 20 66 69 6c 65 20 22 27 | 78 63 2e 6e 72 6f 27 22 | file "'|xc.nro'"|
|00000280| 0a 65 6c 73 65 0a 73 65 | 64 20 27 73 2f 5e 7c 2f |.else.se|d 's/^|/|
|00000290| 2f 27 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |/' << \S|HAR_EOF |
|000002a0| 3e 20 27 78 63 2e 6e 72 | 6f 27 0a 7c 2e 64 73 20 |> 'xc.nr|o'.|.ds |
|000002b0| 5d 56 20 70 61 74 63 68 | 6c 65 76 65 6c 20 33 2e |]V patch|level 3.|
|000002c0| 30 20 4a 50 52 61 64 6c | 65 79 20 36 20 4a 75 6e |0 JPRadl|ey 6 Jun|
|000002d0| 65 20 31 39 39 31 0a 7c | 2e 74 6d 0a 7c 2e 74 6d |e 1991.||.tm.|.tm|
|000002e0| 20 78 63 2e 6e 72 6f 20 | 5c 2a 28 5d 56 0a 7c 2e | xc.nro |\*(]V.|.|
|000002f0| 74 6d 0a 7c 2e 74 6d 20 | 49 66 20 74 68 69 73 20 |tm.|.tm |If this |
|00000300| 69 73 6e 27 74 20 70 72 | 65 70 72 6f 63 65 73 73 |isn't pr|eprocess|
|00000310| 65 64 20 62 79 20 27 74 | 62 6c 27 20 61 6e 64 20 |ed by 't|bl' and |
|00000320| 70 6f 73 74 70 72 6f 63 | 65 73 73 65 64 20 62 79 |postproc|essed by|
|00000330| 20 27 63 6f 6c 27 2c 0a | 7c 2e 74 6d 20 77 65 6c | 'col',.||.tm wel|
|00000340| 6c 2c 20 6d 79 20 64 65 | 61 72 2c 20 72 65 61 6c |l, my de|ar, real|
|00000350| 6c 79 2c 20 77 68 79 20 | 77 61 73 74 65 20 79 6f |ly, why |waste yo|
|00000360| 75 72 20 74 69 6d 65 20 | 61 6e 64 20 6d 69 6e 65 |ur time |and mine|
|00000370| 3f 0a 7c 2e 74 6d 0a 7c | 2e 54 48 20 58 43 20 4c |?.|.tm.||.TH XC L|
|00000380| 0a 7c 2e 53 48 20 4e 61 | 6d 65 0a 7c 78 63 20 5c |.|.SH Na|me.|xc \|
|00000390| 2d 20 63 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 73 |- commun|ications|
|000003a0| 20 70 72 6f 67 72 61 6d | 20 0a 7c 2e 53 48 20 53 | program| .|.SH S|
|000003b0| 79 6e 74 61 78 0a 7c 2e | 42 20 78 63 0a 7c 2e 52 |yntax.|.|B xc.|.R|
|000003c0| 42 20 5b 20 2d 6c 20 64 | 65 76 69 63 65 5d 0a 7c |B [ -l d|evice].||
|000003d0| 2e 52 42 20 5b 20 2d 73 | 20 73 63 72 69 70 74 5d |.RB [ -s| script]|
|000003e0| 0a 7c 2e 52 42 20 5b 20 | 2d 74 20 5d 0a 7c 2e 53 |.|.RB [ |-t ].|.S|
|000003f0| 48 20 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 7c 2e |H Descri|ption.|.|
|00000400| 42 20 58 63 0a 7c 63 61 | 6c 6c 73 20 6f 75 74 20 |B Xc.|ca|lls out |
|00000410| 6f 76 65 72 20 61 20 73 | 65 72 69 61 6c 20 70 6f |over a s|erial po|
|00000420| 72 74 20 74 6f 20 61 6e | 6f 74 68 65 72 20 63 6f |rt to an|other co|
|00000430| 6d 70 75 74 65 72 2e 20 | 49 74 20 63 61 6e 20 6d |mputer. |It can m|
|00000440| 61 6e 61 67 65 20 61 6e | 20 69 6e 74 65 72 61 63 |anage an| interac|
|00000450| 74 69 76 65 0a 7c 73 65 | 73 73 69 6f 6e 20 6f 72 |tive.|se|ssion or|
|00000460| 20 62 65 20 63 61 6c 6c | 65 64 20 66 72 6f 6d 0a | be call|ed from.|
|00000470| 7c 2e 42 52 20 63 72 6f | 6e 20 28 43 29 2e 0a 7c ||.BR cro|n (C)..||
|00000480| 49 74 20 68 61 73 20 76 | 61 72 69 6f 75 73 20 6d |It has v|arious m|
|00000490| 65 61 6e 73 20 66 6f 72 | 20 74 72 61 6e 73 66 65 |eans for| transfe|
|000004a0| 72 72 69 6e 67 20 66 69 | 6c 65 73 20 62 65 74 77 |rring fi|les betw|
|000004b0| 65 65 6e 20 63 6f 6d 70 | 75 74 65 72 73 2c 20 61 |een comp|uters, a|
|000004c0| 6e 64 20 63 61 6e 20 62 | 65 0a 7c 70 61 72 74 69 |nd can b|e.|parti|
|000004d0| 61 6c 6c 79 20 6f 72 20 | 74 6f 74 61 6c 6c 79 20 |ally or |totally |
|000004e0| 75 6e 64 65 72 20 74 68 | 65 20 63 6f 6e 74 72 6f |under th|e contro|
|000004f0| 6c 20 6f 66 20 73 63 72 | 69 70 74 73 2e 0a 7c 0a |l of scr|ipts..|.|
|00000500| 7c 2e 42 20 58 63 0a 7c | 73 74 61 72 74 73 20 75 ||.B Xc.||starts u|
|00000510| 70 20 62 79 20 72 65 61 | 64 69 6e 67 20 74 68 65 |p by rea|ding the|
|00000520| 20 66 69 6c 65 20 0a 7c | 2e 49 52 20 2e 78 63 20 | file .||.IR .xc |
|00000530| 2c 0a 7c 77 68 69 63 68 | 20 69 73 20 73 6f 75 67 |,.|which| is soug|
|00000540| 68 74 20 66 6f 72 20 69 | 6e 20 74 68 69 73 20 6f |ht for i|n this o|
|00000550| 72 64 65 72 3a 20 69 6e | 20 22 58 43 5f 50 41 54 |rder: in| "XC_PAT|
|00000560| 48 22 2c 20 69 6e 20 74 | 68 65 20 63 75 72 72 65 |H", in t|he curre|
|00000570| 6e 74 20 64 69 72 65 63 | 74 6f 72 79 2c 0a 7c 69 |nt direc|tory,.|i|
|00000580| 6e 20 79 6f 75 72 0a 7c | 2e 49 20 48 4f 4d 45 0a |n your.||.I HOME.|
|00000590| 7c 64 69 72 65 63 74 6f | 72 79 2c 20 6f 72 20 69 ||directo|ry, or i|
|000005a0| 6e 20 61 20 64 65 66 61 | 75 6c 74 20 64 69 72 65 |n a defa|ult dire|
|000005b0| 63 74 6f 72 79 20 64 65 | 66 69 6e 65 64 20 61 74 |ctory de|fined at|
|000005c0| 20 63 6f 6d 70 69 6c 65 | 20 74 69 6d 65 2e 20 54 | compile| time. T|
|000005d0| 68 69 73 20 73 74 61 72 | 74 75 70 0a 7c 66 69 6c |his star|tup.|fil|
|000005e0| 65 20 6d 61 79 20 63 6f | 6e 74 61 69 6e 20 61 6e |e may co|ntain an|
|000005f0| 79 20 6f 66 20 74 68 65 | 20 76 61 6c 69 64 0a 7c |y of the| valid.||
|00000600| 2e 49 20 53 45 54 0a 7c | 63 6f 6d 6d 61 6e 64 73 |.I SET.||commands|
|00000610| 20 64 65 73 63 72 69 62 | 65 64 20 62 65 6c 6f 77 | describ|ed below|
|00000620| 2e 20 0a 7c 2e 42 20 58 | 63 0a 7c 74 68 65 6e 20 |. .|.B X|c.|then |
|00000630| 64 69 73 70 6c 61 79 73 | 20 74 68 65 20 63 75 72 |displays| the cur|
|00000640| 72 65 6e 74 20 73 65 74 | 74 69 6e 67 73 2c 20 61 |rent set|tings, a|
|00000650| 6e 64 20 70 72 65 73 65 | 6e 74 73 20 61 6e 0a 7c |nd prese|nts an.||
|00000660| 2e 49 20 58 43 3e 0a 7c | 70 72 6f 6d 70 74 2c 20 |.I XC>.||prompt, |
|00000670| 75 6e 6c 65 73 73 20 65 | 69 74 68 65 72 20 74 68 |unless e|ither th|
|00000680| 65 20 5c 66 42 2d 74 5c | 66 52 20 6f 72 20 5c 66 |e \fB-t\|fR or \f|
|00000690| 42 2d 73 5c 66 52 20 6f | 70 74 69 6f 6e 20 77 61 |B-s\fR o|ption wa|
|000006a0| 73 20 70 72 65 73 65 6e | 74 2e 0a 7c 2e 53 53 20 |s presen|t..|.SS |
|000006b0| 5c 66 49 4f 70 74 69 6f | 6e 73 5c 66 52 0a 7c 2e |\fIOptio|ns\fR.|.|
|000006c0| 54 50 20 39 0a 7c 2e 42 | 49 20 2d 6c 20 64 65 76 |TP 9.|.B|I -l dev|
|000006d0| 69 63 65 0a 7c 55 73 65 | 20 74 68 65 20 73 70 65 |ice.|Use| the spe|
|000006e0| 63 69 66 69 65 64 20 0a | 7c 2e 49 52 20 64 65 76 |cified .||.IR dev|
|000006f0| 69 63 65 20 2c 0a 7c 77 | 68 69 63 68 20 6e 65 65 |ice ,.|w|hich nee|
|00000700| 64 20 6e 6f 74 20 62 65 | 20 74 68 65 20 66 75 6c |d not be| the ful|
|00000710| 6c 20 70 61 74 68 6e 61 | 6d 65 2c 20 65 2e 67 2e |l pathna|me, e.g.|
|00000720| 20 22 2f 64 65 76 2f 74 | 74 79 31 41 22 20 6f 72 | "/dev/t|ty1A" or|
|00000730| 20 22 74 74 79 31 41 22 | 20 61 72 65 0a 7c 65 71 | "tty1A"| are.|eq|
|00000740| 75 61 6c 6c 79 20 61 63 | 63 65 70 74 61 62 6c 65 |ually ac|ceptable|
|00000750| 2e 0a 7c 54 68 65 20 6c | 69 6e 65 20 63 6f 75 6c |..|The l|ine coul|
|00000760| 64 20 65 69 74 68 65 72 | 20 62 65 20 64 69 72 65 |d either| be dire|
|00000770| 63 74 6c 79 20 63 6f 6e | 6e 65 63 74 65 64 20 74 |ctly con|nected t|
|00000780| 6f 20 61 6e 6f 74 68 65 | 72 20 63 6f 6d 70 75 74 |o anothe|r comput|
|00000790| 65 72 2c 20 6f 72 20 68 | 61 76 65 20 61 0a 7c 6d |er, or h|ave a.|m|
|000007a0| 6f 64 65 6d 20 6f 6e 20 | 69 74 2e 20 49 6e 20 65 |odem on |it. In e|
|000007b0| 69 74 68 65 72 20 63 61 | 73 65 2c 0a 7c 2e 42 20 |ither ca|se,.|.B |
|000007c0| 58 63 0a 7c 61 74 74 65 | 6d 70 74 73 20 74 6f 20 |Xc.|atte|mpts to |
|000007d0| 73 75 73 70 65 6e 64 20 | 61 0a 7c 2e 42 52 20 67 |suspend |a.|.BR g|
|000007e0| 65 74 74 79 20 28 4d 29 | 0a 7c 70 72 6f 63 65 73 |etty (M)|.|proces|
|000007f0| 73 20 74 68 61 74 20 6d | 69 67 68 74 20 62 65 20 |s that m|ight be |
|00000800| 6f 6e 20 74 68 61 74 20 | 6c 69 6e 65 2c 20 61 6e |on that |line, an|
|00000810| 64 20 74 68 65 6e 20 75 | 73 65 20 74 68 65 0a 7c |d then u|se the.||
|00000820| 2e 42 52 20 75 75 63 70 | 20 28 43 29 0a 7c 2e 49 |.BR uucp| (C).|.I|
|00000830| 20 4c 43 4b 2e 2e 66 69 | 6c 65 0a 7c 6d 65 63 68 | LCK..fi|le.|mech|
|00000840| 61 6e 69 73 6d 20 74 6f | 20 6c 6f 63 6b 20 74 68 |anism to| lock th|
|00000850| 65 20 6c 69 6e 65 2e 0a | 7c 2e 54 50 0a 7c 2e 42 |e line..||.TP.|.B|
|00000860| 49 20 2d 73 20 73 63 72 | 69 70 74 0a 7c 45 78 65 |I -s scr|ipt.|Exe|
|00000870| 63 75 74 65 20 74 68 65 | 20 73 70 65 63 69 66 69 |cute the| specifi|
|00000880| 65 64 0a 7c 2e 49 20 73 | 63 72 69 70 74 0a 7c 61 |ed.|.I s|cript.|a|
|00000890| 66 74 65 72 20 70 72 6f | 67 72 61 6d 20 73 74 61 |fter pro|gram sta|
|000008a0| 72 74 75 70 2e 0a 7c 2e | 54 50 0a 7c 2e 42 20 2d |rtup..|.|TP.|.B -|
|000008b0| 74 0a 7c 47 6f 20 64 69 | 72 65 63 74 6c 79 20 74 |t.|Go di|rectly t|
|000008c0| 6f 20 74 65 72 6d 69 6e | 61 6c 20 6d 6f 64 65 2e |o termin|al mode.|
|000008d0| 20 54 68 65 20 64 65 66 | 61 75 6c 74 20 69 73 20 | The def|ault is |
|000008e0| 74 6f 20 67 6f 20 74 6f | 20 63 6f 6d 6d 61 6e 64 |to go to| command|
|000008f0| 20 6d 6f 64 65 20 6f 6e | 20 70 72 6f 67 72 61 6d | mode on| program|
|00000900| 0a 7c 73 74 61 72 74 75 | 70 2e 20 54 68 69 73 20 |.|startu|p. This |
|00000910| 6f 70 74 69 6f 6e 20 69 | 73 20 69 6e 63 6f 6d 70 |option i|s incomp|
|00000920| 61 74 69 62 6c 65 20 77 | 69 74 68 20 74 68 65 20 |atible w|ith the |
|00000930| 0a 7c 2e 42 20 2d 73 0a | 7c 6f 70 74 69 6f 6e 2e |.|.B -s.||option.|
|00000940| 0a 7c 2e 53 53 20 5c 66 | 49 45 6e 76 69 72 6f 6e |.|.SS \f|IEnviron|
|00000950| 6d 65 6e 74 5c 66 52 0a | 7c 49 66 20 74 68 65 20 |ment\fR.||If the |
|00000960| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 63 6f 6e 74 |environm|ent cont|
|00000970| 61 69 6e 73 20 61 20 76 | 61 72 69 61 62 6c 65 20 |ains a v|ariable |
|00000980| 63 61 6c 6c 65 64 20 22 | 4d 4f 44 45 4d 22 2c 20 |called "|MODEM", |
|00000990| 74 68 65 6e 20 74 68 65 | 20 76 61 6c 75 65 0a 7c |then the| value.||
|000009a0| 6f 66 20 74 68 61 74 20 | 76 61 72 69 61 62 6c 65 |of that |variable|
|000009b0| 20 77 69 6c 6c 20 62 65 | 20 74 68 65 20 64 65 66 | will be| the def|
|000009c0| 61 75 6c 74 20 64 65 76 | 69 63 65 2e 20 41 73 20 |ault dev|ice. As |
|000009d0| 77 69 74 68 20 74 68 65 | 0a 7c 2e 42 20 2d 6c 0a |with the|.|.B -l.|
|000009e0| 7c 66 6c 61 67 2c 20 74 | 68 69 73 20 6e 65 65 64 ||flag, t|his need|
|000009f0| 20 6e 6f 74 20 62 65 20 | 74 68 65 0a 7c 66 75 6c | not be |the.|ful|
|00000a00| 6c 20 70 61 74 68 6e 61 | 6d 65 2e 20 54 6f 20 73 |l pathna|me. To s|
|00000a10| 65 74 20 73 75 63 68 20 | 61 20 76 61 72 69 61 62 |et such |a variab|
|00000a20| 6c 65 2c 20 69 6e 20 74 | 68 65 20 42 6f 75 72 6e |le, in t|he Bourn|
|00000a30| 65 20 73 68 65 6c 6c 2c | 20 79 6f 75 20 6d 69 67 |e shell,| you mig|
|00000a40| 68 74 20 73 61 79 3a 0a | 7c 2e 49 50 0a 7c 4d 4f |ht say:.||.IP.|MO|
|00000a50| 44 45 4d 3d 74 74 79 30 | 31 3b 20 65 78 70 6f 72 |DEM=tty0|1; expor|
|00000a60| 74 20 4d 4f 44 45 4d 0a | 7c 2e 50 0a 7c 6f 72 2c |t MODEM.||.P.|or,|
|00000a70| 20 69 6e 20 74 68 65 20 | 43 20 73 68 65 6c 6c 2c | in the |C shell,|
|00000a80| 0a 7c 2e 49 50 0a 7c 73 | 65 74 65 6e 76 20 4d 4f |.|.IP.|s|etenv MO|
|00000a90| 44 45 4d 20 74 74 79 30 | 31 0a 7c 2e 50 0a 7c 49 |DEM tty0|1.|.P.|I|
|00000aa0| 66 20 74 68 65 20 65 6e | 76 69 72 6f 6e 6d 65 6e |f the en|vironmen|
|00000ab0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 61 20 76 61 72 |t contai|ns a var|
|00000ac0| 69 61 62 6c 65 20 63 61 | 6c 6c 65 64 20 22 42 59 |iable ca|lled "BY|
|00000ad0| 45 74 74 79 78 78 22 2c | 20 77 68 65 72 65 20 22 |Ettyxx",| where "|
|00000ae0| 74 74 79 78 78 22 0a 7c | 73 74 61 6e 64 73 20 66 |ttyxx".||stands f|
|00000af0| 6f 72 20 74 68 65 20 62 | 61 73 65 6e 61 6d 65 20 |or the b|asename |
|00000b00| 6f 66 20 74 68 65 20 6d | 6f 64 65 6d 20 6c 69 6e |of the m|odem lin|
|00000b10| 65 20 73 65 6c 65 63 74 | 65 64 20 65 69 74 68 65 |e select|ed eithe|
|00000b20| 72 20 62 79 20 74 68 65 | 20 4d 4f 44 45 4d 0a 7c |r by the| MODEM.||
|00000b30| 76 61 72 69 61 62 6c 65 | 20 6f 72 20 62 79 20 74 |variable| or by t|
|00000b40| 68 65 20 22 2d 6c 22 20 | 63 6f 6d 6d 61 6e 64 20 |he "-l" |command |
|00000b50| 6f 70 74 69 6f 6e 2c 20 | 74 68 65 6e 20 74 68 65 |option, |then the|
|00000b60| 20 76 61 6c 75 65 20 6f | 66 20 74 68 61 74 20 76 | value o|f that v|
|00000b70| 61 72 69 61 62 6c 65 0a | 7c 77 69 6c 6c 20 62 65 |ariable.||will be|
|00000b80| 20 73 65 6e 74 20 74 6f | 20 74 68 65 20 6d 6f 64 | sent to| the mod|
|00000b90| 65 6d 20 77 68 65 6e 20 | 74 68 65 20 70 72 6f 67 |em when |the prog|
|00000ba0| 72 61 6d 20 74 65 72 6d | 69 6e 61 74 65 73 2e 20 |ram term|inates. |
|00000bb0| 54 68 69 73 20 69 73 20 | 75 73 65 66 75 6c 0a 7c |This is |useful.||
|00000bc0| 66 6f 72 20 73 65 74 74 | 69 6e 67 20 74 68 65 20 |for sett|ing the |
|00000bd0| 6d 6f 64 65 6d 20 62 61 | 63 6b 20 74 6f 20 73 6f |modem ba|ck to so|
|00000be0| 6d 65 20 70 72 65 73 65 | 6c 65 63 74 65 64 20 73 |me prese|lected s|
|00000bf0| 74 61 74 65 2e 20 45 78 | 61 6d 70 6c 65 3a 0a 7c |tate. Ex|ample:.||
|00000c00| 2e 49 50 0a 7c 42 59 45 | 74 74 79 30 31 3d 41 54 |.IP.|BYE|tty01=AT|
|00000c10| 5a 20 3b 20 65 78 70 6f | 72 74 20 42 59 45 74 74 |Z ; expo|rt BYEtt|
|00000c20| 79 30 31 0a 7c 2e 50 0a | 7c 57 68 61 74 65 76 65 |y01.|.P.||Whateve|
|00000c30| 72 20 73 74 72 69 6e 67 | 20 69 73 20 63 6f 6e 74 |r string| is cont|
|00000c40| 61 69 6e 65 64 20 69 6e | 20 74 68 65 20 22 42 79 |ained in| the "By|
|00000c50| 65 78 78 78 78 78 22 20 | 76 61 72 69 61 62 6c 65 |exxxxx" |variable|
|00000c60| 20 77 69 6c 6c 20 62 65 | 0a 7c 66 6f 6c 6c 6f 77 | will be|.|follow|
|00000c70| 65 64 20 62 79 20 61 20 | 63 61 72 72 69 61 67 65 |ed by a |carriage|
|00000c80| 2d 72 65 74 75 72 6e 2f | 6e 65 77 6c 69 6e 65 20 |-return/|newline |
|00000c90| 70 61 69 72 2c 20 61 6c | 73 6f 20 73 65 6e 74 20 |pair, al|so sent |
|00000ca0| 74 6f 20 74 68 65 20 6d | 6f 64 65 6d 2e 0a 7c 0a |to the m|odem..|.|
|00000cb0| 7c 4e 65 77 65 72 20 6d | 6f 64 65 6d 73 20 63 61 ||Newer m|odems ca|
|00000cc0| 6e 20 62 65 20 70 72 65 | 73 65 74 20 74 6f 20 72 |n be pre|set to r|
|00000cd0| 65 76 65 72 74 20 74 6f | 20 61 20 70 72 65 64 65 |evert to| a prede|
|00000ce0| 74 65 72 6d 69 6e 65 64 | 20 73 74 61 74 65 20 77 |termined| state w|
|00000cf0| 68 65 6e 20 74 68 65 0a | 7c 44 54 52 20 73 69 67 |hen the.||DTR sig|
|00000d00| 6e 61 6c 20 6f 66 20 74 | 68 65 20 63 6f 6d 70 75 |nal of t|he compu|
|00000d10| 74 65 72 20 69 73 20 64 | 72 6f 70 70 65 64 2c 20 |ter is d|ropped, |
|00000d20| 61 6e 64 20 73 6f 20 77 | 6f 75 6c 64 20 6e 6f 74 |and so w|ould not|
|00000d30| 20 6e 65 65 64 20 74 6f | 20 61 76 61 69 6c 0a 7c | need to| avail.||
|00000d40| 74 68 65 6d 73 65 6c 76 | 65 73 20 6f 66 20 74 68 |themselv|es of th|
|00000d50| 69 73 20 66 65 61 74 75 | 72 65 2e 0a 7c 0a 7c 54 |is featu|re..|.|T|
|00000d60| 68 65 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 6d |he envir|onment m|
|00000d70| 61 79 20 63 6f 6e 74 61 | 69 6e 20 61 20 76 61 72 |ay conta|in a var|
|00000d80| 69 61 62 6c 65 20 63 61 | 6c 6c 65 64 20 22 58 43 |iable ca|lled "XC|
|00000d90| 5f 50 41 54 48 22 2c 20 | 63 6f 6e 73 69 73 74 69 |_PATH", |consisti|
|00000da0| 6e 67 0a 7c 6f 66 20 63 | 6f 6c 6f 6e 20 73 65 70 |ng.|of c|olon sep|
|00000db0| 61 72 61 74 65 64 20 61 | 62 73 6f 6c 75 74 65 20 |arated a|bsolute |
|00000dc0| 70 61 74 68 73 20 74 6f | 20 64 69 72 65 63 74 6f |paths to| directo|
|00000dd0| 72 69 65 73 2e 20 49 66 | 20 74 68 69 73 20 76 61 |ries. If| this va|
|00000de0| 72 69 61 62 6c 65 20 69 | 73 20 73 65 74 20 74 6f |riable i|s set to|
|00000df0| 2c 0a 7c 73 61 79 2c 20 | 22 2f 75 73 72 2f 6a 6f |,.|say, |"/usr/jo|
|00000e00| 65 2f 78 63 3a 2f 75 73 | 72 2f 6c 69 62 2f 78 63 |e/xc:/us|r/lib/xc|
|00000e10| 22 2c 20 74 68 65 6e 20 | 74 68 6f 73 65 20 74 77 |", then |those tw|
|00000e20| 6f 20 64 69 72 65 63 74 | 6f 72 69 65 73 20 61 72 |o direct|ories ar|
|00000e30| 65 20 74 68 65 0a 7c 66 | 69 72 73 74 20 70 6c 61 |e the.|f|irst pla|
|00000e40| 63 65 73 20 73 65 61 72 | 63 68 65 64 20 66 6f 72 |ces sear|ched for|
|00000e50| 20 61 6e 79 20 73 63 72 | 69 70 74 73 2e 0a 7c 0a | any scr|ipts..|.|
|00000e60| 7c 2e 53 53 20 5c 66 49 | 43 6f 6d 6d 61 6e 64 20 ||.SS \fI|Command |
|00000e70| 4d 6f 64 65 5c 66 52 0a | 7c 54 68 65 20 66 6f 6c |Mode\fR.||The fol|
|00000e80| 6c 6f 77 69 6e 67 20 63 | 6f 6d 6d 61 6e 64 73 20 |lowing c|ommands |
|00000e90| 61 72 65 20 61 76 61 69 | 6c 61 62 6c 65 20 61 74 |are avai|lable at|
|00000ea0| 20 74 68 65 0a 7c 2e 49 | 20 3c 58 43 3e 0a 7c 63 | the.|.I| <XC>.|c|
|00000eb0| 6f 6d 6d 61 6e 64 20 70 | 72 6f 6d 70 74 3a 0a 7c |ommand p|rompt:.||
|00000ec0| 0a 7c 2e 54 53 0a 7c 74 | 61 62 28 40 29 3b 0a 7c |.|.TS.|t|ab(@);.||
|00000ed0| 6c 32 20 6c 77 28 34 38 | 29 20 2e 0a 7c 5c 66 42 |l2 lw(48|) ..|\fB|
|00000ee0| 63 5c 66 52 40 54 7b 0a | 7c 49 6e 69 74 69 61 74 |c\fR@T{.||Initiat|
|00000ef0| 65 20 43 49 53 20 42 2d | 50 6c 75 73 20 46 69 6c |e CIS B-|Plus Fil|
|00000f00| 65 20 54 72 61 6e 73 66 | 65 72 2e 20 54 68 69 73 |e Transf|er. This|
|00000f10| 20 63 6f 6d 6d 61 6e 64 | 20 69 73 20 75 73 65 64 | command| is used|
|00000f20| 20 66 6f 72 0a 7c 62 6f | 74 68 20 75 70 6c 6f 61 | for.|bo|th uploa|
|00000f30| 64 69 6e 67 20 61 6e 64 | 20 64 6f 77 6e 6c 6f 61 |ding and| downloa|
|00000f40| 64 69 6e 67 20 66 72 6f | 6d 20 43 6f 6d 70 75 53 |ding fro|m CompuS|
|00000f50| 65 72 76 65 2e 0a 7c 54 | 7d 0a 7c 0a 7c 5c 66 42 |erve..|T|}.|.|\fB|
|00000f60| 64 5c 66 52 40 54 7b 0a | 7c 45 6e 74 65 72 20 74 |d\fR@T{.||Enter t|
|00000f70| 68 65 20 64 69 61 6c 20 | 64 69 72 65 63 74 6f 72 |he dial |director|
|00000f80| 79 2e 20 52 65 74 75 72 | 6e 73 20 74 6f 20 74 68 |y. Retur|ns to th|
|00000f90| 65 20 5c 66 49 58 43 3e | 5c 66 52 0a 7c 70 72 6f |e \fIXC>|\fR.|pro|
|00000fa0| 6d 70 74 20 69 66 20 65 | 78 69 74 65 64 20 77 69 |mpt if e|xited wi|
|00000fb0| 74 68 6f 75 74 20 64 69 | 61 6c 69 6e 67 2c 20 62 |thout di|aling, b|
|00000fc0| 75 74 20 72 65 74 75 72 | 6e 73 20 74 6f 20 74 65 |ut retur|ns to te|
|00000fd0| 72 6d 69 6e 61 6c 20 6d | 6f 64 65 20 61 66 74 65 |rminal m|ode afte|
|00000fe0| 72 0a 7c 64 69 61 6c 69 | 6e 67 20 6f 72 20 72 75 |r.|diali|ng or ru|
|00000ff0| 6e 6e 69 6e 67 20 61 20 | 73 63 72 69 70 74 2e 0a |nning a |script..|
|00001000| 7c 54 7d 0a 7c 0a 7c 5c | 66 42 73 20 5c 66 49 66 ||T}.|.|\|fBs \fIf|
|00001010| 69 6c 65 5c 66 52 40 54 | 7b 0a 7c 45 78 65 63 75 |ile\fR@T|{.|Execu|
|00001020| 74 65 20 5c 66 49 66 69 | 6c 65 5c 66 52 2c 20 77 |te \fIfi|le\fR, w|
|00001030| 68 69 63 68 20 63 6f 6e | 74 61 69 6e 73 20 61 70 |hich con|tains ap|
|00001040| 70 72 6f 70 72 69 61 74 | 65 20 5c 66 42 78 63 5c |propriat|e \fBxc\|
|00001050| 66 52 0a 7c 73 63 72 69 | 70 74 20 63 6f 6d 6d 61 |fR.|scri|pt comma|
|00001060| 6e 64 73 2e 20 52 65 74 | 75 72 6e 73 20 74 6f 20 |nds. Ret|urns to |
|00001070| 74 65 72 6d 69 6e 61 6c | 20 6d 6f 64 65 20 77 68 |terminal| mode wh|
|00001080| 65 6e 20 74 68 65 20 73 | 63 72 69 70 74 20 69 73 |en the s|cript is|
|00001090| 20 63 6f 6d 70 6c 65 74 | 65 2e 0a 7c 54 7d 0a 7c | complet|e..|T}.||
|000010a0| 0a 7c 5c 66 42 72 62 20 | 5c 66 49 66 69 6c 65 5c |.|\fBrb |\fIfile\|
|000010b0| 66 52 40 28 58 4d 4f 44 | 45 4d 20 62 69 6e 61 72 |fR@(XMOD|EM binar|
|000010c0| 79 20 72 65 63 65 69 76 | 65 29 0a 7c 5c 66 42 72 |y receiv|e).|\fBr|
|000010d0| 74 20 5c 66 49 66 69 6c | 65 5c 66 52 40 54 7b 0a |t \fIfil|e\fR@T{.|
|000010e0| 7c 28 58 4d 4f 44 45 4d | 20 74 65 78 74 20 72 65 ||(XMODEM| text re|
|000010f0| 63 65 69 76 65 29 20 52 | 65 63 65 69 76 65 20 5c |ceive) R|eceive \|
|00001100| 66 49 66 69 6c 65 5c 66 | 52 20 66 72 6f 6d 20 74 |fIfile\f|R from t|
|00001110| 68 65 20 72 65 6d 6f 74 | 65 20 73 79 73 74 65 6d |he remot|e system|
|00001120| 2e 0a 7c 54 7d 0a 7c 0a | 7c 5c 66 42 73 62 20 5c |..|T}.|.||\fBsb \|
|00001130| 66 49 66 69 6c 65 5c 66 | 52 40 28 58 4d 4f 44 45 |fIfile\f|R@(XMODE|
|00001140| 4d 20 62 69 6e 61 72 79 | 20 73 65 6e 64 29 0a 7c |M binary| send).||
|00001150| 5c 66 42 73 74 20 5c 66 | 49 66 69 6c 65 5c 66 52 |\fBst \f|Ifile\fR|
|00001160| 40 54 7b 0a 7c 28 58 4d | 4f 44 45 4d 20 74 65 78 |@T{.|(XM|ODEM tex|
|00001170| 74 20 73 65 6e 64 29 20 | 54 72 61 6e 73 6d 69 74 |t send) |Transmit|
|00001180| 20 5c 66 49 66 69 6c 65 | 5c 66 52 20 74 6f 20 74 | \fIfile|\fR to t|
|00001190| 68 65 20 72 65 6d 6f 74 | 65 20 73 79 73 74 65 6d |he remot|e system|
|000011a0| 2e 0a 7c 54 7d 0a 7c 0a | 7c 5c 66 42 73 65 74 20 |..|T}.|.||\fBset |
|000011b0| 5c 66 52 5b 5c 66 49 6f | 70 74 69 6f 6e 73 5c 66 |\fR[\fIo|ptions\f|
|000011c0| 52 5d 40 54 7b 0a 7c 44 | 69 73 70 6c 61 79 20 6f |R]@T{.|D|isplay o|
|000011d0| 72 20 73 65 74 20 74 68 | 65 20 74 72 61 6e 73 6d |r set th|e transm|
|000011e0| 69 73 73 69 6f 6e 20 70 | 61 72 61 6d 65 74 65 72 |ission p|arameter|
|000011f0| 73 20 75 73 65 64 20 62 | 79 20 5c 66 42 78 63 5c |s used b|y \fBxc\|
|00001200| 66 52 2e 20 53 65 65 20 | 62 65 6c 6f 77 2e 0a 7c |fR. See |below..||
|00001210| 54 7d 0a 7c 0a 7c 5c 66 | 42 74 5c 66 52 40 45 6e |T}.|.|\f|Bt\fR@En|
|00001220| 74 65 72 20 74 65 72 6d | 69 6e 61 6c 20 6d 6f 64 |ter term|inal mod|
|00001230| 65 2e 0a 7c 0a 7c 5c 66 | 42 78 40 0a 7c 71 40 0a |e..|.|\f|Bx@.|q@.|
|00001240| 7c 65 78 69 74 5c 66 52 | 40 45 78 69 74 20 70 72 ||exit\fR|@Exit pr|
|00001250| 6f 67 72 61 6d 2e 20 52 | 65 74 75 72 6e 20 74 6f |ogram. R|eturn to|
|00001260| 20 69 6e 76 6f 6b 69 6e | 67 20 70 72 6f 67 72 61 | invokin|g progra|
|00001270| 6d 2f 73 68 65 6c 6c 2e | 0a 7c 0a 7c 5c 66 42 68 |m/shell.|.|.|\fBh|
|00001280| 5c 66 52 40 48 61 6e 67 | 2d 75 70 20 74 68 65 20 |\fR@Hang|-up the |
|00001290| 6d 6f 64 65 6d 2e 0a 7c | 0a 7c 2e 54 45 0a 7c 2e |modem..||.|.TE.|.|
|000012a0| 50 0a 7c 5b 4e 6f 74 65 | 3a 20 61 20 63 6f 6d 70 |P.|[Note|: a comp|
|000012b0| 69 6c 65 2d 74 69 6d 65 | 20 6f 70 74 69 6f 6e 20 |ile-time| option |
|000012c0| 63 61 6e 20 64 69 73 61 | 62 6c 65 20 74 68 65 20 |can disa|ble the |
|000012d0| 66 6f 6c 6c 6f 77 69 6e | 67 20 74 68 72 65 65 20 |followin|g three |
|000012e0| 6f 70 74 69 6f 6e 73 20 | 74 6f 0a 7c 70 72 65 76 |options |to.|prev|
|000012f0| 65 6e 74 20 61 6e 79 20 | 61 63 63 65 73 73 20 74 |ent any |access t|
|00001300| 6f 20 73 68 65 6c 6c 73 | 20 6f 72 20 6f 74 68 65 |o shells| or othe|
|00001310| 72 20 70 72 6f 67 72 61 | 6d 73 20 6f 75 74 73 69 |r progra|ms outsi|
|00001320| 64 65 20 6f 66 0a 7c 2e | 42 52 20 78 63 20 2e 5d |de of.|.|BR xc .]|
|00001330| 0a 7c 0a 7c 2e 54 53 0a | 7c 74 61 62 28 40 29 3b |.|.|.TS.||tab(@);|
|00001340| 0a 7c 6c 31 20 6c 77 28 | 34 38 29 20 2e 0a 7c 5c |.|l1 lw(|48) ..|\|
|00001350| 66 42 21 5c 66 49 20 63 | 6d 64 5c 66 52 40 54 7b |fB!\fI c|md\fR@T{|
|00001360| 0a 7c 45 78 65 63 75 74 | 65 20 74 68 65 20 73 70 |.|Execut|e the sp|
|00001370| 65 63 69 66 69 65 64 20 | 63 6f 6d 6d 61 6e 64 20 |ecified |command |
|00001380| 61 73 20 61 20 63 68 69 | 6c 64 20 70 72 6f 63 65 |as a chi|ld proce|
|00001390| 73 73 2e 20 49 66 20 5c | 66 49 63 6d 64 5c 66 52 |ss. If \|fIcmd\fR|
|000013a0| 20 69 73 20 6f 6d 69 74 | 74 65 64 2c 0a 7c 65 78 | is omit|ted,.|ex|
|000013b0| 65 63 75 74 65 20 61 20 | 6c 6f 63 61 6c 20 69 6e |ecute a |local in|
|000013c0| 74 65 72 61 63 74 69 76 | 65 20 73 68 65 6c 6c 2e |teractiv|e shell.|
|000013d0| 20 28 41 20 73 70 61 63 | 65 20 69 73 20 72 65 71 | (A spac|e is req|
|000013e0| 75 69 72 65 64 20 62 65 | 74 77 65 65 6e 20 74 68 |uired be|tween th|
|000013f0| 65 20 5c 66 42 21 5c 66 | 52 0a 7c 61 6e 64 20 74 |e \fB!\f|R.|and t|
|00001400| 68 65 20 63 6f 6d 6d 61 | 6e 64 2e 29 0a 7c 54 7d |he comma|nd.).|T}|
|00001410| 0a 7c 0a 7c 5c 66 42 21 | 21 5c 66 52 40 52 65 2d |.|.|\fB!|!\fR@Re-|
|00001420| 65 78 65 63 75 74 65 20 | 74 68 65 20 6c 61 73 74 |execute |the last|
|00001430| 20 73 68 65 6c 6c 20 63 | 6f 6d 6d 61 6e 64 20 73 | shell c|ommand s|
|00001440| 74 72 69 6e 67 2e 20 0a | 7c 0a 7c 5c 66 42 24 5c |tring. .||.|\fB$\|
|00001450| 66 52 40 54 7b 0a 7c 45 | 78 65 63 75 74 65 20 61 |fR@T{.|E|xecute a|
|00001460| 20 73 68 65 6c 6c 20 63 | 6f 6d 6d 61 6e 64 20 77 | shell c|ommand w|
|00001470| 69 74 68 20 73 74 64 69 | 6e 20 61 6e 64 20 73 74 |ith stdi|n and st|
|00001480| 64 6f 75 74 20 72 65 64 | 69 72 65 63 74 65 64 20 |dout red|irected |
|00001490| 74 6f 20 74 68 65 0a 7c | 6d 6f 64 65 6d 20 70 6f |to the.||modem po|
|000014a0| 72 74 2e 20 54 68 69 73 | 20 65 66 66 65 63 74 69 |rt. This| effecti|
|000014b0| 76 65 6c 79 20 70 75 74 | 73 20 74 68 65 20 63 6f |vely put|s the co|
|000014c0| 6d 70 75 74 65 72 20 69 | 6e 74 6f 20 61 20 22 68 |mputer i|nto a "h|
|000014d0| 6f 73 74 22 20 6d 6f 64 | 65 2e 0a 7c 54 7d 0a 7c |ost" mod|e..|T}.||
|000014e0| 0a 7c 5c 66 42 25 70 20 | 5c 66 49 6c 6f 63 61 6c |.|\fB%p |\fIlocal|
|000014f0| 5f 6e 61 6d 65 5c 66 52 | 40 54 7b 0a 7c 5b 5c 66 |_name\fR|@T{.|[\f|
|00001500| 49 72 65 6d 6f 74 65 5f | 6e 61 6d 65 5c 66 52 5d |Iremote_|name\fR]|
|00001510| 20 54 72 61 6e 73 6d 69 | 74 20 28 70 75 74 29 20 | Transmi|t (put) |
|00001520| 61 20 66 69 6c 65 20 74 | 6f 20 61 20 72 65 6d 6f |a file t|o a remo|
|00001530| 74 65 20 55 6e 69 78 20 | 73 79 73 74 65 6d 2e 20 |te Unix |system. |
|00001540| 54 68 69 73 20 63 6f 6d | 6d 61 6e 64 0a 7c 75 73 |This com|mand.|us|
|00001550| 65 73 20 73 74 61 6e 64 | 61 72 64 20 55 6e 69 78 |es stand|ard Unix|
|00001560| 20 75 74 69 6c 69 74 69 | 65 73 20 6f 6e 20 74 68 | utiliti|es on th|
|00001570| 65 20 6f 74 68 65 72 20 | 65 6e 64 2e 20 5c 66 49 |e other |end. \fI|
|00001580| 52 65 6d 6f 74 65 5f 6e | 61 6d 65 5c 66 52 20 64 |Remote_n|ame\fR d|
|00001590| 65 66 61 75 6c 74 73 20 | 74 6f 0a 7c 74 68 65 20 |efaults |to.|the |
|000015a0| 73 61 6d 65 20 70 61 74 | 68 6e 61 6d 65 20 61 73 |same pat|hname as|
|000015b0| 20 5c 66 49 6c 6f 63 61 | 6c 5f 6e 61 6d 65 5c 66 | \fIloca|l_name\f|
|000015c0| 52 20 69 66 20 6e 6f 74 | 20 6f 74 68 65 72 77 69 |R if not| otherwi|
|000015d0| 73 65 20 73 70 65 63 69 | 66 69 65 64 2e 0a 7c 54 |se speci|fied..|T|
|000015e0| 7d 0a 7c 0a 7c 5c 66 42 | 25 74 20 5c 66 49 72 65 |}.|.|\fB|%t \fIre|
|000015f0| 6d 6f 74 65 5f 6e 61 6d | 65 5c 66 52 40 54 7b 0a |mote_nam|e\fR@T{.|
|00001600| 7c 5b 5c 66 49 6c 6f 63 | 61 6c 5f 6e 61 6d 65 5c ||[\fIloc|al_name\|
|00001610| 66 52 5d 20 52 65 63 65 | 69 76 65 20 28 74 61 6b |fR] Rece|ive (tak|
|00001620| 65 29 20 61 20 66 69 6c | 65 20 66 72 6f 6d 20 61 |e) a fil|e from a|
|00001630| 20 72 65 6d 6f 74 65 20 | 55 6e 69 78 20 73 79 73 | remote |Unix sys|
|00001640| 74 65 6d 2e 20 54 68 69 | 73 0a 7c 63 6f 6d 6d 61 |tem. Thi|s.|comma|
|00001650| 6e 64 20 75 73 65 73 20 | 73 74 61 6e 64 61 72 64 |nd uses |standard|
|00001660| 20 55 6e 69 78 20 75 74 | 69 6c 69 74 69 65 73 20 | Unix ut|ilities |
|00001670| 6f 6e 20 74 68 65 20 6f | 74 68 65 72 20 65 6e 64 |on the o|ther end|
|00001680| 2e 20 5c 66 49 4c 6f 63 | 61 6c 5f 6e 61 6d 65 5c |. \fILoc|al_name\|
|00001690| 66 52 0a 7c 64 65 66 61 | 75 6c 74 73 20 74 6f 20 |fR.|defa|ults to |
|000016a0| 74 68 65 20 73 61 6d 65 | 20 70 61 74 68 6e 61 6d |the same| pathnam|
|000016b0| 65 20 61 73 20 5c 66 49 | 72 65 6d 6f 74 65 5f 6e |e as \fI|remote_n|
|000016c0| 61 6d 65 5c 66 52 20 69 | 66 20 6e 6f 74 20 6f 74 |ame\fR i|f not ot|
|000016d0| 68 65 72 77 69 73 65 20 | 73 70 65 63 69 66 69 65 |herwise |specifie|
|000016e0| 64 2e 0a 7c 54 7d 0a 7c | 0a 7c 5c 66 42 3f 5c 66 |d..|T}.||.|\fB?\f|
|000016f0| 52 40 0a 7c 5c 66 42 68 | 65 6c 70 5c 66 52 40 54 |R@.|\fBh|elp\fR@T|
|00001700| 7b 0a 7c 44 69 73 70 6c | 61 79 73 20 61 20 62 72 |{.|Displ|ays a br|
|00001710| 69 65 66 20 73 75 6d 6d | 61 72 79 20 6f 66 20 5c |ief summ|ary of \|
|00001720| 66 42 78 63 5c 66 52 20 | 63 6f 6d 6d 61 6e 64 73 |fBxc\fR |commands|
|00001730| 2c 20 74 68 65 20 53 45 | 54 20 6f 70 74 69 6f 6e |, the SE|T option|
|00001740| 73 2c 20 61 6e 64 0a 7c | 74 65 72 6d 69 6e 61 6c |s, and.||terminal|
|00001750| 2d 65 73 63 61 70 65 20 | 63 6f 6d 6d 61 6e 64 73 |-escape |commands|
|00001760| 2e 0a 7c 54 7d 0a 7c 2e | 54 45 0a 7c 2e 53 53 20 |..|T}.|.|TE.|.SS |
|00001770| 5c 66 49 55 73 69 6e 67 | 20 74 68 65 20 53 45 54 |\fIUsing| the SET|
|00001780| 20 43 6f 6d 6d 61 6e 64 | 5c 66 52 0a 7c 54 68 65 | Command|\fR.|The|
|00001790| 0a 7c 2e 49 20 53 45 54 | 0a 7c 63 6f 6d 6d 61 6e |.|.I SET|.|comman|
|000017a0| 64 20 69 73 20 75 73 65 | 64 20 74 6f 20 64 69 73 |d is use|d to dis|
|000017b0| 70 6c 61 79 20 61 6e 64 | 20 73 65 74 2f 72 65 73 |play and| set/res|
|000017c0| 65 74 0a 7c 2e 42 52 20 | 78 63 20 27 73 0a 7c 74 |et.|.BR |xc 's.|t|
|000017d0| 75 6e 61 62 6c 65 20 70 | 61 72 61 6d 65 74 65 72 |unable p|arameter|
|000017e0| 73 2e 20 41 6e 79 20 6f | 66 20 74 68 65 73 65 20 |s. Any o|f these |
|000017f0| 63 6f 6d 6d 61 6e 64 73 | 20 6d 61 79 20 62 65 20 |commands| may be |
|00001800| 70 6c 61 63 65 64 20 69 | 6e 20 74 68 65 0a 7c 2e |placed i|n the.|.|
|00001810| 49 20 2e 78 63 0a 7c 66 | 69 6c 65 20 77 68 69 63 |I .xc.|f|ile whic|
|00001820| 68 20 69 73 20 72 65 61 | 64 20 75 70 6f 6e 20 73 |h is rea|d upon s|
|00001830| 74 61 72 74 69 6e 67 20 | 75 70 0a 7c 2e 42 52 20 |tarting |up.|.BR |
|00001840| 78 63 20 2e 0a 7c 0a 7c | 55 73 65 64 20 61 6c 6f |xc ..|.||Used alo|
|00001850| 6e 65 2c 0a 7c 2e 49 20 | 53 45 54 0a 7c 64 69 73 |ne,.|.I |SET.|dis|
|00001860| 70 6c 61 79 73 0a 7c 2e | 42 52 20 78 63 20 27 73 |plays.|.|BR xc 's|
|00001870| 0a 7c 63 75 72 72 65 6e | 74 20 70 61 72 61 6d 65 |.|curren|t parame|
|00001880| 74 65 72 73 2e 0a 7c 0a | 7c 54 68 65 20 66 6f 6c |ters..|.||The fol|
|00001890| 6c 6f 77 69 6e 67 20 70 | 61 72 61 6d 65 74 65 72 |lowing p|arameter|
|000018a0| 73 20 63 61 6e 20 62 65 | 20 73 65 74 20 28 6e 6f |s can be| set (no|
|000018b0| 74 65 20 74 68 61 74 20 | 65 78 63 65 70 74 20 69 |te that |except i|
|000018c0| 6e 20 74 68 65 20 63 61 | 73 65 20 6f 66 0a 7c 2e |n the ca|se of.|.|
|000018d0| 49 52 20 6e 61 6d 65 20 | 73 2c 0a 7c 74 68 65 73 |IR name |s,.|thes|
|000018e0| 65 20 63 6f 6d 6d 61 6e | 64 73 20 61 72 65 20 63 |e comman|ds are c|
|000018f0| 61 73 65 2d 69 6e 73 65 | 6e 73 69 74 69 76 65 29 |ase-inse|nsitive)|
|00001900| 3a 0a 7c 2e 6e 66 0a 7c | 0a 7c 73 65 74 20 37 62 |:.|.nf.||.|set 7b|
|00001910| 69 74 20 20 20 20 20 6f | 6e 7c 6f 66 66 0a 7c 73 |it o|n|off.|s|
|00001920| 65 74 20 61 75 74 6f 20 | 20 20 20 20 6f 6e 7c 6f |et auto | on|o|
|00001930| 66 66 0a 7c 73 65 74 20 | 62 70 73 20 20 20 20 20 |ff.|set |bps |
|00001940| 20 5c 66 49 76 61 6c 75 | 65 5c 66 52 0a 7c 73 65 | \fIvalu|e\fR.|se|
|00001950| 74 20 63 66 69 6c 65 20 | 20 20 20 5c 66 49 6e 61 |t cfile | \fIna|
|00001960| 6d 65 5c 66 52 0a 7c 73 | 65 74 20 63 69 73 20 20 |me\fR.|s|et cis |
|00001970| 20 20 20 20 6f 6e 7c 6f | 66 66 0a 7c 73 65 74 20 | on|o|ff.|set |
|00001980| 63 72 20 20 20 20 20 20 | 20 6f 6e 7c 6f 66 66 0a |cr | on|off.|
|00001990| 7c 73 65 74 20 68 61 6c | 66 64 70 6c 78 20 6f 6e ||set hal|fdplx on|
|000019a0| 7c 6f 66 66 0a 7c 73 65 | 74 20 6e 6c 20 20 20 20 ||off.|se|t nl |
|000019b0| 20 20 20 6f 6e 7c 6f 66 | 66 0a 7c 73 65 74 20 70 | on|of|f.|set p|
|000019c0| 66 69 6c 65 20 20 20 20 | 5c 66 49 6e 61 6d 65 5c |file |\fIname\|
|000019d0| 66 52 0a 7c 73 65 74 20 | 70 75 72 67 65 20 20 20 |fR.|set |purge |
|000019e0| 20 6f 6e 7c 6f 66 66 0a | 7c 73 65 74 20 78 6f 66 | on|off.||set xof|
|000019f0| 66 20 20 20 20 20 6f 6e | 7c 6f 66 66 0a 7c 2e 66 |f on||off.|.f|
|00001a00| 69 0a 7c 2e 54 50 20 39 | 0a 7c 37 62 69 74 0a 7c |i.|.TP 9|.|7bit.||
|00001a10| 4d 6f 64 65 6d 20 68 69 | 67 68 2d 62 69 74 20 6d |Modem hi|gh-bit m|
|00001a20| 61 73 6b 69 6e 67 2e 20 | 41 6c 6c 20 63 68 61 72 |asking. |All char|
|00001a30| 61 63 74 65 72 73 20 72 | 65 63 65 69 76 65 64 20 |acters r|eceived |
|00001a40| 66 72 6f 6d 20 74 68 65 | 20 6d 6f 64 65 6d 20 61 |from the| modem a|
|00001a50| 72 65 20 6d 61 73 6b 65 | 64 20 73 6f 0a 7c 74 68 |re maske|d so.|th|
|00001a60| 65 69 72 20 76 61 6c 75 | 65 73 20 61 72 65 20 62 |eir valu|es are b|
|00001a70| 65 74 77 65 65 6e 20 30 | 20 61 6e 64 20 31 32 37 |etween 0| and 127|
|00001a80| 2e 20 54 68 69 73 20 69 | 73 20 75 73 65 66 75 6c |. This i|s useful|
|00001a90| 20 66 6f 72 20 72 65 6d | 6f 74 65 20 73 79 73 74 | for rem|ote syst|
|00001aa0| 65 6d 73 20 74 68 61 74 | 0a 7c 74 72 61 6e 73 6d |ems that|.|transm|
|00001ab0| 69 74 20 70 61 72 69 74 | 79 20 63 68 61 72 61 63 |it parit|y charac|
|00001ac0| 74 65 72 73 20 28 74 68 | 65 20 70 61 72 69 74 79 |ters (th|e parity|
|00001ad0| 20 69 73 20 69 67 6e 6f | 72 65 64 29 2e 20 49 66 | is igno|red). If|
|00001ae0| 20 74 68 69 73 20 6f 70 | 74 69 6f 6e 20 69 73 20 | this op|tion is |
|00001af0| 73 65 74 0a 7c 22 6f 66 | 66 22 2c 20 72 65 63 65 |set.|"of|f", rece|
|00001b00| 69 76 65 64 20 63 68 61 | 72 61 63 74 65 72 73 20 |ived cha|racters |
|00001b10| 61 72 65 20 6e 6f 74 20 | 6d 61 73 6b 65 64 2e 0a |are not |masked..|
|00001b20| 7c 2e 54 50 0a 7c 61 75 | 74 6f 0a 7c 53 65 74 73 ||.TP.|au|to.|Sets|
|00001b30| 20 74 68 65 20 61 75 74 | 6f 2d 63 61 70 74 75 72 | the aut|o-captur|
|00001b40| 65 20 66 65 61 74 75 72 | 65 2e 20 57 68 65 6e 20 |e featur|e. When |
|00001b50| 65 6e 74 65 72 69 6e 67 | 20 74 65 72 6d 69 6e 61 |entering| termina|
|00001b60| 6c 20 6d 6f 64 65 2c 20 | 63 61 70 74 75 72 69 6e |l mode, |capturin|
|00001b70| 67 20 74 6f 20 74 68 65 | 0a 7c 63 75 72 72 65 6e |g to the|.|curren|
|00001b80| 74 20 63 61 70 74 75 72 | 65 20 66 69 6c 65 20 63 |t captur|e file c|
|00001b90| 6f 6d 6d 65 6e 63 65 73 | 20 77 69 74 68 6f 75 74 |ommences| without|
|00001ba0| 20 74 68 65 20 6e 65 63 | 65 73 73 69 74 79 20 74 | the nec|essity t|
|00001bb0| 6f 20 6d 61 6e 75 61 6c | 6c 79 20 74 6f 67 67 6c |o manual|ly toggl|
|00001bc0| 65 20 69 74 2e 0a 7c 2e | 54 50 0a 7c 62 70 73 0a |e it..|.|TP.|bps.|
|00001bd0| 7c 53 65 74 20 74 68 65 | 20 64 65 73 69 72 65 64 ||Set the| desired|
|00001be0| 20 62 69 74 73 2f 73 65 | 63 6f 6e 64 20 72 61 74 | bits/se|cond rat|
|00001bf0| 65 2e 20 53 75 70 70 6f | 72 74 65 64 20 62 70 73 |e. Suppo|rted bps|
|00001c00| 20 72 61 74 65 73 20 61 | 72 65 20 33 30 30 2c 20 | rates a|re 300, |
|00001c10| 31 32 30 30 2c 20 32 34 | 30 30 2c 0a 7c 34 38 30 |1200, 24|00,.|480|
|00001c20| 30 2c 20 39 36 30 30 2c | 20 28 61 6e 64 20 69 66 |0, 9600,| (and if|
|00001c30| 20 69 6e 63 6c 75 64 65 | 64 20 61 74 20 63 6f 6d | include|d at com|
|00001c40| 70 69 6c 65 20 74 69 6d | 65 2c 20 31 39 32 30 30 |pile tim|e, 19200|
|00001c50| 20 61 6e 64 20 33 38 34 | 30 30 29 2e 0a 7c 2e 54 | and 384|00)..|.T|
|00001c60| 50 0a 7c 63 66 69 6c 65 | 0a 7c 53 65 74 20 74 68 |P.|cfile|.|Set th|
|00001c70| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 63 61 |e name o|f the ca|
|00001c80| 70 74 75 72 65 20 66 69 | 6c 65 20 74 6f 0a 7c 2e |pture fi|le to.|.|
|00001c90| 49 52 20 6e 61 6d 65 20 | 2e 0a 7c 2e 54 50 0a 7c |IR name |..|.TP.||
|00001ca0| 63 69 73 0a 7c 53 65 74 | 20 43 6f 6d 70 75 53 65 |cis.|Set| CompuSe|
|00001cb0| 72 76 65 20 3c 45 4e 51 | 3e 20 66 69 6c 65 20 74 |rve <ENQ|> file t|
|00001cc0| 72 61 6e 73 66 65 72 20 | 72 65 71 75 65 73 74 73 |ransfer |requests|
|00001cd0| 2e 20 41 6e 20 22 6f 6e | 22 20 76 61 6c 75 65 20 |. An "on|" value |
|00001ce0| 73 70 65 63 69 66 69 65 | 73 20 74 68 61 74 20 77 |specifie|s that w|
|00001cf0| 68 65 6e 0a 7c 69 6e 20 | 74 65 72 6d 69 6e 61 6c |hen.|in |terminal|
|00001d00| 20 6d 6f 64 65 2c 20 61 | 6e 20 3c 45 4e 51 3e 20 | mode, a|n <ENQ> |
|00001d10| 63 68 61 72 61 63 74 65 | 72 20 77 69 6c 6c 20 70 |characte|r will p|
|00001d20| 65 72 66 6f 72 6d 20 61 | 6e 20 61 75 74 6f 6d 61 |erform a|n automa|
|00001d30| 74 69 63 20 43 49 53 20 | 42 2d 50 6c 75 73 0a 7c |tic CIS |B-Plus.||
|00001d40| 70 72 6f 74 6f 63 6f 6c | 20 74 72 61 6e 73 66 65 |protocol| transfe|
|00001d50| 72 2e 20 54 68 69 73 20 | 70 61 72 61 6d 65 74 65 |r. This |paramete|
|00001d60| 72 20 73 68 6f 75 6c 64 | 20 62 65 20 73 65 74 20 |r should| be set |
|00001d70| 22 6f 66 66 22 20 77 68 | 65 6e 20 6e 6f 74 20 63 |"off" wh|en not c|
|00001d80| 6f 6e 6e 65 63 74 65 64 | 20 74 6f 0a 7c 43 6f 6d |onnected| to.|Com|
|00001d90| 70 75 53 65 72 76 65 2c | 20 61 73 20 70 68 6f 6e |puServe,| as phon|
|00001da0| 65 20 6c 69 6e 65 20 6e | 6f 69 73 65 20 6d 61 79 |e line n|oise may|
|00001db0| 20 63 61 75 73 65 20 61 | 20 62 6f 67 75 73 20 66 | cause a| bogus f|
|00001dc0| 69 6c 65 20 74 72 61 6e | 73 66 65 72 20 72 65 71 |ile tran|sfer req|
|00001dd0| 75 65 73 74 2e 0a 7c 2e | 54 50 0a 7c 63 72 0a 7c |uest..|.|TP.|cr.||
|00001de0| 49 6e 20 75 70 6c 6f 61 | 64 73 20 75 73 69 6e 67 |In uploa|ds using|
|00001df0| 20 42 2b 20 50 72 6f 74 | 6f 63 6f 6c 2c 20 73 65 | B+ Prot|ocol, se|
|00001e00| 74 74 69 6e 67 20 74 68 | 69 73 20 6f 70 74 69 6f |tting th|is optio|
|00001e10| 6e 20 22 6f 6e 22 20 77 | 69 6c 6c 20 69 6e 73 65 |n "on" w|ill inse|
|00001e20| 72 74 20 61 0a 7c 63 61 | 72 72 69 61 67 65 2d 72 |rt a.|ca|rriage-r|
|00001e30| 65 74 75 72 6e 20 61 66 | 74 65 72 20 65 61 63 68 |eturn af|ter each|
|00001e40| 20 6e 65 77 6c 69 6e 65 | 20 69 6e 20 61 6e 20 41 | newline| in an A|
|00001e50| 53 43 49 49 20 66 69 6c | 65 2e 20 49 66 20 79 6f |SCII fil|e. If yo|
|00001e60| 75 20 65 78 70 65 63 74 | 20 79 6f 75 72 20 41 53 |u expect| your AS|
|00001e70| 43 49 49 0a 7c 75 70 6c | 6f 61 64 20 74 6f 20 62 |CII.|upl|oad to b|
|00001e80| 65 20 63 61 70 74 75 72 | 65 64 20 62 79 20 44 4f |e captur|ed by DO|
|00001e90| 53 20 75 73 65 72 73 2c | 20 69 74 20 69 73 20 62 |S users,| it is b|
|00001ea0| 65 73 74 20 74 6f 20 73 | 65 74 20 63 72 20 22 6f |est to s|et cr "o|
|00001eb0| 6e 22 2e 20 49 66 20 79 | 6f 75 72 20 41 53 43 49 |n". If y|our ASCI|
|00001ec0| 49 0a 7c 75 70 6c 6f 61 | 64 20 69 73 20 6d 65 61 |I.|uploa|d is mea|
|00001ed0| 6e 74 20 73 74 72 69 63 | 74 6c 79 20 66 6f 72 20 |nt stric|tly for |
|00001ee0| 55 6e 69 78 20 75 73 65 | 72 73 2c 20 74 68 65 6e |Unix use|rs, then|
|00001ef0| 20 79 6f 75 20 6d 61 79 | 20 73 65 74 20 63 72 20 | you may| set cr |
|00001f00| 22 6f 66 66 22 2e 0a 7c | 54 68 65 20 42 2b 20 50 |"off"..||The B+ P|
|00001f10| 72 6f 74 6f 63 6f 6c 20 | 69 6d 70 6c 65 6d 65 6e |rotocol |implemen|
|00001f20| 74 61 74 69 6f 6e 20 75 | 73 65 64 20 62 79 0a 7c |tation u|sed by.||
|00001f30| 2e 42 0a 7c 78 63 0a 7c | 77 69 6c 6c 20 61 6c 77 |.B.|xc.||will alw|
|00001f40| 61 79 73 20 73 74 72 69 | 70 20 65 6e 64 2d 6f 66 |ays stri|p end-of|
|00001f50| 2d 6c 69 6e 65 20 63 61 | 72 72 69 61 67 65 2d 72 |-line ca|rriage-r|
|00001f60| 65 74 75 72 6e 73 20 66 | 72 6f 6d 20 69 6e 63 6f |eturns f|rom inco|
|00001f70| 6d 69 6e 67 20 41 53 43 | 49 49 20 66 69 6c 65 73 |ming ASC|II files|
|00001f80| 2e 0a 7c 2e 54 50 0a 7c | 68 61 6c 66 64 70 6c 78 |..|.TP.||halfdplx|
|00001f90| 0a 7c 53 65 74 73 20 74 | 68 65 20 68 61 6c 66 2d |.|Sets t|he half-|
|00001fa0| 64 75 70 6c 65 78 20 66 | 6c 61 67 2e 20 49 66 20 |duplex f|lag. If |
|00001fb0| 74 68 69 73 20 66 6c 61 | 67 20 69 73 20 73 65 74 |this fla|g is set|
|00001fc0| 2c 20 74 68 65 6e 20 61 | 6c 6c 20 63 68 61 72 61 |, then a|ll chara|
|00001fd0| 63 74 65 72 73 20 74 79 | 70 65 64 20 61 74 0a 7c |cters ty|ped at.||
|00001fe0| 74 68 65 20 6b 65 79 62 | 6f 61 72 64 20 77 68 69 |the keyb|oard whi|
|00001ff0| 6c 65 20 69 6e 20 74 65 | 72 6d 69 6e 61 6c 20 6d |le in te|rminal m|
|00002000| 6f 64 65 20 77 69 6c 6c | 20 62 65 20 65 63 68 6f |ode will| be echo|
|00002010| 65 64 20 74 6f 20 74 68 | 65 20 73 63 72 65 65 6e |ed to th|e screen|
|00002020| 20 61 73 20 77 65 6c 6c | 20 61 73 0a 7c 73 65 6e | as well| as.|sen|
|00002030| 74 20 74 6f 20 74 68 65 | 20 6d 6f 64 65 6d 20 6c |t to the| modem l|
|00002040| 69 6e 65 2e 20 55 73 65 | 66 75 6c 20 66 6f 72 20 |ine. Use|ful for |
|00002050| 72 65 6d 6f 74 65 20 73 | 79 73 74 65 6d 73 20 74 |remote s|ystems t|
|00002060| 68 61 74 20 64 6f 6e 27 | 74 20 65 63 68 6f 20 63 |hat don'|t echo c|
|00002070| 68 61 72 61 63 74 65 72 | 73 2e 0a 7c 2e 54 50 0a |haracter|s..|.TP.|
|00002080| 7c 6e 6c 0a 7c 49 66 20 | 74 68 69 73 20 6f 70 74 ||nl.|If |this opt|
|00002090| 69 6f 6e 20 69 73 20 73 | 65 74 20 22 6f 6e 22 2c |ion is s|et "on",|
|000020a0| 20 74 68 65 6e 20 6e 65 | 77 6c 69 6e 65 73 20 61 | then ne|wlines a|
|000020b0| 72 65 20 73 65 6e 74 20 | 61 73 0a 7c 63 61 72 72 |re sent |as.|carr|
|000020c0| 69 61 67 65 2d 72 65 74 | 75 72 6e 73 2e 20 49 66 |iage-ret|urns. If|
|000020d0| 20 74 68 69 73 20 6f 70 | 74 69 6f 6e 20 69 73 20 | this op|tion is |
|000020e0| 73 65 74 20 22 6f 66 66 | 22 2c 20 74 68 65 6e 20 |set "off|", then |
|000020f0| 6e 65 77 6c 69 6e 65 73 | 20 61 72 65 20 73 65 6e |newlines| are sen|
|00002100| 74 20 61 73 0a 7c 6e 65 | 77 6c 69 6e 65 73 20 28 |t as.|ne|wlines (|
|00002110| 63 61 72 72 69 61 67 65 | 2d 72 65 74 75 72 6e 73 |carriage|-returns|
|00002120| 20 61 72 65 20 69 6e 20 | 61 6e 79 20 63 61 73 65 | are in |any case|
|00002130| 20 61 6c 77 61 79 73 20 | 73 65 6e 74 20 61 73 20 | always |sent as |
|00002140| 63 61 72 72 69 61 67 65 | 2d 72 65 74 75 72 6e 73 |carriage|-returns|
|00002150| 2e 29 0a 7c 54 68 69 73 | 20 6f 70 74 69 6f 6e 20 |.).|This| option |
|00002160| 61 70 70 6c 69 65 73 20 | 74 6f 20 69 6e 70 75 74 |applies |to input|
|00002170| 20 66 72 6f 6d 20 74 68 | 65 20 6b 65 79 62 6f 61 | from th|e keyboa|
|00002180| 72 64 2c 20 6f 72 20 66 | 72 6f 6d 20 61 20 64 69 |rd, or f|rom a di|
|00002190| 73 6b 20 66 69 6c 65 20 | 75 73 69 6e 67 20 74 68 |sk file |using th|
|000021a0| 65 0a 7c 22 4d 59 5f 45 | 53 43 20 66 22 20 66 61 |e.|"MY_E|SC f" fa|
|000021b0| 63 69 6c 69 74 79 20 6f | 72 20 61 20 73 63 72 69 |cility o|r a scri|
|000021c0| 70 74 20 22 74 79 70 65 | 22 20 63 6f 6d 6d 61 6e |pt "type|" comman|
|000021d0| 64 2e 20 28 53 65 65 20 | 62 65 6c 6f 77 2e 29 0a |d. (See |below.).|
|000021e0| 7c 54 68 69 73 20 6f 70 | 74 69 6f 6e 20 68 61 73 ||This op|tion has|
|000021f0| 20 6e 6f 20 65 66 66 65 | 63 74 20 6f 6e 20 62 75 | no effe|ct on bu|
|00002200| 69 6c 74 2d 69 6e 20 58 | 4d 4f 44 45 4d 20 6f 72 |ilt-in X|MODEM or|
|00002210| 20 42 2b 20 50 72 6f 74 | 6f 63 6f 6c 20 74 72 61 | B+ Prot|ocol tra|
|00002220| 6e 73 6d 69 73 73 69 6f | 6e 73 2c 0a 7c 61 6e 64 |nsmissio|ns,.|and|
|00002230| 20 68 61 73 20 6e 6f 20 | 65 66 66 65 63 74 20 6f | has no |effect o|
|00002240| 6e 20 69 6e 63 6f 6d 69 | 6e 67 20 64 61 74 61 2e |n incomi|ng data.|
|00002250| 0a 7c 2e 54 50 0a 7c 70 | 66 69 6c 65 0a 7c 53 65 |.|.TP.|p|file.|Se|
|00002260| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |t the na|me of th|
|00002270| 65 20 70 68 6f 6e 65 20 | 64 69 72 65 63 74 6f 72 |e phone |director|
|00002280| 79 20 74 6f 0a 7c 2e 49 | 52 20 6e 61 6d 65 20 2e |y to.|.I|R name .|
|00002290| 0a 7c 2e 54 50 0a 7c 70 | 75 72 67 65 0a 7c 53 65 |.|.TP.|p|urge.|Se|
|000022a0| 74 20 42 61 64 20 54 65 | 6c 65 70 68 6f 6e 65 20 |t Bad Te|lephone |
|000022b0| 4c 69 6e 65 20 50 75 72 | 67 65 20 6d 6f 64 65 2e |Line Pur|ge mode.|
|000022c0| 20 49 66 20 22 6f 6e 22 | 2c 20 72 65 6d 6f 76 65 | If "on"|, remove|
|000022d0| 73 20 73 70 75 72 69 6f | 75 73 20 63 68 61 72 61 |s spurio|us chara|
|000022e0| 63 74 65 72 73 0a 7c 72 | 65 63 65 69 76 65 64 20 |cters.|r|eceived |
|000022f0| 74 68 72 6f 75 67 68 20 | 74 68 65 20 70 68 6f 6e |through |the phon|
|00002300| 65 20 6c 69 6e 65 20 64 | 75 65 20 74 6f 20 6e 6f |e line d|ue to no|
|00002310| 69 73 65 20 62 65 66 6f | 72 65 20 6c 69 73 74 65 |ise befo|re liste|
|00002320| 6e 69 6e 67 20 66 6f 72 | 20 61 6e 0a 7c 61 63 6b |ning for| an.|ack|
|00002330| 6e 6f 77 6c 65 64 67 65 | 6d 65 6e 74 2e 20 54 68 |nowledge|ment. Th|
|00002340| 69 73 20 69 6e 63 72 65 | 61 73 65 73 20 74 68 65 |is incre|ases the|
|00002350| 20 61 6d 6f 75 6e 74 20 | 6f 66 20 74 69 6d 65 20 | amount |of time |
|00002360| 73 70 65 6e 74 20 74 72 | 61 6e 73 6d 69 74 74 69 |spent tr|ansmitti|
|00002370| 6e 67 20 65 61 63 68 0a | 7c 62 6c 6f 63 6b 2c 20 |ng each.||block, |
|00002380| 62 75 74 20 63 61 6e 20 | 69 6d 70 72 6f 76 65 20 |but can |improve |
|00002390| 74 68 72 6f 75 67 68 70 | 75 74 20 6f 76 65 72 61 |throughp|ut overa|
|000023a0| 6c 6c 20 62 79 20 72 65 | 64 75 63 69 6e 67 20 74 |ll by re|ducing t|
|000023b0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 6c 6f |he numbe|r of blo|
|000023c0| 63 6b 0a 7c 72 65 74 72 | 61 6e 73 6d 69 73 73 69 |ck.|retr|ansmissi|
|000023d0| 6f 6e 73 2e 0a 7c 2e 54 | 50 0a 7c 78 6f 66 66 0a |ons..|.T|P.|xoff.|
|000023e0| 7c 53 65 74 20 58 4f 4e | 2f 58 4f 46 46 20 66 6c ||Set XON|/XOFF fl|
|000023f0| 6f 77 20 63 6f 6e 74 72 | 6f 6c 20 66 6c 61 67 2e |ow contr|ol flag.|
|00002400| 20 49 66 20 22 6f 6e 22 | 2c 20 74 68 65 20 70 72 | If "on"|, the pr|
|00002410| 6f 67 72 61 6d 20 77 69 | 6c 6c 20 68 6f 6e 6f 72 |ogram wi|ll honor|
|00002420| 20 74 68 65 20 58 4f 46 | 46 0a 7c 63 6f 6e 74 72 | the XOF|F.|contr|
|00002430| 6f 6c 20 63 68 61 72 61 | 63 74 65 72 20 61 6e 64 |ol chara|cter and|
|00002440| 20 77 61 69 74 20 75 6e | 74 69 6c 20 61 6e 20 58 | wait un|til an X|
|00002450| 4f 4e 20 63 68 61 72 61 | 63 74 65 72 20 69 73 20 |ON chara|cter is |
|00002460| 72 65 63 65 69 76 65 64 | 20 62 65 66 6f 72 65 0a |received| before.|
|00002470| 7c 74 72 61 6e 73 6d 69 | 74 74 69 6e 67 20 61 6e ||transmi|tting an|
|00002480| 79 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |y more i|nformati|
|00002490| 6f 6e 2e 20 49 66 20 22 | 6f 66 66 22 2c 20 74 68 |on. If "|off", th|
|000024a0| 65 20 70 72 6f 67 72 61 | 6d 20 77 69 6c 6c 20 69 |e progra|m will i|
|000024b0| 67 6e 6f 72 65 0a 7c 58 | 4f 46 46 2f 58 4f 4e 20 |gnore.|X|OFF/XON |
|000024c0| 72 65 71 75 65 73 74 73 | 2e 0a 7c 2e 53 53 20 5c |requests|..|.SS \|
|000024d0| 66 49 54 65 72 6d 69 6e | 61 6c 20 4d 6f 64 65 5c |fITermin|al Mode\|
|000024e0| 66 52 0a 7c 49 6e 20 74 | 65 72 6d 69 6e 61 6c 20 |fR.|In t|erminal |
|000024f0| 6d 6f 64 65 2c 20 61 6c | 6c 20 63 68 61 72 61 63 |mode, al|l charac|
|00002500| 74 65 72 73 20 74 79 70 | 65 64 20 61 74 20 74 68 |ters typ|ed at th|
|00002510| 65 20 6b 65 79 62 6f 61 | 72 64 20 61 72 65 20 73 |e keyboa|rd are s|
|00002520| 65 6e 74 20 74 6f 20 74 | 68 65 0a 7c 6d 6f 64 65 |ent to t|he.|mode|
|00002530| 6d 2c 20 65 78 63 65 70 | 74 20 74 68 61 74 20 6e |m, excep|t that n|
|00002540| 65 77 6c 69 6e 65 20 63 | 68 61 72 61 63 74 65 72 |ewline c|haracter|
|00002550| 73 20 28 30 78 30 41 29 | 20 61 72 65 20 74 72 61 |s (0x0A)| are tra|
|00002560| 6e 73 6c 61 74 65 64 20 | 74 6f 0a 7c 63 61 72 72 |nslated |to.|carr|
|00002570| 69 61 67 65 2d 72 65 74 | 75 72 6e 73 20 28 30 78 |iage-ret|urns (0x|
|00002580| 30 44 29 20 77 68 65 6e | 20 79 6f 75 20 68 61 76 |0D) when| you hav|
|00002590| 65 20 22 73 65 74 20 6e | 6c 20 27 6f 6e 27 22 3b |e "set n|l 'on'";|
|000025a0| 20 61 6c 6c 20 63 68 61 | 72 61 63 74 65 72 73 20 | all cha|racters |
|000025b0| 72 65 63 65 69 76 65 64 | 0a 7c 66 72 6f 6d 20 74 |received|.|from t|
|000025c0| 68 65 20 6d 6f 64 65 6d | 20 61 72 65 20 64 69 73 |he modem| are dis|
|000025d0| 70 6c 61 79 65 64 20 6f | 6e 20 74 68 65 20 6c 6f |played o|n the lo|
|000025e0| 63 61 6c 20 74 65 72 6d | 69 6e 61 6c 20 73 63 72 |cal term|inal scr|
|000025f0| 65 65 6e 2c 0a 7c 0a 7c | 4d 59 5f 45 53 43 20 69 |een,.|.||MY_ESC i|
|00002600| 73 20 61 20 6b 65 79 20 | 74 68 61 74 20 77 69 6c |s a key |that wil|
|00002610| 6c 2c 20 77 68 65 6e 20 | 74 79 70 65 64 20 69 6e |l, when |typed in|
|00002620| 20 74 65 72 6d 69 6e 61 | 6c 20 6d 6f 64 65 2c 20 | termina|l mode, |
|00002630| 69 6e 74 72 6f 64 75 63 | 65 20 61 6e 0a 7c 2e 42 |introduc|e an.|.B|
|00002640| 20 78 63 0a 7c 22 65 73 | 63 61 70 65 22 20 63 6f | xc.|"es|cape" co|
|00002650| 6d 6d 61 6e 64 2e 20 54 | 68 65 20 64 65 66 61 75 |mmand. T|he defau|
|00002660| 6c 74 20 64 65 66 69 6e | 69 74 69 6f 6e 20 66 6f |lt defin|ition fo|
|00002670| 72 20 4d 59 5f 45 53 43 | 20 69 73 20 41 53 43 49 |r MY_ESC| is ASCI|
|00002680| 49 20 30 31 2c 20 6f 72 | 20 43 6f 6e 74 72 6f 6c |I 01, or| Control|
|00002690| 2d 41 3b 0a 7c 69 74 20 | 6d 61 79 20 62 65 20 63 |-A;.|it |may be c|
|000026a0| 68 61 6e 67 65 64 20 61 | 74 20 63 6f 6d 70 69 6c |hanged a|t compil|
|000026b0| 65 20 74 69 6d 65 20 62 | 79 20 61 6c 74 65 72 69 |e time b|y alteri|
|000026c0| 6e 67 20 69 74 73 20 64 | 65 66 69 6e 69 74 69 6f |ng its d|efinitio|
|000026d0| 6e 20 69 6e 20 74 68 65 | 20 78 63 2e 68 0a 7c 68 |n in the| xc.h.|h|
|000026e0| 65 61 64 65 72 20 66 69 | 6c 65 2e 20 44 6f 6e 27 |eader fi|le. Don'|
|000026f0| 74 20 63 6f 6e 66 75 73 | 65 20 4d 59 5f 45 53 43 |t confus|e MY_ESC|
|00002700| 20 77 69 74 68 20 74 68 | 65 20 3c 45 53 43 41 50 | with th|e <ESCAP|
|00002710| 45 3e 20 6b 65 79 2e 0a | 7c 0a 7c 57 68 65 6e 20 |E> key..||.|When |
|00002720| 74 68 65 20 4d 59 5f 45 | 53 43 20 6b 65 79 20 69 |the MY_E|SC key i|
|00002730| 73 20 74 79 70 65 64 20 | 69 6e 20 74 65 72 6d 69 |s typed |in termi|
|00002740| 6e 61 6c 20 6d 6f 64 65 | 2c 20 74 68 65 20 70 72 |nal mode|, the pr|
|00002750| 6f 67 72 61 6d 20 77 69 | 6c 6c 20 65 78 61 6d 69 |ogram wi|ll exami|
|00002760| 6e 65 20 74 68 65 0a 7c | 6e 65 78 74 20 6b 65 79 |ne the.||next key|
|00002770| 20 70 72 65 73 73 65 64 | 2e 20 49 66 20 69 74 20 | pressed|. If it |
|00002780| 69 73 20 61 20 73 70 65 | 63 69 61 6c 20 63 6f 6d |is a spe|cial com|
|00002790| 6d 61 6e 64 20 66 75 6e | 63 74 69 6f 6e 2c 20 74 |mand fun|ction, t|
|000027a0| 68 61 74 20 66 75 6e 63 | 74 69 6f 6e 20 77 69 6c |hat func|tion wil|
|000027b0| 6c 0a 7c 62 65 20 70 65 | 72 66 6f 72 6d 65 64 3b |l.|be pe|rformed;|
|000027c0| 20 6f 74 68 65 72 77 69 | 73 65 2c 20 74 68 65 20 | otherwi|se, the |
|000027d0| 73 65 63 6f 6e 64 20 63 | 68 61 72 61 63 74 65 72 |second c|haracter|
|000027e0| 20 69 73 20 73 65 6e 74 | 20 74 6f 20 74 68 65 20 | is sent| to the |
|000027f0| 6d 6f 64 65 6d 2e 20 54 | 68 75 73 2c 0a 7c 74 6f |modem. T|hus,.|to|
|00002800| 20 73 65 6e 64 20 61 20 | 4d 59 5f 45 53 43 20 63 | send a |MY_ESC c|
|00002810| 68 61 72 61 63 74 65 72 | 20 74 68 72 6f 75 67 68 |haracter| through|
|00002820| 20 74 68 65 20 6d 6f 64 | 65 6d 2c 20 69 74 20 69 | the mod|em, it i|
|00002830| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 70 |s necess|ary to p|
|00002840| 72 65 73 73 20 74 68 65 | 0a 7c 6b 65 79 20 54 57 |ress the|.|key TW|
|00002850| 49 43 45 2e 0a 7c 2e 73 | 70 20 31 0a 7c 2e 54 53 |ICE..|.s|p 1.|.TS|
|00002860| 0a 7c 74 61 62 28 40 29 | 20 3b 0a 7c 6c 32 20 6c |.|tab(@)| ;.|l2 l|
|00002870| 32 20 6c 20 2e 0a 7c 43 | 6f 6d 6d 61 6e 64 40 46 |2 l ..|C|ommand@F|
|00002880| 75 6e 63 74 69 6f 6e 40 | 44 65 73 63 72 69 70 74 |unction@|Descript|
|00002890| 69 6f 6e 0a 7c 0a 7c 4d | 59 5f 45 53 43 20 62 40 |ion.|.|M|Y_ESC b@|
|000028a0| 42 52 45 41 4b 40 54 7b | 0a 7c 53 65 6e 64 20 61 |BREAK@T{|.|Send a|
|000028b0| 20 42 52 45 41 4b 20 73 | 69 67 6e 61 6c 20 28 61 | BREAK s|ignal (a|
|000028c0| 20 73 75 73 74 61 69 6e | 65 64 20 6e 75 6c 6c 29 | sustain|ed null)|
|000028d0| 2e 0a 7c 54 7d 0a 7c 0a | 7c 4d 59 5f 45 53 43 20 |..|T}.|.||MY_ESC |
|000028e0| 64 40 44 69 61 6c 40 44 | 69 73 70 6c 61 79 20 74 |d@Dial@D|isplay t|
|000028f0| 68 65 20 70 68 6f 6e 65 | 20 64 69 72 65 63 74 6f |he phone| directo|
|00002900| 72 79 2e 0a 7c 0a 7c 4d | 59 5f 45 53 43 20 66 40 |ry..|.|M|Y_ESC f@|
|00002910| 46 69 6c 65 40 54 7b 0a | 7c 53 65 6e 64 20 61 20 |File@T{.||Send a |
|00002920| 66 69 6c 65 20 74 68 72 | 6f 75 67 68 20 74 68 65 |file thr|ough the|
|00002930| 20 6d 6f 64 65 6d 20 28 | 41 53 43 49 49 20 74 72 | modem (|ASCII tr|
|00002940| 61 6e 73 66 65 72 29 2e | 0a 7c 54 7d 0a 7c 0a 7c |ansfer).|.|T}.|.||
|00002950| 4d 59 5f 45 53 43 20 73 | 40 53 63 72 69 70 74 40 |MY_ESC s|@Script@|
|00002960| 54 7b 0a 7c 5c 66 42 58 | 63 5c 66 52 20 77 69 6c |T{.|\fBX|c\fR wil|
|00002970| 6c 20 72 65 71 75 65 73 | 74 20 74 68 65 20 6e 61 |l reques|t the na|
|00002980| 6d 65 20 6f 66 20 61 20 | 73 63 72 69 70 74 20 74 |me of a |script t|
|00002990| 6f 20 65 78 65 63 75 74 | 65 2e 0a 7c 54 7d 0a 7c |o execut|e..|T}.||
|000029a0| 0a 7c 4d 59 5f 45 53 43 | 20 68 40 48 61 6e 67 75 |.|MY_ESC| h@Hangu|
|000029b0| 70 40 54 7b 0a 7c 54 65 | 6c 6c 20 74 68 65 20 6d |p@T{.|Te|ll the m|
|000029c0| 6f 64 65 6d 20 74 6f 20 | 67 6f 20 6f 6e 2d 68 6f |odem to |go on-ho|
|000029d0| 6f 6b 2e 0a 7c 54 7d 0a | 7c 0a 7c 4d 59 5f 45 53 |ok..|T}.||.|MY_ES|
|000029e0| 43 20 74 40 54 6f 67 67 | 6c 65 40 54 7b 0a 7c 54 |C t@Togg|le@T{.|T|
|000029f0| 6f 67 67 6c 65 20 74 68 | 65 20 63 61 70 74 75 72 |oggle th|e captur|
|00002a00| 65 20 66 69 6c 65 2e 20 | 49 66 20 74 68 65 20 66 |e file. |If the f|
|00002a10| 69 6c 65 20 69 73 20 6e | 6f 74 20 6f 70 65 6e 2c |ile is n|ot open,|
|00002a20| 20 69 74 20 69 73 20 6f | 70 65 6e 65 64 20 69 6e | it is o|pened in|
|00002a30| 20 41 50 50 45 4e 44 20 | 6d 6f 64 65 0a 7c 28 74 | APPEND |mode.|(t|
|00002a40| 65 78 74 20 72 65 63 65 | 69 76 65 20 61 63 63 75 |ext rece|ive accu|
|00002a50| 6d 75 6c 61 74 65 73 20 | 61 74 20 74 68 65 20 65 |mulates |at the e|
|00002a60| 6e 64 20 6f 66 20 74 68 | 65 20 66 69 6c 65 29 2e |nd of th|e file).|
|00002a70| 20 49 66 20 74 68 65 20 | 66 69 6c 65 20 69 73 20 | If the |file is |
|00002a80| 61 6c 72 65 61 64 79 20 | 6f 70 65 6e 2c 0a 7c 69 |already |open,.|i|
|00002a90| 74 20 69 73 20 63 6c 6f | 73 65 64 2c 20 69 6e 73 |t is clo|sed, ins|
|00002aa0| 74 65 61 64 2e 0a 7c 54 | 7d 0a 7c 0a 7c 4d 59 5f |tead..|T|}.|.|MY_|
|00002ab0| 45 53 43 20 78 40 65 58 | 69 74 40 45 78 69 74 20 |ESC x@eX|it@Exit |
|00002ac0| 74 65 72 6d 69 6e 61 6c | 20 6d 6f 64 65 20 62 61 |terminal| mode ba|
|00002ad0| 63 6b 20 74 6f 20 5c 66 | 49 58 43 3e 5c 66 52 20 |ck to \f|IXC>\fR |
|00002ae0| 63 6f 6d 6d 61 6e 64 20 | 6d 6f 64 65 2e 0a 7c 0a |command |mode..|.|
|00002af0| 7c 4d 59 5f 45 53 43 20 | 71 40 51 75 69 74 40 51 ||MY_ESC |q@Quit@Q|
|00002b00| 75 69 74 20 5c 66 42 78 | 63 5c 66 52 20 61 6c 74 |uit \fBx|c\fR alt|
|00002b10| 6f 67 65 74 68 65 72 2e | 0a 7c 2e 54 45 0a 7c 2e |ogether.|.|.TE.|.|
|00002b20| 53 53 20 5c 66 49 50 68 | 6f 6e 65 6c 69 73 74 5c |SS \fIPh|onelist\|
|00002b30| 66 52 0a 7c 2e 42 20 58 | 63 0a 7c 6c 6f 6f 6b 73 |fR.|.B X|c.|looks|
|00002b40| 20 66 6f 72 20 61 0a 7c | 2e 49 20 2e 70 68 6f 6e | for a.||.I .phon|
|00002b50| 65 6c 69 73 74 0a 7c 66 | 69 6c 65 20 69 6e 20 74 |elist.|f|ile in t|
|00002b60| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6f 72 64 |he follo|wing ord|
|00002b70| 65 72 3a 20 69 6e 20 74 | 68 65 20 63 75 72 72 65 |er: in t|he curre|
|00002b80| 6e 74 20 64 69 72 65 63 | 74 6f 72 79 2c 20 69 6e |nt direc|tory, in|
|00002b90| 20 79 6f 75 72 20 68 6f | 6d 65 20 64 69 72 65 63 | your ho|me direc|
|00002ba0| 74 6f 72 79 0a 7c 61 73 | 20 64 65 66 69 6e 65 64 |tory.|as| defined|
|00002bb0| 20 62 79 20 74 68 65 20 | 24 48 4f 4d 45 20 65 6e | by the |$HOME en|
|00002bc0| 76 69 72 6f 6e 6d 65 6e | 74 20 76 61 72 69 61 62 |vironmen|t variab|
|00002bd0| 6c 65 2c 20 6f 72 20 69 | 6e 20 74 68 65 20 4c 49 |le, or i|n the LI|
|00002be0| 42 44 49 52 20 61 73 20 | 64 65 66 69 6e 65 64 0a |BDIR as |defined.|
|00002bf0| 7c 61 74 20 63 6f 6d 70 | 69 6c 65 20 74 69 6d 65 ||at comp|ile time|
|00002c00| 20 69 6e 0a 7c 2e 49 20 | 78 63 2e 68 2e 0a 7c 48 | in.|.I |xc.h..|H|
|00002c10| 6f 77 65 76 65 72 20 69 | 6e 20 63 6f 6d 6d 61 6e |owever i|n comman|
|00002c20| 64 20 6d 6f 64 65 2c 20 | 61 6e 79 20 66 69 6c 65 |d mode, |any file|
|00002c30| 6e 61 6d 65 20 63 61 6e | 20 62 65 20 73 75 62 73 |name can| be subs|
|00002c40| 74 69 74 75 74 65 64 2c | 20 75 73 69 6e 67 20 74 |tituted,| using t|
|00002c50| 68 65 20 53 45 54 20 50 | 46 49 4c 45 0a 7c 63 6f |he SET P|FILE.|co|
|00002c60| 6d 6d 61 6e 64 2c 20 73 | 6f 20 6c 6f 6e 67 20 61 |mmand, s|o long a|
|00002c70| 73 20 61 73 20 69 74 20 | 68 61 73 20 74 68 65 20 |s as it |has the |
|00002c80| 66 6f 6c 6c 6f 77 69 6e | 67 20 63 68 61 72 61 63 |followin|g charac|
|00002c90| 74 65 72 69 73 74 69 63 | 73 3a 0a 7c 0a 7c 49 74 |teristic|s:.|.|It|
|00002ca0| 20 69 73 20 41 53 43 49 | 49 20 74 65 78 74 20 28 | is ASCI|I text (|
|00002cb0| 6c 69 6e 65 73 20 6f 66 | 20 74 65 78 74 20 73 65 |lines of| text se|
|00002cc0| 70 61 72 61 74 65 64 20 | 62 79 20 6e 65 77 6c 69 |parated |by newli|
|00002cd0| 6e 65 73 29 2e 0a 7c 0a | 7c 54 68 65 20 66 69 72 |nes)..|.||The fir|
|00002ce0| 73 74 20 66 69 65 6c 64 | 20 6f 66 20 64 61 74 61 |st field| of data|
|00002cf0| 20 69 6e 20 65 61 63 68 | 20 6c 69 6e 65 20 28 61 | in each| line (a|
|00002d00| 66 74 65 72 20 61 6e 79 | 20 77 68 69 74 65 73 70 |fter any| whitesp|
|00002d10| 61 63 65 20 61 6e 64 20 | 75 70 20 74 6f 20 74 68 |ace and |up to th|
|00002d20| 65 20 6e 65 78 74 0a 7c | 6f 63 63 75 72 65 6e 63 |e next.||occurenc|
|00002d30| 65 20 6f 66 20 77 68 69 | 74 65 73 70 61 63 65 29 |e of whi|tespace)|
|00002d40| 20 69 73 20 61 73 73 75 | 6d 65 64 20 74 6f 20 62 | is assu|med to b|
|00002d50| 65 20 61 20 70 68 6f 6e | 65 20 6e 75 6d 62 65 72 |e a phon|e number|
|00002d60| 20 69 6e 20 61 20 76 61 | 6c 69 64 20 66 6f 72 6d | in a va|lid form|
|00002d70| 61 74 20 66 6f 72 0a 7c | 74 68 65 20 6d 6f 64 65 |at for.||the mode|
|00002d80| 6d 20 62 65 69 6e 67 20 | 75 73 65 64 2e 0a 7c 0a |m being |used..|.|
|00002d90| 7c 44 65 73 63 72 69 70 | 74 69 76 65 20 74 65 78 ||Descrip|tive tex|
|00002da0| 74 20 6d 61 79 20 66 6f | 6c 6c 6f 77 20 74 68 65 |t may fo|llow the|
|00002db0| 20 70 68 6f 6e 65 20 6e | 75 6d 62 65 72 2e 20 53 | phone n|umber. S|
|00002dc0| 70 61 63 65 73 20 6d 61 | 79 20 62 65 20 69 6e 63 |paces ma|y be inc|
|00002dd0| 6c 75 64 65 64 20 69 6e | 20 74 68 69 73 0a 7c 74 |luded in| this.|t|
|00002de0| 65 78 74 2c 20 62 75 74 | 20 61 20 3c 54 41 42 3e |ext, but| a <TAB>|
|00002df0| 20 6d 75 73 74 20 74 65 | 72 6d 69 6e 61 74 65 20 | must te|rminate |
|00002e00| 74 68 69 73 20 74 65 78 | 74 2e 0a 7c 0a 7c 54 68 |this tex|t..|.|Th|
|00002e10| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 74 68 72 65 |e follow|ing thre|
|00002e20| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 6d 61 |e defini|tions ma|
|00002e30| 79 20 74 68 65 6e 20 66 | 6f 6c 6c 6f 77 20 69 6e |y then f|ollow in|
|00002e40| 20 61 6e 79 20 6f 72 64 | 65 72 3a 0a 7c 2e 54 50 | any ord|er:.|.TP|
|00002e50| 20 31 32 0a 7c 42 49 54 | 53 3d 78 0a 7c 28 78 3d | 12.|BIT|S=x.|(x=|
|00002e60| 37 7c 38 29 20 53 65 74 | 20 74 68 65 20 74 65 72 |7|8) Set| the ter|
|00002e70| 6d 69 6e 61 6c 20 6d 6f | 64 65 20 6d 61 73 6b 20 |minal mo|de mask |
|00002e80| 74 6f 20 37 2f 38 20 62 | 69 74 73 2e 0a 7c 2e 54 |to 7/8 b|its..|.T|
|00002e90| 50 0a 7c 42 50 53 3d 6e | 6e 6e 6e 0a 7c 28 6e 3d |P.|BPS=n|nnn.|(n=|
|00002ea0| 33 30 30 7c 31 32 30 30 | 7c 32 34 30 30 7c 34 38 |300|1200||2400|48|
|00002eb0| 30 30 7c 39 36 30 30 7c | 31 39 32 30 30 7c 33 38 |00|9600||19200|38|
|00002ec0| 34 30 30 29 20 53 65 74 | 20 74 68 65 20 62 69 74 |400) Set| the bit|
|00002ed0| 73 2f 73 65 63 6f 6e 64 | 20 72 61 74 65 20 74 6f |s/second| rate to|
|00002ee0| 20 74 68 65 0a 7c 73 70 | 65 63 69 66 69 65 64 20 | the.|sp|ecified |
|00002ef0| 76 61 6c 75 65 2e 0a 7c | 2e 54 50 0a 7c 53 43 52 |value..||.TP.|SCR|
|00002f00| 49 50 54 3d 66 69 6c 65 | 0a 7c 49 6d 6d 65 64 69 |IPT=file|.|Immedi|
|00002f10| 61 74 65 6c 79 20 61 66 | 74 65 72 20 73 65 6e 64 |ately af|ter send|
|00002f20| 69 6e 67 20 74 68 65 20 | 61 75 74 6f 64 69 61 6c |ing the |autodial|
|00002f30| 20 73 74 72 69 6e 67 2c | 20 65 78 65 63 75 74 65 | string,| execute|
|00002f40| 20 74 68 65 20 73 63 72 | 69 70 74 20 66 69 6c 65 | the scr|ipt file|
|00002f50| 0a 7c 73 70 65 63 69 66 | 69 65 64 2e 20 28 4e 6f |.|specif|ied. (No|
|00002f60| 74 65 20 74 68 61 74 20 | 74 68 65 20 73 70 65 63 |te that |the spec|
|00002f70| 69 66 69 65 64 20 66 69 | 6c 65 6e 61 6d 65 20 69 |ified fi|lename i|
|00002f80| 73 20 43 41 53 45 20 53 | 45 4e 53 49 54 49 56 45 |s CASE S|ENSITIVE|
|00002f90| 21 29 0a 7c 2e 50 0a 7c | 54 68 65 20 66 6f 6c 6c |!).|.P.||The foll|
|00002fa0| 6f 77 69 6e 67 20 64 65 | 66 69 6e 69 74 69 6f 6e |owing de|finition|
|00002fb0| 2c 20 69 66 20 75 73 65 | 64 2c 20 6d 75 73 74 20 |, if use|d, must |
|00002fc0| 62 65 20 74 68 65 20 4c | 41 53 54 20 66 69 65 6c |be the L|AST fiel|
|00002fd0| 64 20 6f 6e 20 74 68 65 | 20 6c 69 6e 65 2e 0a 7c |d on the| line..||
|00002fe0| 0a 7c 50 52 45 46 49 58 | 3d 78 78 78 78 78 78 78 |.|PREFIX|=xxxxxxx|
|00002ff0| 78 20 28 65 2e 67 2e 2c | 20 50 52 45 46 49 58 3d |x (e.g.,| PREFIX=|
|00003000| 41 54 73 31 31 30 3d 30 | 73 31 31 31 3d 30 29 0a |ATs110=0|s111=0).|
|00003010| 7c 0a 7c 54 68 65 20 50 | 52 45 46 49 58 3d 22 73 ||.|The P|REFIX="s|
|00003020| 74 72 69 6e 67 22 20 61 | 6c 6c 6f 77 73 20 79 6f |tring" a|llows yo|
|00003030| 75 20 73 65 6e 64 20 79 | 6f 75 72 20 6d 6f 64 65 |u send y|our mode|
|00003040| 6d 20 61 20 64 69 66 66 | 65 72 65 6e 74 20 73 65 |m a diff|erent se|
|00003050| 74 75 70 20 73 74 72 69 | 6e 67 20 66 6f 72 0a 7c |tup stri|ng for.||
|00003060| 65 61 63 68 20 73 69 74 | 75 61 74 69 6f 6e 20 28 |each sit|uation (|
|00003070| 64 65 66 61 75 6c 74 3a | 20 6e 6f 20 73 70 65 63 |default:| no spec|
|00003080| 69 61 6c 20 73 65 74 75 | 70 29 2e 20 54 68 69 73 |ial setu|p). This|
|00003090| 20 69 73 20 68 65 6c 70 | 66 75 6c 20 66 6f 72 20 | is help|ful for |
|000030a0| 4d 4e 50 20 61 6e 64 20 | 54 65 6c 65 62 69 74 0a |MNP and |Telebit.|
|000030b0| 7c 6d 6f 64 65 6d 73 20 | 77 68 69 63 68 20 72 65 ||modems |which re|
|000030c0| 71 75 69 72 65 20 73 70 | 65 63 69 61 6c 20 61 74 |quire sp|ecial at|
|000030d0| 74 65 6e 74 69 6f 6e 20 | 66 6f 72 20 63 6f 6e 74 |tention |for cont|
|000030e0| 61 63 74 69 6e 67 20 6e | 6f 6e 2d 4d 4e 50 20 6d |acting n|on-MNP m|
|000030f0| 6f 64 65 6d 73 20 61 6e | 64 20 6f 74 68 65 72 0a |odems an|d other.|
|00003100| 7c 54 65 6c 65 62 69 74 | 73 2e 0a 7c 2e 53 53 20 ||Telebit|s..|.SS |
|00003110| 5c 66 49 53 63 72 69 70 | 74 73 5c 66 52 0a 7c 54 |\fIScrip|ts\fR.|T|
|00003120| 68 65 0a 7c 2e 42 20 78 | 63 0a 7c 73 63 72 69 70 |he.|.B x|c.|scrip|
|00003130| 74 20 6c 61 6e 67 75 61 | 67 65 20 69 73 20 69 6e |t langua|ge is in|
|00003140| 74 65 6e 64 65 64 20 74 | 6f 20 62 65 20 63 6c 6f |tended t|o be clo|
|00003150| 73 65 6c 79 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |sely sim|ilar to |
|00003160| 74 68 65 20 55 6e 69 78 | 20 42 6f 75 72 6e 65 20 |the Unix| Bourne |
|00003170| 73 68 65 6c 6c 0a 7c 6c | 61 6e 67 75 61 67 65 2e |shell.|l|anguage.|
|00003180| 20 55 6e 66 6f 72 74 75 | 6e 61 74 65 6c 79 2c 20 | Unfortu|nately, |
|00003190| 69 74 20 69 73 6e 27 74 | 20 69 64 65 6e 74 69 63 |it isn't| identic|
|000031a0| 61 6c 20 74 6f 20 74 68 | 65 20 42 6f 75 72 6e 65 |al to th|e Bourne|
|000031b0| 20 73 68 65 6c 6c 2c 20 | 73 6f 20 69 74 20 68 61 | shell, |so it ha|
|000031c0| 73 0a 7c 74 68 65 20 73 | 61 6d 65 20 70 72 6f 62 |s.|the s|ame prob|
|000031d0| 6c 65 6d 20 74 68 61 74 | 20 74 68 65 0a 7c 2e 49 |lem that| the.|.I|
|000031e0| 52 20 61 77 6b 20 28 43 | 29 0a 7c 70 72 6f 67 72 |R awk (C|).|progr|
|000031f0| 61 6d 20 64 6f 65 73 20 | 66 6f 72 20 74 68 6f 73 |am does |for thos|
|00003200| 65 20 65 78 70 65 72 69 | 65 6e 63 65 64 20 69 6e |e experi|enced in|
|00003210| 20 74 68 65 20 43 20 6c | 61 6e 67 75 61 67 65 3a | the C l|anguage:|
|00003220| 20 61 6e 0a 7c 2e 49 20 | 61 77 6b 0a 7c 73 63 72 | an.|.I |awk.|scr|
|00003230| 69 70 74 20 4c 4f 4f 4b | 53 20 6c 69 6b 65 20 43 |ipt LOOK|S like C|
|00003240| 2c 20 62 75 74 20 69 74 | 20 69 73 6e 27 74 2c 20 |, but it| isn't, |
|00003250| 72 65 61 6c 6c 79 3b 20 | 61 6e 64 20 69 6e 20 74 |really; |and in t|
|00003260| 68 65 20 73 61 6d 65 20 | 77 61 79 2c 20 61 6e 0a |he same |way, an.|
|00003270| 7c 2e 42 20 78 63 0a 7c | 73 63 72 69 70 74 20 4c ||.B xc.||script L|
|00003280| 4f 4f 4b 53 20 6c 69 6b | 65 20 61 20 42 6f 75 72 |OOKS lik|e a Bour|
|00003290| 6e 65 20 73 68 65 6c 6c | 20 73 63 72 69 70 74 2c |ne shell| script,|
|000032a0| 20 62 75 74 20 69 73 6e | 27 74 2e 20 53 6f 20 74 | but isn|'t. So t|
|000032b0| 68 65 20 6f 70 65 72 61 | 74 69 6f 6e 20 6f 66 20 |he opera|tion of |
|000032c0| 74 68 65 0a 7c 42 6f 75 | 72 6e 65 20 73 68 65 6c |the.|Bou|rne shel|
|000032d0| 6c 2c 20 69 66 20 79 6f | 75 27 72 65 20 66 61 6d |l, if yo|u're fam|
|000032e0| 69 6c 69 61 72 20 77 69 | 74 68 20 69 74 2c 20 69 |iliar wi|th it, i|
|000032f0| 73 20 75 73 65 66 75 6c | 20 61 73 20 61 6e 20 61 |s useful| as an a|
|00003300| 6e 61 6c 6f 67 79 20 69 | 6e 0a 7c 75 6e 64 65 72 |nalogy i|n.|under|
|00003310| 73 74 61 6e 64 69 6e 67 | 20 74 68 65 0a 7c 2e 42 |standing| the.|.B|
|00003320| 20 78 63 0a 7c 73 63 72 | 69 70 74 20 6c 61 6e 67 | xc.|scr|ipt lang|
|00003330| 75 61 67 65 2c 20 62 75 | 74 20 6f 6e 6c 79 20 61 |uage, bu|t only a|
|00003340| 73 20 61 6e 20 61 6e 61 | 6c 6f 67 79 2e 0a 7c 0a |s an ana|logy..|.|
|00003350| 7c 41 6e 0a 7c 2e 42 20 | 78 63 0a 7c 73 63 72 69 ||An.|.B |xc.|scri|
|00003360| 70 74 20 63 6f 6e 73 69 | 73 74 73 20 6f 66 20 6c |pt consi|sts of l|
|00003370| 69 73 74 73 20 6f 66 20 | 63 6f 6d 6d 61 6e 64 73 |ists of |commands|
|00003380| 2e 20 43 6f 6d 6d 61 6e | 64 73 20 61 72 65 20 73 |. Comman|ds are s|
|00003390| 65 74 20 6f 66 66 20 66 | 72 6f 6d 20 65 61 63 68 |et off f|rom each|
|000033a0| 20 6f 74 68 65 72 0a 7c | 77 69 74 68 69 6e 20 61 | other.||within a|
|000033b0| 20 6c 69 73 74 20 62 79 | 20 65 69 74 68 65 72 20 | list by| either |
|000033c0| 61 20 6e 65 77 6c 69 6e | 65 20 28 27 5c 6e 27 29 |a newlin|e ('\n')|
|000033d0| 20 6f 72 20 61 20 73 65 | 6d 69 63 6f 6c 6f 6e 20 | or a se|micolon |
|000033e0| 28 3b 29 2c 20 61 73 20 | 69 73 20 74 68 65 20 63 |(;), as |is the c|
|000033f0| 61 73 65 0a 7c 77 69 74 | 68 20 74 68 65 20 42 6f |ase.|wit|h the Bo|
|00003400| 75 72 6e 65 20 73 68 65 | 6c 6c 2e 20 54 68 65 20 |urne she|ll. The |
|00003410| 73 65 6d 69 63 6f 6c 6f | 6e 20 61 6e 64 20 74 68 |semicolo|n and th|
|00003420| 65 20 6e 65 77 6c 69 6e | 65 20 68 61 76 65 20 69 |e newlin|e have i|
|00003430| 64 65 6e 74 69 63 61 6c | 20 65 66 66 65 63 74 20 |dentical| effect |
|00003440| 61 73 0a 7c 63 6f 6d 6d | 61 6e 64 20 73 65 70 61 |as.|comm|and sepa|
|00003450| 72 61 74 6f 72 73 2c 20 | 73 6f 20 28 61 6e 74 69 |rators, |so (anti|
|00003460| 63 69 70 61 74 69 6e 67 | 20 61 20 62 69 74 20 68 |cipating| a bit h|
|00003470| 65 72 65 29 20 79 6f 75 | 20 63 6f 75 6c 64 20 73 |ere) you| could s|
|00003480| 61 79 20 65 69 74 68 65 | 72 0a 7c 0a 7c 2e 6e 66 |ay eithe|r.|.|.nf|
|00003490| 0a 7c 20 20 20 20 69 66 | 20 63 6f 75 6e 74 65 72 |.| if| counter|
|000034a0| 20 6d 6f 72 65 74 68 61 | 6e 20 35 0a 7c 20 20 20 | moretha|n 5.| |
|000034b0| 20 74 68 65 6e 0a 7c 20 | 20 20 20 20 20 20 74 72 | then.| | tr|
|000034c0| 61 6e 73 6d 69 74 20 22 | 62 79 65 5e 4d 22 0a 7c |ansmit "|bye^M".||
|000034d0| 20 20 20 20 20 20 20 71 | 75 69 74 0a 7c 20 20 20 | q|uit.| |
|000034e0| 20 65 6e 64 69 66 0a 7c | 6f 72 0a 7c 20 20 20 20 | endif.||or.| |
|000034f0| 69 66 20 63 6f 75 6e 74 | 65 72 20 6d 6f 72 65 74 |if count|er moret|
|00003500| 68 61 6e 20 35 3b 20 74 | 68 65 6e 20 74 72 61 6e |han 5; t|hen tran|
|00003510| 73 6d 69 74 20 22 62 79 | 65 5e 4d 22 3b 20 71 75 |smit "by|e^M"; qu|
|00003520| 69 74 3b 20 65 6e 64 69 | 66 0a 7c 0a 7c 2e 66 69 |it; endi|f.|.|.fi|
|00003530| 0a 7c 61 6e 64 20 74 68 | 65 20 72 65 73 75 6c 74 |.|and th|e result|
|00003540| 20 77 69 6c 6c 20 62 65 | 20 74 68 65 20 73 61 6d | will be| the sam|
|00003550| 65 20 65 69 74 68 65 72 | 20 77 61 79 2e 20 54 68 |e either| way. Th|
|00003560| 65 20 6e 65 77 6c 69 6e | 65 20 61 6e 64 20 74 68 |e newlin|e and th|
|00003570| 65 20 73 65 6d 69 63 6f | 6c 6f 6e 0a 7c 61 72 65 |e semico|lon.|are|
|00003580| 20 74 72 65 61 74 65 64 | 20 74 68 65 20 73 61 6d | treated| the sam|
|00003590| 65 20 77 61 79 20 61 73 | 20 69 6e 20 74 68 65 20 |e way as| in the |
|000035a0| 42 6f 75 72 6e 65 20 73 | 68 65 6c 6c 2c 20 65 78 |Bourne s|hell, ex|
|000035b0| 63 65 70 74 20 74 68 61 | 74 20 61 20 6e 65 77 6c |cept tha|t a newl|
|000035c0| 69 6e 65 20 63 61 6e 6e | 6f 74 0a 7c 62 65 20 71 |ine cann|ot.|be q|
|000035d0| 75 6f 74 65 64 20 73 6f | 20 61 73 20 74 6f 20 72 |uoted so| as to r|
|000035e0| 65 6d 6f 76 65 20 69 74 | 73 20 69 6e 74 65 72 70 |emove it|s interp|
|000035f0| 72 65 74 61 74 69 6f 6e | 20 61 73 20 61 20 63 6f |retation| as a co|
|00003600| 6d 6d 61 6e 64 20 74 65 | 72 6d 69 6e 61 74 6f 72 |mmand te|rminator|
|00003610| 20 28 69 6e 0a 7c 6f 74 | 68 65 72 20 77 6f 72 64 | (in.|ot|her word|
|00003620| 73 2c 20 61 20 71 75 6f | 74 65 64 20 73 74 72 69 |s, a quo|ted stri|
|00003630| 6e 67 20 63 61 6e 6e 6f | 74 20 63 6f 6e 74 61 69 |ng canno|t contai|
|00003640| 6e 20 61 20 6e 65 77 6c | 69 6e 65 29 2e 0a 7c 0a |n a newl|ine)..|.|
|00003650| 7c 43 6f 6d 6d 61 6e 64 | 73 20 61 72 65 20 63 6f ||Command|s are co|
|00003660| 6d 70 6f 73 65 64 20 6f | 66 0a 7c 2e 49 52 20 77 |mposed o|f.|.IR w|
|00003670| 6f 72 64 20 73 0a 7c 73 | 65 70 61 72 61 74 65 64 |ord s.|s|eparated|
|00003680| 20 62 79 20 73 70 61 63 | 65 73 20 6f 72 20 74 61 | by spac|es or ta|
|00003690| 62 20 63 68 61 72 61 63 | 74 65 72 73 2c 20 61 6e |b charac|ters, an|
|000036a0| 64 20 61 0a 7c 2e 49 20 | 77 6f 72 64 0a 7c 63 61 |d a.|.I |word.|ca|
|000036b0| 6e 20 62 65 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |n be one| of the |
|000036c0| 66 6f 6c 6c 6f 77 69 6e | 67 3a 0a 7c 2e 54 50 20 |followin|g:.|.TP |
|000036d0| 33 0a 7c 2a 0a 7c 4f 6e | 65 20 6f 66 20 74 68 65 |3.|*.|On|e of the|
|000036e0| 0a 7c 2e 42 20 78 63 0a | 7c 73 63 72 69 70 74 20 |.|.B xc.||script |
|000036f0| 6c 61 6e 67 75 61 67 65 | 20 6b 65 79 77 6f 72 64 |language| keyword|
|00003700| 73 2c 20 77 68 69 63 68 | 20 61 72 65 20 6c 69 73 |s, which| are lis|
|00003710| 74 65 64 20 62 65 6c 6f | 77 2c 20 77 69 74 68 20 |ted belo|w, with |
|00003720| 61 70 70 72 6f 70 72 69 | 61 74 65 20 65 78 70 6c |appropri|ate expl|
|00003730| 61 6e 61 74 69 6f 6e 73 | 3b 0a 7c 2e 54 50 0a 7c |anations|;.|.TP.||
|00003740| 2a 0a 7c 41 20 6e 75 6d | 62 65 72 2c 20 6d 65 61 |*.|A num|ber, mea|
|00003750| 6e 69 6e 67 20 61 20 73 | 65 71 75 65 6e 63 65 20 |ning a s|equence |
|00003760| 63 6f 6e 73 69 73 74 69 | 6e 67 20 6f 6e 6c 79 20 |consisti|ng only |
|00003770| 6f 66 20 64 69 67 69 74 | 73 2c 20 77 69 74 68 0a |of digit|s, with.|
|00003780| 7c 61 6e 20 6f 70 74 69 | 6f 6e 61 6c 20 6c 65 61 ||an opti|onal lea|
|00003790| 64 69 6e 67 20 6d 69 6e | 75 73 20 73 69 67 6e 20 |ding min|us sign |
|000037a0| 74 6f 20 69 6e 64 69 63 | 61 74 65 20 61 20 6e 65 |to indic|ate a ne|
|000037b0| 67 61 74 69 76 65 20 6e | 75 6d 62 65 72 3b 0a 7c |gative n|umber;.||
|000037c0| 2e 54 50 0a 7c 2a 0a 7c | 41 20 6c 69 74 65 72 61 |.TP.|*.||A litera|
|000037d0| 6c 20 73 74 72 69 6e 67 | 20 6f 66 20 63 68 61 72 |l string| of char|
|000037e0| 61 63 74 65 72 73 20 73 | 75 72 72 6f 75 6e 64 65 |acters s|urrounde|
|000037f0| 64 20 62 79 20 64 6f 75 | 62 6c 65 2d 71 75 6f 74 |d by dou|ble-quot|
|00003800| 61 74 69 6f 6e 20 6d 61 | 72 6b 73 20 28 27 22 27 |ation ma|rks ('"'|
|00003810| 29 3b 20 73 75 63 68 0a | 7c 61 20 73 74 72 69 6e |); such.||a strin|
|00003820| 67 20 63 61 6e 20 62 65 | 20 6e 6f 20 6c 6f 6e 67 |g can be| no long|
|00003830| 65 72 20 74 68 61 6e 20 | 38 30 20 63 68 61 72 61 |er than |80 chara|
|00003840| 63 74 65 72 73 2e 20 41 | 20 64 6f 75 62 6c 65 2d |cters. A| double-|
|00003850| 71 75 6f 74 61 74 69 6f | 6e 20 6d 61 72 6b 20 63 |quotatio|n mark c|
|00003860| 61 6e 20 62 65 0a 7c 69 | 6d 62 65 64 64 65 64 20 |an be.|i|mbedded |
|00003870| 77 69 74 68 69 6e 20 74 | 68 65 20 73 74 72 69 6e |within t|he strin|
|00003880| 67 20 62 79 20 70 72 65 | 63 65 64 69 6e 67 20 69 |g by pre|ceding i|
|00003890| 74 20 77 69 74 68 20 61 | 20 62 61 63 6b 73 6c 61 |t with a| backsla|
|000038a0| 73 68 20 28 27 5c 22 27 | 29 3b 20 77 68 65 6e 20 |sh ('\"'|); when |
|000038b0| 74 68 65 0a 7c 73 74 72 | 69 6e 67 20 69 73 20 69 |the.|str|ing is i|
|000038c0| 6e 74 65 72 70 72 65 74 | 65 64 2c 20 74 68 65 20 |nterpret|ed, the |
|000038d0| 62 61 63 6b 73 6c 61 73 | 68 20 69 73 20 64 69 73 |backslas|h is dis|
|000038e0| 72 65 67 61 72 64 65 64 | 20 61 6e 64 20 74 68 65 |regarded| and the|
|000038f0| 20 64 6f 75 62 6c 65 2d | 71 75 6f 74 61 74 69 6f | double-|quotatio|
|00003900| 6e 0a 7c 6d 61 72 6b 20 | 69 73 20 74 72 65 61 74 |n.|mark |is treat|
|00003910| 65 64 20 61 73 20 70 61 | 72 74 20 6f 66 20 74 68 |ed as pa|rt of th|
|00003920| 65 20 73 74 72 69 6e 67 | 2e 20 4d 69 73 6d 61 74 |e string|. Mismat|
|00003930| 63 68 65 64 20 71 75 6f | 74 61 74 69 6f 6e 20 6d |ched quo|tation m|
|00003940| 61 72 6b 73 20 72 65 73 | 75 6c 74 20 69 6e 20 61 |arks res|ult in a|
|00003950| 0a 7c 73 79 6e 74 61 78 | 20 65 72 72 6f 72 2e 0a |.|syntax| error..|
|00003960| 7c 2e 54 50 0a 7c 2a 0a | 7c 54 68 65 20 6e 61 6d ||.TP.|*.||The nam|
|00003970| 65 20 6f 66 20 61 20 75 | 73 65 72 20 76 61 72 69 |e of a u|ser vari|
|00003980| 61 62 6c 65 2c 20 77 68 | 69 63 68 20 63 61 6e 20 |able, wh|ich can |
|00003990| 68 61 76 65 20 65 69 74 | 68 65 72 20 61 20 73 74 |have eit|her a st|
|000039a0| 72 69 6e 67 20 6f 72 20 | 61 20 6e 75 6d 65 72 69 |ring or |a numeri|
|000039b0| 63 20 76 61 6c 75 65 2e | 0a 7c 54 68 65 20 6e 61 |c value.|.|The na|
|000039c0| 6d 65 20 6f 66 20 61 20 | 75 73 65 72 20 76 61 72 |me of a |user var|
|000039d0| 69 61 62 6c 65 20 6d 75 | 73 74 20 62 65 67 69 6e |iable mu|st begin|
|000039e0| 20 77 69 74 68 20 61 6e | 20 61 6c 70 68 61 62 65 | with an| alphabe|
|000039f0| 74 69 63 20 63 68 61 72 | 61 63 74 65 72 2e 0a 7c |tic char|acter..||
|00003a00| 2e 54 50 0a 7c 2a 0a 7c | 54 68 65 20 6e 61 6d 65 |.TP.|*.||The name|
|00003a10| 20 6f 66 20 61 20 73 68 | 65 6c 6c 20 65 6e 76 69 | of a sh|ell envi|
|00003a20| 72 6f 6e 6d 65 6e 74 20 | 76 61 72 69 61 62 6c 65 |ronment |variable|
|00003a30| 2c 20 70 72 65 63 65 64 | 65 64 20 62 79 20 61 20 |, preced|ed by a |
|00003a40| 64 6f 6c 6c 61 72 20 73 | 69 67 6e 20 28 27 24 27 |dollar s|ign ('$'|
|00003a50| 29 2e 20 54 68 65 0a 7c | 2e 42 20 78 63 0a 7c 73 |). The.||.B xc.|s|
|00003a60| 63 72 69 70 74 20 6c 61 | 6e 67 75 61 67 65 20 65 |cript la|nguage e|
|00003a70| 78 61 6d 69 6e 65 73 20 | 74 68 65 20 55 6e 69 78 |xamines |the Unix|
|00003a80| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 66 6f 72 | environ|ment for|
|00003a90| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 76 | the spe|cified v|
|00003aa0| 61 72 69 61 62 6c 65 20 | 61 6e 64 2c 0a 7c 69 66 |ariable |and,.|if|
|00003ab0| 20 73 75 63 68 20 61 20 | 76 61 72 69 61 62 6c 65 | such a |variable|
|00003ac0| 20 65 78 69 73 74 73 2c | 20 73 75 62 73 74 69 74 | exists,| substit|
|00003ad0| 75 74 65 73 20 74 68 65 | 20 76 61 6c 75 65 20 6f |utes the| value o|
|00003ae0| 66 20 74 68 61 74 20 76 | 61 72 69 61 62 6c 65 2e |f that v|ariable.|
|00003af0| 20 54 68 65 20 72 65 73 | 75 6c 74 0a 7c 69 73 20 | The res|ult.|is |
|00003b00| 74 72 65 61 74 65 64 20 | 61 73 20 69 66 20 69 74 |treated |as if it|
|00003b10| 20 77 65 72 65 20 61 20 | 71 75 6f 74 65 64 20 6c | were a |quoted l|
|00003b20| 69 74 65 72 61 6c 20 73 | 74 72 69 6e 67 2c 20 61 |iteral s|tring, a|
|00003b30| 6e 64 2c 20 74 68 65 72 | 65 66 6f 72 65 2c 20 73 |nd, ther|efore, s|
|00003b40| 68 6f 75 6c 64 20 6e 6f | 74 20 62 65 0a 7c 6d 6f |hould no|t be.|mo|
|00003b50| 72 65 20 74 68 61 6e 20 | 38 30 20 63 68 61 72 61 |re than |80 chara|
|00003b60| 63 74 65 72 73 20 6c 6f | 6e 67 2c 20 6f 72 20 65 |cters lo|ng, or e|
|00003b70| 6c 73 65 20 69 74 20 77 | 69 6c 6c 20 62 65 20 74 |lse it w|ill be t|
|00003b80| 72 75 6e 63 61 74 65 64 | 20 74 6f 20 69 74 73 20 |runcated| to its |
|00003b90| 66 69 72 73 74 20 38 30 | 0a 7c 63 68 61 72 61 63 |first 80|.|charac|
|00003ba0| 74 65 72 73 2e 20 53 69 | 6d 69 6c 61 72 6c 79 2c |ters. Si|milarly,|
|00003bb0| 20 73 75 63 68 20 61 6e | 20 65 6e 76 69 72 6f 6e | such an| environ|
|00003bc0| 6d 65 6e 74 20 76 61 72 | 69 61 62 6c 65 20 73 68 |ment var|iable sh|
|00003bd0| 6f 75 6c 64 20 6e 6f 74 | 20 63 6f 6e 74 61 69 6e |ould not| contain|
|00003be0| 20 61 0a 7c 6e 65 77 6c | 69 6e 65 2e 0a 7c 2e 54 | a.|newl|ine..|.T|
|00003bf0| 50 0a 7c 2a 0a 7c 41 6e | 20 65 78 70 72 65 73 73 |P.|*.|An| express|
|00003c00| 69 6f 6e 20 73 75 72 72 | 6f 75 6e 64 65 64 20 62 |ion surr|ounded b|
|00003c10| 79 20 62 61 63 6b 2d 71 | 75 6f 74 61 74 69 6f 6e |y back-q|uotation|
|00003c20| 20 6d 61 72 6b 73 20 28 | 27 60 27 29 2e 20 54 68 | marks (|'`'). Th|
|00003c30| 69 73 20 73 6f 72 74 20 | 6f 66 20 65 78 70 72 65 |is sort |of expre|
|00003c40| 73 73 69 6f 6e 0a 7c 6f | 70 65 72 61 74 65 73 20 |ssion.|o|perates |
|00003c50| 73 69 6d 69 6c 61 72 6c | 79 20 74 6f 20 74 68 65 |similarl|y to the|
|00003c60| 20 42 6f 75 72 6e 65 20 | 73 68 65 6c 6c 27 73 20 | Bourne |shell's |
|00003c70| 63 6f 6d 6d 61 6e 64 2d | 73 75 62 73 74 69 74 75 |command-|substitu|
|00003c80| 74 69 6f 6e 20 6d 65 63 | 68 61 6e 69 73 6d 3a 20 |tion mec|hanism: |
|00003c90| 74 68 65 0a 7c 63 6f 6e | 74 65 6e 74 73 20 6f 66 |the.|con|tents of|
|00003ca0| 20 74 68 65 20 62 61 63 | 6b 2d 71 75 6f 74 65 73 | the bac|k-quotes|
|00003cb0| 20 61 72 65 20 70 61 73 | 73 65 64 20 74 6f 20 74 | are pas|sed to t|
|00003cc0| 68 65 20 42 6f 75 72 6e | 65 20 73 68 65 6c 6c 2c |he Bourn|e shell,|
|00003cd0| 20 61 6e 64 20 74 68 65 | 20 73 74 61 6e 64 61 72 | and the| standar|
|00003ce0| 64 0a 7c 6f 75 74 70 75 | 74 20 6f 66 20 74 68 65 |d.|outpu|t of the|
|00003cf0| 20 62 61 63 6b 2d 71 75 | 6f 74 65 64 20 63 6f 6d | back-qu|oted com|
|00003d00| 6d 61 6e 64 20 69 73 20 | 74 72 65 61 74 65 64 20 |mand is |treated |
|00003d10| 61 73 20 69 66 20 69 74 | 20 77 65 72 65 20 61 20 |as if it| were a |
|00003d20| 71 75 6f 74 65 64 20 6c | 69 74 65 72 61 6c 0a 7c |quoted l|iteral.||
|00003d30| 73 74 72 69 6e 67 2e 20 | 54 68 65 72 65 66 6f 72 |string. |Therefor|
|00003d40| 65 2c 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 27 73 |e, the c|ommand's|
|00003d50| 20 6f 75 74 70 75 74 20 | 73 68 6f 75 6c 64 20 6e | output |should n|
|00003d60| 6f 74 20 62 65 20 6d 6f | 72 65 20 74 68 61 6e 20 |ot be mo|re than |
|00003d70| 38 30 20 63 68 61 72 61 | 63 74 65 72 73 0a 7c 6c |80 chara|cters.|l|
|00003d80| 6f 6e 67 2c 20 6e 6f 72 | 20 63 6f 6e 74 61 69 6e |ong, nor| contain|
|00003d90| 20 61 20 6e 65 77 6c 69 | 6e 65 2e 20 41 6c 73 6f | a newli|ne. Also|
|00003da0| 2c 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |, the co|ntents o|
|00003db0| 66 20 74 68 65 20 62 61 | 63 6b 2d 71 75 6f 74 65 |f the ba|ck-quote|
|00003dc0| 73 20 63 61 6e 6e 6f 74 | 20 62 65 0a 7c 6c 6f 6e |s cannot| be.|lon|
|00003dd0| 67 65 72 20 74 68 61 6e | 20 38 30 20 63 68 61 72 |ger than| 80 char|
|00003de0| 61 63 74 65 72 73 2c 20 | 6e 6f 72 20 63 6f 6e 74 |acters, |nor cont|
|00003df0| 61 69 6e 20 61 20 6e 65 | 77 6c 69 6e 65 2e 0a 7c |ain a ne|wline..||
|00003e00| 2e 54 50 0a 7c 2a 0a 7c | 41 6e 20 65 78 70 72 65 |.TP.|*.||An expre|
|00003e10| 73 73 69 6f 6e 20 69 6e | 74 72 6f 64 75 63 65 64 |ssion in|troduced|
|00003e20| 20 62 79 20 61 20 70 6f | 75 6e 64 2d 73 69 67 6e | by a po|und-sign|
|00003e30| 20 28 6f 72 20 6e 75 6d | 62 65 72 2d 73 69 67 6e | (or num|ber-sign|
|00003e40| 3a 20 27 23 27 29 2c 20 | 77 68 69 63 68 20 69 73 |: '#'), |which is|
|00003e50| 0a 7c 74 72 65 61 74 65 | 64 20 61 73 20 61 20 63 |.|treate|d as a c|
|00003e60| 6f 6d 6d 65 6e 74 2e 20 | 41 6c 6c 20 63 68 61 72 |omment. |All char|
|00003e70| 61 63 74 65 72 73 20 66 | 72 6f 6d 20 74 68 65 20 |acters f|rom the |
|00003e80| 27 23 27 20 75 6e 74 69 | 6c 20 74 68 65 20 65 6e |'#' unti|l the en|
|00003e90| 64 20 6f 66 20 74 68 65 | 0a 7c 70 68 79 73 69 63 |d of the|.|physic|
|00003ea0| 61 6c 20 6c 69 6e 65 20 | 61 72 65 20 69 67 6e 6f |al line |are igno|
|00003eb0| 72 65 64 2e 20 54 68 69 | 73 20 63 6f 6d 6d 65 6e |red. Thi|s commen|
|00003ec0| 74 20 6d 65 63 68 61 6e | 69 73 6d 20 69 73 20 74 |t mechan|ism is t|
|00003ed0| 68 65 20 73 61 6d 65 20 | 61 73 20 69 6e 20 74 68 |he same |as in th|
|00003ee0| 65 0a 7c 42 6f 75 72 6e | 65 20 73 68 65 6c 6c 2e |e.|Bourn|e shell.|
|00003ef0| 0a 7c 2e 50 0a 7c 51 75 | 6f 74 65 64 20 6c 69 74 |.|.P.|Qu|oted lit|
|00003f00| 65 72 61 6c 20 73 74 72 | 69 6e 67 73 20 28 61 6e |eral str|ings (an|
|00003f10| 64 20 74 68 65 20 74 77 | 6f 20 6f 74 68 65 72 20 |d the tw|o other |
|00003f20| 6d 65 63 68 61 6e 69 73 | 6d 73 20 74 68 61 74 20 |mechanis|ms that |
|00003f30| 61 63 74 20 6c 69 6b 65 | 20 71 75 6f 74 65 64 0a |act like| quoted.|
|00003f40| 7c 6c 69 74 65 72 61 6c | 20 73 74 72 69 6e 67 73 ||literal| strings|
|00003f50| 2c 20 73 68 65 6c 6c 20 | 65 6e 76 69 72 6f 6e 6d |, shell |environm|
|00003f60| 65 6e 74 20 76 61 72 69 | 61 62 6c 65 73 20 61 6e |ent vari|ables an|
|00003f70| 64 20 62 61 63 6b 2d 71 | 75 6f 74 65 64 20 73 68 |d back-q|uoted sh|
|00003f80| 65 6c 6c 20 63 6f 6d 6d | 61 6e 64 73 29 0a 7c 6d |ell comm|ands).|m|
|00003f90| 61 79 20 62 65 20 75 70 | 20 74 6f 20 38 30 20 63 |ay be up| to 80 c|
|00003fa0| 68 61 72 61 63 74 65 72 | 73 20 6c 6f 6e 67 2e 20 |haracter|s long. |
|00003fb0| 41 6c 6c 20 6f 74 68 65 | 72 20 77 6f 72 64 73 20 |All othe|r words |
|00003fc0| 6d 75 73 74 20 62 65 20 | 6e 6f 20 6c 6f 6e 67 65 |must be |no longe|
|00003fd0| 72 20 74 68 61 6e 20 38 | 0a 7c 63 68 61 72 61 63 |r than 8|.|charac|
|00003fe0| 74 65 72 73 2c 20 61 6e | 64 20 61 72 65 20 74 72 |ters, an|d are tr|
|00003ff0| 65 61 74 65 64 20 63 61 | 73 65 2d 69 6e 64 65 70 |eated ca|se-indep|
|00004000| 65 6e 64 65 6e 74 6c 79 | 20 28 77 68 69 63 68 20 |endently| (which |
|00004010| 69 73 20 74 6f 20 73 61 | 79 2c 20 75 70 70 65 72 |is to sa|y, upper|
|00004020| 63 61 73 65 0a 7c 69 73 | 20 74 68 65 20 73 61 6d |case.|is| the sam|
|00004030| 65 20 61 73 20 6c 6f 77 | 65 72 63 61 73 65 29 3b |e as low|ercase);|
|00004040| 20 6e 6f 74 65 2c 20 74 | 68 6f 75 67 68 2c 20 74 | note, t|hough, t|
|00004050| 68 61 74 20 74 68 65 20 | 6e 61 6d 65 73 20 6f 66 |hat the |names of|
|00004060| 20 73 68 65 6c 6c 20 65 | 6e 76 69 72 6f 6e 6d 65 | shell e|nvironme|
|00004070| 6e 74 0a 7c 76 61 72 69 | 61 62 6c 65 73 20 61 72 |nt.|vari|ables ar|
|00004080| 65 20 63 61 73 65 2d 64 | 65 70 65 6e 64 65 6e 74 |e case-d|ependent|
|00004090| 20 28 75 70 70 65 72 63 | 61 73 65 20 6d 75 73 74 | (upperc|ase must|
|000040a0| 20 6d 61 74 63 68 20 75 | 70 70 65 72 63 61 73 65 | match u|ppercase|
|000040b0| 20 61 6e 64 20 6c 6f 77 | 65 72 63 61 73 65 0a 7c | and low|ercase.||
|000040c0| 6d 75 73 74 20 6d 61 74 | 63 68 20 6c 6f 77 65 72 |must mat|ch lower|
|000040d0| 63 61 73 65 29 2c 20 62 | 65 63 61 75 73 65 20 74 |case), b|ecause t|
|000040e0| 68 65 79 20 61 72 65 20 | 63 61 73 65 2d 64 65 70 |hey are |case-dep|
|000040f0| 65 6e 64 65 6e 74 20 69 | 6e 20 74 68 65 20 73 68 |endent i|n the sh|
|00004100| 65 6c 6c 2e 0a 7c 0a 7c | 41 6e 79 20 77 6f 72 64 |ell..|.||Any word|
|00004110| 20 6e 6f 74 20 72 65 63 | 6f 67 6e 69 7a 61 62 6c | not rec|ognizabl|
|00004120| 65 20 77 69 74 68 69 6e | 20 74 68 65 20 66 6f 72 |e within| the for|
|00004130| 65 67 6f 69 6e 67 20 63 | 61 74 65 67 6f 72 69 65 |egoing c|ategorie|
|00004140| 73 20 69 73 20 74 72 65 | 61 74 65 64 20 61 73 20 |s is tre|ated as |
|00004150| 74 68 65 0a 7c 6e 61 6d | 65 20 6f 66 20 61 20 6e |the.|nam|e of a n|
|00004160| 65 77 20 75 73 65 72 20 | 76 61 72 69 61 62 6c 65 |ew user |variable|
|00004170| 2e 20 53 75 63 68 20 61 | 20 77 6f 72 64 2c 20 69 |. Such a| word, i|
|00004180| 66 20 6c 6f 6e 67 65 72 | 20 74 68 61 6e 20 38 20 |f longer| than 8 |
|00004190| 63 68 61 72 61 63 74 65 | 72 73 2c 20 69 73 0a 7c |characte|rs, is.||
|000041a0| 63 6f 6e 73 69 64 65 72 | 65 64 20 74 6f 20 62 65 |consider|ed to be|
|000041b0| 20 61 20 73 79 6e 74 61 | 78 20 65 72 72 6f 72 2e | a synta|x error.|
|000041c0| 0a 7c 0a 7c 55 73 65 72 | 20 76 61 72 69 61 62 6c |.|.|User| variabl|
|000041d0| 65 73 20 61 72 65 20 63 | 72 65 61 74 65 64 20 77 |es are c|reated w|
|000041e0| 69 74 68 20 74 68 65 20 | 27 61 73 73 69 67 6e 27 |ith the |'assign'|
|000041f0| 20 73 63 72 69 70 74 20 | 6b 65 79 77 6f 72 64 2c | script |keyword,|
|00004200| 20 61 6e 64 20 6d 61 79 | 20 68 61 76 65 0a 7c 65 | and may| have.|e|
|00004210| 69 74 68 65 72 20 6e 75 | 6d 65 72 69 63 20 6f 72 |ither nu|meric or|
|00004220| 20 73 74 72 69 6e 67 20 | 76 61 6c 75 65 73 2e 20 | string |values. |
|00004230| 54 68 65 20 74 79 70 65 | 20 6f 66 20 61 20 75 73 |The type| of a us|
|00004240| 65 72 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 64 |er varia|ble is d|
|00004250| 65 74 65 72 6d 69 6e 65 | 64 0a 7c 62 79 20 68 6f |etermine|d.|by ho|
|00004260| 77 20 69 74 27 73 20 63 | 72 65 61 74 65 64 3b 20 |w it's c|reated; |
|00004270| 69 66 20 69 74 27 73 20 | 61 73 73 69 67 6e 65 64 |if it's |assigned|
|00004280| 20 74 6f 20 61 20 73 74 | 72 69 6e 67 2c 20 69 74 | to a st|ring, it|
|00004290| 27 73 20 61 20 73 74 72 | 69 6e 67 20 76 61 72 69 |'s a str|ing vari|
|000042a0| 61 62 6c 65 2c 0a 7c 61 | 6e 64 20 69 66 20 69 74 |able,.|a|nd if it|
|000042b0| 27 73 20 61 73 73 69 67 | 6e 65 64 20 74 6f 20 61 |'s assig|ned to a|
|000042c0| 20 6e 75 6d 62 65 72 2c | 20 69 74 27 73 20 61 20 | number,| it's a |
|000042d0| 6e 75 6d 65 72 69 63 20 | 76 61 72 69 61 62 6c 65 |numeric |variable|
|000042e0| 2e 20 54 68 65 20 76 61 | 6c 75 65 20 6f 66 20 61 |. The va|lue of a|
|000042f0| 6e 79 0a 7c 75 73 65 72 | 20 76 61 72 69 61 62 6c |ny.|user| variabl|
|00004300| 65 20 63 61 6e 20 62 65 | 20 63 68 61 6e 67 65 64 |e can be| changed|
|00004310| 20 77 69 74 68 20 61 6e | 6f 74 68 65 72 20 27 61 | with an|other 'a|
|00004320| 73 73 69 67 6e 27 20 63 | 6f 6d 6d 61 6e 64 2c 20 |ssign' c|ommand, |
|00004330| 61 6e 64 20 6e 75 6d 65 | 72 69 63 0a 7c 76 61 72 |and nume|ric.|var|
|00004340| 69 61 62 6c 65 73 20 63 | 61 6e 20 62 65 20 63 68 |iables c|an be ch|
|00004350| 61 6e 67 65 64 20 74 6f | 20 73 74 72 69 6e 67 20 |anged to| string |
|00004360| 76 61 72 69 61 62 6c 65 | 73 20 61 6e 64 20 76 69 |variable|s and vi|
|00004370| 63 65 2d 76 65 72 73 61 | 2e 20 53 68 65 6c 6c 0a |ce-versa|. Shell.|
|00004380| 7c 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 76 61 72 ||environ|ment var|
|00004390| 69 61 62 6c 65 73 20 63 | 61 6e 6e 6f 74 20 62 65 |iables c|annot be|
|000043a0| 20 63 68 61 6e 67 65 64 | 20 77 69 74 68 69 6e 20 | changed| within |
|000043b0| 61 6e 0a 7c 2e 42 20 78 | 63 0a 7c 73 63 72 69 70 |an.|.B x|c.|scrip|
|000043c0| 74 2c 20 62 75 74 20 74 | 68 65 20 76 61 6c 75 65 |t, but t|he value|
|000043d0| 20 6f 66 20 61 20 73 68 | 65 6c 6c 20 65 6e 76 69 | of a sh|ell envi|
|000043e0| 72 6f 6e 6d 65 6e 74 20 | 76 61 72 69 61 62 6c 65 |ronment |variable|
|000043f0| 20 63 61 6e 20 62 65 20 | 61 73 73 69 67 6e 65 64 | can be |assigned|
|00004400| 20 74 6f 20 61 20 75 73 | 65 72 0a 7c 76 61 72 69 | to a us|er.|vari|
|00004410| 61 62 6c 65 2c 20 61 6e | 64 20 74 68 65 20 76 61 |able, an|d the va|
|00004420| 6c 75 65 20 6f 66 20 74 | 68 65 20 75 73 65 72 20 |lue of t|he user |
|00004430| 76 61 72 69 61 62 6c 65 | 20 63 61 6e 20 74 68 65 |variable| can the|
|00004440| 72 65 61 66 74 65 72 20 | 62 65 20 63 68 61 6e 67 |reafter |be chang|
|00004450| 65 64 2e 0a 7c 0a 7c 53 | 63 72 69 70 74 73 20 61 |ed..|.|S|cripts a|
|00004460| 72 65 20 63 6f 6e 74 61 | 69 6e 65 64 20 69 6e 20 |re conta|ined in |
|00004470| 41 53 43 49 49 20 74 65 | 78 74 20 64 69 73 6b 20 |ASCII te|xt disk |
|00004480| 66 69 6c 65 73 2c 20 6f | 6e 65 20 73 63 72 69 70 |files, o|ne scrip|
|00004490| 74 20 74 6f 20 61 20 66 | 69 6c 65 2e 20 41 0a 7c |t to a f|ile. A.||
|000044a0| 73 63 72 69 70 74 20 63 | 61 6e 20 69 6e 76 6f 6b |script c|an invok|
|000044b0| 65 20 61 6e 6f 74 68 65 | 72 20 73 63 72 69 70 74 |e anothe|r script|
|000044c0| 20 61 73 20 61 20 73 75 | 62 72 6f 75 74 69 6e 65 | as a su|broutine|
|000044d0| 20 77 69 74 68 20 74 68 | 65 20 27 63 61 6c 6c 27 | with th|e 'call'|
|000044e0| 20 6b 65 79 77 6f 72 64 | 3b 20 75 70 0a 7c 74 6f | keyword|; up.|to|
|000044f0| 20 35 20 73 63 72 69 70 | 74 73 20 63 61 6e 20 62 | 5 scrip|ts can b|
|00004500| 65 20 6e 65 73 74 65 64 | 20 69 6e 20 74 68 69 73 |e nested| in this|
|00004510| 20 77 61 79 20 61 74 20 | 61 6e 79 20 73 69 6e 67 | way at |any sing|
|00004520| 6c 65 20 74 69 6d 65 2e | 0a 7c 0a 7c 57 69 74 68 |le time.|.|.|With|
|00004530| 20 61 6c 6c 20 74 68 69 | 73 20 73 61 69 64 2c 20 | all thi|s said, |
|00004540| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6c 69 |the foll|owing li|
|00004550| 73 74 20 6f 66 0a 7c 2e | 42 20 78 63 0a 7c 73 63 |st of.|.|B xc.|sc|
|00004560| 72 69 70 74 20 6c 61 6e | 67 75 61 67 65 20 63 6f |ript lan|guage co|
|00004570| 6d 6d 61 6e 64 73 20 73 | 68 6f 75 6c 64 20 62 65 |mmands s|hould be|
|00004580| 20 63 6f 6d 70 72 65 68 | 65 6e 73 69 62 6c 65 2e | compreh|ensible.|
|00004590| 20 54 68 65 20 66 6f 72 | 6d 61 74 20 22 3c 73 6f | The for|mat "<so|
|000045a0| 6d 65 74 68 69 6e 67 3e | 22 0a 7c 6d 65 61 6e 73 |mething>|".|means|
|000045b0| 20 74 68 61 74 20 61 20 | 74 6f 6b 65 6e 2c 20 6f | that a |token, o|
|000045c0| 72 20 77 6f 72 64 2d 74 | 79 70 65 2c 20 6f 66 20 |r word-t|ype, of |
|000045d0| 74 68 65 20 22 73 6f 6d | 65 74 68 69 6e 67 22 20 |the "som|ething" |
|000045e0| 74 79 70 65 20 69 73 20 | 6d 65 61 6e 74 20 72 61 |type is |meant ra|
|000045f0| 74 68 65 72 20 74 68 61 | 6e 0a 7c 74 68 65 20 6c |ther tha|n.|the l|
|00004600| 69 74 65 72 61 6c 20 73 | 65 71 75 65 6e 63 65 20 |iteral s|equence |
|00004610| 27 73 6f 6d 65 74 68 69 | 6e 67 27 2e 0a 7c 2e 53 |'somethi|ng'..|.S|
|00004620| 53 5c 66 49 53 63 72 69 | 70 74 20 4c 61 6e 67 75 |S\fIScri|pt Langu|
|00004630| 61 67 65 20 43 6f 6d 6d | 61 6e 64 73 5c 66 52 0a |age Comm|ands\fR.|
|00004640| 7c 4e 6f 74 65 20 74 68 | 61 74 20 61 6c 6c 20 74 ||Note th|at all t|
|00004650| 68 65 20 63 6f 6d 6d 61 | 6e 64 73 20 61 72 65 20 |he comma|nds are |
|00004660| 63 61 73 65 2d 69 6e 73 | 65 6e 73 69 74 69 76 65 |case-ins|ensitive|
|00004670| 21 0a 7c 2e 54 50 20 34 | 0a 7c 2e 49 20 61 66 66 |!.|.TP 4|.|.I aff|
|00004680| 69 72 6d 0a 7c 53 79 6e | 74 61 78 3a 20 61 66 66 |irm.|Syn|tax: aff|
|00004690| 69 72 6d 0a 7c 0a 7c 52 | 65 61 64 73 20 61 20 73 |irm.|.|R|eads a s|
|000046a0| 74 72 69 6e 67 20 66 72 | 6f 6d 20 74 68 65 20 74 |tring fr|om the t|
|000046b0| 65 72 6d 69 6e 61 6c 2c | 20 61 6e 64 20 72 65 74 |erminal,| and ret|
|000046c0| 75 72 6e 73 20 54 52 55 | 45 20 69 66 20 74 68 65 |urns TRU|E if the|
|000046d0| 20 73 74 72 69 6e 67 20 | 62 65 67 69 6e 73 20 77 | string |begins w|
|000046e0| 69 74 68 0a 7c 5c 27 79 | 27 20 6f 72 20 27 59 27 |ith.|\'y|' or 'Y'|
|000046f0| 3b 20 6f 74 68 65 72 77 | 69 73 65 2c 20 72 65 74 |; otherw|ise, ret|
|00004700| 75 72 6e 73 20 46 41 4c | 53 45 2e 20 20 55 73 65 |urns FAL|SE. Use|
|00004710| 64 20 69 6e 20 65 76 61 | 6c 75 61 74 69 6e 67 20 |d in eva|luating |
|00004720| 63 6f 6e 64 69 74 69 6f | 6e 61 6c 0a 7c 65 78 70 |conditio|nal.|exp|
|00004730| 72 65 73 73 69 6f 6e 73 | 2e 20 54 68 65 20 73 74 |ressions|. The st|
|00004740| 72 69 6e 67 20 6d 75 73 | 74 20 62 65 20 74 65 72 |ring mus|t be ter|
|00004750| 6d 69 6e 61 74 65 64 20 | 62 79 20 61 20 6e 65 77 |minated |by a new|
|00004760| 6c 69 6e 65 20 6f 72 20 | 63 61 72 72 69 61 67 65 |line or |carriage|
|00004770| 2d 72 65 74 75 72 6e 2e | 0a 7c 0a 7c 45 78 61 6d |-return.|.|.|Exam|
|00004780| 70 6c 65 3a 0a 7c 0a 7c | 20 20 20 20 65 63 68 6f |ple:.|.|| echo|
|00004790| 20 2d 6e 20 22 43 6f 6e | 74 69 6e 75 65 20 28 79 | -n "Con|tinue (y|
|000047a0| 2f 6e 29 3f 20 22 0a 7c | 20 20 20 20 69 66 20 61 |/n)? ".|| if a|
|000047b0| 66 66 69 72 6d 0a 7c 20 | 20 20 20 74 68 65 6e 0a |ffirm.| | then.|
|000047c0| 7c 20 20 20 20 20 20 20 | 20 63 6f 6e 74 69 6e 75 || | continu|
|000047d0| 65 0a 7c 20 20 20 20 65 | 6c 73 65 0a 7c 20 20 20 |e.| e|lse.| |
|000047e0| 20 20 20 20 20 62 72 65 | 61 6b 0a 7c 20 20 20 20 | bre|ak.| |
|000047f0| 65 6e 64 69 66 0a 7c 2e | 54 50 0a 7c 2e 49 20 61 |endif.|.|TP.|.I a|
|00004800| 73 73 69 67 6e 0a 7c 53 | 79 6e 74 61 78 3a 20 61 |ssign.|S|yntax: a|
|00004810| 73 73 69 67 6e 20 3c 76 | 61 72 6e 61 6d 65 3e 20 |ssign <v|arname> |
|00004820| 65 71 20 3c 6e 75 6d 62 | 65 72 3e 0a 7c 20 20 20 |eq <numb|er>.| |
|00004830| 20 20 20 20 20 61 73 73 | 69 67 6e 20 3c 76 61 72 | ass|ign <var|
|00004840| 6e 61 6d 65 3e 20 65 71 | 20 22 73 74 72 69 6e 67 |name> eq| "string|
|00004850| 22 0a 7c 20 20 20 20 20 | 20 20 20 61 73 73 69 67 |".| | assig|
|00004860| 6e 20 3c 76 61 72 6e 61 | 6d 65 31 3e 20 65 71 20 |n <varna|me1> eq |
|00004870| 3c 76 61 72 6e 61 6d 65 | 32 3e 0a 7c 20 20 20 20 |<varname|2>.| |
|00004880| 20 20 20 20 61 73 73 69 | 67 6e 20 3c 76 61 72 6e | assi|gn <varn|
|00004890| 61 6d 65 3e 20 65 71 20 | 3c 73 63 72 69 70 74 2d |ame> eq |<script-|
|000048a0| 63 6f 6d 6d 61 6e 64 3e | 0a 7c 0a 7c 41 73 73 69 |command>|.|.|Assi|
|000048b0| 67 6e 73 20 74 6f 20 75 | 73 65 72 20 76 61 72 69 |gns to u|ser vari|
|000048c0| 61 62 6c 65 20 3c 76 61 | 72 6e 61 6d 65 3e 20 74 |able <va|rname> t|
|000048d0| 68 65 20 76 61 6c 75 65 | 20 66 6f 6c 6c 6f 77 69 |he value| followi|
|000048e0| 6e 67 20 22 65 71 22 3b | 20 69 66 20 74 68 61 74 |ng "eq";| if that|
|000048f0| 20 76 61 6c 75 65 20 69 | 73 20 61 0a 7c 6e 75 6d | value i|s a.|num|
|00004900| 62 65 72 2c 20 74 68 65 | 6e 20 3c 76 61 72 6e 61 |ber, the|n <varna|
|00004910| 6d 65 3e 20 62 65 63 6f | 6d 65 73 20 61 20 6e 75 |me> beco|mes a nu|
|00004920| 6d 65 72 69 63 20 75 73 | 65 72 20 76 61 72 69 61 |meric us|er varia|
|00004930| 62 6c 65 3b 20 69 66 20 | 74 68 61 74 20 76 61 6c |ble; if |that val|
|00004940| 75 65 20 69 73 20 61 0a | 7c 73 74 72 69 6e 67 2c |ue is a.||string,|
|00004950| 20 74 68 65 6e 20 3c 76 | 61 72 6e 61 6d 65 3e 20 | then <v|arname> |
|00004960| 62 65 63 6f 6d 65 73 20 | 61 20 73 74 72 69 6e 67 |becomes |a string|
|00004970| 20 75 73 65 72 20 76 61 | 72 69 61 62 6c 65 2e 20 | user va|riable. |
|00004980| 49 66 20 3c 76 61 72 6e | 61 6d 65 3e 20 64 6f 65 |If <varn|ame> doe|
|00004990| 73 20 6e 6f 74 0a 7c 61 | 6c 72 65 61 64 79 20 65 |s not.|a|lready e|
|000049a0| 78 69 73 74 20 61 73 20 | 61 20 75 73 65 72 20 76 |xist as |a user v|
|000049b0| 61 72 69 61 62 6c 65 2c | 20 69 74 20 69 73 20 63 |ariable,| it is c|
|000049c0| 72 65 61 74 65 64 2e 20 | 56 61 72 69 61 62 6c 65 |reated. |Variable|
|000049d0| 20 73 70 61 63 65 20 69 | 73 20 61 6c 6c 6f 63 61 | space i|s alloca|
|000049e0| 74 65 64 0a 7c 64 79 6e | 61 6d 69 63 61 6c 6c 79 |ted.|dyn|amically|
|000049f0| 2c 20 62 75 74 20 72 75 | 6e 6e 69 6e 67 20 6f 75 |, but ru|nning ou|
|00004a00| 74 20 6f 66 20 6d 65 6d | 6f 72 79 20 73 70 61 63 |t of mem|ory spac|
|00004a10| 65 20 66 6f 72 20 76 61 | 72 69 61 62 6c 65 73 20 |e for va|riables |
|00004a20| 69 73 20 75 6e 6c 69 6b | 65 6c 79 2e 20 41 6c 6c |is unlik|ely. All|
|00004a30| 0a 7c 76 61 72 69 61 62 | 6c 65 73 20 61 72 65 20 |.|variab|les are |
|00004a40| 67 6c 6f 62 61 6c 20 61 | 63 72 6f 73 73 20 73 63 |global a|cross sc|
|00004a50| 72 69 70 74 73 20 74 68 | 61 74 20 72 75 6e 20 61 |ripts th|at run a|
|00004a60| 74 20 74 68 65 20 73 61 | 6d 65 20 74 69 6d 65 20 |t the sa|me time |
|00004a70| 76 69 61 20 74 68 65 20 | 27 63 61 6c 6c 27 0a 7c |via the |'call'.||
|00004a80| 6b 65 79 77 6f 72 64 2c | 20 61 6e 64 20 61 6c 6c |keyword,| and all|
|00004a90| 20 76 61 72 69 61 62 6c | 65 73 20 76 61 6e 69 73 | variabl|es vanis|
|00004aa0| 68 20 77 68 65 6e 20 61 | 20 73 63 72 69 70 74 2c |h when a| script,|
|00004ab0| 20 63 61 6c 6c 65 64 20 | 64 69 72 65 63 74 6c 79 | called |directly|
|00004ac0| 20 66 72 6f 6d 0a 7c 2e | 42 20 78 63 0a 7c 61 73 | from.|.|B xc.|as|
|00004ad0| 20 6f 70 70 6f 73 65 64 | 20 74 6f 20 63 61 6c 6c | opposed| to call|
|00004ae0| 65 64 20 66 72 6f 6d 20 | 61 6e 6f 74 68 65 72 20 |ed from |another |
|00004af0| 73 63 72 69 70 74 2c 20 | 65 78 69 74 73 2e 20 49 |script, |exits. I|
|00004b00| 6e 20 6f 74 68 65 72 20 | 77 6f 72 64 73 2c 20 76 |n other |words, v|
|00004b10| 61 72 69 61 62 6c 65 0a | 7c 76 61 6c 75 65 73 20 |ariable.||values |
|00004b20| 61 72 65 20 6e 6f 74 20 | 73 74 61 74 69 63 20 65 |are not |static e|
|00004b30| 78 63 65 70 74 20 64 75 | 72 69 6e 67 20 27 63 61 |xcept du|ring 'ca|
|00004b40| 6c 6c 27 20 65 78 65 63 | 75 74 69 6f 6e 2e 20 56 |ll' exec|ution. V|
|00004b50| 61 72 69 61 62 6c 65 20 | 6e 61 6d 65 73 20 63 61 |ariable |names ca|
|00004b60| 6e 6e 6f 74 20 62 65 0a | 7c 6c 6f 6e 67 65 72 20 |nnot be.||longer |
|00004b70| 74 68 61 6e 20 38 20 63 | 68 61 72 61 63 74 65 72 |than 8 c|haracter|
|00004b80| 73 2e 20 53 75 63 63 65 | 73 73 69 76 65 20 27 61 |s. Succe|ssive 'a|
|00004b90| 73 73 69 67 6e 73 27 20 | 61 72 65 20 70 65 72 6d |ssigns' |are perm|
|00004ba0| 69 73 73 69 62 6c 65 2c | 20 61 6e 64 20 74 68 65 |issible,| and the|
|00004bb0| 20 74 79 70 65 20 6f 66 | 0a 7c 74 68 65 20 76 61 | type of|.|the va|
|00004bc0| 72 69 61 62 6c 65 20 63 | 68 61 6e 67 65 73 20 61 |riable c|hanges a|
|00004bd0| 63 63 6f 72 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |ccording| to the |
|00004be0| 74 79 70 65 20 6f 66 20 | 74 68 65 20 76 61 6c 75 |type of |the valu|
|00004bf0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 22 65 71 22 |e follow|ing "eq"|
|00004c00| 2e 20 41 20 75 73 65 72 | 0a 7c 76 61 72 69 61 62 |. A user|.|variab|
|00004c10| 6c 65 20 69 73 20 64 65 | 73 74 72 6f 79 65 64 20 |le is de|stroyed |
|00004c20| 77 69 74 68 20 74 68 65 | 20 27 75 6e 61 73 73 69 |with the| 'unassi|
|00004c30| 67 6e 27 20 6b 65 79 77 | 6f 72 64 2e 0a 7c 0a 7c |gn' keyw|ord..|.||
|00004c40| 49 66 20 61 20 76 61 72 | 69 61 62 6c 65 20 69 73 |If a var|iable is|
|00004c50| 20 61 73 73 69 67 6e 65 | 64 20 74 68 65 20 76 61 | assigne|d the va|
|00004c60| 6c 75 65 20 6f 66 20 61 | 20 73 63 72 69 70 74 20 |lue of a| script |
|00004c70| 63 6f 6d 6d 61 6e 64 2c | 20 74 68 65 6e 20 69 74 |command,| then it|
|00004c80| 20 62 65 63 6f 6d 65 73 | 20 61 0a 7c 6e 75 6d 65 | becomes| a.|nume|
|00004c90| 72 69 63 20 76 61 72 69 | 61 62 6c 65 20 77 69 74 |ric vari|able wit|
|00004ca0| 68 20 76 61 6c 75 65 20 | 54 52 55 45 20 6f 72 20 |h value |TRUE or |
|00004cb0| 46 41 4c 53 45 2c 20 64 | 65 70 65 6e 64 69 6e 67 |FALSE, d|epending|
|00004cc0| 20 6f 6e 20 74 68 65 20 | 73 74 61 74 75 73 20 72 | on the |status r|
|00004cd0| 65 74 75 72 6e 65 64 20 | 62 79 0a 7c 74 68 65 20 |eturned |by.|the |
|00004ce0| 73 63 72 69 70 74 20 63 | 6f 6d 6d 61 6e 64 2e 20 |script c|ommand. |
|00004cf0| 49 66 20 61 20 76 61 72 | 69 61 62 6c 65 20 69 73 |If a var|iable is|
|00004d00| 20 61 73 73 69 67 6e 65 | 64 20 74 68 65 20 76 61 | assigne|d the va|
|00004d10| 6c 75 65 20 6f 66 20 61 | 20 62 61 63 6b 2d 71 75 |lue of a| back-qu|
|00004d20| 6f 74 65 64 0a 7c 63 6f | 6d 6d 61 6e 64 2c 20 69 |oted.|co|mmand, i|
|00004d30| 74 20 62 65 63 6f 6d 65 | 73 20 61 20 73 74 72 69 |t become|s a stri|
|00004d40| 6e 67 20 76 61 72 69 61 | 62 6c 65 20 77 69 74 68 |ng varia|ble with|
|00004d50| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00004d60| 65 20 66 69 72 73 74 20 | 38 30 20 63 68 61 72 61 |e first |80 chara|
|00004d70| 63 74 65 72 73 0a 7c 6f | 66 20 74 68 65 20 62 61 |cters.|o|f the ba|
|00004d80| 63 6b 2d 71 75 6f 74 65 | 64 20 63 6f 6d 6d 61 6e |ck-quote|d comman|
|00004d90| 64 2e 20 49 66 20 61 20 | 76 61 72 69 61 62 6c 65 |d. If a |variable|
|00004da0| 20 69 73 20 61 73 73 69 | 67 6e 65 64 20 65 71 75 | is assi|gned equ|
|00004db0| 61 6c 20 74 6f 20 61 6e | 20 65 6e 76 69 72 6f 6e |al to an| environ|
|00004dc0| 6d 65 6e 74 0a 7c 76 61 | 72 69 61 62 6c 65 2c 20 |ment.|va|riable, |
|00004dd0| 69 74 20 62 65 63 6f 6d | 65 73 20 61 20 73 74 72 |it becom|es a str|
|00004de0| 69 6e 67 20 76 61 72 69 | 61 62 6c 65 20 77 69 74 |ing vari|able wit|
|00004df0| 68 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |h the va|lue of t|
|00004e00| 68 65 20 66 69 72 73 74 | 20 38 30 0a 7c 63 68 61 |he first| 80.|cha|
|00004e10| 72 61 63 74 65 72 73 20 | 6f 66 20 74 68 65 20 76 |racters |of the v|
|00004e20| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 65 6e 76 69 |alue of |the envi|
|00004e30| 72 6f 6e 6d 65 6e 74 20 | 76 61 72 69 61 62 6c 65 |ronment |variable|
|00004e40| 2e 0a 7c 0a 7c 45 78 61 | 6d 70 6c 65 73 3a 0a 7c |..|.|Exa|mples:.||
|00004e50| 0a 7c 20 20 20 20 61 73 | 73 69 67 6e 20 6e 75 6d |.| as|sign num|
|00004e60| 76 61 72 20 65 71 20 35 | 0a 7c 20 20 20 20 61 73 |var eq 5|.| as|
|00004e70| 73 69 67 6e 20 73 74 72 | 76 61 72 20 65 71 20 22 |sign str|var eq "|
|00004e80| 54 68 69 73 20 76 61 72 | 69 61 62 6c 65 20 69 73 |This var|iable is|
|00004e90| 20 61 20 73 74 72 69 6e | 67 22 0a 7c 20 20 20 20 | a strin|g".| |
|00004ea0| 61 73 73 69 67 6e 20 6d | 79 64 69 72 20 65 71 20 |assign m|ydir eq |
|00004eb0| 24 48 4f 4d 45 0a 7c 20 | 20 20 20 61 73 73 69 67 |$HOME.| | assig|
|00004ec0| 6e 20 6e 75 6d 76 61 72 | 32 20 65 71 20 6e 75 6d |n numvar|2 eq num|
|00004ed0| 76 61 72 0a 7c 20 20 20 | 20 61 73 73 69 67 6e 20 |var.| | assign |
|00004ee0| 73 74 72 76 61 72 32 20 | 65 71 20 73 74 72 76 61 |strvar2 |eq strva|
|00004ef0| 72 0a 7c 20 20 20 20 61 | 73 73 69 67 6e 20 6e 75 |r.| a|ssign nu|
|00004f00| 6d 76 61 72 20 65 71 20 | 74 72 75 65 0a 7c 20 20 |mvar eq |true.| |
|00004f10| 20 20 61 73 73 69 67 6e | 20 74 6f 64 61 79 20 65 | assign| today e|
|00004f20| 71 20 60 64 61 74 65 60 | 3b 20 65 63 68 6f 20 22 |q `date`|; echo "|
|00004f30| 74 6f 64 61 79 20 69 73 | 20 22 20 74 6f 64 61 79 |today is| " today|
|00004f40| 0a 7c 2e 54 50 0a 7c 2e | 49 20 61 75 74 6f 0a 7c |.|.TP.|.|I auto.||
|00004f50| 53 79 6e 74 61 78 3a 20 | 73 65 74 20 61 75 74 6f |Syntax: |set auto|
|00004f60| 20 22 6f 6e 22 0a 7c 20 | 20 20 20 20 20 20 20 73 | "on".| | s|
|00004f70| 65 74 20 61 75 74 6f 20 | 22 6f 66 66 22 0a 7c 0a |et auto |"off".|.|
|00004f80| 7c 54 75 72 6e 73 20 74 | 68 65 20 61 75 74 6f 2d ||Turns t|he auto-|
|00004f90| 63 61 70 74 75 72 65 20 | 66 65 61 74 75 72 65 20 |capture |feature |
|00004fa0| 6f 6e 20 6f 72 20 6f 66 | 66 2e 20 54 68 69 73 20 |on or of|f. This |
|00004fb0| 68 61 73 20 6e 6f 20 65 | 66 66 65 63 74 20 77 68 |has no e|ffect wh|
|00004fc0| 69 6c 65 20 74 68 65 20 | 73 63 72 69 70 74 0a 7c |ile the |script.||
|00004fd0| 69 73 20 72 75 6e 6e 69 | 6e 67 2c 20 62 75 74 20 |is runni|ng, but |
|00004fe0| 64 65 74 65 72 6d 69 6e | 65 73 20 77 68 65 74 68 |determin|es wheth|
|00004ff0| 65 72 20 63 61 70 74 75 | 72 69 6e 67 20 74 6f 20 |er captu|ring to |
|00005000| 74 68 65 20 63 75 72 72 | 65 6e 74 20 63 61 70 74 |the curr|ent capt|
|00005010| 75 72 65 20 66 69 6c 65 | 20 77 69 6c 6c 0a 7c 62 |ure file| will.|b|
|00005020| 65 67 69 6e 20 61 73 20 | 73 6f 6f 6e 20 61 73 20 |egin as |soon as |
|00005030| 74 65 72 6d 69 6e 61 6c | 20 6d 6f 64 65 20 69 73 |terminal| mode is|
|00005040| 20 65 6e 74 65 72 65 64 | 2e 0a 7c 2e 54 50 0a 7c | entered|..|.TP.||
|00005050| 2e 49 20 62 65 65 70 0a | 7c 53 79 6e 74 61 78 3a |.I beep.||Syntax:|
|00005060| 20 62 65 65 70 0a 7c 0a | 7c 53 65 6e 64 73 20 61 | beep.|.||Sends a|
|00005070| 20 43 6f 6e 74 72 6f 6c | 2d 47 20 74 6f 20 74 68 | Control|-G to th|
|00005080| 65 20 74 65 72 6d 69 6e | 61 6c 2e 20 55 73 65 66 |e termin|al. Usef|
|00005090| 75 6c 20 66 6f 72 20 61 | 6c 65 72 74 69 6e 67 20 |ul for a|lerting |
|000050a0| 74 68 65 20 75 73 65 72 | 20 74 68 61 74 20 73 6f |the user| that so|
|000050b0| 6d 65 20 65 76 65 6e 74 | 0a 7c 68 61 73 20 6f 63 |me event|.|has oc|
|000050c0| 63 75 72 72 65 64 2c 20 | 66 6f 72 20 65 78 61 6d |curred, |for exam|
|000050d0| 70 6c 65 20 61 20 43 4f | 4e 4e 45 43 54 20 61 66 |ple a CO|NNECT af|
|000050e0| 74 65 72 20 61 20 6c 65 | 6e 67 74 68 79 20 72 65 |ter a le|ngthy re|
|000050f0| 64 69 61 6c 69 6e 67 20 | 73 65 73 73 69 6f 6e 2e |dialing |session.|
|00005100| 0a 7c 2e 54 50 0a 7c 2e | 49 20 62 72 65 61 6b 0a |.|.TP.|.|I break.|
|00005110| 7c 53 79 6e 74 61 78 3a | 20 62 72 65 61 6b 0a 7c ||Syntax:| break.||
|00005120| 0a 7c 45 78 69 74 73 20 | 66 72 6f 6d 20 74 68 65 |.|Exits |from the|
|00005130| 20 69 6d 6d 65 64 69 61 | 74 65 6c 79 20 65 6e 63 | immedia|tely enc|
|00005140| 6c 6f 73 69 6e 67 20 27 | 77 68 69 6c 65 27 20 6c |losing '|while' l|
|00005150| 6f 6f 70 2e 20 49 64 65 | 6e 74 69 63 61 6c 20 74 |oop. Ide|ntical t|
|00005160| 6f 20 74 68 65 20 43 2d | 6c 61 6e 67 75 61 67 65 |o the C-|language|
|00005170| 0a 7c 5c 27 62 72 65 61 | 6b 27 2c 20 61 6e 64 20 |.|\'brea|k', and |
|00005180| 74 6f 20 74 68 65 20 42 | 6f 75 72 6e 65 20 73 68 |to the B|ourne sh|
|00005190| 65 6c 6c 20 27 62 72 65 | 61 6b 27 20 65 78 63 65 |ell 'bre|ak' exce|
|000051a0| 70 74 20 74 68 61 74 20 | 74 68 65 0a 7c 2e 42 20 |pt that |the.|.B |
|000051b0| 78 63 0a 7c 73 63 72 69 | 70 74 20 6c 61 6e 67 75 |xc.|scri|pt langu|
|000051c0| 61 67 65 20 27 62 72 65 | 61 6b 27 20 64 6f 65 73 |age 'bre|ak' does|
|000051d0| 20 6e 6f 74 20 74 61 6b | 65 20 61 20 6e 75 6d 65 | not tak|e a nume|
|000051e0| 72 69 63 20 61 72 67 75 | 6d 65 6e 74 2e 20 44 6f |ric argu|ment. Do|
|000051f0| 6e 27 74 20 63 6f 6e 66 | 75 73 65 20 74 68 69 73 |n't conf|use this|
|00005200| 0a 7c 77 69 74 68 20 74 | 68 65 20 73 63 72 69 70 |.|with t|he scrip|
|00005210| 74 20 6b 65 79 77 6f 72 | 64 20 27 78 6d 69 74 62 |t keywor|d 'xmitb|
|00005220| 72 6b 27 2c 20 77 68 69 | 63 68 20 73 65 6e 64 73 |rk', whi|ch sends|
|00005230| 20 61 20 42 52 45 41 4b | 20 73 69 67 6e 61 6c 20 | a BREAK| signal |
|00005240| 74 6f 20 74 68 65 20 6d | 6f 64 65 6d 20 70 6f 72 |to the m|odem por|
|00005250| 74 2e 0a 7c 2e 54 50 0a | 7c 2e 49 20 63 61 6c 6c |t..|.TP.||.I call|
|00005260| 0a 7c 53 79 6e 74 61 78 | 3a 20 63 61 6c 6c 20 22 |.|Syntax|: call "|
|00005270| 73 63 72 69 70 74 6e 61 | 6d 65 22 0a 7c 0a 7c 53 |scriptna|me".|.|S|
|00005280| 75 73 70 65 6e 64 73 20 | 65 78 65 63 75 74 69 6f |uspends |executio|
|00005290| 6e 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |n of the| current|
|000052a0| 20 73 63 72 69 70 74 2c | 20 61 6e 64 20 61 74 74 | script,| and att|
|000052b0| 65 6d 70 74 73 20 74 6f | 20 6c 6f 61 64 20 61 6e |empts to| load an|
|000052c0| 64 20 72 75 6e 20 74 68 | 65 0a 7c 73 70 65 63 69 |d run th|e.|speci|
|000052d0| 66 69 65 64 20 73 63 72 | 69 70 74 6e 61 6d 65 2e |fied scr|iptname.|
|000052e0| 20 54 68 65 20 73 63 72 | 69 70 74 6e 61 6d 65 20 | The scr|iptname |
|000052f0| 6d 75 73 74 20 62 65 20 | 61 20 71 75 6f 74 65 64 |must be |a quoted|
|00005300| 20 6c 69 74 65 72 61 6c | 20 73 74 72 69 6e 67 2e | literal| string.|
|00005310| 20 54 68 65 72 65 20 69 | 73 0a 7c 6e 6f 0a 7c 2e | There i|s.|no.|.|
|00005320| 42 20 78 63 0a 7c 61 6e | 61 6c 6f 67 75 65 20 6f |B xc.|an|alogue o|
|00005330| 66 20 74 68 65 20 42 6f | 75 72 6e 65 20 73 68 65 |f the Bo|urne she|
|00005340| 6c 6c 20 22 65 78 65 63 | 22 20 63 6f 6d 6d 61 6e |ll "exec|" comman|
|00005350| 64 3b 20 61 6c 6c 20 73 | 75 62 73 63 72 69 70 74 |d; all s|ubscript|
|00005360| 73 20 69 6e 0a 7c 2e 42 | 20 78 63 0a 7c 61 72 65 |s in.|.B| xc.|are|
|00005370| 20 74 72 65 61 74 65 64 | 20 61 73 20 73 75 62 2d | treated| as sub-|
|00005380| 72 6f 75 74 69 6e 65 73 | 2e 20 41 6c 6c 20 76 61 |routines|. All va|
|00005390| 72 69 61 62 6c 65 73 20 | 61 72 65 20 67 6c 6f 62 |riables |are glob|
|000053a0| 61 6c 20 61 63 72 6f 73 | 73 20 73 75 62 73 63 72 |al acros|s subscr|
|000053b0| 69 70 74 73 2c 20 73 6f | 20 69 66 0a 7c 61 20 73 |ipts, so| if.|a s|
|000053c0| 75 62 73 63 72 69 70 74 | 20 63 68 61 6e 67 65 73 |ubscript| changes|
|000053d0| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 61 20 | the val|ue of a |
|000053e0| 76 61 72 69 61 62 6c 65 | 2c 20 74 68 65 6e 20 74 |variable|, then t|
|000053f0| 68 61 74 20 63 68 61 6e | 67 65 20 77 69 6c 6c 20 |hat chan|ge will |
|00005400| 72 65 6d 61 69 6e 20 69 | 6e 0a 7c 65 66 66 65 63 |remain i|n.|effec|
|00005410| 74 20 61 66 74 65 72 20 | 72 65 74 75 72 6e 20 74 |t after |return t|
|00005420| 6f 20 74 68 65 20 70 61 | 72 65 6e 74 20 73 63 72 |o the pa|rent scr|
|00005430| 69 70 74 2e 20 53 68 65 | 6c 6c 20 65 6e 76 69 72 |ipt. She|ll envir|
|00005440| 6f 6e 6d 65 6e 74 20 76 | 61 72 69 61 62 6c 65 73 |onment v|ariables|
|00005450| 20 63 61 6e 6e 6f 74 20 | 62 65 0a 7c 63 68 61 6e | cannot |be.|chan|
|00005460| 67 65 64 20 62 79 20 61 | 6e 79 0a 7c 2e 42 20 78 |ged by a|ny.|.B x|
|00005470| 63 0a 7c 73 63 72 69 70 | 74 2e 0a 7c 2e 54 50 0a |c.|scrip|t..|.TP.|
|00005480| 7c 2e 49 20 63 61 70 74 | 75 72 65 0a 7c 53 79 6e ||.I capt|ure.|Syn|
|00005490| 74 61 78 3a 20 63 61 70 | 74 75 72 65 20 22 6f 6e |tax: cap|ture "on|
|000054a0| 22 0a 7c 20 20 20 20 20 | 20 20 20 63 61 70 74 75 |".| | captu|
|000054b0| 72 65 20 22 6f 66 66 22 | 0a 7c 0a 7c 54 75 72 6e |re "off"|.|.|Turn|
|000054c0| 73 20 74 68 65 20 66 69 | 6c 65 2d 63 61 70 74 75 |s the fi|le-captu|
|000054d0| 72 65 20 66 75 6e 63 74 | 69 6f 6e 20 6f 6e 20 6f |re funct|ion on o|
|000054e0| 72 20 6f 66 66 2e 20 4e | 6f 74 65 20 74 68 61 74 |r off. N|ote that|
|000054f0| 20 74 68 65 20 61 72 67 | 75 6d 65 6e 74 73 20 6d | the arg|uments m|
|00005500| 75 73 74 20 62 65 0a 7c | 71 75 6f 74 65 64 20 6c |ust be.||quoted l|
|00005510| 69 74 65 72 61 6c 20 73 | 74 72 69 6e 67 73 2e 20 |iteral s|trings. |
|00005520| 4e 6f 74 65 20 61 6c 73 | 6f 20 74 68 61 74 20 77 |Note als|o that w|
|00005530| 68 65 6e 20 74 68 65 20 | 73 63 72 69 70 74 20 65 |hen the |script e|
|00005540| 78 69 74 73 20 69 6e 74 | 6f 20 74 65 72 6d 69 6e |xits int|o termin|
|00005550| 61 6c 0a 7c 6d 6f 64 65 | 2c 20 74 68 65 20 66 69 |al.|mode|, the fi|
|00005560| 6c 65 2d 63 61 70 74 75 | 72 65 20 66 75 6e 63 74 |le-captu|re funct|
|00005570| 69 6f 6e 20 69 73 20 74 | 75 72 6e 65 64 20 6f 66 |ion is t|urned of|
|00005580| 66 2e 20 49 66 20 79 6f | 75 20 68 61 76 65 20 27 |f. If yo|u have '|
|00005590| 73 65 74 20 61 75 74 6f | 20 22 6f 6e 22 27 2c 0a |set auto| "on"',.|
|000055a0| 7c 74 68 65 6e 20 79 6f | 75 20 77 69 6c 6c 20 62 ||then yo|u will b|
|000055b0| 65 67 69 6e 20 63 61 70 | 74 75 72 69 6e 67 20 69 |egin cap|turing i|
|000055c0| 6d 6d 65 64 69 61 74 65 | 6c 79 20 75 70 6f 6e 20 |mmediate|ly upon |
|000055d0| 65 6e 74 65 72 69 6e 67 | 2c 20 6f 72 20 72 65 74 |entering|, or ret|
|000055e0| 75 72 6e 69 6e 67 20 74 | 6f 2c 0a 7c 74 65 72 6d |urning t|o,.|term|
|000055f0| 69 6e 61 6c 20 6d 6f 64 | 65 2e 20 49 66 20 6e 6f |inal mod|e. If no|
|00005600| 74 2c 20 74 68 65 6e 20 | 79 6f 75 20 6d 75 73 74 |t, then |you must|
|00005610| 20 6d 61 6e 75 61 6c 6c | 79 20 74 79 70 65 20 22 | manuall|y type "|
|00005620| 4d 59 5f 45 53 43 20 54 | 22 20 74 6f 20 73 74 61 |MY_ESC T|" to sta|
|00005630| 72 74 0a 7c 63 61 70 74 | 75 72 69 6e 67 20 77 68 |rt.|capt|uring wh|
|00005640| 65 6e 20 65 6e 74 65 72 | 69 6e 67 20 74 65 72 6d |en enter|ing term|
|00005650| 69 6e 61 6c 20 6d 6f 64 | 65 2e 0a 7c 2e 54 50 0a |inal mod|e..|.TP.|
|00005660| 7c 2e 49 20 63 6f 6e 74 | 69 6e 75 65 0a 7c 53 79 ||.I cont|inue.|Sy|
|00005670| 6e 74 61 78 3a 20 63 6f | 6e 74 69 6e 75 65 0a 7c |ntax: co|ntinue.||
|00005680| 0a 7c 52 65 73 75 6d 65 | 73 20 65 78 65 63 75 74 |.|Resume|s execut|
|00005690| 69 6f 6e 20 61 74 20 74 | 68 65 20 74 6f 70 20 6f |ion at t|he top o|
|000056a0| 66 20 74 68 65 20 69 6d | 6d 65 64 69 61 74 65 6c |f the im|mediatel|
|000056b0| 79 20 65 6e 63 6c 6f 73 | 69 6e 67 20 27 77 68 69 |y enclos|ing 'whi|
|000056c0| 6c 65 27 20 6c 6f 6f 70 | 2e 0a 7c 49 64 65 6e 74 |le' loop|..|Ident|
|000056d0| 69 63 61 6c 20 74 6f 20 | 74 68 65 20 43 20 6c 61 |ical to |the C la|
|000056e0| 6e 67 75 61 67 65 20 27 | 63 6f 6e 74 69 6e 75 65 |nguage '|continue|
|000056f0| 27 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 2c 20 61 |' instru|ction, a|
|00005700| 6e 64 20 74 6f 20 74 68 | 65 20 42 6f 75 72 6e 65 |nd to th|e Bourne|
|00005710| 20 73 68 65 6c 6c 20 0a | 7c 5c 27 63 6f 6e 74 69 | shell .||\'conti|
|00005720| 6e 75 65 27 20 63 6f 6d | 6d 61 6e 64 20 65 78 63 |nue' com|mand exc|
|00005730| 65 70 74 20 74 68 61 74 | 20 6e 6f 20 6e 75 6d 65 |ept that| no nume|
|00005740| 72 69 63 20 61 72 67 75 | 6d 65 6e 74 20 69 73 20 |ric argu|ment is |
|00005750| 61 63 63 65 70 74 65 64 | 2e 0a 7c 2e 54 50 0a 7c |accepted|..|.TP.||
|00005760| 2e 49 20 64 65 62 75 67 | 0a 7c 53 79 6e 74 61 78 |.I debug|.|Syntax|
|00005770| 3a 20 64 65 62 75 67 20 | 22 6f 6e 22 0a 7c 20 20 |: debug |"on".| |
|00005780| 20 20 20 20 20 20 64 65 | 62 75 67 20 22 6f 66 66 | de|bug "off|
|00005790| 22 0a 7c 0a 7c 49 66 20 | 74 68 65 20 27 64 65 62 |".|.|If |the 'deb|
|000057a0| 75 67 27 20 6f 70 74 69 | 6f 6e 20 69 73 20 6f 6e |ug' opti|on is on|
|000057b0| 2c 20 74 68 65 6e 0a 7c | 2e 42 20 78 63 0a 7c 77 |, then.||.B xc.|w|
|000057c0| 69 6c 6c 20 6d 61 6b 65 | 20 6d 61 6e 79 20 70 61 |ill make| many pa|
|000057d0| 72 65 6e 74 68 65 74 69 | 63 61 6c 20 63 6f 6d 6d |rentheti|cal comm|
|000057e0| 65 6e 74 73 20 61 62 6f | 75 74 20 77 68 61 74 20 |ents abo|ut what |
|000057f0| 69 74 27 73 20 64 6f 69 | 6e 67 20 77 68 69 6c 65 |it's doi|ng while|
|00005800| 20 69 74 20 72 75 6e 73 | 20 74 68 65 0a 7c 73 63 | it runs| the.|sc|
|00005810| 72 69 70 74 2e 20 54 68 | 65 73 65 20 63 6f 6d 6d |ript. Th|ese comm|
|00005820| 65 6e 74 73 20 63 61 6e | 20 73 6f 6d 65 74 69 6d |ents can| sometim|
|00005830| 65 73 20 62 65 20 68 65 | 6c 70 66 75 6c 20 69 6e |es be he|lpful in|
|00005840| 20 64 65 62 75 67 67 69 | 6e 67 20 73 63 72 69 70 | debuggi|ng scrip|
|00005850| 74 20 6c 6f 67 69 63 2e | 20 4e 6f 74 65 0a 7c 74 |t logic.| Note.|t|
|00005860| 68 61 74 20 74 68 65 20 | 61 72 67 75 6d 65 6e 74 |hat the |argument|
|00005870| 20 6d 75 73 74 20 62 65 | 20 61 20 71 75 6f 74 65 | must be| a quote|
|00005880| 64 20 6c 69 74 65 72 61 | 6c 20 73 74 72 69 6e 67 |d litera|l string|
|00005890| 2e 0a 7c 2e 54 50 0a 7c | 2e 49 20 64 65 63 72 0a |..|.TP.||.I decr.|
|000058a0| 7c 53 79 6e 74 61 78 3a | 20 64 65 63 72 20 3c 6e ||Syntax:| decr <n|
|000058b0| 75 6d 65 72 69 63 2d 76 | 61 72 69 61 62 6c 65 3e |umeric-v|ariable>|
|000058c0| 0a 7c 0a 7c 44 65 63 72 | 65 6d 65 6e 74 73 20 74 |.|.|Decr|ements t|
|000058d0| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |he value| of the |
|000058e0| 73 70 65 63 69 66 69 65 | 64 20 6e 75 6d 65 72 69 |specifie|d numeri|
|000058f0| 63 20 75 73 65 72 20 76 | 61 72 69 61 62 6c 65 20 |c user v|ariable |
|00005900| 62 79 20 31 2e 20 55 73 | 65 66 75 6c 20 69 6e 0a |by 1. Us|eful in.|
|00005910| 7c 63 6f 6e 74 72 6f 6c | 6c 69 6e 67 20 6c 6f 6f ||control|ling loo|
|00005920| 70 20 65 78 65 63 75 74 | 69 6f 6e 2e 20 49 66 20 |p execut|ion. If |
|00005930| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 76 61 |the spec|ified va|
|00005940| 72 69 61 62 6c 65 20 69 | 73 6e 27 74 20 6e 75 6d |riable i|sn't num|
|00005950| 65 72 69 63 2c 20 6f 72 | 20 64 6f 65 73 6e 27 74 |eric, or| doesn't|
|00005960| 0a 7c 65 78 69 73 74 2c | 20 61 20 73 79 6e 74 61 |.|exist,| a synta|
|00005970| 78 20 65 72 72 6f 72 20 | 72 65 73 75 6c 74 73 2e |x error |results.|
|00005980| 0a 7c 2e 54 50 0a 7c 2e | 49 20 64 69 61 6c 0a 7c |.|.TP.|.|I dial.||
|00005990| 53 79 6e 74 61 78 3a 20 | 64 69 61 6c 20 22 6e 75 |Syntax: |dial "nu|
|000059a0| 6d 62 65 72 2d 73 74 72 | 69 6e 67 22 0a 7c 0a 7c |mber-str|ing".|.||
|000059b0| 44 69 61 6c 73 20 74 68 | 65 20 73 70 65 63 69 66 |Dials th|e specif|
|000059c0| 69 65 64 20 6e 75 6d 62 | 65 72 2c 20 75 73 69 6e |ied numb|er, usin|
|000059d0| 67 20 6d 6f 64 65 6d 2d | 63 6f 6d 6d 61 6e 64 20 |g modem-|command |
|000059e0| 73 74 72 69 6e 67 73 20 | 64 65 66 69 6e 65 64 20 |strings |defined |
|000059f0| 69 6e 20 78 63 2e 68 2e | 0a 7c 2e 54 50 0a 7c 2e |in xc.h.|.|.TP.|.|
|00005a00| 49 20 65 63 68 6f 0a 7c | 53 79 6e 74 61 78 3a 20 |I echo.||Syntax: |
|00005a10| 65 63 68 6f 20 22 73 74 | 72 69 6e 67 22 20 3c 76 |echo "st|ring" <v|
|00005a20| 61 72 69 61 62 6c 65 3e | 20 2e 2e 2e 0a 7c 20 20 |ariable>| ....| |
|00005a30| 20 20 20 20 20 20 65 63 | 68 6f 20 2d 6e 20 22 73 | ec|ho -n "s|
|00005a40| 74 72 69 6e 67 22 20 3c | 76 61 72 69 61 62 6c 65 |tring" <|variable|
|00005a50| 3e 20 2e 2e 2e 0a 7c 0a | 7c 54 68 69 73 20 63 6f |> ....|.||This co|
|00005a60| 6d 6d 61 6e 64 20 73 65 | 6e 64 73 20 69 74 73 20 |mmand se|nds its |
|00005a70| 61 72 67 75 6d 65 6e 74 | 73 20 74 6f 20 74 68 65 |argument|s to the|
|00005a80| 20 75 73 65 72 27 73 20 | 74 65 72 6d 69 6e 61 6c | user's |terminal|
|00005a90| 2e 20 54 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 0a |. The nu|mber of.|
|00005aa0| 7c 61 72 67 75 6d 65 6e | 74 73 20 69 73 20 6f 70 ||argumen|ts is op|
|00005ab0| 74 69 6f 6e 61 6c 2c 20 | 65 78 63 65 70 74 20 74 |tional, |except t|
|00005ac0| 68 61 74 20 74 68 65 20 | 74 6f 74 61 6c 20 72 65 |hat the |total re|
|00005ad0| 73 75 6c 74 20 6d 61 79 | 20 6e 6f 74 20 65 78 63 |sult may| not exc|
|00005ae0| 65 65 64 20 38 30 0a 7c | 63 68 61 72 61 63 74 65 |eed 80.||characte|
|00005af0| 72 73 2e 20 56 61 72 69 | 61 62 6c 65 73 20 61 6e |rs. Vari|ables an|
|00005b00| 64 20 62 61 63 6b 2d 71 | 75 6f 74 65 64 20 73 68 |d back-q|uoted sh|
|00005b10| 65 6c 6c 20 63 6f 6d 6d | 61 6e 64 73 20 61 72 65 |ell comm|ands are|
|00005b20| 20 65 78 70 61 6e 64 65 | 64 20 61 73 20 6e 65 63 | expande|d as nec|
|00005b30| 65 73 73 61 72 79 2e 0a | 7c 0a 7c 49 66 20 74 68 |essary..||.|If th|
|00005b40| 65 20 22 2d 6e 22 20 73 | 77 69 74 63 68 20 69 73 |e "-n" s|witch is|
|00005b50| 20 70 72 65 73 65 6e 74 | 2c 20 74 68 65 6e 20 6e | present|, then n|
|00005b60| 6f 20 63 61 72 72 69 61 | 67 65 2d 72 65 74 75 72 |o carria|ge-retur|
|00005b70| 6e 2f 6e 65 77 6c 69 6e | 65 20 73 65 71 75 65 6e |n/newlin|e sequen|
|00005b80| 63 65 20 69 73 0a 7c 61 | 70 70 65 6e 64 65 64 20 |ce is.|a|ppended |
|00005b90| 74 6f 20 74 68 65 20 6f | 75 74 70 75 74 2e 0a 7c |to the o|utput..||
|00005ba0| 0a 7c 45 78 61 6d 70 6c | 65 73 3a 0a 7c 0a 7c 20 |.|Exampl|es:.|.| |
|00005bb0| 20 20 20 65 63 68 6f 20 | 22 54 68 65 20 74 69 6d | echo |"The tim|
|00005bc0| 65 20 61 6e 64 20 64 61 | 74 65 20 61 72 65 20 6e |e and da|te are n|
|00005bd0| 6f 77 20 22 20 60 64 61 | 74 65 60 0a 7c 20 20 20 |ow " `da|te`.| |
|00005be0| 20 65 63 68 6f 20 22 4d | 79 20 74 65 72 6d 69 6e | echo "M|y termin|
|00005bf0| 61 6c 20 74 79 70 65 20 | 69 73 20 22 20 24 54 45 |al type |is " $TE|
|00005c00| 52 4d 0a 7c 20 20 20 20 | 65 63 68 6f 20 22 4d 79 |RM.| |echo "My|
|00005c10| 20 74 65 72 6d 69 6e 61 | 6c 20 74 79 70 65 20 69 | termina|l type i|
|00005c20| 73 20 22 20 24 54 45 52 | 4d 20 22 20 74 6f 64 61 |s " $TER|M " toda|
|00005c30| 79 2e 22 0a 7c 0a 7c 4e | 6f 74 65 20 74 68 61 74 |y.".|.|N|ote that|
|00005c40| 20 77 68 69 74 65 73 70 | 61 63 65 20 69 73 6e 27 | whitesp|ace isn'|
|00005c50| 74 20 65 63 68 6f 65 64 | 20 75 6e 6c 65 73 73 20 |t echoed| unless |
|00005c60| 69 74 27 73 20 70 61 72 | 74 20 6f 66 20 61 20 71 |it's par|t of a q|
|00005c70| 75 6f 74 65 64 20 6c 69 | 74 65 72 61 6c 20 73 74 |uoted li|teral st|
|00005c80| 72 69 6e 67 2e 0a 7c 2e | 54 50 0a 7c 2e 49 20 65 |ring..|.|TP.|.I e|
|00005c90| 78 69 74 0a 7c 53 79 6e | 74 61 78 3a 20 65 78 69 |xit.|Syn|tax: exi|
|00005ca0| 74 0a 7c 0a 7c 54 65 72 | 6d 69 6e 61 74 65 73 20 |t.|.|Ter|minates |
|00005cb0| 65 78 65 63 75 74 69 6f | 6e 20 6f 66 20 74 68 65 |executio|n of the|
|00005cc0| 20 63 75 72 72 65 6e 74 | 20 73 63 72 69 70 74 2e | current| script.|
|00005cd0| 20 49 66 20 61 20 73 63 | 72 69 70 74 20 72 65 61 | If a sc|ript rea|
|00005ce0| 63 68 65 73 20 69 74 73 | 20 65 6e 64 2c 20 69 74 |ches its| end, it|
|00005cf0| 0a 7c 65 78 69 74 73 20 | 61 75 74 6f 6d 61 74 69 |.|exits |automati|
|00005d00| 63 61 6c 6c 79 2c 20 73 | 6f 20 27 65 78 69 74 27 |cally, s|o 'exit'|
|00005d10| 20 69 73 20 75 73 65 66 | 75 6c 20 6d 61 69 6e 6c | is usef|ul mainl|
|00005d20| 79 20 74 6f 20 74 65 72 | 6d 69 6e 61 74 65 20 61 |y to ter|minate a|
|00005d30| 20 73 63 72 69 70 74 0a | 7c 70 72 65 6d 61 74 75 | script.||prematu|
|00005d40| 72 65 6c 79 2e 0a 7c 2e | 54 50 0a 7c 2e 49 20 66 |rely..|.|TP.|.I f|
|00005d50| 61 6c 73 65 0a 7c 53 79 | 6e 74 61 78 3a 20 66 61 |alse.|Sy|ntax: fa|
|00005d60| 6c 73 65 0a 7c 0a 7c 53 | 61 6d 65 20 61 73 20 74 |lse.|.|S|ame as t|
|00005d70| 68 65 20 55 6e 69 78 20 | 27 66 61 6c 73 65 27 20 |he Unix |'false' |
|00005d80| 63 6f 6d 6d 61 6e 64 2e | 20 44 6f 65 73 20 6e 6f |command.| Does no|
|00005d90| 74 68 69 6e 67 2c 20 62 | 75 74 20 72 65 74 75 72 |thing, b|ut retur|
|00005da0| 6e 73 20 61 20 46 41 4c | 53 45 20 73 74 61 74 75 |ns a FAL|SE statu|
|00005db0| 73 0a 7c 76 61 6c 75 65 | 2e 20 55 73 65 66 75 6c |s.|value|. Useful|
|00005dc0| 20 77 69 74 68 69 6e 20 | 63 6f 6e 64 69 74 69 6f | within |conditio|
|00005dd0| 6e 61 6c 20 65 78 70 72 | 65 73 73 69 6f 6e 73 2e |nal expr|essions.|
|00005de0| 0a 7c 0a 7c 45 78 61 6d | 70 6c 65 3a 0a 7c 0a 7c |.|.|Exam|ple:.|.||
|00005df0| 20 20 20 20 69 66 20 77 | 61 69 74 66 6f 72 20 22 | if w|aitfor "|
|00005e00| 43 4f 4e 4e 45 43 54 22 | 20 33 30 20 65 71 20 66 |CONNECT"| 30 eq f|
|00005e10| 61 6c 73 65 0a 7c 20 20 | 20 20 74 68 65 6e 0a 7c |alse.| | then.||
|00005e20| 20 20 20 20 20 20 20 20 | 71 75 69 74 0a 7c 20 20 | |quit.| |
|00005e30| 20 20 65 6e 64 69 66 0a | 7c 0a 7c 4e 6f 74 65 20 | endif.||.|Note |
|00005e40| 74 68 61 74 20 61 62 6f | 76 65 20 65 78 61 6d 70 |that abo|ve examp|
|00005e50| 6c 65 20 63 6f 75 6c 64 | 20 62 65 20 72 65 77 72 |le could| be rewr|
|00005e60| 69 74 74 65 6e 20 75 73 | 69 6e 67 20 74 68 65 20 |itten us|ing the |
|00005e70| 6e 65 67 61 74 69 6e 67 | 20 6d 6f 64 69 66 69 65 |negating| modifie|
|00005e80| 72 20 22 21 22 3a 0a 7c | 0a 7c 20 20 20 20 69 66 |r "!":.||.| if|
|00005e90| 20 21 20 77 61 69 74 66 | 6f 72 20 22 43 4f 4e 4e | ! waitf|or "CONN|
|00005ea0| 45 43 54 22 20 33 30 0a | 7c 20 20 20 20 74 68 65 |ECT" 30.|| the|
|00005eb0| 6e 0a 7c 20 20 20 20 20 | 20 20 20 71 75 69 74 0a |n.| | quit.|
|00005ec0| 7c 20 20 20 20 65 6e 64 | 69 66 0a 7c 0a 7c 61 6e || end|if.|.|an|
|00005ed0| 64 20 6e 6f 74 65 20 74 | 6f 6f 20 74 68 61 74 20 |d note t|oo that |
|00005ee0| 74 68 65 20 22 21 22 20 | 6d 75 73 74 20 62 65 20 |the "!" |must be |
|00005ef0| 73 65 70 61 72 61 74 65 | 64 20 66 72 6f 6d 20 69 |separate|d from i|
|00005f00| 74 73 20 61 72 67 75 6d | 65 6e 74 20 62 79 20 77 |ts argum|ent by w|
|00005f10| 68 69 74 65 73 70 61 63 | 65 2e 0a 7c 2e 54 50 0a |hitespac|e..|.TP.|
|00005f20| 7c 2e 49 20 66 69 6c 65 | 0a 7c 53 79 6e 74 61 78 ||.I file|.|Syntax|
|00005f30| 3a 20 66 69 6c 65 20 3c | 73 63 72 69 70 74 2d 63 |: file <|script-c|
|00005f40| 6f 6d 6d 61 6e 64 3e 0a | 7c 0a 7c 54 68 65 20 73 |ommand>.||.|The s|
|00005f50| 74 61 6e 64 61 72 64 20 | 6f 75 74 70 75 74 20 6f |tandard |output o|
|00005f60| 66 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |f the sp|ecified |
|00005f70| 73 63 72 69 70 74 20 63 | 6f 6d 6d 61 6e 64 20 69 |script c|ommand i|
|00005f80| 73 20 73 65 6e 74 20 74 | 6f 20 74 68 65 20 63 75 |s sent t|o the cu|
|00005f90| 72 72 65 6e 74 0a 7c 63 | 61 70 74 75 72 65 20 66 |rrent.|c|apture f|
|00005fa0| 69 6c 65 2e 20 49 66 20 | 74 68 65 20 22 63 61 70 |ile. If |the "cap|
|00005fb0| 74 75 72 65 22 20 6f 70 | 74 69 6f 6e 20 69 73 20 |ture" op|tion is |
|00005fc0| 6e 6f 74 20 73 65 74 2c | 20 74 68 65 6e 20 61 6e |not set,| then an|
|00005fd0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 20 69 | error m|essage i|
|00005fe0| 73 0a 7c 64 69 73 70 6c | 61 79 65 64 2c 20 62 75 |s.|displ|ayed, bu|
|00005ff0| 74 20 73 63 72 69 70 74 | 20 65 78 65 63 75 74 69 |t script| executi|
|00006000| 6f 6e 20 63 6f 6e 74 69 | 6e 75 65 73 2e 0a 7c 0a |on conti|nues..|.|
|00006010| 7c 45 78 61 6d 70 6c 65 | 73 3a 0a 7c 0a 7c 20 20 ||Example|s:.|.| |
|00006020| 20 20 66 69 6c 65 20 65 | 63 68 6f 20 22 2d 2d 2d | file e|cho "---|
|00006030| 2d 2d 2d 2d 2d 2d 20 43 | 55 54 20 48 45 52 45 20 |------ C|UT HERE |
|00006040| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 22 0a 7c 0a 7c 53 |--------|--".|.|S|
|00006050| 65 6e 64 73 20 74 68 65 | 20 6f 75 74 70 75 74 20 |ends the| output |
|00006060| 6f 66 20 74 68 65 20 27 | 65 63 68 6f 27 20 63 6f |of the '|echo' co|
|00006070| 6d 6d 61 6e 64 20 74 6f | 20 74 68 65 20 63 75 72 |mmand to| the cur|
|00006080| 72 65 6e 74 20 63 61 70 | 74 75 72 65 20 66 69 6c |rent cap|ture fil|
|00006090| 65 2c 20 70 72 6f 76 69 | 64 65 64 0a 7c 74 68 61 |e, provi|ded.|tha|
|000060a0| 74 20 74 68 65 20 22 63 | 61 70 74 75 72 65 22 20 |t the "c|apture" |
|000060b0| 6f 70 74 69 6f 6e 20 69 | 73 20 6e 6f 77 20 22 6f |option i|s now "o|
|000060c0| 6e 22 2e 0a 7c 0a 7c 20 | 20 20 20 66 69 6c 65 20 |n"..|.| | file |
|000060d0| 65 63 68 6f 20 60 64 61 | 74 65 60 0a 7c 0a 7c 53 |echo `da|te`.|.|S|
|000060e0| 65 6e 64 73 20 61 20 74 | 69 6d 65 73 74 61 6d 70 |ends a t|imestamp|
|000060f0| 20 74 6f 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | to the |current |
|00006100| 63 61 70 74 75 72 65 20 | 66 69 6c 65 2c 20 70 72 |capture |file, pr|
|00006110| 6f 76 69 64 65 64 20 74 | 68 61 74 20 74 68 65 20 |ovided t|hat the |
|00006120| 22 63 61 70 74 75 72 65 | 22 0a 7c 6f 70 74 69 6f |"capture|".|optio|
|00006130| 6e 20 69 73 20 6e 6f 77 | 20 22 6f 6e 22 2e 20 54 |n is now| "on". T|
|00006140| 68 65 20 73 61 6d 65 20 | 74 68 69 6e 67 20 63 6f |he same |thing co|
|00006150| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 64 6f |uld have| been do|
|00006160| 6e 65 20 77 69 74 68 0a | 7c 0a 7c 20 20 20 66 69 |ne with.||.| fi|
|00006170| 6c 65 20 73 68 65 6c 6c | 20 22 64 61 74 65 22 0a |le shell| "date".|
|00006180| 7c 0a 7c 2e 54 50 0a 7c | 2e 49 20 68 61 6e 67 75 ||.|.TP.||.I hangu|
|00006190| 70 0a 7c 53 79 6e 74 61 | 78 3a 20 68 61 6e 67 75 |p.|Synta|x: hangu|
|000061a0| 70 0a 7c 0a 7c 54 65 6c | 6c 73 20 74 68 65 20 6d |p.|.|Tel|ls the m|
|000061b0| 6f 64 65 6d 20 74 6f 20 | 67 6f 20 6f 6e 2d 68 6f |odem to |go on-ho|
|000061c0| 6f 6b 2e 0a 7c 0a 7c 2e | 54 50 0a 7c 2e 49 20 69 |ok..|.|.|TP.|.I i|
|000061d0| 66 5c 20 5c 20 0a 7c 53 | 79 6e 74 61 78 3a 20 69 |f\ \ .|S|yntax: i|
|000061e0| 66 20 3c 6c 69 73 74 31 | 3e 3b 20 74 68 65 6e 20 |f <list1|>; then |
|000061f0| 3c 6c 69 73 74 32 3e 3b | 20 5b 20 65 6c 73 65 20 |<list2>;| [ else |
|00006200| 3c 6c 69 73 74 33 3e 3b | 20 5d 20 65 6e 64 69 66 |<list3>;| ] endif|
|00006210| 0a 7c 0a 7c 49 66 20 3c | 6c 69 73 74 31 3e 20 65 |.|.|If <|list1> e|
|00006220| 76 61 6c 75 61 74 65 73 | 20 61 73 20 54 52 55 45 |valuates| as TRUE|
|00006230| 2c 20 70 65 72 66 6f 72 | 6d 73 20 3c 6c 69 73 74 |, perfor|ms <list|
|00006240| 32 3e 3b 20 6f 74 68 65 | 72 77 69 73 65 2c 20 69 |2>; othe|rwise, i|
|00006250| 66 20 3c 6c 69 73 74 33 | 3e 20 69 73 0a 7c 73 70 |f <list3|> is.|sp|
|00006260| 65 63 69 66 69 65 64 2c | 20 70 65 72 66 6f 72 6d |ecified,| perform|
|00006270| 73 20 3c 6c 69 73 74 33 | 3e 3b 20 74 68 65 6e 20 |s <list3|>; then |
|00006280| 72 65 73 75 6d 65 73 20 | 65 78 65 63 75 74 69 6f |resumes |executio|
|00006290| 6e 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 20 66 6f |n immedi|ately fo|
|000062a0| 6c 6c 6f 77 69 6e 67 20 | 0a 7c 5c 27 65 6e 64 69 |llowing |.|\'endi|
|000062b0| 66 27 2e 20 54 6f 20 61 | 63 63 6f 6d 6d 6f 64 61 |f'. To a|ccommoda|
|000062c0| 74 65 20 74 68 6f 73 65 | 20 77 68 6f 73 65 20 6d |te those| whose m|
|000062d0| 69 6e 64 73 20 77 61 6e | 64 65 72 20 77 68 69 6c |inds wan|der whil|
|000062e0| 65 20 77 72 69 74 69 6e | 67 20 73 63 72 69 70 74 |e writin|g script|
|000062f0| 73 2c 20 27 66 69 27 0a | 7c 69 73 20 61 6e 20 61 |s, 'fi'.||is an a|
|00006300| 63 63 65 70 74 61 62 6c | 65 20 73 79 6e 6f 6e 79 |cceptabl|e synony|
|00006310| 6d 20 66 6f 72 20 27 65 | 6e 64 69 66 27 2e 0a 7c |m for 'e|ndif'..||
|00006320| 0a 7c 45 61 63 68 20 6c | 69 73 74 20 6d 61 79 20 |.|Each l|ist may |
|00006330| 63 6f 6e 73 69 73 74 20 | 6f 66 20 61 6e 79 20 6e |consist |of any n|
|00006340| 75 6d 62 65 72 20 6f 66 | 20 73 63 72 69 70 74 20 |umber of| script |
|00006350| 63 6f 6d 6d 61 6e 64 73 | 20 73 65 70 61 72 61 74 |commands| separat|
|00006360| 65 64 20 62 79 20 73 65 | 6d 69 63 6f 6c 6f 6e 73 |ed by se|micolons|
|00006370| 0a 7c 6f 72 20 6e 65 77 | 6c 69 6e 65 73 2e 20 54 |.|or new|lines. T|
|00006380| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 3c 6c 69 73 |he value| of <lis|
|00006390| 74 31 3e 20 69 73 20 64 | 65 74 65 72 6d 69 6e 65 |t1> is d|etermine|
|000063a0| 64 20 62 79 20 69 6e 63 | 6c 75 73 69 76 65 6c 79 |d by inc|lusively|
|000063b0| 20 4f 52 27 69 6e 67 20 | 74 68 65 20 76 61 6c 75 | OR'ing |the valu|
|000063c0| 65 0a 7c 6f 66 20 65 61 | 63 68 20 64 69 72 65 63 |e.|of ea|ch direc|
|000063d0| 74 69 76 65 20 69 6e 20 | 74 68 65 20 6c 69 73 74 |tive in |the list|
|000063e0| 2c 20 73 6f 20 74 68 61 | 74 20 69 66 20 61 6e 79 |, so tha|t if any|
|000063f0| 20 6f 66 20 74 68 65 20 | 64 69 72 65 63 74 69 76 | of the |directiv|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.