home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
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 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 0a 46 72 |.sources|.unix.Fr|
|00000020| 6f 6d 3a 20 6a 70 72 40 | 6a 70 72 2e 63 6f 6d 20 |om: jpr@|jpr.com |
|00000030| 28 4a 65 61 6e 2d 50 69 | 65 72 72 65 20 52 61 64 |(Jean-Pi|erre Rad|
|00000040| 6c 65 79 29 0a 53 75 62 | 6a 65 63 74 3a 20 76 32 |ley).Sub|ject: v2|
|00000050| 36 69 31 35 32 3a 20 78 | 63 2d 34 2e 31 20 2d 20 |6i152: x|c-4.1 - |
|00000060| 61 20 73 65 72 69 61 6c | 20 63 6f 6d 6d 75 6e 69 |a serial| communi|
|00000070| 63 61 74 69 6f 6e 73 20 | 70 72 6f 67 72 61 6d 2c |cations |program,|
|00000080| 20 56 34 2e 31 2c 20 50 | 61 72 74 30 33 2f 30 33 | V4.1, P|art03/03|
|00000090| 0a 53 65 6e 64 65 72 3a | 20 75 6e 69 78 2d 73 6f |.Sender:| unix-so|
|000000a0| 75 72 63 65 73 2d 6d 6f | 64 65 72 61 74 6f 72 40 |urces-mo|derator@|
|000000b0| 76 69 78 2e 63 6f 6d 0a | 41 70 70 72 6f 76 65 64 |vix.com.|Approved|
|000000c0| 3a 20 70 61 75 6c 40 76 | 69 78 2e 63 6f 6d 0a 0a |: paul@v|ix.com..|
|000000d0| 53 75 62 6d 69 74 74 65 | 64 2d 42 79 3a 20 6a 70 |Submitte|d-By: jp|
|000000e0| 72 40 6a 70 72 2e 63 6f | 6d 20 28 4a 65 61 6e 2d |r@jpr.co|m (Jean-|
|000000f0| 50 69 65 72 72 65 20 52 | 61 64 6c 65 79 29 0a 50 |Pierre R|adley).P|
|00000100| 6f 73 74 69 6e 67 2d 4e | 75 6d 62 65 72 3a 20 56 |osting-N|umber: V|
|00000110| 6f 6c 75 6d 65 20 32 36 | 2c 20 49 73 73 75 65 20 |olume 26|, Issue |
|00000120| 31 35 32 0a 41 72 63 68 | 69 76 65 2d 4e 61 6d 65 |152.Arch|ive-Name|
|00000130| 3a 20 78 63 2d 34 2e 31 | 2f 70 61 72 74 30 33 0a |: xc-4.1|/part03.|
|00000140| 0a 23 21 20 2f 62 69 6e | 2f 73 68 0a 23 20 54 68 |.#! /bin|/sh.# Th|
|00000150| 69 73 20 69 73 20 61 20 | 73 68 65 6c 6c 20 61 72 |is is a |shell ar|
|00000160| 63 68 69 76 65 2e 20 20 | 52 65 6d 6f 76 65 20 61 |chive. |Remove a|
|00000170| 6e 79 74 68 69 6e 67 20 | 62 65 66 6f 72 65 20 74 |nything |before t|
|00000180| 68 69 73 20 6c 69 6e 65 | 2c 20 74 68 65 6e 20 75 |his line|, then u|
|00000190| 6e 70 61 63 6b 0a 23 20 | 69 74 20 62 79 20 73 61 |npack.# |it by sa|
|000001a0| 76 69 6e 67 20 69 74 20 | 69 6e 74 6f 20 61 20 66 |ving it |into a f|
|000001b0| 69 6c 65 20 61 6e 64 20 | 74 79 70 69 6e 67 20 22 |ile and |typing "|
|000001c0| 73 68 20 66 69 6c 65 22 | 2e 20 20 54 6f 20 6f 76 |sh file"|. To ov|
|000001d0| 65 72 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |erwrite |existing|
|000001e0| 0a 23 20 66 69 6c 65 73 | 2c 20 74 79 70 65 20 22 |.# files|, type "|
|000001f0| 73 68 20 66 69 6c 65 20 | 2d 63 22 2e 20 20 59 6f |sh file |-c". Yo|
|00000200| 75 20 63 61 6e 20 61 6c | 73 6f 20 66 65 65 64 20 |u can al|so feed |
|00000210| 74 68 69 73 20 61 73 20 | 73 74 61 6e 64 61 72 64 |this as |standard|
|00000220| 20 69 6e 70 75 74 20 76 | 69 61 0a 23 20 75 6e 73 | input v|ia.# uns|
|00000230| 68 61 72 2c 20 6f 72 20 | 62 79 20 74 79 70 69 6e |har, or |by typin|
|00000240| 67 20 22 73 68 20 3c 66 | 69 6c 65 22 2c 20 65 2e |g "sh <f|ile", e.|
|00000250| 67 2e 2e 20 20 49 66 20 | 74 68 69 73 20 61 72 63 |g.. If |this arc|
|00000260| 68 69 76 65 20 69 73 20 | 63 6f 6d 70 6c 65 74 65 |hive is |complete|
|00000270| 2c 20 79 6f 75 0a 23 20 | 77 69 6c 6c 20 73 65 65 |, you.# |will see|
|00000280| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6d | the fol|lowing m|
|00000290| 65 73 73 61 67 65 20 61 | 74 20 74 68 65 20 65 6e |essage a|t the en|
|000002a0| 64 3a 0a 23 09 09 22 45 | 6e 64 20 6f 66 20 61 72 |d:.#.."E|nd of ar|
|000002b0| 63 68 69 76 65 20 33 20 | 28 6f 66 20 33 29 2e 22 |chive 3 |(of 3)."|
|000002c0| 0a 23 20 43 6f 6e 74 65 | 6e 74 73 3a 20 20 78 63 |.# Conte|nts: xc|
|000002d0| 2e 6e 72 6f 20 78 63 73 | 63 72 70 74 2e 63 0a 23 |.nro xcs|crpt.c.#|
|000002e0| 20 57 72 61 70 70 65 64 | 20 62 79 20 76 69 78 69 | Wrapped| by vixi|
|000002f0| 65 40 67 77 2e 68 6f 6d | 65 2e 76 69 78 2e 63 6f |e@gw.hom|e.vix.co|
|00000300| 6d 20 6f 6e 20 57 65 64 | 20 41 70 72 20 31 34 20 |m on Wed| Apr 14 |
|00000310| 30 30 3a 32 32 3a 34 37 | 20 31 39 39 33 0a 50 41 |00:22:47| 1993.PA|
|00000320| 54 48 3d 2f 62 69 6e 3a | 2f 75 73 72 2f 62 69 6e |TH=/bin:|/usr/bin|
|00000330| 3a 2f 75 73 72 2f 75 63 | 62 20 3b 20 65 78 70 6f |:/usr/uc|b ; expo|
|00000340| 72 74 20 50 41 54 48 0a | 69 66 20 74 65 73 74 20 |rt PATH.|if test |
|00000350| 2d 66 20 27 78 63 2e 6e | 72 6f 27 20 2d 61 20 22 |-f 'xc.n|ro' -a "|
|00000360| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00000370| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00000380| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00000390| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|000003a0| 65 20 5c 22 27 78 63 2e | 6e 72 6f 27 5c 22 0a 65 |e \"'xc.|nro'\".e|
|000003b0| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|000003c0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 78 63 2e |xtractin|g \"'xc.|
|000003d0| 6e 72 6f 27 5c 22 20 5c | 28 34 35 37 34 38 20 63 |nro'\" \|(45748 c|
|000003e0| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|000003f0| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 78 63 2e 6e 72 |"s/^X//"| >'xc.nr|
|00000400| 6f 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |o' <<'EN|D_OF_FIL|
|00000410| 45 27 0a 58 2e 64 73 20 | 5d 56 20 76 65 72 73 69 |E'.X.ds |]V versi|
|00000420| 6f 6e 20 34 2e 31 20 4a | 50 52 61 64 6c 65 79 20 |on 4.1 J|PRadley |
|00000430| 31 30 20 41 70 72 69 6c | 20 31 39 39 33 0a 58 2e |10 April| 1993.X.|
|00000440| 74 6d 0a 58 2e 74 6d 20 | 78 63 2e 6e 72 6f 20 5c |tm.X.tm |xc.nro \|
|00000450| 2a 28 5d 56 0a 58 2e 74 | 6d 0a 58 2e 74 6d 20 49 |*(]V.X.t|m.X.tm I|
|00000460| 66 20 74 68 69 73 20 69 | 73 6e 27 74 20 70 72 65 |f this i|sn't pre|
|00000470| 70 72 6f 63 65 73 73 65 | 64 20 62 79 20 27 74 62 |processe|d by 'tb|
|00000480| 6c 27 20 61 6e 64 20 70 | 6f 73 74 70 72 6f 63 65 |l' and p|ostproce|
|00000490| 73 73 65 64 20 62 79 20 | 27 63 6f 6c 27 2c 0a 58 |ssed by |'col',.X|
|000004a0| 2e 74 6d 20 77 65 6c 6c | 2c 20 6d 79 20 64 65 61 |.tm well|, my dea|
|000004b0| 72 2c 20 72 65 61 6c 6c | 79 2c 20 77 68 79 20 77 |r, reall|y, why w|
|000004c0| 61 73 74 65 20 79 6f 75 | 72 20 74 69 6d 65 20 61 |aste you|r time a|
|000004d0| 6e 64 20 6d 69 6e 65 3f | 0a 58 2e 74 6d 0a 58 2e |nd mine?|.X.tm.X.|
|000004e0| 74 61 20 34 20 34 20 34 | 20 34 20 34 20 34 20 34 |ta 4 4 4| 4 4 4 4|
|000004f0| 20 34 0a 58 2e 70 6f 20 | 30 0a 58 2e 6e 72 4c 4c | 4.X.po |0.X.nrLL|
|00000500| 20 37 2e 39 69 0a 58 2e | 6c 6c 5c 6e 28 4c 4c 75 | 7.9i.X.|ll\n(LLu|
|00000510| 0a 58 2e 6c 74 5c 6e 28 | 4c 4c 75 0a 58 2e 54 48 |.X.lt\n(|LLu.X.TH|
|00000520| 20 58 43 20 4c 0a 58 2e | 53 48 20 4e 61 6d 65 0a | XC L.X.|SH Name.|
|00000530| 78 63 20 5c 2d 20 63 6f | 6d 6d 75 6e 69 63 61 74 |xc \- co|mmunicat|
|00000540| 69 6f 6e 73 20 70 72 6f | 67 72 61 6d 20 0a 58 2e |ions pro|gram .X.|
|00000550| 53 48 20 53 79 6e 74 61 | 78 0a 58 2e 42 20 78 63 |SH Synta|x.X.B xc|
|00000560| 0a 58 2e 52 42 20 5b 20 | 2d 6c 20 64 65 76 69 63 |.X.RB [ |-l devic|
|00000570| 65 5d 0a 58 2e 52 42 20 | 5b 20 2d 73 20 73 63 72 |e].X.RB |[ -s scr|
|00000580| 69 70 74 5c 20 7c 0a 58 | 2e 42 52 20 2d 74 20 5d |ipt\ |.X|.BR -t ]|
|00000590| 0a 58 2e 53 48 20 44 65 | 73 63 72 69 70 74 69 6f |.X.SH De|scriptio|
|000005a0| 6e 0a 58 2e 42 20 58 63 | 0a 63 61 6c 6c 73 20 6f |n.X.B Xc|.calls o|
|000005b0| 75 74 20 6f 76 65 72 20 | 61 20 73 65 72 69 61 6c |ut over |a serial|
|000005c0| 20 70 6f 72 74 20 74 6f | 20 61 6e 6f 74 68 65 72 | port to| another|
|000005d0| 20 63 6f 6d 70 75 74 65 | 72 2e 20 49 74 20 63 61 | compute|r. It ca|
|000005e0| 6e 20 6d 61 6e 61 67 65 | 20 61 6e 20 69 6e 74 65 |n manage| an inte|
|000005f0| 72 61 63 74 69 76 65 0a | 73 65 73 73 69 6f 6e 20 |ractive.|session |
|00000600| 6f 72 20 62 65 20 63 61 | 6c 6c 65 64 20 66 72 6f |or be ca|lled fro|
|00000610| 6d 0a 58 2e 42 52 20 63 | 72 6f 6e 20 28 43 29 2e |m.X.BR c|ron (C).|
|00000620| 0a 49 74 20 68 61 73 20 | 76 61 72 69 6f 75 73 20 |.It has |various |
|00000630| 6d 65 61 6e 73 20 66 6f | 72 20 74 72 61 6e 73 66 |means fo|r transf|
|00000640| 65 72 72 69 6e 67 20 66 | 69 6c 65 73 20 62 65 74 |erring f|iles bet|
|00000650| 77 65 65 6e 20 63 6f 6d | 70 75 74 65 72 73 2c 20 |ween com|puters, |
|00000660| 61 6e 64 20 63 61 6e 20 | 62 65 0a 70 61 72 74 69 |and can |be.parti|
|00000670| 61 6c 6c 79 20 6f 72 20 | 74 6f 74 61 6c 6c 79 20 |ally or |totally |
|00000680| 75 6e 64 65 72 20 74 68 | 65 20 63 6f 6e 74 72 6f |under th|e contro|
|00000690| 6c 20 6f 66 20 73 63 72 | 69 70 74 73 2e 0a 58 0a |l of scr|ipts..X.|
|000006a0| 58 2e 42 20 58 63 0a 73 | 74 61 72 74 73 20 75 70 |X.B Xc.s|tarts up|
|000006b0| 20 62 79 20 72 65 61 64 | 69 6e 67 20 74 68 65 20 | by read|ing the |
|000006c0| 66 69 6c 65 20 0a 58 2e | 49 52 20 2e 78 63 20 2c |file .X.|IR .xc ,|
|000006d0| 0a 77 68 69 63 68 20 69 | 73 20 73 6f 75 67 68 74 |.which i|s sought|
|000006e0| 20 66 6f 72 20 69 6e 20 | 74 68 69 73 20 6f 72 64 | for in |this ord|
|000006f0| 65 72 3a 20 69 6e 20 22 | 58 43 5f 50 41 54 48 22 |er: in "|XC_PATH"|
|00000700| 2c 20 69 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |, in the| current|
|00000710| 20 64 69 72 65 63 74 6f | 72 79 2c 0a 69 6e 20 79 | directo|ry,.in y|
|00000720| 6f 75 72 0a 58 2e 49 20 | 48 4f 4d 45 0a 64 69 72 |our.X.I |HOME.dir|
|00000730| 65 63 74 6f 72 79 2c 20 | 6f 72 20 69 6e 20 61 20 |ectory, |or in a |
|00000740| 64 65 66 61 75 6c 74 20 | 64 69 72 65 63 74 6f 72 |default |director|
|00000750| 79 20 64 65 66 69 6e 65 | 64 20 61 74 20 63 6f 6d |y define|d at com|
|00000760| 70 69 6c 65 20 74 69 6d | 65 2e 20 54 68 69 73 20 |pile tim|e. This |
|00000770| 73 74 61 72 74 75 70 0a | 66 69 6c 65 20 6d 61 79 |startup.|file may|
|00000780| 20 63 6f 6e 74 61 69 6e | 20 61 6e 79 20 6f 66 20 | contain| any of |
|00000790| 74 68 65 20 76 61 6c 69 | 64 0a 58 2e 49 20 53 45 |the vali|d.X.I SE|
|000007a0| 54 0a 63 6f 6d 6d 61 6e | 64 73 20 64 65 73 63 72 |T.comman|ds descr|
|000007b0| 69 62 65 64 20 62 65 6c | 6f 77 2e 20 0a 58 2e 42 |ibed bel|ow. .X.B|
|000007c0| 20 58 63 0a 74 68 65 6e | 20 64 69 73 70 6c 61 79 | Xc.then| display|
|000007d0| 73 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 65 |s the cu|rrent se|
|000007e0| 74 74 69 6e 67 73 2c 20 | 61 6e 64 20 70 72 65 73 |ttings, |and pres|
|000007f0| 65 6e 74 73 20 61 6e 0a | 58 2e 49 20 3c 58 43 3e |ents an.|X.I <XC>|
|00000800| 0a 70 72 6f 6d 70 74 2c | 20 75 6e 6c 65 73 73 20 |.prompt,| unless |
|00000810| 65 69 74 68 65 72 20 74 | 68 65 20 5c 66 42 2d 74 |either t|he \fB-t|
|00000820| 5c 66 52 20 6f 72 20 5c | 66 42 2d 73 5c 66 52 20 |\fR or \|fB-s\fR |
|00000830| 6f 70 74 69 6f 6e 20 77 | 61 73 20 70 72 65 73 65 |option w|as prese|
|00000840| 6e 74 2e 0a 58 2e 53 53 | 20 5c 66 49 4f 70 74 69 |nt..X.SS| \fIOpti|
|00000850| 6f 6e 73 5c 66 52 0a 58 | 2e 54 50 20 39 0a 58 2e |ons\fR.X|.TP 9.X.|
|00000860| 42 49 20 2d 6c 20 64 65 | 76 69 63 65 0a 55 73 65 |BI -l de|vice.Use|
|00000870| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 0a | the spe|cified .|
|00000880| 58 2e 49 52 20 64 65 76 | 69 63 65 20 2c 0a 77 68 |X.IR dev|ice ,.wh|
|00000890| 69 63 68 20 6e 65 65 64 | 20 6e 6f 74 20 62 65 20 |ich need| not be |
|000008a0| 74 68 65 20 66 75 6c 6c | 20 70 61 74 68 6e 61 6d |the full| pathnam|
|000008b0| 65 2c 20 65 2e 67 2e 20 | 22 2f 64 65 76 2f 74 74 |e, e.g. |"/dev/tt|
|000008c0| 79 31 41 22 20 6f 72 20 | 22 74 74 79 31 41 22 20 |y1A" or |"tty1A" |
|000008d0| 61 72 65 0a 65 71 75 61 | 6c 6c 79 20 61 63 63 65 |are.equa|lly acce|
|000008e0| 70 74 61 62 6c 65 2e 0a | 54 68 65 20 6c 69 6e 65 |ptable..|The line|
|000008f0| 20 63 6f 75 6c 64 20 65 | 69 74 68 65 72 20 62 65 | could e|ither be|
|00000900| 20 64 69 72 65 63 74 6c | 79 20 63 6f 6e 6e 65 63 | directl|y connec|
|00000910| 74 65 64 20 74 6f 20 61 | 6e 6f 74 68 65 72 20 63 |ted to a|nother c|
|00000920| 6f 6d 70 75 74 65 72 2c | 20 6f 72 20 68 61 76 65 |omputer,| or have|
|00000930| 20 61 0a 6d 6f 64 65 6d | 20 6f 6e 20 69 74 2e 20 | a.modem| on it. |
|00000940| 49 6e 20 65 69 74 68 65 | 72 20 63 61 73 65 20 28 |In eithe|r case (|
|00000950| 69 66 20 61 20 76 61 6c | 75 65 20 77 61 73 20 64 |if a val|ue was d|
|00000960| 65 66 69 6e 65 64 20 66 | 6f 72 20 44 49 44 4f 20 |efined f|or DIDO |
|00000970| 61 74 20 63 6f 6d 70 69 | 6c 65 20 74 69 6d 65 29 |at compi|le time)|
|00000980| 2c 0a 58 2e 42 20 78 63 | 0a 61 74 74 65 6d 70 74 |,.X.B xc|.attempt|
|00000990| 73 20 74 6f 20 73 75 73 | 70 65 6e 64 20 61 0a 58 |s to sus|pend a.X|
|000009a0| 2e 42 52 20 67 65 74 74 | 79 20 28 4d 29 0a 70 72 |.BR gett|y (M).pr|
|000009b0| 6f 63 65 73 73 20 74 68 | 61 74 20 6d 69 67 68 74 |ocess th|at might|
|000009c0| 20 62 65 20 6f 6e 20 74 | 68 61 74 20 6c 69 6e 65 | be on t|hat line|
|000009d0| 2c 20 61 6e 64 20 74 68 | 65 6e 20 75 73 65 20 74 |, and th|en use t|
|000009e0| 68 65 0a 58 2e 42 52 20 | 75 75 63 70 20 28 43 29 |he.X.BR |uucp (C)|
|000009f0| 0a 58 2e 49 20 4c 43 4b | 2e 2e 66 69 6c 65 0a 6d |.X.I LCK|..file.m|
|00000a00| 65 63 68 61 6e 69 73 6d | 20 74 6f 20 6c 6f 63 6b |echanism| to lock|
|00000a10| 20 74 68 65 20 6c 69 6e | 65 2e 0a 58 2e 54 50 0a | the lin|e..X.TP.|
|00000a20| 58 2e 42 49 20 2d 73 20 | 73 63 72 69 70 74 0a 58 |X.BI -s |script.X|
|00000a30| 45 78 65 63 75 74 65 20 | 74 68 65 20 73 70 65 63 |Execute |the spec|
|00000a40| 69 66 69 65 64 0a 58 2e | 49 20 73 63 72 69 70 74 |ified.X.|I script|
|00000a50| 0a 61 66 74 65 72 20 70 | 72 6f 67 72 61 6d 20 73 |.after p|rogram s|
|00000a60| 74 61 72 74 75 70 2e 0a | 58 2e 54 50 0a 58 2e 42 |tartup..|X.TP.X.B|
|00000a70| 20 2d 74 0a 47 6f 20 64 | 69 72 65 63 74 6c 79 20 | -t.Go d|irectly |
|00000a80| 74 6f 20 74 65 72 6d 69 | 6e 61 6c 20 6d 6f 64 65 |to termi|nal mode|
|00000a90| 2e 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 69 73 |. The de|fault is|
|00000aa0| 20 74 6f 20 67 6f 20 74 | 6f 20 63 6f 6d 6d 61 6e | to go t|o comman|
|00000ab0| 64 20 6d 6f 64 65 20 6f | 6e 20 70 72 6f 67 72 61 |d mode o|n progra|
|00000ac0| 6d 0a 73 74 61 72 74 75 | 70 2e 20 54 68 69 73 20 |m.startu|p. This |
|00000ad0| 6f 70 74 69 6f 6e 20 69 | 73 20 69 6e 63 6f 6d 70 |option i|s incomp|
|00000ae0| 61 74 69 62 6c 65 20 77 | 69 74 68 20 74 68 65 20 |atible w|ith the |
|00000af0| 0a 58 2e 42 20 2d 73 0a | 6f 70 74 69 6f 6e 2e 0a |.X.B -s.|option..|
|00000b00| 58 2e 53 53 20 5c 66 49 | 45 6e 76 69 72 6f 6e 6d |X.SS \fI|Environm|
|00000b10| 65 6e 74 5c 66 52 0a 49 | 66 20 74 68 65 20 65 6e |ent\fR.I|f the en|
|00000b20| 76 69 72 6f 6e 6d 65 6e | 74 20 63 6f 6e 74 61 69 |vironmen|t contai|
|00000b30| 6e 73 20 61 20 76 61 72 | 69 61 62 6c 65 20 63 61 |ns a var|iable ca|
|00000b40| 6c 6c 65 64 20 22 4d 4f | 44 45 4d 22 2c 20 74 68 |lled "MO|DEM", th|
|00000b50| 65 6e 20 74 68 65 20 76 | 61 6c 75 65 0a 6f 66 20 |en the v|alue.of |
|00000b60| 74 68 61 74 20 76 61 72 | 69 61 62 6c 65 20 77 69 |that var|iable wi|
|00000b70| 6c 6c 20 62 65 20 74 68 | 65 20 64 65 66 61 75 6c |ll be th|e defaul|
|00000b80| 74 20 64 65 76 69 63 65 | 2e 20 41 73 20 77 69 74 |t device|. As wit|
|00000b90| 68 20 74 68 65 0a 58 2e | 42 20 2d 6c 0a 66 6c 61 |h the.X.|B -l.fla|
|00000ba0| 67 2c 20 74 68 69 73 20 | 6e 65 65 64 20 6e 6f 74 |g, this |need not|
|00000bb0| 20 62 65 20 74 68 65 0a | 66 75 6c 6c 20 70 61 74 | be the.|full pat|
|00000bc0| 68 6e 61 6d 65 2e 20 54 | 6f 20 73 65 74 20 73 75 |hname. T|o set su|
|00000bd0| 63 68 20 61 20 76 61 72 | 69 61 62 6c 65 2c 20 69 |ch a var|iable, i|
|00000be0| 6e 20 74 68 65 20 42 6f | 75 72 6e 65 20 73 68 65 |n the Bo|urne she|
|00000bf0| 6c 6c 2c 20 79 6f 75 20 | 6d 69 67 68 74 20 73 61 |ll, you |might sa|
|00000c00| 79 3a 0a 58 2e 49 50 0a | 4d 4f 44 45 4d 3d 74 74 |y:.X.IP.|MODEM=tt|
|00000c10| 79 30 31 3b 20 65 78 70 | 6f 72 74 20 4d 4f 44 45 |y01; exp|ort MODE|
|00000c20| 4d 0a 58 2e 50 0a 6f 72 | 2c 20 69 6e 20 74 68 65 |M.X.P.or|, in the|
|00000c30| 20 43 20 73 68 65 6c 6c | 2c 0a 58 2e 49 50 0a 73 | C shell|,.X.IP.s|
|00000c40| 65 74 65 6e 76 20 4d 4f | 44 45 4d 20 74 74 79 30 |etenv MO|DEM tty0|
|00000c50| 31 0a 58 2e 50 0a 49 66 | 20 74 68 65 20 65 6e 76 |1.X.P.If| the env|
|00000c60| 69 72 6f 6e 6d 65 6e 74 | 20 63 6f 6e 74 61 69 6e |ironment| contain|
|00000c70| 73 20 61 20 76 61 72 69 | 61 62 6c 65 20 63 61 6c |s a vari|able cal|
|00000c80| 6c 65 64 20 22 42 59 45 | 74 74 79 78 78 22 2c 20 |led "BYE|ttyxx", |
|00000c90| 77 68 65 72 65 20 22 74 | 74 79 78 78 22 0a 73 74 |where "t|tyxx".st|
|00000ca0| 61 6e 64 73 20 66 6f 72 | 20 74 68 65 20 62 61 73 |ands for| the bas|
|00000cb0| 65 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 6d 6f 64 |ename of| the mod|
|00000cc0| 65 6d 20 6c 69 6e 65 20 | 73 65 6c 65 63 74 65 64 |em line |selected|
|00000cd0| 20 65 69 74 68 65 72 20 | 62 79 20 74 68 65 20 4d | either |by the M|
|00000ce0| 4f 44 45 4d 0a 76 61 72 | 69 61 62 6c 65 20 6f 72 |ODEM.var|iable or|
|00000cf0| 20 62 79 20 74 68 65 20 | 22 2d 6c 22 20 63 6f 6d | by the |"-l" com|
|00000d00| 6d 61 6e 64 20 6f 70 74 | 69 6f 6e 2c 20 74 68 65 |mand opt|ion, the|
|00000d10| 6e 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |n the va|lue of t|
|00000d20| 68 61 74 20 76 61 72 69 | 61 62 6c 65 0a 77 69 6c |hat vari|able.wil|
|00000d30| 6c 20 62 65 20 73 65 6e | 74 20 74 6f 20 74 68 65 |l be sen|t to the|
|00000d40| 20 6d 6f 64 65 6d 20 77 | 68 65 6e 20 74 68 65 20 | modem w|hen the |
|00000d50| 70 72 6f 67 72 61 6d 20 | 74 65 72 6d 69 6e 61 74 |program |terminat|
|00000d60| 65 73 2e 20 54 68 69 73 | 20 69 73 20 75 73 65 66 |es. This| is usef|
|00000d70| 75 6c 0a 66 6f 72 20 73 | 65 74 74 69 6e 67 20 74 |ul.for s|etting t|
|00000d80| 68 65 20 6d 6f 64 65 6d | 20 62 61 63 6b 20 74 6f |he modem| back to|
|00000d90| 20 73 6f 6d 65 20 70 72 | 65 73 65 6c 65 63 74 65 | some pr|eselecte|
|00000da0| 64 20 73 74 61 74 65 2e | 20 45 78 61 6d 70 6c 65 |d state.| Example|
|00000db0| 3a 0a 58 2e 49 50 0a 42 | 59 45 74 74 79 30 31 3d |:.X.IP.B|YEtty01=|
|00000dc0| 41 54 5a 20 3b 20 65 78 | 70 6f 72 74 20 42 59 45 |ATZ ; ex|port BYE|
|00000dd0| 74 74 79 30 31 0a 58 2e | 50 0a 57 68 61 74 65 76 |tty01.X.|P.Whatev|
|00000de0| 65 72 20 73 74 72 69 6e | 67 20 69 73 20 63 6f 6e |er strin|g is con|
|00000df0| 74 61 69 6e 65 64 20 69 | 6e 20 74 68 65 20 22 42 |tained i|n the "B|
|00000e00| 79 65 78 78 78 78 78 22 | 20 76 61 72 69 61 62 6c |yexxxxx"| variabl|
|00000e10| 65 20 77 69 6c 6c 20 62 | 65 0a 73 65 6e 74 20 74 |e will b|e.sent t|
|00000e20| 6f 20 74 68 65 20 6d 6f | 64 65 6d 20 70 72 65 63 |o the mo|dem prec|
|00000e30| 65 64 65 64 20 61 6e 64 | 20 66 6f 6c 6c 6f 77 65 |eded and| followe|
|00000e40| 64 20 62 79 20 61 20 63 | 61 72 72 69 61 67 65 2d |d by a c|arriage-|
|00000e50| 72 65 74 75 72 6e 2e 0a | 58 0a 4e 65 77 65 72 20 |return..|X.Newer |
|00000e60| 6d 6f 64 65 6d 73 20 63 | 61 6e 20 62 65 20 70 72 |modems c|an be pr|
|00000e70| 65 73 65 74 20 74 6f 20 | 72 65 76 65 72 74 20 74 |eset to |revert t|
|00000e80| 6f 20 61 20 70 72 65 64 | 65 74 65 72 6d 69 6e 65 |o a pred|etermine|
|00000e90| 64 20 73 74 61 74 65 20 | 77 68 65 6e 20 74 68 65 |d state |when the|
|00000ea0| 0a 44 54 52 20 73 69 67 | 6e 61 6c 20 6f 66 20 74 |.DTR sig|nal of t|
|00000eb0| 68 65 20 63 6f 6d 70 75 | 74 65 72 20 69 73 20 64 |he compu|ter is d|
|00000ec0| 72 6f 70 70 65 64 2c 20 | 61 6e 64 20 73 6f 20 77 |ropped, |and so w|
|00000ed0| 6f 75 6c 64 20 6e 6f 74 | 20 6e 65 65 64 20 74 6f |ould not| need to|
|00000ee0| 20 61 76 61 69 6c 0a 74 | 68 65 6d 73 65 6c 76 65 | avail.t|hemselve|
|00000ef0| 73 20 6f 66 20 74 68 69 | 73 20 66 65 61 74 75 72 |s of thi|s featur|
|00000f00| 65 2e 20 46 75 72 74 68 | 65 72 6d 6f 72 65 2c 0a |e. Furth|ermore,.|
|00000f10| 58 2e 42 20 67 65 74 74 | 79 0a 70 72 6f 67 72 61 |X.B gett|y.progra|
|00000f20| 6d 73 20 77 68 69 63 68 | 20 68 61 76 65 20 62 65 |ms which| have be|
|00000f30| 65 6e 20 73 75 73 70 65 | 6e 64 65 64 2c 20 61 6e |en suspe|nded, an|
|00000f40| 64 20 77 68 69 63 68 20 | 72 65 73 74 61 72 74 20 |d which |restart |
|00000f50| 61 73 0a 58 2e 42 20 78 | 63 0a 65 78 69 74 73 2c |as.X.B x|c.exits,|
|00000f60| 20 77 69 6c 6c 20 72 65 | 73 65 74 20 61 20 6d 6f | will re|set a mo|
|00000f70| 64 65 6d 20 75 73 69 6e | 67 20 64 69 61 6c 65 72 |dem usin|g dialer|
|00000f80| 73 20 6f 72 20 63 68 61 | 74 20 73 63 72 69 70 74 |s or cha|t script|
|00000f90| 73 20 72 65 66 65 72 72 | 65 64 20 74 6f 20 69 6e |s referr|ed to in|
|00000fa0| 20 74 68 65 0a 58 2f 75 | 73 72 2f 6c 69 62 2f 75 | the.X/u|sr/lib/u|
|00000fb0| 75 63 70 2f 44 65 76 69 | 63 65 73 20 66 69 6c 65 |ucp/Devi|ces file|
|00000fc0| 2e 0a 58 0a 54 68 65 20 | 65 6e 76 69 72 6f 6e 6d |..X.The |environm|
|00000fd0| 65 6e 74 20 6d 61 79 20 | 63 6f 6e 74 61 69 6e 20 |ent may |contain |
|00000fe0| 61 20 76 61 72 69 61 62 | 6c 65 20 63 61 6c 6c 65 |a variab|le calle|
|00000ff0| 64 20 22 58 43 5f 50 41 | 54 48 22 2c 20 63 6f 6e |d "XC_PA|TH", con|
|00001000| 73 69 73 74 69 6e 67 0a | 6f 66 20 63 6f 6c 6f 6e |sisting.|of colon|
|00001010| 20 73 65 70 61 72 61 74 | 65 64 20 61 62 73 6f 6c | separat|ed absol|
|00001020| 75 74 65 20 70 61 74 68 | 73 20 74 6f 20 64 69 72 |ute path|s to dir|
|00001030| 65 63 74 6f 72 69 65 73 | 2e 20 49 66 20 74 68 69 |ectories|. If thi|
|00001040| 73 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 73 65 |s variab|le is se|
|00001050| 74 20 74 6f 2c 0a 73 61 | 79 2c 20 22 2f 75 73 72 |t to,.sa|y, "/usr|
|00001060| 2f 6a 6f 65 2f 78 63 3a | 2f 75 73 72 2f 6c 69 62 |/joe/xc:|/usr/lib|
|00001070| 2f 78 63 22 2c 20 74 68 | 65 6e 20 74 68 6f 73 65 |/xc", th|en those|
|00001080| 20 74 77 6f 20 64 69 72 | 65 63 74 6f 72 69 65 73 | two dir|ectories|
|00001090| 20 61 72 65 20 74 68 65 | 0a 66 69 72 73 74 20 70 | are the|.first p|
|000010a0| 6c 61 63 65 73 20 73 65 | 61 72 63 68 65 64 20 66 |laces se|arched f|
|000010b0| 6f 72 20 61 6e 79 20 73 | 63 72 69 70 74 73 2e 0a |or any s|cripts..|
|000010c0| 58 0a 58 2e 53 53 20 5c | 66 49 43 6f 6d 6d 61 6e |X.X.SS \|fIComman|
|000010d0| 64 20 4d 6f 64 65 5c 66 | 52 0a 57 68 65 6e 20 65 |d Mode\f|R.When e|
|000010e0| 6e 74 65 72 69 6e 67 20 | 63 68 61 72 61 63 74 65 |ntering |characte|
|000010f0| 72 73 20 69 6e 20 63 6f | 6d 6d 61 6e 64 20 6d 6f |rs in co|mmand mo|
|00001100| 64 65 20 28 74 68 61 74 | 20 69 73 2c 20 61 74 20 |de (that| is, at |
|00001110| 74 68 65 20 0a 58 2e 49 | 20 3c 58 43 3e 0a 70 72 |the .X.I| <XC>.pr|
|00001120| 6f 6d 70 74 29 2c 20 63 | 6f 6e 74 72 6f 6c 20 63 |ompt), c|ontrol c|
|00001130| 68 61 72 61 63 74 65 72 | 73 20 65 63 68 6f 20 61 |haracter|s echo a|
|00001140| 73 20 5e 78 2c 20 77 68 | 65 72 65 20 22 78 22 20 |s ^x, wh|ere "x" |
|00001150| 69 73 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 20 63 |is the c|ontrol c|
|00001160| 68 61 72 61 63 74 65 72 | 20 74 68 61 74 0a 77 61 |haracter| that.wa|
|00001170| 73 20 65 6e 74 65 72 65 | 64 2e 20 42 61 63 6b 73 |s entere|d. Backs|
|00001180| 70 61 63 69 6e 67 20 28 | 75 73 69 6e 67 20 77 68 |pacing (|using wh|
|00001190| 61 74 65 76 65 72 20 6b | 65 79 20 69 73 20 64 65 |atever k|ey is de|
|000011a0| 66 69 6e 65 64 20 69 6e | 20 74 68 65 20 63 75 72 |fined in| the cur|
|000011b0| 72 65 6e 74 0a 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |rent.env|ironment|
|000011c0| 29 20 62 61 63 6b 73 70 | 61 63 65 73 20 6f 76 65 |) backsp|aces ove|
|000011d0| 72 20 62 6f 74 68 20 70 | 6f 73 69 74 69 6f 6e 73 |r both p|ositions|
|000011e0| 20 6f 66 20 74 68 65 20 | 64 69 73 70 6c 61 79 65 | of the |displaye|
|000011f0| 64 20 63 6f 6e 74 72 6f | 6c 20 63 68 61 72 61 63 |d contro|l charac|
|00001200| 74 65 72 2c 0a 61 73 20 | 65 78 70 65 63 74 65 64 |ter,.as |expected|
|00001210| 2e 20 0a 58 0a 41 6e 20 | 22 69 6e 74 65 72 70 72 |. .X.An |"interpr|
|00001220| 65 74 65 64 22 20 6b 65 | 79 20 63 61 6e 20 62 65 |eted" ke|y can be|
|00001230| 20 61 64 64 65 64 20 69 | 6e 20 61 20 6d 61 6e 6e | added i|n a mann|
|00001240| 65 72 20 73 69 6d 69 6c | 61 72 20 74 6f 20 74 68 |er simil|ar to th|
|00001250| 61 74 20 6f 66 0a 58 2e | 42 52 20 76 69 20 28 43 |at of.X.|BR vi (C|
|00001260| 29 3b 0a 73 69 6d 70 6c | 79 20 74 79 70 65 20 5e |);.simpl|y type ^|
|00001270| 56 20 66 6f 6c 6c 6f 77 | 65 64 20 62 79 20 74 68 |V follow|ed by th|
|00001280| 65 20 63 68 61 72 61 63 | 74 65 72 20 74 6f 20 69 |e charac|ter to i|
|00001290| 6e 73 65 72 74 20 28 62 | 61 63 6b 73 70 61 63 65 |nsert (b|ackspace|
|000012a0| 2c 20 64 65 6c 65 74 65 | 2c 0a 63 61 72 72 69 61 |, delete|,.carria|
|000012b0| 67 65 20 72 65 74 75 72 | 6e 2c 20 6f 72 20 6e 65 |ge retur|n, or ne|
|000012c0| 77 6c 69 6e 65 29 2e 0a | 58 0a 54 68 65 20 66 6f |wline)..|X.The fo|
|000012d0| 6c 6c 6f 77 69 6e 67 20 | 63 6f 6d 6d 61 6e 64 73 |llowing |commands|
|000012e0| 20 61 72 65 20 61 76 61 | 69 6c 61 62 6c 65 20 61 | are ava|ilable a|
|000012f0| 74 20 74 68 65 0a 58 2e | 49 20 3c 58 43 3e 0a 63 |t the.X.|I <XC>.c|
|00001300| 6f 6d 6d 61 6e 64 20 70 | 72 6f 6d 70 74 3a 0a 58 |ommand p|rompt:.X|
|00001310| 0a 58 2e 54 53 0a 74 61 | 62 28 40 29 3b 0a 6c 31 |.X.TS.ta|b(@);.l1|
|00001320| 42 20 6c 77 28 35 36 29 | 20 2e 0a 63 0a 63 69 73 |B lw(56)| ..c.cis|
|00001330| 40 54 7b 0a 52 65 73 70 | 6f 6e 64 20 74 6f 20 61 |@T{.Resp|ond to a|
|00001340| 6e 20 45 4e 51 20 73 69 | 67 6e 61 6c 20 66 6f 72 |n ENQ si|gnal for|
|00001350| 20 61 20 43 49 53 20 42 | 2d 50 6c 75 73 20 70 72 | a CIS B|-Plus pr|
|00001360| 6f 74 6f 63 6f 6c 20 74 | 72 61 6e 73 66 65 72 2e |otocol t|ransfer.|
|00001370| 20 54 68 69 73 20 63 6f | 6d 6d 61 6e 64 20 69 73 | This co|mmand is|
|00001380| 0a 75 73 65 64 20 66 6f | 72 20 62 6f 74 68 20 75 |.used fo|r both u|
|00001390| 70 6c 6f 61 64 69 6e 67 | 20 61 6e 64 20 64 6f 77 |ploading| and dow|
|000013a0| 6e 6c 6f 61 64 69 6e 67 | 20 66 72 6f 6d 20 43 6f |nloading| from Co|
|000013b0| 6d 70 75 53 65 72 76 65 | 2e 0a 54 7d 0a 58 0a 64 |mpuServe|..T}.X.d|
|000013c0| 0a 64 69 61 6c 40 54 7b | 0a 58 45 6e 74 65 72 20 |.dial@T{|.XEnter |
|000013d0| 74 68 65 20 64 69 61 6c | 20 64 69 72 65 63 74 6f |the dial| directo|
|000013e0| 72 79 2e 20 52 65 74 75 | 72 6e 73 20 74 6f 20 74 |ry. Retu|rns to t|
|000013f0| 68 65 20 5c 66 49 3c 58 | 43 3e 5c 66 52 0a 70 72 |he \fI<X|C>\fR.pr|
|00001400| 6f 6d 70 74 20 69 66 20 | 65 78 69 74 65 64 20 77 |ompt if |exited w|
|00001410| 69 74 68 6f 75 74 20 64 | 69 61 6c 69 6e 67 2c 20 |ithout d|ialing, |
|00001420| 62 75 74 20 72 65 74 75 | 72 6e 73 20 74 6f 20 74 |but retu|rns to t|
|00001430| 65 72 6d 69 6e 61 6c 20 | 6d 6f 64 65 20 61 66 74 |erminal |mode aft|
|00001440| 65 72 0a 64 69 61 6c 69 | 6e 67 20 6f 72 20 72 75 |er.diali|ng or ru|
|00001450| 6e 6e 69 6e 67 20 61 20 | 73 63 72 69 70 74 2e 0a |nning a |script..|
|00001460| 54 7d 0a 58 0a 73 20 5c | 66 49 66 69 6c 65 0a 73 |T}.X.s \|fIfile.s|
|00001470| 63 72 69 70 74 20 5c 66 | 49 66 69 6c 65 5c 66 52 |cript \f|Ifile\fR|
|00001480| 40 54 7b 0a 58 45 78 65 | 63 75 74 65 20 5c 66 49 |@T{.XExe|cute \fI|
|00001490| 66 69 6c 65 5c 66 52 2c | 20 77 68 69 63 68 20 63 |file\fR,| which c|
|000014a0| 6f 6e 74 61 69 6e 73 20 | 61 70 70 72 6f 70 72 69 |ontains |appropri|
|000014b0| 61 74 65 20 5c 66 42 78 | 63 5c 66 52 0a 73 63 72 |ate \fBx|c\fR.scr|
|000014c0| 69 70 74 20 63 6f 6d 6d | 61 6e 64 73 2e 20 52 65 |ipt comm|ands. Re|
|000014d0| 74 75 72 6e 73 20 74 6f | 20 74 65 72 6d 69 6e 61 |turns to| termina|
|000014e0| 6c 20 6d 6f 64 65 20 77 | 68 65 6e 20 74 68 65 20 |l mode w|hen the |
|000014f0| 73 63 72 69 70 74 20 69 | 73 20 63 6f 6d 70 6c 65 |script i|s comple|
|00001500| 74 65 2e 0a 54 7d 0a 58 | 0a 72 62 20 5c 66 49 66 |te..T}.X|.rb \fIf|
|00001510| 69 6c 65 5c 66 52 40 28 | 58 4d 4f 44 45 4d 20 62 |ile\fR@(|XMODEM b|
|00001520| 69 6e 61 72 79 20 72 65 | 63 65 69 76 65 29 0a 72 |inary re|ceive).r|
|00001530| 74 20 5c 66 49 66 69 6c | 65 5c 66 52 40 54 7b 0a |t \fIfil|e\fR@T{.|
|00001540| 58 28 58 4d 4f 44 45 4d | 20 74 65 78 74 20 72 65 |X(XMODEM| text re|
|00001550| 63 65 69 76 65 29 20 52 | 65 63 65 69 76 65 20 5c |ceive) R|eceive \|
|00001560| 66 49 66 69 6c 65 5c 66 | 52 20 66 72 6f 6d 20 74 |fIfile\f|R from t|
|00001570| 68 65 20 72 65 6d 6f 74 | 65 20 73 79 73 74 65 6d |he remot|e system|
|00001580| 2e 0a 54 7d 0a 58 0a 73 | 62 20 5c 66 49 66 69 6c |..T}.X.s|b \fIfil|
|00001590| 65 5c 66 52 40 28 58 4d | 4f 44 45 4d 20 62 69 6e |e\fR@(XM|ODEM bin|
|000015a0| 61 72 79 20 73 65 6e 64 | 29 0a 73 74 20 5c 66 49 |ary send|).st \fI|
|000015b0| 66 69 6c 65 5c 66 52 40 | 54 7b 0a 58 28 58 4d 4f |file\fR@|T{.X(XMO|
|000015c0| 44 45 4d 20 74 65 78 74 | 20 73 65 6e 64 29 20 54 |DEM text| send) T|
|000015d0| 72 61 6e 73 6d 69 74 20 | 5c 66 49 66 69 6c 65 5c |ransmit |\fIfile\|
|000015e0| 66 52 20 74 6f 20 74 68 | 65 20 72 65 6d 6f 74 65 |fR to th|e remote|
|000015f0| 20 73 79 73 74 65 6d 2e | 0a 54 7d 0a 58 0a 73 65 | system.|.T}.X.se|
|00001600| 74 20 5c 66 52 5b 5c 66 | 49 6f 70 74 69 6f 6e 73 |t \fR[\f|Ioptions|
|00001610| 5c 66 52 5d 40 54 7b 0a | 44 69 73 70 6c 61 79 20 |\fR]@T{.|Display |
|00001620| 6f 72 20 73 65 74 20 74 | 68 65 20 74 72 61 6e 73 |or set t|he trans|
|00001630| 6d 69 73 73 69 6f 6e 20 | 70 61 72 61 6d 65 74 65 |mission |paramete|
|00001640| 72 73 20 75 73 65 64 20 | 62 79 20 5c 66 42 78 63 |rs used |by \fBxc|
|00001650| 5c 66 52 2e 20 53 65 65 | 20 62 65 6c 6f 77 2e 0a |\fR. See| below..|
|00001660| 54 7d 0a 58 0a 74 0a 74 | 65 72 6d 40 45 6e 74 65 |T}.X.t.t|erm@Ente|
|00001670| 72 20 74 65 72 6d 69 6e | 61 6c 20 6d 6f 64 65 2e |r termin|al mode.|
|00001680| 0a 58 0a 78 0a 71 0a 65 | 78 69 74 0a 71 75 69 74 |.X.x.q.e|xit.quit|
|00001690| 40 45 78 69 74 20 70 72 | 6f 67 72 61 6d 2e 20 52 |@Exit pr|ogram. R|
|000016a0| 65 74 75 72 6e 20 74 6f | 20 69 6e 76 6f 6b 69 6e |eturn to| invokin|
|000016b0| 67 20 70 72 6f 67 72 61 | 6d 2f 73 68 65 6c 6c 2e |g progra|m/shell.|
|000016c0| 0a 58 0a 68 0a 68 61 6e | 67 75 70 40 48 61 6e 67 |.X.h.han|gup@Hang|
|000016d0| 2d 75 70 20 74 68 65 20 | 6d 6f 64 65 6d 2e 0a 58 |-up the |modem..X|
|000016e0| 0a 58 25 70 20 5c 66 49 | 6c 6f 63 61 6c 5c 66 52 |.X%p \fI|local\fR|
|000016f0| 5f 5c 66 49 6e 61 6d 65 | 5c 66 52 40 54 7b 0a 58 |_\fIname|\fR@T{.X|
|00001700| 5b 5c 66 49 72 65 6d 6f | 74 65 5f 6e 61 6d 65 5c |[\fIremo|te_name\|
|00001710| 66 52 5d 20 54 72 61 6e | 73 6d 69 74 20 28 70 75 |fR] Tran|smit (pu|
|00001720| 74 29 20 61 20 66 69 6c | 65 20 74 6f 20 61 20 72 |t) a fil|e to a r|
|00001730| 65 6d 6f 74 65 20 55 6e | 69 78 20 73 79 73 74 65 |emote Un|ix syste|
|00001740| 6d 2e 20 54 68 69 73 20 | 63 6f 6d 6d 61 6e 64 0a |m. This |command.|
|00001750| 75 73 65 73 20 73 74 61 | 6e 64 61 72 64 20 55 6e |uses sta|ndard Un|
|00001760| 69 78 20 75 74 69 6c 69 | 74 69 65 73 20 6f 6e 20 |ix utili|ties on |
|00001770| 74 68 65 20 6f 74 68 65 | 72 20 65 6e 64 2e 20 5c |the othe|r end. \|
|00001780| 66 49 52 65 6d 6f 74 65 | 5f 6e 61 6d 65 5c 66 52 |fIRemote|_name\fR|
|00001790| 20 64 65 66 61 75 6c 74 | 73 20 74 6f 0a 74 68 65 | default|s to.the|
|000017a0| 20 73 61 6d 65 20 70 61 | 74 68 6e 61 6d 65 20 61 | same pa|thname a|
|000017b0| 73 20 5c 66 49 6c 6f 63 | 61 6c 5f 6e 61 6d 65 5c |s \fIloc|al_name\|
|000017c0| 66 52 20 69 66 20 6e 6f | 74 20 6f 74 68 65 72 77 |fR if no|t otherw|
|000017d0| 69 73 65 20 73 70 65 63 | 69 66 69 65 64 2e 0a 54 |ise spec|ified..T|
|000017e0| 7d 0a 58 0a 58 25 74 20 | 5c 66 49 72 65 6d 6f 74 |}.X.X%t |\fIremot|
|000017f0| 65 5c 66 52 5f 5c 66 49 | 6e 61 6d 65 5c 66 52 40 |e\fR_\fI|name\fR@|
|00001800| 54 7b 0a 58 5b 5c 66 49 | 6c 6f 63 61 6c 5f 6e 61 |T{.X[\fI|local_na|
|00001810| 6d 65 5c 66 52 5d 20 52 | 65 63 65 69 76 65 20 28 |me\fR] R|eceive (|
|00001820| 74 61 6b 65 29 20 61 20 | 66 69 6c 65 20 66 72 6f |take) a |file fro|
|00001830| 6d 20 61 20 72 65 6d 6f | 74 65 20 55 6e 69 78 20 |m a remo|te Unix |
|00001840| 73 79 73 74 65 6d 2e 20 | 54 68 69 73 0a 63 6f 6d |system. |This.com|
|00001850| 6d 61 6e 64 20 75 73 65 | 73 20 73 74 61 6e 64 61 |mand use|s standa|
|00001860| 72 64 20 55 6e 69 78 20 | 75 74 69 6c 69 74 69 65 |rd Unix |utilitie|
|00001870| 73 20 6f 6e 20 74 68 65 | 20 6f 74 68 65 72 20 65 |s on the| other e|
|00001880| 6e 64 2e 20 5c 66 49 4c | 6f 63 61 6c 5f 6e 61 6d |nd. \fIL|ocal_nam|
|00001890| 65 5c 66 52 0a 64 65 66 | 61 75 6c 74 73 20 74 6f |e\fR.def|aults to|
|000018a0| 20 74 68 65 20 73 61 6d | 65 20 70 61 74 68 6e 61 | the sam|e pathna|
|000018b0| 6d 65 20 61 73 20 5c 66 | 49 72 65 6d 6f 74 65 5f |me as \f|Iremote_|
|000018c0| 6e 61 6d 65 5c 66 52 20 | 69 66 20 6e 6f 74 20 6f |name\fR |if not o|
|000018d0| 74 68 65 72 77 69 73 65 | 20 73 70 65 63 69 66 69 |therwise| specifi|
|000018e0| 65 64 2e 0a 54 7d 0a 58 | 0a 58 3f 0a 68 65 6c 70 |ed..T}.X|.X?.help|
|000018f0| 40 54 7b 0a 44 69 73 70 | 6c 61 79 73 20 61 20 62 |@T{.Disp|lays a b|
|00001900| 72 69 65 66 20 73 75 6d | 6d 61 72 79 20 6f 66 20 |rief sum|mary of |
|00001910| 5c 66 42 78 63 5c 66 52 | 20 63 6f 6d 6d 61 6e 64 |\fBxc\fR| command|
|00001920| 73 2c 20 74 68 65 20 53 | 45 54 20 6f 70 74 69 6f |s, the S|ET optio|
|00001930| 6e 73 2c 20 61 6e 64 0a | 74 65 72 6d 69 6e 61 6c |ns, and.|terminal|
|00001940| 2d 65 73 63 61 70 65 20 | 63 6f 6d 6d 61 6e 64 73 |-escape |commands|
|00001950| 2e 0a 54 7d 0a 58 2e 54 | 45 0a 58 2e 50 0a 58 5b |..T}.X.T|E.X.P.X[|
|00001960| 4e 6f 74 65 3a 20 61 20 | 63 6f 6d 70 69 6c 65 2d |Note: a |compile-|
|00001970| 74 69 6d 65 20 6f 70 74 | 69 6f 6e 20 63 61 6e 20 |time opt|ion can |
|00001980| 64 69 73 61 62 6c 65 20 | 74 68 65 20 66 6f 6c 6c |disable |the foll|
|00001990| 6f 77 69 6e 67 20 74 68 | 72 65 65 20 6f 70 74 69 |owing th|ree opti|
|000019a0| 6f 6e 73 20 74 6f 0a 70 | 72 65 76 65 6e 74 20 61 |ons to.p|revent a|
|000019b0| 6e 79 20 61 63 63 65 73 | 73 20 74 6f 20 73 68 65 |ny acces|s to she|
|000019c0| 6c 6c 73 20 6f 72 20 6f | 74 68 65 72 20 70 72 6f |lls or o|ther pro|
|000019d0| 67 72 61 6d 73 20 6f 75 | 74 73 69 64 65 20 6f 66 |grams ou|tside of|
|000019e0| 0a 58 2e 42 52 20 78 63 | 20 2e 5d 0a 58 0a 58 2e |.X.BR xc| .].X.X.|
|000019f0| 54 53 0a 74 61 62 28 40 | 29 3b 0a 6c 36 42 20 6c |TS.tab(@|);.l6B l|
|00001a00| 77 28 35 36 29 20 2e 0a | 58 21 20 5c 66 49 63 6f |w(56) ..|X! \fIco|
|00001a10| 6d 6d 61 6e 64 5c 66 52 | 40 54 7b 0a 58 45 78 65 |mmand\fR|@T{.XExe|
|00001a20| 63 75 74 65 20 74 68 65 | 20 73 70 65 63 69 66 69 |cute the| specifi|
|00001a30| 65 64 20 5c 66 49 63 6f | 6d 6d 61 6e 64 5c 66 52 |ed \fIco|mmand\fR|
|00001a40| 20 61 73 20 61 20 63 68 | 69 6c 64 20 70 72 6f 63 | as a ch|ild proc|
|00001a50| 65 73 73 2e 20 49 66 20 | 5c 66 49 63 6f 6d 6d 61 |ess. If |\fIcomma|
|00001a60| 6e 64 5c 66 52 20 69 73 | 0a 6f 6d 69 74 74 65 64 |nd\fR is|.omitted|
|00001a70| 2c 20 65 78 65 63 75 74 | 65 20 61 20 6c 6f 63 61 |, execut|e a loca|
|00001a80| 6c 20 69 6e 74 65 72 61 | 63 74 69 76 65 20 73 68 |l intera|ctive sh|
|00001a90| 65 6c 6c 2e 0a 58 28 41 | 20 73 70 61 63 65 20 69 |ell..X(A| space i|
|00001aa0| 73 20 72 65 71 75 69 72 | 65 64 20 62 65 74 77 65 |s requir|ed betwe|
|00001ab0| 65 6e 20 74 68 65 20 5c | 66 42 21 5c 66 52 20 61 |en the \|fB!\fR a|
|00001ac0| 6e 64 20 74 68 65 20 5c | 66 49 63 6f 6d 6d 61 6e |nd the \|fIcomman|
|00001ad0| 64 5c 66 52 2e 29 0a 54 | 7d 0a 58 0a 58 21 21 40 |d\fR.).T|}.X.X!!@|
|00001ae0| 52 65 2d 65 78 65 63 75 | 74 65 20 74 68 65 20 6c |Re-execu|te the l|
|00001af0| 61 73 74 20 73 68 65 6c | 6c 20 63 6f 6d 6d 61 6e |ast shel|l comman|
|00001b00| 64 20 73 74 72 69 6e 67 | 2e 20 0a 58 0a 58 24 20 |d string|. .X.X$ |
|00001b10| 5c 66 49 63 6f 6d 6d 61 | 6e 64 5c 66 52 40 54 7b |\fIcomma|nd\fR@T{|
|00001b20| 0a 58 45 78 65 63 75 74 | 65 20 61 20 73 68 65 6c |.XExecut|e a shel|
|00001b30| 6c 20 5c 66 49 63 6f 6d | 6d 61 6e 64 5c 66 52 20 |l \fIcom|mand\fR |
|00001b40| 77 69 74 68 20 73 74 64 | 69 6e 20 61 6e 64 20 73 |with std|in and s|
|00001b50| 74 64 6f 75 74 20 72 65 | 64 69 5c 25 72 65 63 74 |tdout re|di\%rect|
|00001b60| 65 64 20 74 6f 20 74 68 | 65 0a 6d 6f 64 65 6d 20 |ed to th|e.modem |
|00001b70| 70 6f 72 74 2e 20 54 68 | 69 73 20 65 66 66 65 63 |port. Th|is effec|
|00001b80| 74 69 76 65 6c 79 20 70 | 75 74 73 20 74 68 65 20 |tively p|uts the |
|00001b90| 63 6f 6d 70 75 74 65 72 | 20 69 6e 74 6f 20 61 20 |computer| into a |
|00001ba0| 22 68 6f 73 74 22 20 6d | 6f 64 65 2e 0a 58 28 41 |"host" m|ode..X(A|
|00001bb0| 20 73 70 61 63 65 20 69 | 73 20 72 65 71 75 69 72 | space i|s requir|
|00001bc0| 65 64 20 62 65 74 77 65 | 65 6e 20 74 68 65 20 5c |ed betwe|en the \|
|00001bd0| 66 42 24 5c 66 52 20 61 | 6e 64 20 74 68 65 20 5c |fB$\fR a|nd the \|
|00001be0| 66 49 63 6f 6d 6d 61 6e | 64 5c 66 52 2e 29 0a 54 |fIcomman|d\fR.).T|
|00001bf0| 7d 0a 58 2e 54 45 0a 58 | 2e 53 53 20 5c 66 49 55 |}.X.TE.X|.SS \fIU|
|00001c00| 73 69 6e 67 20 74 68 65 | 20 53 45 54 20 43 6f 6d |sing the| SET Com|
|00001c10| 6d 61 6e 64 5c 66 52 0a | 54 68 65 0a 58 2e 49 20 |mand\fR.|The.X.I |
|00001c20| 53 45 54 0a 63 6f 6d 6d | 61 6e 64 20 69 73 20 75 |SET.comm|and is u|
|00001c30| 73 65 64 20 74 6f 20 64 | 69 73 70 6c 61 79 20 61 |sed to d|isplay a|
|00001c40| 6e 64 20 73 65 74 2f 72 | 65 73 65 74 0a 58 2e 42 |nd set/r|eset.X.B|
|00001c50| 52 20 78 63 20 27 73 0a | 74 75 6e 61 62 6c 65 20 |R xc 's.|tunable |
|00001c60| 70 61 72 61 6d 65 74 65 | 72 73 2e 20 41 6e 79 20 |paramete|rs. Any |
|00001c70| 6f 66 20 74 68 65 73 65 | 20 63 6f 6d 6d 61 6e 64 |of these| command|
|00001c80| 73 20 6d 61 79 20 62 65 | 20 70 6c 61 63 65 64 20 |s may be| placed |
|00001c90| 69 6e 20 74 68 65 0a 58 | 2e 49 20 2e 78 63 0a 66 |in the.X|.I .xc.f|
|00001ca0| 69 6c 65 20 77 68 69 63 | 68 20 69 73 20 72 65 61 |ile whic|h is rea|
|00001cb0| 64 20 75 70 6f 6e 20 73 | 74 61 72 74 69 6e 67 20 |d upon s|tarting |
|00001cc0| 75 70 0a 58 2e 42 52 20 | 78 63 20 2e 0a 58 0a 55 |up.X.BR |xc ..X.U|
|00001cd0| 73 65 64 20 61 6c 6f 6e | 65 2c 0a 58 2e 49 20 53 |sed alon|e,.X.I S|
|00001ce0| 45 54 0a 64 69 73 70 6c | 61 79 73 0a 58 2e 42 52 |ET.displ|ays.X.BR|
|00001cf0| 20 78 63 20 27 73 0a 63 | 75 72 72 65 6e 74 20 70 | xc 's.c|urrent p|
|00001d00| 61 72 61 6d 65 74 65 72 | 73 2e 0a 58 0a 54 68 65 |arameter|s..X.The|
|00001d10| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 70 61 72 61 6d | followi|ng param|
|00001d20| 65 74 65 72 73 20 63 61 | 6e 20 62 65 20 73 65 74 |eters ca|n be set|
|00001d30| 20 28 6e 6f 74 65 20 74 | 68 61 74 20 65 78 63 65 | (note t|hat exce|
|00001d40| 70 74 20 69 6e 20 74 68 | 65 20 63 61 73 65 20 6f |pt in th|e case o|
|00001d50| 66 0a 58 2e 49 52 20 6e | 61 6d 65 20 73 2c 0a 74 |f.X.IR n|ame s,.t|
|00001d60| 68 65 73 65 20 63 6f 6d | 6d 61 6e 64 73 20 61 72 |hese com|mands ar|
|00001d70| 65 20 63 61 73 65 2d 5c | 66 49 69 6e 5c 66 52 73 |e case-\|fIin\fRs|
|00001d80| 65 6e 73 69 74 69 76 65 | 2c 20 61 6e 64 20 74 68 |ensitive|, and th|
|00001d90| 61 74 20 74 68 65 72 65 | 20 61 6c 74 65 72 6e 61 |at there| alterna|
|00001da0| 74 69 76 65 20 66 6f 72 | 6d 73 0a 6f 66 20 74 68 |tive for|ms.of th|
|00001db0| 65 20 63 6f 6d 6d 61 6e | 64 73 20 73 68 6f 77 6e |e comman|ds shown|
|00001dc0| 20 6f 6e 20 74 68 65 20 | 58 43 20 68 65 6c 70 20 | on the |XC help |
|00001dd0| 73 63 72 65 65 6e 29 3a | 0a 58 0a 58 2e 54 53 0a |screen):|.X.X.TS.|
|00001de0| 74 61 62 28 40 29 20 3b | 0a 6c 31 20 6c 77 28 35 |tab(@) ;|.l1 lw(5|
|00001df0| 34 29 20 2e 0a 73 65 74 | 20 61 75 74 6f 20 6f 6e |4) ..set| auto on|
|00001e00| 7c 6f 66 66 40 54 7b 0a | 53 65 74 73 20 74 68 65 ||off@T{.|Sets the|
|00001e10| 20 61 75 74 6f 2d 63 61 | 70 74 75 72 65 20 66 65 | auto-ca|pture fe|
|00001e20| 61 74 75 72 65 2e 20 57 | 68 65 6e 20 65 6e 74 65 |ature. W|hen ente|
|00001e30| 72 69 6e 67 20 74 65 72 | 6d 69 6e 61 6c 20 6d 6f |ring ter|minal mo|
|00001e40| 64 65 2c 20 63 61 70 74 | 75 72 69 6e 67 0a 63 6f |de, capt|uring.co|
|00001e50| 6d 6d 65 6e 63 65 73 20 | 77 69 74 68 6f 75 74 20 |mmences |without |
|00001e60| 74 68 65 20 6e 65 63 65 | 73 73 69 74 79 20 74 6f |the nece|ssity to|
|00001e70| 20 6d 61 6e 75 61 6c 6c | 79 20 72 65 71 75 65 73 | manuall|y reques|
|00001e80| 74 20 69 74 2e 0a 54 7d | 0a 58 0a 73 65 74 20 62 |t it..T}|.X.set b|
|00001e90| 70 73 20 5c 66 49 76 61 | 6c 75 65 5c 66 52 0a 73 |ps \fIva|lue\fR.s|
|00001ea0| 65 74 20 62 61 75 64 20 | 5c 66 49 76 61 6c 75 65 |et baud |\fIvalue|
|00001eb0| 5c 66 52 40 54 7b 0a 53 | 65 74 20 74 68 65 20 64 |\fR@T{.S|et the d|
|00001ec0| 65 73 69 72 65 64 20 62 | 69 74 73 2f 73 65 63 6f |esired b|its/seco|
|00001ed0| 6e 64 20 72 61 74 65 2e | 20 53 75 70 70 6f 72 74 |nd rate.| Support|
|00001ee0| 65 64 20 62 70 73 20 72 | 61 74 65 73 20 61 72 65 |ed bps r|ates are|
|00001ef0| 20 33 30 30 2c 20 31 32 | 30 30 2c 20 32 34 30 30 | 300, 12|00, 2400|
|00001f00| 2c 0a 58 39 36 30 30 20 | 28 61 6e 64 2c 20 69 66 |,.X9600 |(and, if|
|00001f10| 20 69 6e 63 6c 75 64 65 | 64 20 61 74 20 63 6f 6d | include|d at com|
|00001f20| 70 69 6c 65 20 74 69 6d | 65 2c 20 31 39 32 30 30 |pile tim|e, 19200|
|00001f30| 20 61 6e 64 20 33 38 34 | 30 30 29 2e 0a 54 7d 0a | and 384|00)..T}.|
|00001f40| 58 0a 73 65 74 20 63 66 | 69 6c 65 20 5c 66 49 6e |X.set cf|ile \fIn|
|00001f50| 61 6d 65 5c 66 52 40 53 | 65 74 20 74 68 65 20 5c |ame\fR@S|et the \|
|00001f60| 66 49 6e 61 6d 65 5c 66 | 52 20 6f 66 20 74 68 65 |fIname\f|R of the|
|00001f70| 20 63 61 70 74 75 72 65 | 20 66 69 6c 65 2e 0a 58 | capture| file..X|
|00001f80| 0a 73 65 74 20 63 69 73 | 20 6f 6e 7c 6f 66 66 40 |.set cis| on|off@|
|00001f90| 54 7b 0a 53 65 74 20 72 | 65 73 70 6f 6e 73 65 20 |T{.Set r|esponse |
|00001fa0| 74 6f 20 61 20 43 6f 6d | 70 75 53 65 72 76 65 20 |to a Com|puServe |
|00001fb0| 66 69 6c 65 20 74 72 61 | 6e 73 66 65 72 20 72 65 |file tra|nsfer re|
|00001fc0| 71 75 65 73 74 20 28 3c | 45 4e 51 3e 29 2e 20 41 |quest (<|ENQ>). A|
|00001fd0| 6e 20 22 6f 6e 22 20 76 | 61 6c 75 65 0a 73 70 65 |n "on" v|alue.spe|
|00001fe0| 63 69 66 69 65 73 20 74 | 68 61 74 20 77 68 65 6e |cifies t|hat when|
|00001ff0| 20 69 6e 20 74 65 72 6d | 69 6e 61 6c 20 6d 6f 64 | in term|inal mod|
|00002000| 65 2c 20 61 6e 20 3c 45 | 4e 51 3e 20 63 68 61 72 |e, an <E|NQ> char|
|00002010| 61 63 74 65 72 20 77 69 | 6c 6c 20 6c 61 75 6e 63 |acter wi|ll launc|
|00002020| 68 20 61 20 43 49 53 0a | 42 2d 50 6c 75 73 20 70 |h a CIS.|B-Plus p|
|00002030| 72 6f 74 6f 63 6f 6c 20 | 74 72 61 6e 73 66 65 72 |rotocol |transfer|
|00002040| 2e 20 54 68 69 73 20 70 | 61 72 61 6d 65 74 65 72 |. This p|arameter|
|00002050| 20 73 68 6f 75 6c 64 20 | 62 65 20 73 65 74 20 22 | should |be set "|
|00002060| 6f 66 66 22 20 77 68 65 | 6e 20 6e 6f 74 0a 63 6f |off" whe|n not.co|
|00002070| 6e 6e 65 63 74 69 6e 67 | 20 74 6f 20 43 6f 6d 70 |nnecting| to Comp|
|00002080| 75 53 65 72 76 65 2c 20 | 61 73 20 70 68 6f 6e 65 |uServe, |as phone|
|00002090| 20 6c 69 6e 65 20 6e 6f | 69 73 65 20 6d 61 79 20 | line no|ise may |
|000020a0| 63 61 75 73 65 20 61 20 | 62 6f 67 75 73 20 66 69 |cause a |bogus fi|
|000020b0| 6c 65 20 74 72 61 6e 73 | 66 65 72 0a 72 65 71 75 |le trans|fer.requ|
|000020c0| 65 73 74 2e 0a 54 7d 0a | 58 0a 73 65 74 20 63 72 |est..T}.|X.set cr|
|000020d0| 20 6f 6e 7c 6f 66 66 40 | 54 7b 0a 49 6e 20 75 70 | on|off@|T{.In up|
|000020e0| 6c 6f 61 64 73 20 75 73 | 69 6e 67 20 42 2d 50 6c |loads us|ing B-Pl|
|000020f0| 75 73 20 70 72 6f 74 6f | 63 6f 6c 2c 20 73 65 74 |us proto|col, set|
|00002100| 74 69 6e 67 20 74 68 69 | 73 20 6f 70 74 69 6f 6e |ting thi|s option|
|00002110| 20 22 6f 6e 22 20 77 69 | 6c 6c 20 69 6e 73 65 72 | "on" wi|ll inser|
|00002120| 74 20 61 0a 63 61 72 72 | 69 61 67 65 2d 72 65 74 |t a.carr|iage-ret|
|00002130| 75 72 6e 20 61 66 74 65 | 72 20 65 61 63 68 20 6e |urn afte|r each n|
|00002140| 65 77 6c 69 6e 65 20 69 | 6e 20 61 6e 20 41 53 43 |ewline i|n an ASC|
|00002150| 49 49 20 66 69 6c 65 2e | 20 49 66 20 79 6f 75 20 |II file.| If you |
|00002160| 65 78 70 65 63 74 20 79 | 6f 75 72 20 41 53 43 49 |expect y|our ASCI|
|00002170| 49 0a 75 70 6c 6f 61 64 | 20 74 6f 20 62 65 20 63 |I.upload| to be c|
|00002180| 61 70 74 75 72 65 64 20 | 62 79 20 44 4f 53 20 75 |aptured |by DOS u|
|00002190| 73 65 72 73 2c 20 69 74 | 20 69 73 20 62 65 73 74 |sers, it| is best|
|000021a0| 20 74 6f 20 73 65 74 20 | 63 72 20 22 6f 6e 22 2e | to set |cr "on".|
|000021b0| 20 49 66 20 79 6f 75 72 | 20 41 53 43 49 49 0a 75 | If your| ASCII.u|
|000021c0| 70 6c 6f 61 64 20 69 73 | 20 6d 65 61 6e 74 20 73 |pload is| meant s|
|000021d0| 74 72 69 63 74 6c 79 20 | 66 6f 72 20 55 6e 69 78 |trictly |for Unix|
|000021e0| 20 75 73 65 72 73 2c 20 | 74 68 65 6e 20 79 6f 75 | users, |then you|
|000021f0| 20 6d 61 79 20 73 65 74 | 20 63 72 20 22 6f 66 66 | may set| cr "off|
|00002200| 22 2e 0a 54 68 65 20 42 | 2d 50 6c 75 73 20 70 72 |"..The B|-Plus pr|
|00002210| 6f 74 6f 63 6f 6c 20 69 | 6d 70 6c 65 6d 65 6e 74 |otocol i|mplement|
|00002220| 61 74 69 6f 6e 20 75 73 | 65 64 20 62 79 20 5c 66 |ation us|ed by \f|
|00002230| 42 78 63 5c 66 52 0a 77 | 69 6c 6c 20 61 6c 77 61 |Bxc\fR.w|ill alwa|
|00002240| 79 73 20 73 74 72 69 70 | 20 65 6e 64 2d 6f 66 2d |ys strip| end-of-|
|00002250| 6c 69 6e 65 20 63 61 72 | 72 69 61 67 65 2d 72 65 |line car|riage-re|
|00002260| 74 75 72 6e 73 20 66 72 | 6f 6d 20 69 6e 63 6f 6d |turns fr|om incom|
|00002270| 69 6e 67 20 41 53 43 49 | 49 20 66 69 6c 65 73 2e |ing ASCI|I files.|
|00002280| 0a 54 7d 0a 58 0a 73 65 | 74 20 68 64 70 6c 78 20 |.T}.X.se|t hdplx |
|00002290| 6f 6e 7c 6f 66 66 40 54 | 7b 0a 53 65 74 73 20 74 |on|off@T|{.Sets t|
|000022a0| 68 65 20 68 61 6c 66 2d | 64 75 70 6c 65 78 20 66 |he half-|duplex f|
|000022b0| 6c 61 67 2e 20 49 66 20 | 74 68 69 73 20 66 6c 61 |lag. If |this fla|
|000022c0| 67 20 69 73 20 73 65 74 | 2c 20 74 68 65 6e 20 61 |g is set|, then a|
|000022d0| 6c 6c 20 63 68 61 72 61 | 63 74 65 72 73 20 74 79 |ll chara|cters ty|
|000022e0| 70 65 64 20 61 74 0a 74 | 68 65 20 6b 65 79 62 6f |ped at.t|he keybo|
|000022f0| 61 72 64 20 77 68 69 6c | 65 20 69 6e 20 74 65 72 |ard whil|e in ter|
|00002300| 6d 69 6e 61 6c 20 6d 6f | 64 65 20 77 69 6c 6c 20 |minal mo|de will |
|00002310| 62 65 20 65 63 68 6f 65 | 64 20 74 6f 20 74 68 65 |be echoe|d to the|
|00002320| 20 73 63 72 65 65 6e 20 | 61 73 20 77 65 6c 6c 20 | screen |as well |
|00002330| 61 73 0a 73 65 6e 74 20 | 74 6f 20 74 68 65 20 6d |as.sent |to the m|
|00002340| 6f 64 65 6d 20 6c 69 6e | 65 2e 20 55 73 65 66 75 |odem lin|e. Usefu|
|00002350| 6c 20 66 6f 72 20 72 65 | 6d 6f 74 65 20 73 79 73 |l for re|mote sys|
|00002360| 74 65 6d 73 20 74 68 61 | 74 20 64 6f 6e 27 74 20 |tems tha|t don't |
|00002370| 65 63 68 6f 20 63 68 61 | 72 61 63 74 65 72 73 2e |echo cha|racters.|
|00002380| 0a 54 7d 0a 58 0a 73 65 | 74 20 6d 65 6e 75 20 6f |.T}.X.se|t menu o|
|00002390| 6e 7c 6f 66 66 40 54 7b | 0a 42 79 20 64 65 66 61 |n|off@T{|.By defa|
|000023a0| 75 6c 74 2c 20 61 20 6f | 6e 65 2d 6c 69 6e 65 20 |ult, a o|ne-line |
|000023b0| 6d 65 6e 75 20 69 73 20 | 64 69 73 70 6c 61 79 65 |menu is |displaye|
|000023c0| 64 20 61 62 6f 76 65 20 | 74 68 65 20 5c 66 49 3c |d above |the \fI<|
|000023d0| 58 43 3e 5c 66 52 20 70 | 72 6f 6d 70 74 20 74 6f |XC>\fR p|rompt to|
|000023e0| 0a 72 65 6d 69 6e 64 20 | 74 68 65 20 75 73 65 72 |.remind |the user|
|000023f0| 20 6f 66 20 6f 70 74 69 | 6f 6e 73 20 6d 6f 73 74 | of opti|ons most|
|00002400| 20 66 72 65 71 75 65 6e | 74 6c 79 20 63 68 6f 73 | frequen|tly chos|
|00002410| 65 6e 20 61 74 20 74 68 | 69 73 20 70 6f 69 6e 74 |en at th|is point|
|00002420| 3a 0a 58 22 5b 64 5d 69 | 61 6c 20 64 69 72 65 63 |:.X"[d]i|al direc|
|00002430| 74 6f 72 79 20 5b 74 5d | 65 72 6d 69 6e 61 6c 20 |tory [t]|erminal |
|00002440| 6d 6f 64 65 20 5b 71 5d | 75 69 74 20 5b 73 5d 63 |mode [q]|uit [s]c|
|00002450| 72 69 70 74 20 5b 3f 5d | 68 65 6c 70 22 2e 0a 53 |ript [?]|help"..S|
|00002460| 65 74 74 69 6e 67 20 74 | 68 65 20 6f 70 74 69 6f |etting t|he optio|
|00002470| 6e 20 22 6f 66 66 22 20 | 74 75 72 6e 73 20 6f 66 |n "off" |turns of|
|00002480| 66 20 74 68 69 73 20 64 | 69 73 70 6c 61 79 2e 0a |f this d|isplay..|
|00002490| 54 7d 0a 58 0a 73 65 74 | 20 6e 6c 20 6f 6e 7c 6f |T}.X.set| nl on|o|
|000024a0| 66 66 40 54 7b 0a 49 66 | 20 74 68 69 73 20 6f 70 |ff@T{.If| this op|
|000024b0| 74 69 6f 6e 20 69 73 20 | 73 65 74 20 22 6f 6e 22 |tion is |set "on"|
|000024c0| 2c 20 74 68 65 6e 20 6e | 65 77 6c 69 6e 65 73 20 |, then n|ewlines |
|000024d0| 61 72 65 20 73 65 6e 74 | 20 61 73 0a 63 61 72 72 |are sent| as.carr|
|000024e0| 69 61 67 65 2d 72 65 74 | 75 72 6e 73 2e 20 49 66 |iage-ret|urns. If|
|000024f0| 20 74 68 69 73 20 6f 70 | 74 69 6f 6e 20 69 73 20 | this op|tion is |
|00002500| 73 65 74 20 22 6f 66 66 | 22 2c 20 74 68 65 6e 20 |set "off|", then |
|00002510| 6e 65 77 6c 69 6e 65 73 | 20 61 72 65 20 73 65 6e |newlines| are sen|
|00002520| 74 20 61 73 0a 6e 65 77 | 6c 69 6e 65 73 20 28 63 |t as.new|lines (c|
|00002530| 61 72 72 69 61 67 65 2d | 72 65 74 75 72 6e 73 20 |arriage-|returns |
|00002540| 61 72 65 20 69 6e 20 61 | 6e 79 20 63 61 73 65 20 |are in a|ny case |
|00002550| 61 6c 77 61 79 73 20 73 | 65 6e 74 20 61 73 20 63 |always s|ent as c|
|00002560| 61 72 72 69 61 67 65 2d | 72 65 74 75 72 6e 73 29 |arriage-|returns)|
|00002570| 2e 0a 54 68 69 73 20 6f | 70 74 69 6f 6e 20 61 70 |..This o|ption ap|
|00002580| 70 6c 69 65 73 20 74 6f | 20 69 6e 70 75 74 20 66 |plies to| input f|
|00002590| 72 6f 6d 20 74 68 65 20 | 6b 65 79 62 6f 61 72 64 |rom the |keyboard|
|000025a0| 2c 20 6f 72 20 66 72 6f | 6d 20 61 20 64 69 73 6b |, or fro|m a disk|
|000025b0| 20 66 69 6c 65 20 75 73 | 69 6e 67 20 74 68 65 0a | file us|ing the.|
|000025c0| 58 22 5c 66 42 58 43 41 | 50 45 5c 66 52 20 5c 66 |X"\fBXCA|PE\fR \f|
|000025d0| 42 46 5c 66 52 22 20 66 | 61 63 69 6c 69 74 79 20 |BF\fR" f|acility |
|000025e0| 6f 72 20 61 20 73 63 72 | 69 70 74 20 22 74 79 70 |or a scr|ipt "typ|
|000025f0| 65 22 20 63 6f 6d 6d 61 | 6e 64 20 28 53 65 65 20 |e" comma|nd (See |
|00002600| 62 65 6c 6f 77 29 2e 0a | 54 68 69 73 20 6f 70 74 |below)..|This opt|
|00002610| 69 6f 6e 20 68 61 73 20 | 6e 6f 20 65 66 66 65 63 |ion has |no effec|
|00002620| 74 20 6f 6e 20 62 75 69 | 6c 74 2d 69 6e 20 58 4d |t on bui|lt-in XM|
|00002630| 4f 44 45 4d 20 6f 72 20 | 42 2d 50 6c 75 73 20 70 |ODEM or |B-Plus p|
|00002640| 72 6f 74 6f 63 6f 6c 20 | 74 72 61 6e 73 6d 69 73 |rotocol |transmis|
|00002650| 73 69 6f 6e 73 2c 0a 61 | 6e 64 20 68 61 73 20 6e |sions,.a|nd has n|
|00002660| 6f 20 65 66 66 65 63 74 | 20 6f 6e 20 69 6e 63 6f |o effect| on inco|
|00002670| 6d 69 6e 67 20 64 61 74 | 61 2e 0a 54 7d 0a 58 0a |ming dat|a..T}.X.|
|00002680| 73 65 74 20 70 66 69 6c | 65 20 5c 66 49 6e 61 6d |set pfil|e \fInam|
|00002690| 65 5c 66 52 40 53 65 74 | 20 74 68 65 20 5c 66 49 |e\fR@Set| the \fI|
|000026a0| 6e 61 6d 65 5c 66 52 20 | 6f 66 20 74 68 65 20 70 |name\fR |of the p|
|000026b0| 68 6f 6e 65 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |hone dir|ectory..|
|000026c0| 58 0a 73 65 74 20 70 72 | 6f 74 6f 20 5c 66 49 76 |X.set pr|oto \fIv|
|000026d0| 61 6c 75 65 5c 66 52 40 | 54 7b 0a 54 68 69 73 20 |alue\fR@|T{.This |
|000026e0| 72 65 66 65 72 73 20 74 | 6f 20 74 68 65 20 73 65 |refers t|o the se|
|000026f0| 72 69 61 6c 20 70 6f 72 | 74 20 63 68 61 72 61 63 |rial por|t charac|
|00002700| 74 65 72 20 70 72 6f 74 | 6f 63 6f 6c 2c 20 6e 6f |ter prot|ocol, no|
|00002710| 74 20 74 6f 20 61 20 66 | 69 6c 65 20 74 72 61 6e |t to a f|ile tran|
|00002720| 73 66 65 72 0a 70 72 6f | 74 6f 63 6f 6c 2e 20 54 |sfer.pro|tocol. T|
|00002730| 68 65 20 70 6f 73 73 69 | 62 6c 65 20 76 61 6c 75 |he possi|ble valu|
|00002740| 65 73 20 61 72 65 20 38 | 4e 31 2c 20 37 45 32 2c |es are 8|N1, 7E2,|
|00002750| 20 6f 72 20 37 4f 32 2c | 20 28 63 61 73 65 20 69 | or 7O2,| (case i|
|00002760| 6e 73 65 6e 73 69 74 69 | 76 65 29 20 77 68 69 63 |nsensiti|ve) whic|
|00002770| 68 0a 72 65 73 70 65 63 | 74 69 76 65 6c 79 20 73 |h.respec|tively s|
|00002780| 65 74 20 74 68 65 20 6d | 6f 64 65 6d 20 70 6f 72 |et the m|odem por|
|00002790| 74 20 74 6f 20 61 20 63 | 68 61 72 61 63 74 65 72 |t to a c|haracter|
|000027a0| 20 73 69 7a 65 20 6f 66 | 20 38 20 77 69 74 68 20 | size of| 8 with |
|000027b0| 6e 6f 20 70 61 72 69 74 | 79 2c 20 6f 72 20 61 0a |no parit|y, or a.|
|000027c0| 63 68 61 72 61 63 74 65 | 72 20 73 69 7a 65 20 6f |characte|r size o|
|000027d0| 66 20 37 20 77 69 74 68 | 20 65 69 74 68 65 72 20 |f 7 with| either |
|000027e0| 65 76 65 6e 20 6f 72 20 | 6f 64 64 20 70 61 72 69 |even or |odd pari|
|000027f0| 74 79 2e 20 44 75 72 69 | 6e 67 20 42 2d 50 6c 75 |ty. Duri|ng B-Plu|
|00002800| 73 20 6f 72 20 58 4d 4f | 44 45 4d 0a 74 72 61 6e |s or XMO|DEM.tran|
|00002810| 73 66 65 72 73 2c 20 74 | 68 65 20 70 6f 72 74 20 |sfers, t|he port |
|00002820| 70 72 6f 74 6f 63 6f 6c | 20 69 73 20 73 65 74 20 |protocol| is set |
|00002830| 74 6f 20 38 4e 2c 20 61 | 6e 64 20 72 65 76 65 72 |to 8N, a|nd rever|
|00002840| 74 73 20 74 6f 20 69 74 | 73 20 70 72 69 6f 72 20 |ts to it|s prior |
|00002850| 73 65 74 74 69 6e 67 0a | 74 68 65 72 65 61 66 74 |setting.|thereaft|
|00002860| 65 72 2e 0a 54 7d 0a 58 | 0a 73 65 74 20 78 63 61 |er..T}.X|.set xca|
|00002870| 70 65 20 5c 66 49 63 68 | 61 72 5c 66 52 0a 73 65 |pe \fIch|ar\fR.se|
|00002880| 74 20 65 73 63 61 70 65 | 20 5c 66 49 63 68 61 72 |t escape| \fIchar|
|00002890| 5c 66 52 40 54 7b 0a 53 | 65 74 20 74 68 65 20 5c |\fR@T{.S|et the \|
|000028a0| 66 42 58 43 41 50 45 5c | 66 52 20 63 68 61 72 61 |fBXCAPE\|fR chara|
|000028b0| 63 74 65 72 20 28 73 65 | 65 20 62 65 6c 6f 77 29 |cter (se|e below)|
|000028c0| 20 74 6f 20 5c 66 49 63 | 68 61 72 5c 66 52 2e 20 | to \fIc|har\fR. |
|000028d0| 54 68 69 73 20 73 68 6f | 75 6c 64 20 62 65 20 73 |This sho|uld be s|
|000028e0| 65 74 20 74 6f 0a 73 6f | 6d 65 20 6e 6f 6e 2d 70 |et to.so|me non-p|
|000028f0| 72 69 6e 74 69 6e 67 20 | 63 68 61 72 61 63 74 65 |rinting |characte|
|00002900| 72 20 28 6f 74 68 65 72 | 20 74 68 61 6e 20 62 61 |r (other| than ba|
|00002910| 63 6b 73 70 61 63 65 2c | 20 74 61 62 2c 20 6e 65 |ckspace,| tab, ne|
|00002920| 77 6c 69 6e 65 2c 20 6f | 66 20 63 6f 75 72 73 65 |wline, o|f course|
|00002930| 29 2e 0a 54 68 65 20 63 | 68 61 72 61 63 74 65 72 |)..The c|haracter|
|00002940| 20 6d 61 79 20 62 65 20 | 65 6e 74 65 72 65 64 20 | may be |entered |
|00002950| 62 79 20 64 65 70 72 65 | 73 73 69 6e 67 20 74 68 |by depre|ssing th|
|00002960| 65 20 43 6f 6e 74 72 6f | 6c 20 6b 65 79 20 66 69 |e Contro|l key fi|
|00002970| 72 73 74 0a 61 6e 64 20 | 74 68 65 6e 20 74 79 70 |rst.and |then typ|
|00002980| 69 6e 67 20 61 20 6c 65 | 74 74 65 72 2c 20 6f 72 |ing a le|tter, or|
|00002990| 20 62 79 20 74 79 70 69 | 6e 67 20 61 20 63 61 72 | by typi|ng a car|
|000029a0| 61 74 20 28 5e 29 20 66 | 6f 6c 6c 6f 77 65 64 20 |at (^) f|ollowed |
|000029b0| 62 79 20 61 20 6c 65 74 | 74 65 72 2e 0a 54 7d 0a |by a let|ter..T}.|
|000029c0| 58 0a 73 65 74 20 78 6f | 6e 20 6f 6e 7c 6f 66 66 |X.set xo|n on|off|
|000029d0| 0a 73 65 74 20 78 6f 66 | 66 20 6f 6e 7c 6f 66 66 |.set xof|f on|off|
|000029e0| 40 54 7b 0a 53 65 74 20 | 58 4f 4e 2f 58 4f 46 46 |@T{.Set |XON/XOFF|
|000029f0| 20 66 6c 6f 77 20 63 6f | 6e 74 72 6f 6c 20 66 6c | flow co|ntrol fl|
|00002a00| 61 67 2e 20 49 66 20 22 | 6f 6e 22 2c 20 74 68 65 |ag. If "|on", the|
|00002a10| 20 70 72 6f 67 72 61 6d | 20 77 69 6c 6c 20 68 6f | program| will ho|
|00002a20| 6e 6f 72 20 74 68 65 20 | 58 4f 46 46 0a 63 6f 6e |nor the |XOFF.con|
|00002a30| 74 72 6f 6c 20 63 68 61 | 72 61 63 74 65 72 20 61 |trol cha|racter a|
|00002a40| 6e 64 20 77 61 69 74 20 | 75 6e 74 69 6c 20 61 6e |nd wait |until an|
|00002a50| 20 58 4f 4e 20 63 68 61 | 72 61 63 74 65 72 20 69 | XON cha|racter i|
|00002a60| 73 20 72 65 63 65 69 76 | 65 64 20 62 65 66 6f 72 |s receiv|ed befor|
|00002a70| 65 0a 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 61 |e.transm|itting a|
|00002a80| 6e 79 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |ny more |informat|
|00002a90| 69 6f 6e 2e 20 49 66 20 | 22 6f 66 66 22 2c 20 74 |ion. If |"off", t|
|00002aa0| 68 65 20 70 72 6f 67 72 | 61 6d 20 77 69 6c 6c 20 |he progr|am will |
|00002ab0| 69 67 6e 6f 72 65 0a 58 | 58 4f 46 46 2f 58 4f 4e |ignore.X|XOFF/XON|
|00002ac0| 20 72 65 71 75 65 73 74 | 73 2e 0a 54 7d 0a 58 2e | request|s..T}.X.|
|00002ad0| 54 45 0a 58 2e 53 53 20 | 5c 66 49 54 65 72 6d 69 |TE.X.SS |\fITermi|
|00002ae0| 6e 61 6c 20 4d 6f 64 65 | 5c 66 52 0a 49 6e 20 74 |nal Mode|\fR.In t|
|00002af0| 65 72 6d 69 6e 61 6c 20 | 6d 6f 64 65 2c 20 61 6c |erminal |mode, al|
|00002b00| 6c 20 63 68 61 72 61 63 | 74 65 72 73 20 74 79 70 |l charac|ters typ|
|00002b10| 65 64 20 61 74 20 74 68 | 65 20 6b 65 79 62 6f 61 |ed at th|e keyboa|
|00002b20| 72 64 20 61 72 65 20 73 | 65 6e 74 20 74 6f 20 74 |rd are s|ent to t|
|00002b30| 68 65 0a 6d 6f 64 65 6d | 2c 20 65 78 63 65 70 74 |he.modem|, except|
|00002b40| 20 74 68 61 74 20 6e 65 | 77 6c 69 6e 65 20 63 68 | that ne|wline ch|
|00002b50| 61 72 61 63 74 65 72 73 | 20 28 30 78 30 41 29 20 |aracters| (0x0A) |
|00002b60| 61 72 65 20 74 72 61 6e | 73 6c 61 74 65 64 20 74 |are tran|slated t|
|00002b70| 6f 0a 63 61 72 72 69 61 | 67 65 2d 72 65 74 75 72 |o.carria|ge-retur|
|00002b80| 6e 73 20 28 30 78 30 44 | 29 20 77 68 65 6e 20 79 |ns (0x0D|) when y|
|00002b90| 6f 75 20 68 61 76 65 20 | 22 73 65 74 20 6e 6c 20 |ou have |"set nl |
|00002ba0| 27 6f 6e 27 22 3b 20 61 | 6c 6c 20 63 68 61 72 61 |'on'"; a|ll chara|
|00002bb0| 63 74 65 72 73 20 72 65 | 63 65 69 76 65 64 0a 66 |cters re|ceived.f|
|00002bc0| 72 6f 6d 20 74 68 65 20 | 6d 6f 64 65 6d 20 61 72 |rom the |modem ar|
|00002bd0| 65 20 64 69 73 70 6c 61 | 79 65 64 20 6f 6e 20 74 |e displa|yed on t|
|00002be0| 68 65 20 6c 6f 63 61 6c | 20 74 65 72 6d 69 6e 61 |he local| termina|
|00002bf0| 6c 20 73 63 72 65 65 6e | 2e 0a 58 0a 58 5c 66 42 |l screen|..X.X\fB|
|00002c00| 58 43 41 50 45 5c 66 52 | 20 69 73 20 61 20 6b 65 |XCAPE\fR| is a ke|
|00002c10| 79 20 74 68 61 74 20 77 | 69 6c 6c 2c 20 77 68 65 |y that w|ill, whe|
|00002c20| 6e 20 74 79 70 65 64 20 | 69 6e 20 74 65 72 6d 69 |n typed |in termi|
|00002c30| 6e 61 6c 20 6d 6f 64 65 | 2c 20 69 6e 74 72 6f 64 |nal mode|, introd|
|00002c40| 75 63 65 20 61 6e 0a 58 | 2e 42 20 78 63 0a 58 22 |uce an.X|.B xc.X"|
|00002c50| 65 73 63 61 70 65 22 20 | 63 6f 6d 6d 61 6e 64 2e |escape" |command.|
|00002c60| 20 44 6f 6e 27 74 20 63 | 6f 6e 66 75 73 65 20 5c | Don't c|onfuse \|
|00002c70| 66 42 58 43 41 50 45 5c | 66 52 20 77 69 74 68 20 |fBXCAPE\|fR with |
|00002c80| 74 68 65 20 3c 45 53 43 | 41 50 45 3e 20 6b 65 79 |the <ESC|APE> key|
|00002c90| 2e 0a 54 68 65 20 64 65 | 66 61 75 6c 74 20 64 65 |..The de|fault de|
|00002ca0| 66 69 6e 69 74 69 6f 6e | 20 66 6f 72 20 5c 66 42 |finition| for \fB|
|00002cb0| 58 43 41 50 45 5c 66 52 | 20 69 73 20 41 53 43 49 |XCAPE\fR| is ASCI|
|00002cc0| 49 20 31 2c 20 6f 72 20 | 43 6f 6e 74 72 6f 6c 2d |I 1, or |Control-|
|00002cd0| 41 2e 20 49 74 20 63 61 | 6e 20 0a 62 65 20 72 65 |A. It ca|n .be re|
|00002ce0| 64 65 66 69 6e 65 64 20 | 61 74 20 72 75 6e 20 74 |defined |at run t|
|00002cf0| 69 6d 65 20 77 69 74 68 | 20 74 68 65 20 22 73 65 |ime with| the "se|
|00002d00| 74 20 65 73 63 61 70 65 | 20 5c 66 49 43 5c 66 52 |t escape| \fIC\fR|
|00002d10| 22 20 63 6f 6d 6d 61 6e | 64 20 28 6f 72 20 69 74 |" comman|d (or it|
|00002d20| 20 63 61 6e 20 62 65 0a | 72 65 64 65 66 69 6e 65 | can be.|redefine|
|00002d30| 64 20 69 6e 20 74 68 65 | 0a 58 2e 49 20 2e 78 63 |d in the|.X.I .xc|
|00002d40| 0a 73 74 61 72 74 75 70 | 20 73 63 72 69 70 74 29 |.startup| script)|
|00002d50| 2e 0a 58 0a 57 68 65 6e | 20 74 68 65 20 5c 66 42 |..X.When| the \fB|
|00002d60| 58 43 41 50 45 5c 66 52 | 20 6b 65 79 20 69 73 20 |XCAPE\fR| key is |
|00002d70| 74 79 70 65 64 20 69 6e | 20 74 65 72 6d 69 6e 61 |typed in| termina|
|00002d80| 6c 20 6d 6f 64 65 2c 20 | 74 68 65 20 70 72 6f 67 |l mode, |the prog|
|00002d90| 72 61 6d 20 77 69 6c 6c | 20 65 78 61 6d 69 6e 65 |ram will| examine|
|00002da0| 0a 74 68 65 20 6e 65 78 | 74 20 6b 65 79 20 70 72 |.the nex|t key pr|
|00002db0| 65 73 73 65 64 2e 20 49 | 66 20 74 68 69 73 20 6b |essed. I|f this k|
|00002dc0| 65 79 20 68 61 73 20 62 | 65 65 6e 20 22 62 6f 75 |ey has b|een "bou|
|00002dd0| 6e 64 22 20 74 6f 20 70 | 65 72 66 6f 72 6d 20 61 |nd" to p|erform a|
|00002de0| 20 63 65 72 74 61 69 6e | 0a 66 75 6e 63 74 69 6f | certain|.functio|
|00002df0| 6e 2c 20 74 68 61 74 20 | 66 75 6e 63 74 69 6f 6e |n, that |function|
|00002e00| 20 77 69 6c 6c 20 62 65 | 20 70 65 72 66 6f 72 6d | will be| perform|
|00002e10| 65 64 3b 20 6f 74 68 65 | 72 77 69 73 65 2c 20 74 |ed; othe|rwise, t|
|00002e20| 68 65 20 73 65 63 6f 6e | 64 20 63 68 61 72 61 63 |he secon|d charac|
|00002e30| 74 65 72 20 69 73 0a 73 | 65 6e 74 20 74 6f 20 74 |ter is.s|ent to t|
|00002e40| 68 65 20 6d 6f 64 65 6d | 2e 20 54 68 75 73 2c 20 |he modem|. Thus, |
|00002e50| 74 6f 20 73 65 6e 64 20 | 74 68 65 20 5c 66 42 58 |to send |the \fBX|
|00002e60| 43 41 50 45 5c 66 52 20 | 63 68 61 72 61 63 74 65 |CAPE\fR |characte|
|00002e70| 72 20 74 68 72 6f 75 67 | 68 20 74 68 65 20 6d 6f |r throug|h the mo|
|00002e80| 64 65 6d 2c 0a 69 74 20 | 69 73 20 6e 65 63 65 73 |dem,.it |is neces|
|00002e90| 73 61 72 79 20 74 6f 20 | 70 72 65 73 73 20 74 68 |sary to |press th|
|00002ea0| 65 20 6b 65 79 20 54 57 | 49 43 45 2e 0a 58 0a 54 |e key TW|ICE..X.T|
|00002eb0| 68 75 73 20 74 68 65 20 | 45 53 43 41 50 45 20 6b |hus the |ESCAPE k|
|00002ec0| 65 79 20 69 74 73 65 6c | 66 20 77 6f 75 6c 64 20 |ey itsel|f would |
|00002ed0| 62 65 20 61 20 74 65 72 | 72 69 62 6c 65 20 63 68 |be a ter|rible ch|
|00002ee0| 6f 69 63 65 20 66 6f 72 | 20 5c 66 42 58 43 41 50 |oice for| \fBXCAP|
|00002ef0| 45 5c 66 52 2c 20 62 65 | 63 61 75 73 65 0a 69 74 |E\fR, be|cause.it|
|00002f00| 20 69 73 20 75 73 65 64 | 20 73 6f 20 6f 66 74 65 | is used| so ofte|
|00002f10| 6e 20 62 79 20 6f 74 68 | 65 72 20 70 72 6f 67 72 |n by oth|er progr|
|00002f20| 61 6d 73 3a 20 69 66 20 | 79 6f 75 20 77 65 72 65 |ams: if |you were|
|00002f30| 20 6c 6f 67 67 65 64 20 | 69 6e 74 6f 20 61 20 72 | logged |into a r|
|00002f40| 65 6d 6f 74 65 20 73 79 | 73 74 65 6d 0a 61 6e 64 |emote sy|stem.and|
|00002f50| 20 72 75 6e 6e 69 6e 67 | 2c 20 73 61 79 2c 20 5c | running|, say, \|
|00002f60| 66 42 76 69 5c 66 52 2c | 20 69 74 20 77 6f 75 6c |fBvi\fR,| it woul|
|00002f70| 64 20 62 65 20 61 20 67 | 72 65 61 74 20 61 6e 6e |d be a g|reat ann|
|00002f80| 6f 79 61 6e 63 65 20 74 | 6f 20 68 61 76 65 20 74 |oyance t|o have t|
|00002f90| 6f 20 68 69 74 20 45 53 | 43 41 50 45 0a 74 77 69 |o hit ES|CAPE.twi|
|00002fa0| 63 65 20 74 6f 20 67 65 | 74 20 69 74 20 74 72 61 |ce to ge|t it tra|
|00002fb0| 6e 73 6d 69 74 74 65 64 | 20 6f 6e 63 65 2e 0a 58 |nsmitted| once..X|
|00002fc0| 0a 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6b |.The fol|lowing k|
|00002fd0| 65 79 73 20 28 63 61 73 | 65 20 5c 66 49 69 6e 5c |eys (cas|e \fIin\|
|00002fe0| 66 52 73 65 6e 73 69 74 | 69 76 65 29 20 61 72 65 |fRsensit|ive) are|
|00002ff0| 20 62 6f 75 6e 64 20 61 | 74 20 73 74 61 72 74 75 | bound a|t startu|
|00003000| 70 20 74 69 6d 65 2e 20 | 4f 74 68 65 72 73 0a 6d |p time. |Others.m|
|00003010| 61 79 20 62 65 20 61 64 | 64 65 64 20 74 68 72 6f |ay be ad|ded thro|
|00003020| 75 67 68 20 74 68 65 20 | 62 69 6e 64 69 6e 67 20 |ugh the |binding |
|00003030| 63 6f 6d 6d 61 6e 64 73 | 20 61 76 61 69 6c 61 62 |commands| availab|
|00003040| 6c 65 20 69 6e 20 0a 58 | 2e 42 20 78 63 0a 73 63 |le in .X|.B xc.sc|
|00003050| 72 69 70 74 73 2e 0a 58 | 0a 58 2e 54 53 0a 74 61 |ripts..X|.X.TS.ta|
|00003060| 62 28 40 29 20 3b 0a 6c | 32 20 6c 32 20 6c 0a 6c |b(@) ;.l|2 l2 l.l|
|00003070| 32 42 20 6c 32 20 6c 20 | 2e 0a 43 6f 6d 6d 61 6e |2B l2 l |..Comman|
|00003080| 64 40 46 75 6e 63 74 69 | 6f 6e 40 44 65 73 63 72 |d@Functi|on@Descr|
|00003090| 69 70 74 69 6f 6e 0a 58 | 0a 58 58 43 41 50 45 20 |iption.X|.XXCAPE |
|000030a0| 2f 40 48 65 6c 70 40 44 | 69 73 70 6c 61 79 20 74 |/@Help@D|isplay t|
|000030b0| 68 65 20 74 61 62 6c 65 | 20 6f 66 20 62 6f 75 6e |he table| of boun|
|000030c0| 64 20 6b 65 79 73 0a 58 | 58 43 41 50 45 20 3f 40 |d keys.X|XCAPE ?@|
|000030d0| 48 65 6c 70 40 44 69 73 | 70 6c 61 79 20 74 68 65 |Help@Dis|play the|
|000030e0| 20 74 61 62 6c 65 20 6f | 66 20 62 6f 75 6e 64 20 | table o|f bound |
|000030f0| 6b 65 79 73 0a 58 0a 58 | 58 43 41 50 45 20 62 40 |keys.X.X|XCAPE b@|
|00003100| 5c 66 49 42 5c 66 52 52 | 45 41 4b 40 53 65 6e 64 |\fIB\fRR|EAK@Send|
|00003110| 20 61 20 4d 4f 44 45 4d | 20 42 52 45 41 4b 20 73 | a MODEM| BREAK s|
|00003120| 69 67 6e 61 6c 20 28 61 | 20 73 75 73 74 61 69 6e |ignal (a| sustain|
|00003130| 65 64 20 6e 75 6c 6c 29 | 2e 0a 58 0a 58 58 43 41 |ed null)|..X.XXCA|
|00003140| 50 45 20 64 40 5c 66 49 | 44 5c 66 52 69 72 65 63 |PE d@\fI|D\fRirec|
|00003150| 74 6f 72 79 40 44 69 73 | 70 6c 61 79 20 74 68 65 |tory@Dis|play the|
|00003160| 20 70 68 6f 6e 65 20 64 | 69 72 65 63 74 6f 72 79 | phone d|irectory|
|00003170| 2e 0a 58 0a 58 58 43 41 | 50 45 20 66 40 5c 66 49 |..X.XXCA|PE f@\fI|
|00003180| 46 5c 66 52 69 6c 65 40 | 53 65 6e 64 20 61 20 66 |F\fRile@|Send a f|
|00003190| 69 6c 65 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |ile thro|ugh the |
|000031a0| 6d 6f 64 65 6d 20 28 41 | 53 43 49 49 20 74 72 61 |modem (A|SCII tra|
|000031b0| 6e 73 66 65 72 29 2e 0a | 58 0a 58 58 43 41 50 45 |nsfer)..|X.XXCAPE|
|000031c0| 20 73 40 5c 66 49 53 5c | 66 52 63 72 69 70 74 40 | s@\fIS\|fRcript@|
|000031d0| 5c 66 42 58 63 5c 66 52 | 20 77 69 6c 6c 20 72 65 |\fBXc\fR| will re|
|000031e0| 71 75 65 73 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |quest th|e name o|
|000031f0| 66 20 61 20 73 63 72 69 | 70 74 20 74 6f 20 65 78 |f a scri|pt to ex|
|00003200| 65 63 75 74 65 2e 0a 58 | 0a 58 58 43 41 50 45 20 |ecute..X|.XXCAPE |
|00003210| 68 40 5c 66 49 48 5c 66 | 52 61 6e 67 75 70 40 54 |h@\fIH\f|Rangup@T|
|00003220| 65 6c 6c 20 74 68 65 20 | 6d 6f 64 65 6d 20 74 6f |ell the |modem to|
|00003230| 20 67 6f 20 6f 6e 2d 68 | 6f 6f 6b 2e 0a 58 0a 58 | go on-h|ook..X.X|
|00003240| 58 43 41 50 45 20 79 5c | 66 52 40 43 61 70 74 75 |XCAPE y\|fR@Captu|
|00003250| 72 65 20 5c 66 49 59 5c | 66 52 65 73 40 54 7b 0a |re \fIY\|fRes@T{.|
|00003260| 4f 70 65 6e 20 74 68 65 | 20 63 61 70 74 75 72 65 |Open the| capture|
|00003270| 20 66 69 6c 65 20 69 6e | 20 41 50 50 45 4e 44 20 | file in| APPEND |
|00003280| 6d 6f 64 65 20 28 74 65 | 78 74 20 72 65 63 65 69 |mode (te|xt recei|
|00003290| 76 65 64 20 6f 76 65 72 | 20 74 68 65 20 70 6f 72 |ved over| the por|
|000032a0| 74 20 61 63 63 75 6d 75 | 6c 61 74 65 73 0a 61 74 |t accumu|lates.at|
|000032b0| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|000032c0| 66 69 6c 65 29 2e 20 49 | 66 20 74 68 65 20 66 69 |file). I|f the fi|
|000032d0| 6c 65 20 69 73 20 61 6c | 72 65 61 64 79 20 6f 70 |le is al|ready op|
|000032e0| 65 6e 2c 20 61 20 6d 65 | 73 73 61 67 65 20 69 73 |en, a me|ssage is|
|000032f0| 20 70 72 69 6e 74 65 64 | 20 74 6f 0a 74 68 61 74 | printed| to.that|
|00003300| 20 65 66 66 65 63 74 2e | 0a 54 7d 0a 58 0a 58 58 | effect.|.T}.X.XX|
|00003310| 43 41 50 45 20 6e 5c 66 | 52 40 43 61 70 74 75 72 |CAPE n\f|R@Captur|
|00003320| 65 20 5c 66 49 4e 5c 66 | 52 6f 40 54 7b 0a 43 6c |e \fIN\f|Ro@T{.Cl|
|00003330| 6f 73 65 20 74 68 65 20 | 63 61 70 74 75 72 65 20 |ose the |capture |
|00003340| 66 69 6c 65 2e 20 49 66 | 20 69 74 20 77 61 73 6e |file. If| it wasn|
|00003350| 27 74 20 6f 70 65 6e 2c | 20 61 20 6d 65 73 73 61 |'t open,| a messa|
|00003360| 67 65 20 6f 66 20 72 65 | 67 72 65 74 20 69 73 20 |ge of re|gret is |
|00003370| 70 72 69 6e 74 65 64 2e | 0a 54 7d 0a 58 0a 58 58 |printed.|.T}.X.XX|
|00003380| 43 41 50 45 20 78 5c 66 | 52 40 65 5c 66 49 58 5c |CAPE x\f|R@e\fIX\|
|00003390| 66 52 69 74 40 45 78 69 | 74 20 74 65 72 6d 69 6e |fRit@Exi|t termin|
|000033a0| 61 6c 20 6d 6f 64 65 20 | 62 61 63 6b 20 74 6f 20 |al mode |back to |
|000033b0| 5c 66 49 3c 58 43 3e 5c | 66 52 20 63 6f 6d 6d 61 |\fI<XC>\|fR comma|
|000033c0| 6e 64 20 6d 6f 64 65 2e | 0a 58 0a 58 58 43 41 50 |nd mode.|.X.XXCAP|
|000033d0| 45 20 71 40 5c 66 49 51 | 5c 66 52 75 69 74 40 51 |E q@\fIQ|\fRuit@Q|
|000033e0| 75 69 74 20 5c 66 42 78 | 63 5c 66 52 20 61 6c 74 |uit \fBx|c\fR alt|
|000033f0| 6f 67 65 74 68 65 72 2e | 0a 58 2e 54 45 0a 58 2e |ogether.|.X.TE.X.|
|00003400| 53 53 20 5c 66 49 50 68 | 6f 6e 65 6c 69 73 74 5c |SS \fIPh|onelist\|
|00003410| 66 52 0a 58 2e 42 20 58 | 63 0a 6c 6f 6f 6b 73 20 |fR.X.B X|c.looks |
|00003420| 66 6f 72 20 61 0a 58 2e | 49 20 2e 70 68 6f 6e 65 |for a.X.|I .phone|
|00003430| 6c 69 73 74 0a 66 69 6c | 65 20 69 6e 20 74 68 65 |list.fil|e in the|
|00003440| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6f 72 64 65 72 | followi|ng order|
|00003450| 3a 20 69 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |: in the| current|
|00003460| 20 64 69 72 65 63 74 6f | 72 79 2c 20 69 6e 20 79 | directo|ry, in y|
|00003470| 6f 75 72 20 68 6f 6d 65 | 20 64 69 72 65 63 74 6f |our home| directo|
|00003480| 72 79 0a 61 73 20 64 65 | 66 69 6e 65 64 20 62 79 |ry.as de|fined by|
|00003490| 20 74 68 65 20 24 48 4f | 4d 45 20 65 6e 76 69 72 | the $HO|ME envir|
|000034a0| 6f 6e 6d 65 6e 74 20 76 | 61 72 69 61 62 6c 65 2c |onment v|ariable,|
|000034b0| 20 6f 72 20 69 6e 20 74 | 68 65 20 4c 49 42 44 49 | or in t|he LIBDI|
|000034c0| 52 20 61 73 20 64 65 66 | 69 6e 65 64 0a 61 74 20 |R as def|ined.at |
|000034d0| 63 6f 6d 70 69 6c 65 20 | 74 69 6d 65 20 69 6e 0a |compile |time in.|
|000034e0| 58 2e 49 20 78 63 2e 68 | 2e 0a 48 6f 77 65 76 65 |X.I xc.h|..Howeve|
|000034f0| 72 20 69 6e 20 63 6f 6d | 6d 61 6e 64 20 6d 6f 64 |r in com|mand mod|
|00003500| 65 2c 20 61 6e 79 20 66 | 69 6c 65 6e 61 6d 65 20 |e, any f|ilename |
|00003510| 63 61 6e 20 62 65 20 73 | 75 62 73 74 69 74 75 74 |can be s|ubstitut|
|00003520| 65 64 2c 20 75 73 69 6e | 67 20 74 68 65 20 53 45 |ed, usin|g the SE|
|00003530| 54 20 50 46 49 4c 45 0a | 63 6f 6d 6d 61 6e 64 2c |T PFILE.|command,|
|00003540| 20 73 6f 20 6c 6f 6e 67 | 20 61 73 20 69 74 20 68 | so long| as it h|
|00003550| 61 73 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |as the f|ollowing|
|00003560| 20 63 68 61 72 61 63 74 | 65 72 69 73 74 69 63 73 | charact|eristics|
|00003570| 3a 0a 58 0a 49 74 20 69 | 73 20 41 53 43 49 49 20 |:.X.It i|s ASCII |
|00003580| 74 65 78 74 20 28 6c 69 | 6e 65 73 20 6f 66 20 74 |text (li|nes of t|
|00003590| 65 78 74 20 73 65 70 61 | 72 61 74 65 64 20 62 79 |ext sepa|rated by|
|000035a0| 20 6e 65 77 6c 69 6e 65 | 73 29 2e 0a 58 0a 54 68 | newline|s)..X.Th|
|000035b0| 65 20 66 69 72 73 74 20 | 66 69 65 6c 64 20 6f 66 |e first |field of|
|000035c0| 20 64 61 74 61 20 69 6e | 20 65 61 63 68 20 6c 69 | data in| each li|
|000035d0| 6e 65 20 28 61 66 74 65 | 72 20 61 6e 79 20 77 68 |ne (afte|r any wh|
|000035e0| 69 74 65 73 70 61 63 65 | 20 61 6e 64 20 75 70 20 |itespace| and up |
|000035f0| 74 6f 20 74 68 65 20 6e | 65 78 74 0a 6f 63 63 75 |to the n|ext.occu|
|00003600| 72 65 6e 63 65 20 6f 66 | 20 77 68 69 74 65 73 70 |rence of| whitesp|
|00003610| 61 63 65 29 20 69 73 20 | 61 20 70 68 6f 6e 65 20 |ace) is |a phone |
|00003620| 6e 75 6d 62 65 72 20 69 | 6e 20 61 20 76 61 6c 69 |number i|n a vali|
|00003630| 64 20 66 6f 72 6d 61 74 | 20 66 6f 72 0a 74 68 65 |d format| for.the|
|00003640| 20 6d 6f 64 65 6d 20 62 | 65 69 6e 67 20 75 73 65 | modem b|eing use|
|00003650| 64 2e 0a 58 0a 44 65 73 | 63 72 69 70 74 69 76 65 |d..X.Des|criptive|
|00003660| 20 74 65 78 74 20 6d 61 | 79 20 66 6f 6c 6c 6f 77 | text ma|y follow|
|00003670| 20 74 68 65 20 70 68 6f | 6e 65 20 6e 75 6d 62 65 | the pho|ne numbe|
|00003680| 72 2e 20 53 70 61 63 65 | 73 20 6d 61 79 20 62 65 |r. Space|s may be|
|00003690| 20 69 6e 63 6c 75 64 65 | 64 20 69 6e 20 74 68 69 | include|d in thi|
|000036a0| 73 0a 74 65 78 74 2c 20 | 62 75 74 20 61 20 3c 54 |s.text, |but a <T|
|000036b0| 41 42 3e 20 6d 75 73 74 | 20 74 65 72 6d 69 6e 61 |AB> must| termina|
|000036c0| 74 65 20 74 68 69 73 20 | 74 65 78 74 2e 0a 58 0a |te this |text..X.|
|000036d0| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 74 68 |The foll|owing th|
|000036e0| 72 65 65 20 64 65 66 69 | 6e 69 74 69 6f 6e 73 20 |ree defi|nitions |
|000036f0| 6d 61 79 20 74 68 65 6e | 20 66 6f 6c 6c 6f 77 20 |may then| follow |
|00003700| 69 6e 20 61 6e 79 20 6f | 72 64 65 72 3a 0a 58 2e |in any o|rder:.X.|
|00003710| 54 50 20 31 32 0a 50 52 | 4f 54 4f 3d 73 73 73 0a |TP 12.PR|OTO=sss.|
|00003720| 58 28 73 73 73 3d 37 65 | 32 7c 37 6f 32 7c 38 6e |X(sss=7e|2|7o2|8n|
|00003730| 31 29 20 53 65 74 20 74 | 68 65 20 73 65 72 69 61 |1) Set t|he seria|
|00003740| 6c 20 70 6f 72 74 20 70 | 72 6f 74 6f 63 6f 6c 20 |l port p|rotocol |
|00003750| 66 6f 72 20 37 2d 62 69 | 74 20 63 68 61 72 61 63 |for 7-bi|t charac|
|00003760| 74 65 72 73 20 77 69 74 | 68 0a 65 69 74 68 65 72 |ters wit|h.either|
|00003770| 20 65 76 65 6e 20 6f 72 | 20 6f 64 64 20 70 61 72 | even or| odd par|
|00003780| 69 74 79 20 61 6e 64 20 | 74 77 6f 20 73 74 6f 70 |ity and |two stop|
|00003790| 20 62 69 74 73 2c 20 6f | 72 20 66 6f 72 20 38 2d | bits, o|r for 8-|
|000037a0| 62 69 74 20 63 68 61 72 | 61 63 74 65 72 73 20 77 |bit char|acters w|
|000037b0| 69 74 68 0a 6e 6f 20 70 | 61 72 69 74 79 20 61 6e |ith.no p|arity an|
|000037c0| 64 20 6f 6e 65 20 73 74 | 6f 70 20 62 69 74 2e 0a |d one st|op bit..|
|000037d0| 58 2e 54 50 0a 42 50 53 | 3d 6e 6e 6e 6e 0a 58 28 |X.TP.BPS|=nnnn.X(|
|000037e0| 6e 3d 33 30 30 7c 31 32 | 30 30 7c 32 34 30 30 7c |n=300|12|00|2400||
|000037f0| 39 36 30 30 7c 31 39 32 | 30 30 7c 33 38 34 30 30 |9600|192|00|38400|
|00003800| 29 20 53 65 74 20 74 68 | 65 20 62 69 74 73 2f 73 |) Set th|e bits/s|
|00003810| 65 63 6f 6e 64 20 72 61 | 74 65 20 74 6f 20 74 68 |econd ra|te to th|
|00003820| 65 0a 73 70 65 63 69 66 | 69 65 64 20 76 61 6c 75 |e.specif|ied valu|
|00003830| 65 2e 0a 58 2e 54 50 0a | 53 43 52 49 50 54 3d 66 |e..X.TP.|SCRIPT=f|
|00003840| 69 6c 65 0a 49 6d 6d 65 | 64 69 61 74 65 6c 79 20 |ile.Imme|diately |
|00003850| 61 66 74 65 72 20 73 65 | 6e 64 69 6e 67 20 74 68 |after se|nding th|
|00003860| 65 20 61 75 74 6f 64 69 | 61 6c 20 73 74 72 69 6e |e autodi|al strin|
|00003870| 67 2c 20 65 78 65 63 75 | 74 65 20 74 68 65 20 73 |g, execu|te the s|
|00003880| 63 72 69 70 74 20 66 69 | 6c 65 0a 73 70 65 63 69 |cript fi|le.speci|
|00003890| 66 69 65 64 2e 20 28 4e | 6f 74 65 20 74 68 61 74 |fied. (N|ote that|
|000038a0| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 66 | the spe|cified f|
|000038b0| 69 6c 65 6e 61 6d 65 20 | 69 73 20 43 41 53 45 20 |ilename |is CASE |
|000038c0| 53 45 4e 53 49 54 49 56 | 45 21 29 0a 58 2e 50 0a |SENSITIV|E!).X.P.|
|000038d0| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 64 65 |The foll|owing de|
|000038e0| 66 69 6e 69 74 69 6f 6e | 2c 20 69 66 20 75 73 65 |finition|, if use|
|000038f0| 64 2c 20 6d 75 73 74 20 | 62 65 20 74 68 65 20 4c |d, must |be the L|
|00003900| 41 53 54 20 66 69 65 6c | 64 20 6f 6e 20 74 68 65 |AST fiel|d on the|
|00003910| 20 6c 69 6e 65 2e 0a 58 | 0a 50 52 45 46 49 58 3d | line..X|.PREFIX=|
|00003920| 78 78 78 78 78 78 78 78 | 20 28 65 2e 67 2e 2c 20 |xxxxxxxx| (e.g., |
|00003930| 50 52 45 46 49 58 3d 41 | 54 73 31 31 30 3d 30 73 |PREFIX=A|Ts110=0s|
|00003940| 31 31 31 3d 30 29 0a 58 | 0a 54 68 65 20 50 52 45 |111=0).X|.The PRE|
|00003950| 46 49 58 3d 22 73 74 72 | 69 6e 67 22 20 61 6c 6c |FIX="str|ing" all|
|00003960| 6f 77 73 20 79 6f 75 20 | 73 65 6e 64 20 79 6f 75 |ows you |send you|
|00003970| 72 20 6d 6f 64 65 6d 20 | 61 20 64 69 66 66 65 72 |r modem |a differ|
|00003980| 65 6e 74 20 73 65 74 75 | 70 20 73 74 72 69 6e 67 |ent setu|p string|
|00003990| 20 66 6f 72 0a 65 61 63 | 68 20 73 69 74 75 61 74 | for.eac|h situat|
|000039a0| 69 6f 6e 20 28 64 65 66 | 61 75 6c 74 3a 20 6e 6f |ion (def|ault: no|
|000039b0| 20 73 70 65 63 69 61 6c | 20 73 65 74 75 70 29 2e | special| setup).|
|000039c0| 20 54 68 69 73 20 69 73 | 20 68 65 6c 70 66 75 6c | This is| helpful|
|000039d0| 20 66 6f 72 20 4d 4e 50 | 20 61 6e 64 20 54 65 6c | for MNP| and Tel|
|000039e0| 65 62 69 74 0a 6d 6f 64 | 65 6d 73 20 77 68 69 63 |ebit.mod|ems whic|
|000039f0| 68 20 72 65 71 75 69 72 | 65 20 73 70 65 63 69 61 |h requir|e specia|
|00003a00| 6c 20 61 74 74 65 6e 74 | 69 6f 6e 20 66 6f 72 20 |l attent|ion for |
|00003a10| 63 6f 6e 74 61 63 74 69 | 6e 67 20 6e 6f 6e 2d 4d |contacti|ng non-M|
|00003a20| 4e 50 20 6d 6f 64 65 6d | 73 20 61 6e 64 20 6f 74 |NP modem|s and ot|
|00003a30| 68 65 72 0a 54 65 6c 65 | 62 69 74 73 2e 0a 58 2e |her.Tele|bits..X.|
|00003a40| 53 53 20 5c 66 49 53 63 | 72 69 70 74 73 5c 66 52 |SS \fISc|ripts\fR|
|00003a50| 0a 54 68 65 0a 58 2e 42 | 20 78 63 0a 73 63 72 69 |.The.X.B| xc.scri|
|00003a60| 70 74 20 6c 61 6e 67 75 | 61 67 65 20 69 73 20 69 |pt langu|age is i|
|00003a70| 6e 74 65 6e 64 65 64 20 | 74 6f 20 62 65 20 63 6c |ntended |to be cl|
|00003a80| 6f 73 65 6c 79 20 73 69 | 6d 69 6c 61 72 20 74 6f |osely si|milar to|
|00003a90| 20 74 68 65 20 55 6e 69 | 78 20 42 6f 75 72 6e 65 | the Uni|x Bourne|
|00003aa0| 20 73 68 65 6c 6c 0a 6c | 61 6e 67 75 61 67 65 2e | shell.l|anguage.|
|00003ab0| 20 55 6e 66 6f 72 74 75 | 6e 61 74 65 6c 79 2c 20 | Unfortu|nately, |
|00003ac0| 69 74 20 69 73 6e 27 74 | 20 69 64 65 6e 74 69 63 |it isn't| identic|
|00003ad0| 61 6c 20 74 6f 20 74 68 | 65 20 42 6f 75 72 6e 65 |al to th|e Bourne|
|00003ae0| 20 73 68 65 6c 6c 2c 20 | 73 6f 20 69 74 20 68 61 | shell, |so it ha|
|00003af0| 73 0a 74 68 65 20 73 61 | 6d 65 20 70 72 6f 62 6c |s.the sa|me probl|
|00003b00| 65 6d 20 74 68 61 74 20 | 74 68 65 0a 58 2e 42 52 |em that |the.X.BR|
|00003b10| 20 61 77 6b 20 28 43 29 | 0a 70 72 6f 67 72 61 6d | awk (C)|.program|
|00003b20| 20 64 6f 65 73 20 66 6f | 72 20 74 68 6f 73 65 20 | does fo|r those |
|00003b30| 65 78 70 65 72 69 65 6e | 63 65 64 20 69 6e 20 74 |experien|ced in t|
|00003b40| 68 65 20 43 20 6c 61 6e | 67 75 61 67 65 3a 20 61 |he C lan|guage: a|
|00003b50| 6e 0a 58 2e 42 20 61 77 | 6b 0a 73 63 72 69 70 74 |n.X.B aw|k.script|
|00003b60| 20 4c 4f 4f 4b 53 20 6c | 69 6b 65 20 43 2c 20 62 | LOOKS l|ike C, b|
|00003b70| 75 74 20 69 74 20 69 73 | 6e 27 74 2c 20 72 65 61 |ut it is|n't, rea|
|00003b80| 6c 6c 79 3b 20 61 6e 64 | 20 69 6e 20 74 68 65 20 |lly; and| in the |
|00003b90| 73 61 6d 65 20 77 61 79 | 2c 20 61 6e 0a 58 2e 42 |same way|, an.X.B|
|00003ba0| 20 78 63 0a 73 63 72 69 | 70 74 20 4c 4f 4f 4b 53 | xc.scri|pt LOOKS|
|00003bb0| 20 6c 69 6b 65 20 61 20 | 42 6f 75 72 6e 65 20 73 | like a |Bourne s|
|00003bc0| 68 65 6c 6c 20 73 63 72 | 69 70 74 2c 20 62 75 74 |hell scr|ipt, but|
|00003bd0| 20 69 73 6e 27 74 2e 20 | 53 6f 20 74 68 65 20 6f | isn't. |So the o|
|00003be0| 70 65 72 61 74 69 6f 6e | 20 6f 66 20 74 68 65 0a |peration| of the.|
|00003bf0| 42 6f 75 72 6e 65 20 73 | 68 65 6c 6c 2c 20 69 66 |Bourne s|hell, if|
|00003c00| 20 79 6f 75 27 72 65 20 | 66 61 6d 69 6c 69 61 72 | you're |familiar|
|00003c10| 20 77 69 74 68 20 69 74 | 2c 20 69 73 20 75 73 65 | with it|, is use|
|00003c20| 66 75 6c 20 61 73 20 61 | 6e 20 61 6e 61 6c 6f 67 |ful as a|n analog|
|00003c30| 79 20 69 6e 0a 75 6e 64 | 65 72 73 74 61 6e 64 69 |y in.und|erstandi|
|00003c40| 6e 67 20 74 68 65 0a 58 | 2e 42 20 78 63 0a 73 63 |ng the.X|.B xc.sc|
|00003c50| 72 69 70 74 20 6c 61 6e | 67 75 61 67 65 2c 20 62 |ript lan|guage, b|
|00003c60| 75 74 20 6f 6e 6c 79 20 | 61 73 20 61 6e 20 61 6e |ut only |as an an|
|00003c70| 61 6c 6f 67 79 2e 0a 58 | 0a 41 6e 0a 58 2e 42 20 |alogy..X|.An.X.B |
|00003c80| 78 63 0a 73 63 72 69 70 | 74 20 63 6f 6e 73 69 73 |xc.scrip|t consis|
|00003c90| 74 73 20 6f 66 20 6c 69 | 73 74 73 20 6f 66 20 63 |ts of li|sts of c|
|00003ca0| 6f 6d 6d 61 6e 64 73 2e | 20 43 6f 6d 6d 61 6e 64 |ommands.| Command|
|00003cb0| 73 20 61 72 65 20 73 65 | 74 20 6f 66 66 20 66 72 |s are se|t off fr|
|00003cc0| 6f 6d 20 65 61 63 68 20 | 6f 74 68 65 72 0a 77 69 |om each |other.wi|
|00003cd0| 74 68 69 6e 20 61 20 6c | 69 73 74 20 62 79 20 65 |thin a l|ist by e|
|00003ce0| 69 74 68 65 72 20 61 20 | 6e 65 77 6c 69 6e 65 20 |ither a |newline |
|00003cf0| 28 27 5c 5c 6e 27 29 20 | 6f 72 20 61 20 73 65 6d |('\\n') |or a sem|
|00003d00| 69 63 6f 6c 6f 6e 20 28 | 3b 29 2c 20 61 73 20 69 |icolon (|;), as i|
|00003d10| 73 20 74 68 65 20 63 61 | 73 65 0a 77 69 74 68 20 |s the ca|se.with |
|00003d20| 74 68 65 20 42 6f 75 72 | 6e 65 20 73 68 65 6c 6c |the Bour|ne shell|
|00003d30| 2e 20 54 68 65 20 73 65 | 6d 69 63 6f 6c 6f 6e 20 |. The se|micolon |
|00003d40| 61 6e 64 20 74 68 65 20 | 6e 65 77 6c 69 6e 65 20 |and the |newline |
|00003d50| 68 61 76 65 20 69 64 65 | 6e 74 69 63 61 6c 20 65 |have ide|ntical e|
|00003d60| 66 66 65 63 74 20 61 73 | 0a 63 6f 6d 6d 61 6e 64 |ffect as|.command|
|00003d70| 20 73 65 70 61 72 61 74 | 6f 72 73 2c 20 73 6f 20 | separat|ors, so |
|00003d80| 28 61 6e 74 69 63 69 70 | 61 74 69 6e 67 20 61 20 |(anticip|ating a |
|00003d90| 62 69 74 20 68 65 72 65 | 29 20 79 6f 75 20 63 6f |bit here|) you co|
|00003da0| 75 6c 64 20 73 61 79 20 | 65 69 74 68 65 72 0a 58 |uld say |either.X|
|00003db0| 0a 58 2e 6e 66 0a 58 20 | 20 20 20 69 66 20 63 6f |.X.nf.X | if co|
|00003dc0| 75 6e 74 65 72 20 6d 6f | 72 65 74 68 61 6e 20 35 |unter mo|rethan 5|
|00003dd0| 0a 58 20 20 20 20 74 68 | 65 6e 0a 58 20 20 20 20 |.X th|en.X |
|00003de0| 20 20 20 74 72 61 6e 73 | 6d 69 74 20 22 62 79 65 | trans|mit "bye|
|00003df0| 5e 4d 22 0a 58 20 20 20 | 20 20 20 20 71 75 69 74 |^M".X | quit|
|00003e00| 0a 58 20 20 20 20 65 6e | 64 69 66 0a 58 0a 6f 72 |.X en|dif.X.or|
|00003e10| 0a 58 0a 58 20 20 20 20 | 69 66 20 63 6f 75 6e 74 |.X.X |if count|
|00003e20| 65 72 20 6d 6f 72 65 74 | 68 61 6e 20 35 3b 20 74 |er moret|han 5; t|
|00003e30| 68 65 6e 20 74 72 61 6e | 73 6d 69 74 20 22 62 79 |hen tran|smit "by|
|00003e40| 65 5e 4d 22 3b 20 71 75 | 69 74 3b 20 65 6e 64 69 |e^M"; qu|it; endi|
|00003e50| 66 0a 58 0a 58 2e 66 69 | 0a 61 6e 64 20 74 68 65 |f.X.X.fi|.and the|
|00003e60| 20 72 65 73 75 6c 74 20 | 77 69 6c 6c 20 62 65 20 | result |will be |
|00003e70| 74 68 65 20 73 61 6d 65 | 20 65 69 74 68 65 72 20 |the same| either |
|00003e80| 77 61 79 2e 20 54 68 65 | 20 6e 65 77 6c 69 6e 65 |way. The| newline|
|00003e90| 20 61 6e 64 20 74 68 65 | 20 73 65 6d 69 63 6f 6c | and the| semicol|
|00003ea0| 6f 6e 0a 61 72 65 20 74 | 72 65 61 74 65 64 20 74 |on.are t|reated t|
|00003eb0| 68 65 20 73 61 6d 65 20 | 77 61 79 20 61 73 20 69 |he same |way as i|
|00003ec0| 6e 20 74 68 65 20 42 6f | 75 72 6e 65 20 73 68 65 |n the Bo|urne she|
|00003ed0| 6c 6c 2c 20 65 78 63 65 | 70 74 20 74 68 61 74 20 |ll, exce|pt that |
|00003ee0| 61 20 6e 65 77 6c 69 6e | 65 20 63 61 6e 6e 6f 74 |a newlin|e cannot|
|00003ef0| 0a 62 65 20 71 75 6f 74 | 65 64 20 73 6f 20 61 73 |.be quot|ed so as|
|00003f00| 20 74 6f 20 72 65 6d 6f | 76 65 20 69 74 73 20 69 | to remo|ve its i|
|00003f10| 6e 74 65 72 70 72 65 74 | 61 74 69 6f 6e 20 61 73 |nterpret|ation as|
|00003f20| 20 61 20 63 6f 6d 6d 61 | 6e 64 20 74 65 72 6d 69 | a comma|nd termi|
|00003f30| 6e 61 74 6f 72 20 28 69 | 6e 0a 6f 74 68 65 72 20 |nator (i|n.other |
|00003f40| 77 6f 72 64 73 2c 20 61 | 20 71 75 6f 74 65 64 20 |words, a| quoted |
|00003f50| 73 74 72 69 6e 67 20 63 | 61 6e 6e 6f 74 20 63 6f |string c|annot co|
|00003f60| 6e 74 61 69 6e 20 61 20 | 6e 65 77 6c 69 6e 65 29 |ntain a |newline)|
|00003f70| 2e 0a 58 0a 43 6f 6d 6d | 61 6e 64 73 20 61 72 65 |..X.Comm|ands are|
|00003f80| 20 63 6f 6d 70 6f 73 65 | 64 20 6f 66 0a 58 2e 49 | compose|d of.X.I|
|00003f90| 52 20 77 6f 72 64 20 73 | 0a 73 65 70 61 72 61 74 |R word s|.separat|
|00003fa0| 65 64 20 62 79 20 73 70 | 61 63 65 73 20 6f 72 20 |ed by sp|aces or |
|00003fb0| 74 61 62 20 63 68 61 72 | 61 63 74 65 72 73 2c 20 |tab char|acters, |
|00003fc0| 61 6e 64 20 61 0a 58 2e | 49 20 77 6f 72 64 0a 63 |and a.X.|I word.c|
|00003fd0| 61 6e 20 62 65 20 6f 6e | 65 20 6f 66 20 74 68 65 |an be on|e of the|
|00003fe0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 3a 0a 58 2e 54 50 | followi|ng:.X.TP|
|00003ff0| 20 33 0a 58 2a 0a 4f 6e | 65 20 6f 66 20 74 68 65 | 3.X*.On|e of the|
|00004000| 0a 58 2e 42 20 78 63 0a | 73 63 72 69 70 74 20 6c |.X.B xc.|script l|
|00004010| 61 6e 67 75 61 67 65 20 | 6b 65 79 77 6f 72 64 73 |anguage |keywords|
|00004020| 2c 20 77 68 69 63 68 20 | 61 72 65 20 6c 69 73 74 |, which |are list|
|00004030| 65 64 20 62 65 6c 6f 77 | 2c 20 77 69 74 68 20 61 |ed below|, with a|
|00004040| 70 70 72 6f 70 72 69 61 | 74 65 20 65 78 70 6c 61 |ppropria|te expla|
|00004050| 6e 61 74 69 6f 6e 73 2e | 0a 58 2e 54 50 0a 58 2a |nations.|.X.TP.X*|
|00004060| 0a 41 20 6e 75 6d 62 65 | 72 2c 20 6d 65 61 6e 69 |.A numbe|r, meani|
|00004070| 6e 67 20 61 20 73 65 71 | 75 65 6e 63 65 20 63 6f |ng a seq|uence co|
|00004080| 6e 73 69 73 74 69 6e 67 | 20 6f 6e 6c 79 20 6f 66 |nsisting| only of|
|00004090| 20 64 69 67 69 74 73 2c | 20 77 69 74 68 0a 61 6e | digits,| with.an|
|000040a0| 20 6f 70 74 69 6f 6e 61 | 6c 20 6c 65 61 64 69 6e | optiona|l leadin|
|000040b0| 67 20 6d 69 6e 75 73 20 | 73 69 67 6e 20 74 6f 20 |g minus |sign to |
|000040c0| 69 6e 64 69 63 61 74 65 | 20 61 20 6e 65 67 61 74 |indicate| a negat|
|000040d0| 69 76 65 20 6e 75 6d 62 | 65 72 2e 0a 58 2e 54 50 |ive numb|er..X.TP|
|000040e0| 0a 58 2a 0a 41 20 6c 69 | 74 65 72 61 6c 20 73 74 |.X*.A li|teral st|
|000040f0| 72 69 6e 67 20 6f 66 20 | 63 68 61 72 61 63 74 65 |ring of |characte|
|00004100| 72 73 20 73 75 72 72 6f | 75 6e 64 65 64 20 62 79 |rs surro|unded by|
|00004110| 20 64 6f 75 62 6c 65 2d | 71 75 6f 74 61 74 69 6f | double-|quotatio|
|00004120| 6e 20 6d 61 72 6b 73 20 | 28 27 22 27 29 3b 20 73 |n marks |('"'); s|
|00004130| 75 63 68 0a 61 20 73 74 | 72 69 6e 67 20 63 61 6e |uch.a st|ring can|
|00004140| 20 62 65 20 6e 6f 20 6c | 6f 6e 67 65 72 20 74 68 | be no l|onger th|
|00004150| 61 6e 20 38 30 20 63 68 | 61 72 61 63 74 65 72 73 |an 80 ch|aracters|
|00004160| 2e 20 41 20 64 6f 75 62 | 6c 65 2d 71 75 6f 74 61 |. A doub|le-quota|
|00004170| 74 69 6f 6e 20 6d 61 72 | 6b 20 63 61 6e 20 62 65 |tion mar|k can be|
|00004180| 0a 69 6d 62 65 64 64 65 | 64 20 77 69 74 68 69 6e |.imbedde|d within|
|00004190| 20 74 68 65 20 73 74 72 | 69 6e 67 20 62 79 20 70 | the str|ing by p|
|000041a0| 72 65 63 65 64 69 6e 67 | 20 69 74 20 77 69 74 68 |receding| it with|
|000041b0| 20 61 20 62 61 63 6b 73 | 6c 61 73 68 20 28 27 5c | a backs|lash ('\|
|000041c0| 5c 22 27 29 3b 20 77 68 | 65 6e 20 74 68 65 0a 73 |\"'); wh|en the.s|
|000041d0| 74 72 69 6e 67 20 69 73 | 20 69 6e 74 65 72 70 72 |tring is| interpr|
|000041e0| 65 74 65 64 2c 20 74 68 | 65 20 62 61 63 6b 73 6c |eted, th|e backsl|
|000041f0| 61 73 68 20 69 73 20 64 | 69 73 72 65 67 61 72 64 |ash is d|isregard|
|00004200| 65 64 20 61 6e 64 20 74 | 68 65 20 64 6f 75 62 6c |ed and t|he doubl|
|00004210| 65 2d 71 75 6f 74 61 74 | 69 6f 6e 0a 6d 61 72 6b |e-quotat|ion.mark|
|00004220| 20 69 73 20 74 72 65 61 | 74 65 64 20 61 73 20 70 | is trea|ted as p|
|00004230| 61 72 74 20 6f 66 20 74 | 68 65 20 73 74 72 69 6e |art of t|he strin|
|00004240| 67 2e 20 4d 69 73 6d 61 | 74 63 68 65 64 20 71 75 |g. Misma|tched qu|
|00004250| 6f 74 61 74 69 6f 6e 20 | 6d 61 72 6b 73 20 72 65 |otation |marks re|
|00004260| 73 75 6c 74 20 69 6e 20 | 61 0a 73 79 6e 74 61 78 |sult in |a.syntax|
|00004270| 20 65 72 72 6f 72 2e 0a | 58 2e 54 50 0a 58 2a 0a | error..|X.TP.X*.|
|00004280| 54 68 65 20 6e 61 6d 65 | 20 6f 66 20 61 20 75 73 |The name| of a us|
|00004290| 65 72 20 76 61 72 69 61 | 62 6c 65 2c 20 77 68 69 |er varia|ble, whi|
|000042a0| 63 68 20 63 61 6e 20 68 | 61 76 65 20 65 69 74 68 |ch can h|ave eith|
|000042b0| 65 72 20 61 20 73 74 72 | 69 6e 67 20 6f 72 20 61 |er a str|ing or a|
|000042c0| 20 6e 75 6d 65 72 69 63 | 20 76 61 6c 75 65 2e 0a | numeric| value..|
|000042d0| 54 68 65 20 6e 61 6d 65 | 20 6f 66 20 61 20 75 73 |The name| of a us|
|000042e0| 65 72 20 76 61 72 69 61 | 62 6c 65 20 6d 75 73 74 |er varia|ble must|
|000042f0| 20 62 65 67 69 6e 20 77 | 69 74 68 20 61 6e 20 61 | begin w|ith an a|
|00004300| 6c 70 68 61 62 65 74 69 | 63 20 63 68 61 72 61 63 |lphabeti|c charac|
|00004310| 74 65 72 2e 0a 58 2e 54 | 50 0a 58 2a 0a 54 68 65 |ter..X.T|P.X*.The|
|00004320| 20 6e 61 6d 65 20 6f 66 | 20 61 20 73 68 65 6c 6c | name of| a shell|
|00004330| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 76 61 72 | environ|ment var|
|00004340| 69 61 62 6c 65 2c 20 70 | 72 65 63 65 64 65 64 20 |iable, p|receded |
|00004350| 62 79 20 61 20 64 6f 6c | 6c 61 72 20 73 69 67 6e |by a dol|lar sign|
|00004360| 20 28 27 24 27 29 2e 20 | 54 68 65 0a 58 2e 42 20 | ('$'). |The.X.B |
|00004370| 78 63 0a 73 63 72 69 70 | 74 20 6c 61 6e 67 75 61 |xc.scrip|t langua|
|00004380| 67 65 20 65 78 61 6d 69 | 6e 65 73 20 74 68 65 20 |ge exami|nes the |
|00004390| 55 6e 69 78 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |Unix env|ironment|
|000043a0| 20 66 6f 72 20 74 68 65 | 20 73 70 65 63 69 66 69 | for the| specifi|
|000043b0| 65 64 20 76 61 72 69 61 | 62 6c 65 20 61 6e 64 2c |ed varia|ble and,|
|000043c0| 0a 69 66 20 73 75 63 68 | 20 61 20 76 61 72 69 61 |.if such| a varia|
|000043d0| 62 6c 65 20 65 78 69 73 | 74 73 2c 20 73 75 62 73 |ble exis|ts, subs|
|000043e0| 74 69 74 75 74 65 73 20 | 74 68 65 20 76 61 6c 75 |titutes |the valu|
|000043f0| 65 20 6f 66 20 74 68 61 | 74 20 76 61 72 69 61 62 |e of tha|t variab|
|00004400| 6c 65 2e 20 54 68 65 20 | 72 65 73 75 6c 74 0a 69 |le. The |result.i|
|00004410| 73 20 74 72 65 61 74 65 | 64 20 61 73 20 69 66 20 |s treate|d as if |
|00004420| 69 74 20 77 65 72 65 20 | 61 20 71 75 6f 74 65 64 |it were |a quoted|
|00004430| 20 6c 69 74 65 72 61 6c | 20 73 74 72 69 6e 67 2c | literal| string,|
|00004440| 20 61 6e 64 2c 20 74 68 | 65 72 65 66 6f 72 65 2c | and, th|erefore,|
|00004450| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 62 65 0a 6d | should |not be.m|
|00004460| 6f 72 65 20 74 68 61 6e | 20 38 30 20 63 68 61 72 |ore than| 80 char|
|00004470| 61 63 5c 25 74 65 72 73 | 20 6c 6f 6e 67 2c 20 6f |ac\%ters| long, o|
|00004480| 72 20 65 6c 73 65 20 69 | 74 20 77 69 6c 6c 20 62 |r else i|t will b|
|00004490| 65 20 74 72 75 6e 63 61 | 74 65 64 20 74 6f 20 69 |e trunca|ted to i|
|000044a0| 74 73 20 66 69 72 73 74 | 20 38 30 0a 63 68 61 72 |ts first| 80.char|
|000044b0| 61 63 74 65 72 73 2e 20 | 53 69 6d 69 6c 61 72 6c |acters. |Similarl|
|000044c0| 79 2c 20 73 75 63 68 20 | 61 6e 20 65 6e 76 69 72 |y, such |an envir|
|000044d0| 6f 6e 6d 65 6e 74 20 76 | 61 72 69 61 62 6c 65 20 |onment v|ariable |
|000044e0| 73 68 6f 75 6c 64 20 6e | 6f 74 20 63 6f 6e 74 61 |should n|ot conta|
|000044f0| 69 6e 20 61 0a 6e 65 77 | 6c 69 6e 65 2e 0a 58 2e |in a.new|line..X.|
|00004500| 54 50 0a 58 2a 0a 41 6e | 20 65 78 70 72 65 73 73 |TP.X*.An| express|
|00004510| 69 6f 6e 20 73 75 72 72 | 6f 75 6e 64 65 64 20 62 |ion surr|ounded b|
|00004520| 79 20 62 61 63 6b 2d 71 | 75 6f 74 61 74 69 6f 6e |y back-q|uotation|
|00004530| 20 6d 61 72 6b 73 20 28 | 27 60 27 29 2e 20 54 68 | marks (|'`'). Th|
|00004540| 69 73 20 73 6f 72 74 20 | 6f 66 20 65 78 70 72 65 |is sort |of expre|
|00004550| 73 73 69 6f 6e 0a 6f 70 | 65 72 61 74 65 73 20 73 |ssion.op|erates s|
|00004560| 69 6d 69 6c 61 72 6c 79 | 20 74 6f 20 74 68 65 20 |imilarly| to the |
|00004570| 42 6f 75 72 6e 65 20 73 | 68 65 6c 6c 27 73 20 63 |Bourne s|hell's c|
|00004580| 6f 6d 6d 61 6e 64 2d 73 | 75 62 73 74 69 5c 25 74 |ommand-s|ubsti\%t|
|00004590| 75 74 69 6f 6e 20 6d 65 | 63 68 61 6e 69 73 6d 3a |ution me|chanism:|
|000045a0| 20 74 68 65 0a 63 6f 6e | 74 65 6e 74 73 20 6f 66 | the.con|tents of|
|000045b0| 20 74 68 65 20 62 61 63 | 6b 2d 71 75 6f 74 65 73 | the bac|k-quotes|
|000045c0| 20 61 72 65 20 70 61 73 | 73 65 64 20 74 6f 20 74 | are pas|sed to t|
|000045d0| 68 65 20 42 6f 75 72 6e | 65 20 73 68 65 6c 6c 2c |he Bourn|e shell,|
|000045e0| 20 61 6e 64 20 74 68 65 | 20 73 74 61 6e 64 61 72 | and the| standar|
|000045f0| 64 0a 6f 75 74 70 75 74 | 20 6f 66 20 74 68 65 20 |d.output| of the |
|00004600| 62 61 63 6b 2d 71 75 6f | 74 65 64 20 63 6f 6d 6d |back-quo|ted comm|
|00004610| 61 6e 64 20 69 73 20 74 | 72 65 61 74 65 64 20 61 |and is t|reated a|
|00004620| 73 20 69 66 20 69 74 20 | 77 65 72 65 20 61 20 71 |s if it |were a q|
|00004630| 75 6f 74 65 64 20 6c 69 | 74 65 72 61 6c 0a 73 74 |uoted li|teral.st|
|00004640| 72 69 6e 67 2e 20 54 68 | 65 72 65 66 6f 72 65 2c |ring. Th|erefore,|
|00004650| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 27 73 20 6f | the com|mand's o|
|00004660| 75 74 70 75 74 20 73 68 | 6f 75 6c 64 20 6e 6f 74 |utput sh|ould not|
|00004670| 20 62 65 20 6d 6f 72 65 | 20 74 68 61 6e 20 38 30 | be more| than 80|
|00004680| 20 63 68 61 72 61 63 74 | 65 72 73 0a 6c 6f 6e 67 | charact|ers.long|
|00004690| 2c 20 6e 6f 72 20 63 6f | 6e 74 61 69 6e 20 61 20 |, nor co|ntain a |
|000046a0| 6e 65 77 6c 69 6e 65 2e | 20 41 6c 73 6f 2c 20 74 |newline.| Also, t|
|000046b0| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 74 |he conte|nts of t|
|000046c0| 68 65 20 62 61 63 6b 2d | 71 75 6f 74 65 73 20 63 |he back-|quotes c|
|000046d0| 61 6e 6e 6f 74 20 62 65 | 0a 6c 6f 6e 67 65 72 20 |annot be|.longer |
|000046e0| 74 68 61 6e 20 38 30 20 | 63 68 61 72 61 63 74 65 |than 80 |characte|
|000046f0| 72 73 2c 20 6e 6f 72 20 | 63 6f 6e 74 61 69 6e 20 |rs, nor |contain |
|00004700| 61 20 6e 65 77 6c 69 6e | 65 2e 0a 58 2e 54 50 0a |a newlin|e..X.TP.|
|00004710| 58 2a 0a 41 6e 20 65 78 | 70 72 65 73 73 69 6f 6e |X*.An ex|pression|
|00004720| 20 69 6e 74 72 6f 64 75 | 63 65 64 20 62 79 20 61 | introdu|ced by a|
|00004730| 20 70 6f 75 6e 64 2d 73 | 69 67 6e 20 28 6f 72 20 | pound-s|ign (or |
|00004740| 6e 75 6d 62 65 72 2d 73 | 69 67 6e 3a 20 27 23 27 |number-s|ign: '#'|
|00004750| 29 2c 20 77 68 69 63 68 | 20 69 73 0a 74 72 65 61 |), which| is.trea|
|00004760| 74 65 64 20 61 73 20 61 | 20 63 6f 6d 6d 65 6e 74 |ted as a| comment|
|00004770| 2e 20 41 6c 6c 20 63 68 | 61 72 61 63 74 65 72 73 |. All ch|aracters|
|00004780| 20 66 72 6f 6d 20 74 68 | 65 20 27 23 27 20 75 6e | from th|e '#' un|
|00004790| 74 69 6c 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 |til the |end of t|
|000047a0| 68 65 0a 70 68 79 73 69 | 63 61 6c 20 6c 69 6e 65 |he.physi|cal line|
|000047b0| 20 61 72 65 20 69 67 6e | 6f 72 65 64 2e 20 54 68 | are ign|ored. Th|
|000047c0| 69 73 20 63 6f 6d 6d 65 | 6e 74 20 6d 65 63 68 61 |is comme|nt mecha|
|000047d0| 6e 69 73 6d 20 69 73 20 | 74 68 65 20 73 61 6d 65 |nism is |the same|
|000047e0| 20 61 73 20 69 6e 20 74 | 68 65 0a 42 6f 75 72 6e | as in t|he.Bourn|
|000047f0| 65 20 73 68 65 6c 6c 2e | 0a 58 2e 54 50 0a 58 2a |e shell.|.X.TP.X*|
|00004800| 0a 41 20 6c 69 6d 69 74 | 61 74 69 6f 6e 20 6f 66 |.A limit|ation of|
|00004810| 20 74 68 65 20 73 63 72 | 69 70 74 20 6c 61 6e 67 | the scr|ipt lang|
|00004820| 75 61 67 65 20 69 73 20 | 74 68 61 74 20 6f 6e 6c |uage is |that onl|
|00004830| 79 20 6f 6e 65 20 63 68 | 61 72 61 63 74 65 72 20 |y one ch|aracter |
|00004840| 73 74 72 69 6e 67 20 63 | 61 6e 20 62 65 0a 70 61 |string c|an be.pa|
|00004850| 73 73 65 64 20 61 73 20 | 61 6e 20 61 72 67 75 6d |ssed as |an argum|
|00004860| 65 6e 74 20 74 6f 20 61 | 6e 79 20 6f 66 20 74 68 |ent to a|ny of th|
|00004870| 65 20 73 63 72 69 70 74 | 20 63 6f 6d 6d 61 6e 64 |e script| command|
|00004880| 73 2e 20 54 68 65 20 5c | 66 49 62 69 6e 64 5f 66 |s. The \|fIbind_f|
|00004890| 75 6e 63 74 69 6f 6e 5c | 66 52 2c 0a 58 5c 66 49 |unction\|fR,.X\fI|
|000048a0| 62 69 6e 64 5f 73 63 72 | 69 70 74 5c 66 52 2c 20 |bind_scr|ipt\fR, |
|000048b0| 61 6e 64 20 5c 66 49 62 | 69 6e 64 5f 73 74 72 69 |and \fIb|ind_stri|
|000048c0| 6e 67 5c 66 52 20 63 6f | 6d 6d 61 6e 64 73 20 74 |ng\fR co|mmands t|
|000048d0| 68 75 73 20 6e 65 65 64 | 20 74 6f 20 75 73 65 20 |hus need| to use |
|000048e0| 61 20 64 65 63 69 6d 61 | 6c 0a 64 69 67 69 74 20 |a decima|l.digit |
|000048f0| 74 6f 20 72 65 70 72 65 | 73 65 6e 74 20 74 68 65 |to repre|sent the|
|00004900| 20 6b 65 79 20 74 68 61 | 74 20 69 73 20 74 6f 20 | key tha|t is to |
|00004910| 62 65 20 62 6f 75 6e 64 | 2e 20 54 68 65 20 41 53 |be bound|. The AS|
|00004920| 43 49 49 20 76 61 6c 75 | 65 20 6f 66 20 74 68 65 |CII valu|e of the|
|00004930| 20 74 68 65 20 6b 65 79 | 0a 69 73 20 65 6d 70 6c | the key|.is empl|
|00004940| 6f 79 65 64 2e 20 41 73 | 20 61 6e 20 65 78 61 6d |oyed. As| an exam|
|00004950| 70 6c 65 2c 20 43 6f 6e | 74 72 6f 6c 2d 43 20 69 |ple, Con|trol-C i|
|00004960| 73 20 69 64 65 6e 74 69 | 66 69 65 64 20 61 73 20 |s identi|fied as |
|00004970| 33 2c 20 43 6f 6e 74 72 | 6f 6c 2d 5a 20 69 73 20 |3, Contr|ol-Z is |
|00004980| 32 36 2c 20 74 68 65 0a | 58 45 53 43 41 50 45 20 |26, the.|XESCAPE |
|00004990| 6b 65 79 20 69 73 20 32 | 37 2c 20 61 20 73 70 61 |key is 2|7, a spa|
|000049a0| 63 65 20 69 73 20 33 32 | 2c 20 74 68 65 20 6e 75 |ce is 32|, the nu|
|000049b0| 6d 62 65 72 20 22 31 22 | 20 69 73 20 34 39 3b 20 |mber "1"| is 49; |
|000049c0| 6c 65 74 74 65 72 73 20 | 61 72 65 0a 58 2e 52 49 |letters |are.X.RI|
|000049d0| 20 63 61 73 65 2d 20 69 | 6e 20 73 65 6e 73 69 74 | case- i|n sensit|
|000049e0| 69 76 65 0a 73 6f 20 74 | 68 61 74 20 69 64 65 6e |ive.so t|hat iden|
|000049f0| 74 69 66 79 69 6e 67 20 | 74 68 65 20 62 6f 75 6e |tifying |the boun|
|00004a00| 64 20 6b 65 79 20 61 73 | 20 22 36 35 22 20 6f 72 |d key as| "65" or|
|00004a10| 20 61 73 20 22 39 37 22 | 20 77 69 6c 6c 20 61 6c | as "97"| will al|
|00004a20| 77 61 79 73 20 62 69 6e | 64 20 0a 58 2e 49 20 62 |ways bin|d .X.I b|
|00004a30| 6f 74 68 20 0a 58 22 61 | 22 20 61 6e 64 20 22 41 |oth .X"a|" and "A|
|00004a40| 22 20 74 6f 20 74 68 65 | 20 73 61 6d 65 20 63 6f |" to the| same co|
|00004a50| 6d 6d 61 6e 64 2e 0a 58 | 2e 50 0a 51 75 6f 74 65 |mmand..X|.P.Quote|
|00004a60| 64 20 6c 69 74 65 72 61 | 6c 20 73 74 72 69 6e 67 |d litera|l string|
|00004a70| 73 20 28 61 6e 64 20 74 | 68 65 20 74 77 6f 20 6f |s (and t|he two o|
|00004a80| 74 68 65 72 20 6d 65 63 | 68 61 6e 69 73 6d 73 20 |ther mec|hanisms |
|00004a90| 74 68 61 74 20 61 63 74 | 20 6c 69 6b 65 20 71 75 |that act| like qu|
|00004aa0| 6f 74 65 64 0a 6c 69 74 | 65 72 61 6c 20 73 74 72 |oted.lit|eral str|
|00004ab0| 69 6e 67 73 2c 20 73 68 | 65 6c 6c 20 65 6e 76 69 |ings, sh|ell envi|
|00004ac0| 72 6f 6e 6d 65 6e 74 20 | 76 61 72 69 61 62 6c 65 |ronment |variable|
|00004ad0| 73 20 61 6e 64 20 62 61 | 63 6b 2d 71 75 6f 74 65 |s and ba|ck-quote|
|00004ae0| 64 20 73 68 65 6c 6c 20 | 63 6f 6d 6d 61 6e 64 73 |d shell |commands|
|00004af0| 29 0a 6d 61 79 20 62 65 | 20 75 70 20 74 6f 20 38 |).may be| up to 8|
|00004b00| 30 20 63 68 61 72 61 63 | 74 65 72 73 20 6c 6f 6e |0 charac|ters lon|
|00004b10| 67 2e 20 41 6c 6c 20 6f | 74 68 65 72 20 77 6f 72 |g. All o|ther wor|
|00004b20| 64 73 20 6d 75 73 74 20 | 62 65 20 6e 6f 20 6c 6f |ds must |be no lo|
|00004b30| 6e 67 65 72 20 74 68 61 | 6e 20 31 36 0a 63 68 61 |nger tha|n 16.cha|
|00004b40| 72 61 63 74 65 72 73 2c | 20 61 6e 64 20 61 72 65 |racters,| and are|
|00004b50| 20 74 72 65 61 74 65 64 | 20 63 61 73 65 2d 69 6e | treated| case-in|
|00004b60| 64 65 70 65 6e 64 65 6e | 74 6c 79 20 28 77 68 69 |dependen|tly (whi|
|00004b70| 63 68 20 69 73 20 74 6f | 20 73 61 79 2c 20 75 70 |ch is to| say, up|
|00004b80| 70 65 72 63 61 73 65 0a | 69 73 20 74 68 65 20 73 |percase.|is the s|
|00004b90| 61 6d 65 20 61 73 20 6c | 6f 77 65 72 63 61 73 65 |ame as l|owercase|
|00004ba0| 29 3b 20 6e 6f 74 65 2c | 20 74 68 6f 75 67 68 2c |); note,| though,|
|00004bb0| 20 74 68 61 74 20 74 68 | 65 20 6e 61 6d 65 73 20 | that th|e names |
|00004bc0| 6f 66 20 73 68 65 6c 6c | 20 65 6e 76 69 72 6f 6e |of shell| environ|
|00004bd0| 6d 65 6e 74 0a 76 61 72 | 69 61 62 6c 65 73 20 61 |ment.var|iables a|
|00004be0| 72 65 20 63 61 73 65 2d | 64 65 70 65 6e 64 65 6e |re case-|dependen|
|00004bf0| 74 20 28 75 70 70 65 72 | 63 61 73 65 20 6d 75 73 |t (upper|case mus|
|00004c00| 74 20 6d 61 74 63 68 20 | 75 70 70 65 72 63 61 73 |t match |uppercas|
|00004c10| 65 20 61 6e 64 20 6c 6f | 77 65 72 63 61 73 65 0a |e and lo|wercase.|
|00004c20| 6d 75 73 74 20 6d 61 74 | 63 68 20 6c 6f 77 65 72 |must mat|ch lower|
|00004c30| 63 61 73 65 29 2c 20 62 | 65 63 61 75 73 65 20 74 |case), b|ecause t|
|00004c40| 68 65 79 20 61 72 65 20 | 63 61 73 65 2d 64 65 70 |hey are |case-dep|
|00004c50| 65 6e 64 65 6e 74 20 69 | 6e 20 74 68 65 20 73 68 |endent i|n the sh|
|00004c60| 65 6c 6c 2e 0a 58 0a 41 | 6e 79 20 77 6f 72 64 20 |ell..X.A|ny word |
|00004c70| 6e 6f 74 20 72 65 63 6f | 67 6e 69 7a 61 62 6c 65 |not reco|gnizable|
|00004c80| 20 77 69 74 68 69 6e 20 | 74 68 65 20 66 6f 72 65 | within |the fore|
|00004c90| 67 6f 69 6e 67 20 63 61 | 74 65 67 6f 72 69 65 73 |going ca|tegories|
|00004ca0| 20 69 73 20 74 72 65 61 | 74 65 64 20 61 73 20 74 | is trea|ted as t|
|00004cb0| 68 65 0a 6e 61 6d 65 20 | 6f 66 20 61 20 6e 65 77 |he.name |of a new|
|00004cc0| 20 75 73 65 72 20 76 61 | 72 69 61 62 6c 65 2e 20 | user va|riable. |
|00004cd0| 53 75 63 68 20 61 20 77 | 6f 72 64 2c 20 69 66 20 |Such a w|ord, if |
|00004ce0| 6c 6f 6e 67 65 72 20 74 | 68 61 6e 20 31 36 20 63 |longer t|han 16 c|
|00004cf0| 68 61 72 61 63 74 65 72 | 73 2c 20 69 73 0a 63 6f |haracter|s, is.co|
|00004d00| 6e 73 69 64 65 72 65 64 | 20 74 6f 20 62 65 20 61 |nsidered| to be a|
|00004d10| 20 73 79 6e 74 61 78 20 | 65 72 72 6f 72 2e 0a 58 | syntax |error..X|
|00004d20| 0a 55 73 65 72 20 76 61 | 72 69 61 62 6c 65 73 20 |.User va|riables |
|00004d30| 61 72 65 20 63 72 65 61 | 74 65 64 20 77 69 74 68 |are crea|ted with|
|00004d40| 20 74 68 65 20 27 61 73 | 73 69 67 6e 27 20 73 63 | the 'as|sign' sc|
|00004d50| 72 69 70 74 20 6b 65 79 | 77 6f 72 64 2c 20 61 6e |ript key|word, an|
|00004d60| 64 20 6d 61 79 20 68 61 | 76 65 0a 65 69 74 68 65 |d may ha|ve.eithe|
|00004d70| 72 20 6e 75 6d 65 72 69 | 63 20 6f 72 20 73 74 72 |r numeri|c or str|
|00004d80| 69 6e 67 20 76 61 6c 75 | 65 73 2e 20 54 68 65 20 |ing valu|es. The |
|00004d90| 74 79 70 65 20 6f 66 20 | 61 20 75 73 65 72 20 76 |type of |a user v|
|00004da0| 61 72 69 61 62 6c 65 20 | 69 73 20 64 65 74 65 72 |ariable |is deter|
|00004db0| 6d 69 6e 65 64 0a 62 79 | 20 68 6f 77 20 69 74 27 |mined.by| how it'|
|00004dc0| 73 20 63 72 65 61 74 65 | 64 3b 20 69 66 20 69 74 |s create|d; if it|
|00004dd0| 27 73 20 61 73 73 69 67 | 6e 65 64 20 74 6f 20 61 |'s assig|ned to a|
|00004de0| 20 73 74 72 69 6e 67 2c | 20 69 74 27 73 20 61 20 | string,| it's a |
|00004df0| 73 74 72 69 6e 67 20 76 | 61 72 69 61 62 6c 65 2c |string v|ariable,|
|00004e00| 0a 61 6e 64 20 69 66 20 | 69 74 27 73 20 61 73 73 |.and if |it's ass|
|00004e10| 69 67 6e 65 64 20 74 6f | 20 61 20 6e 75 6d 62 65 |igned to| a numbe|
|00004e20| 72 2c 20 69 74 27 73 20 | 61 20 6e 75 6d 65 72 69 |r, it's |a numeri|
|00004e30| 63 20 76 61 72 69 61 62 | 6c 65 2e 20 54 68 65 20 |c variab|le. The |
|00004e40| 76 61 6c 75 65 20 6f 66 | 20 61 6e 79 0a 75 73 65 |value of| any.use|
|00004e50| 72 20 76 61 72 69 61 62 | 6c 65 20 63 61 6e 20 62 |r variab|le can b|
|00004e60| 65 20 63 68 61 6e 67 65 | 64 20 77 69 74 68 20 61 |e change|d with a|
|00004e70| 6e 6f 74 68 65 72 20 27 | 61 73 73 69 67 6e 27 20 |nother '|assign' |
|00004e80| 63 6f 6d 6d 61 6e 64 2c | 20 61 6e 64 20 6e 75 6d |command,| and num|
|00004e90| 65 72 69 63 0a 76 61 72 | 69 61 62 6c 65 73 20 63 |eric.var|iables c|
|00004ea0| 61 6e 20 62 65 20 63 68 | 61 6e 67 65 64 20 74 6f |an be ch|anged to|
|00004eb0| 20 73 74 72 69 6e 67 20 | 76 61 72 69 61 62 6c 65 | string |variable|
|00004ec0| 73 20 61 6e 64 20 76 69 | 63 65 2d 76 65 72 73 61 |s and vi|ce-versa|
|00004ed0| 2e 20 53 68 65 6c 6c 0a | 65 6e 76 69 72 6f 6e 6d |. Shell.|environm|
|00004ee0| 65 6e 74 20 76 61 72 69 | 61 62 6c 65 73 20 63 61 |ent vari|ables ca|
|00004ef0| 6e 6e 6f 74 20 62 65 20 | 63 68 61 6e 67 65 64 20 |nnot be |changed |
|00004f00| 77 69 74 68 69 6e 20 61 | 6e 0a 58 2e 42 20 78 63 |within a|n.X.B xc|
|00004f10| 0a 73 63 72 69 70 74 2c | 20 62 75 74 20 74 68 65 |.script,| but the|
|00004f20| 20 76 61 6c 75 65 20 6f | 66 20 61 20 73 68 65 6c | value o|f a shel|
|00004f30| 6c 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 76 61 |l enviro|nment va|
|00004f40| 72 69 61 62 6c 65 20 63 | 61 6e 20 62 65 20 61 73 |riable c|an be as|
|00004f50| 73 69 67 6e 65 64 20 74 | 6f 20 61 20 75 73 65 72 |signed t|o a user|
|00004f60| 0a 76 61 72 69 61 62 6c | 65 2c 20 61 6e 64 20 74 |.variabl|e, and t|
|00004f70| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |he value| of the |
|00004f80| 75 73 65 72 20 76 61 72 | 69 61 62 6c 65 20 63 61 |user var|iable ca|
|00004f90| 6e 20 74 68 65 72 65 61 | 66 74 65 72 20 62 65 20 |n therea|fter be |
|00004fa0| 63 68 61 6e 67 65 64 2e | 0a 58 0a 53 63 72 69 70 |changed.|.X.Scrip|
|00004fb0| 74 73 20 61 72 65 20 63 | 6f 6e 74 61 69 6e 65 64 |ts are c|ontained|
|00004fc0| 20 69 6e 20 41 53 43 49 | 49 20 74 65 78 74 20 64 | in ASCI|I text d|
|00004fd0| 69 73 6b 20 66 69 6c 65 | 73 2c 20 6f 6e 65 20 73 |isk file|s, one s|
|00004fe0| 63 72 69 70 74 20 74 6f | 20 61 20 66 69 6c 65 2e |cript to| a file.|
|00004ff0| 20 41 0a 73 63 72 69 70 | 74 20 63 61 6e 20 69 6e | A.scrip|t can in|
|00005000| 76 6f 6b 65 20 61 6e 6f | 74 68 65 72 20 73 63 72 |voke ano|ther scr|
|00005010| 69 70 74 20 61 73 20 61 | 20 73 75 62 72 6f 75 74 |ipt as a| subrout|
|00005020| 69 6e 65 20 77 69 74 68 | 20 74 68 65 20 27 63 61 |ine with| the 'ca|
|00005030| 6c 6c 27 20 6b 65 79 77 | 6f 72 64 3b 20 75 70 0a |ll' keyw|ord; up.|
|00005040| 74 6f 20 35 20 73 63 72 | 69 70 74 73 20 63 61 6e |to 5 scr|ipts can|
|00005050| 20 62 65 20 6e 65 73 74 | 65 64 20 69 6e 20 74 68 | be nest|ed in th|
|00005060| 69 73 20 77 61 79 20 61 | 74 20 61 6e 79 20 73 69 |is way a|t any si|
|00005070| 6e 67 6c 65 20 74 69 6d | 65 2e 0a 58 0a 57 69 74 |ngle tim|e..X.Wit|
|00005080| 68 20 61 6c 6c 20 74 68 | 69 73 20 73 61 69 64 2c |h all th|is said,|
|00005090| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6c | the fol|lowing l|
|000050a0| 69 73 74 20 6f 66 0a 58 | 2e 42 20 78 63 0a 73 63 |ist of.X|.B xc.sc|
|000050b0| 72 69 70 74 20 6c 61 6e | 67 75 61 67 65 20 63 6f |ript lan|guage co|
|000050c0| 6d 6d 61 6e 64 73 20 73 | 68 6f 75 6c 64 20 62 65 |mmands s|hould be|
|000050d0| 20 63 6f 6d 70 72 65 68 | 65 6e 73 69 62 6c 65 2e | compreh|ensible.|
|000050e0| 20 54 68 65 20 66 6f 72 | 6d 61 74 20 22 3c 73 6f | The for|mat "<so|
|000050f0| 6d 65 74 68 69 6e 67 3e | 22 0a 6d 65 61 6e 73 20 |mething>|".means |
|00005100| 74 68 61 74 20 61 20 74 | 6f 6b 65 6e 2c 20 6f 72 |that a t|oken, or|
|00005110| 20 77 6f 72 64 2d 74 79 | 70 65 2c 20 6f 66 20 74 | word-ty|pe, of t|
|00005120| 68 65 20 22 73 6f 6d 65 | 74 68 69 6e 67 22 20 74 |he "some|thing" t|
|00005130| 79 70 65 20 69 73 20 6d | 65 61 6e 74 20 72 61 74 |ype is m|eant rat|
|00005140| 68 65 72 20 74 68 61 6e | 0a 74 68 65 20 6c 69 74 |her than|.the lit|
|00005150| 65 72 61 6c 20 73 65 71 | 75 65 6e 63 65 20 27 73 |eral seq|uence 's|
|00005160| 6f 6d 65 74 68 69 6e 67 | 27 2e 0a 58 2e 53 53 20 |omething|'..X.SS |
|00005170| 5c 66 49 53 63 72 69 70 | 74 20 4c 61 6e 67 75 61 |\fIScrip|t Langua|
|00005180| 67 65 20 43 6f 6d 6d 61 | 6e 64 73 5c 66 52 0a 4e |ge Comma|nds\fR.N|
|00005190| 6f 74 65 20 74 68 61 74 | 20 61 6c 6c 20 74 68 65 |ote that| all the|
|000051a0| 20 63 6f 6d 6d 61 6e 64 | 73 20 61 72 65 20 63 61 | command|s are ca|
|000051b0| 73 65 2d 5c 66 49 69 6e | 5c 66 52 73 65 6e 73 69 |se-\fIin|\fRsensi|
|000051c0| 74 69 76 65 21 0a 58 2e | 54 50 20 34 0a 58 2e 49 |tive!.X.|TP 4.X.I|
|000051d0| 20 61 66 66 69 72 6d 0a | 53 79 6e 74 61 78 3a 20 | affirm.|Syntax: |
|000051e0| 61 66 66 69 72 6d 0a 58 | 0a 52 65 61 64 73 20 61 |affirm.X|.Reads a|
|000051f0| 20 73 74 72 69 6e 67 20 | 66 72 6f 6d 20 74 68 65 | string |from the|
|00005200| 20 74 65 72 6d 69 6e 61 | 6c 2c 20 61 6e 64 20 72 | termina|l, and r|
|00005210| 65 74 75 72 6e 73 20 54 | 52 55 45 20 69 66 20 74 |eturns T|RUE if t|
|00005220| 68 65 20 73 74 72 69 6e | 67 20 62 65 67 69 6e 73 |he strin|g begins|
|00005230| 20 77 69 74 68 0a 58 5c | 26 27 79 27 20 6f 72 20 | with.X\|&'y' or |
|00005240| 27 59 27 3b 20 6f 74 68 | 65 72 77 69 73 65 2c 20 |'Y'; oth|erwise, |
|00005250| 72 65 74 75 72 6e 73 20 | 46 41 4c 53 45 2e 20 20 |returns |FALSE. |
|00005260| 55 73 65 64 20 69 6e 20 | 65 76 61 6c 75 61 74 69 |Used in |evaluati|
|00005270| 6e 67 20 63 6f 6e 64 69 | 74 69 6f 6e 61 6c 0a 65 |ng condi|tional.e|
|00005280| 78 70 72 65 73 73 69 6f | 6e 73 2e 20 54 68 65 20 |xpressio|ns. The |
|00005290| 73 74 72 69 6e 67 20 6d | 75 73 74 20 62 65 20 74 |string m|ust be t|
|000052a0| 65 72 6d 69 6e 61 74 65 | 64 20 62 79 20 61 20 6e |erminate|d by a n|
|000052b0| 65 77 6c 69 6e 65 20 6f | 72 20 63 61 72 72 69 61 |ewline o|r carria|
|000052c0| 67 65 2d 72 65 74 75 72 | 6e 2e 0a 58 0a 58 45 78 |ge-retur|n..X.XEx|
|000052d0| 61 6d 70 6c 65 3a 0a 58 | 0a 58 20 20 20 20 65 63 |ample:.X|.X ec|
|000052e0| 68 6f 20 2d 6e 20 22 43 | 6f 6e 74 69 6e 75 65 20 |ho -n "C|ontinue |
|000052f0| 28 79 2f 6e 29 3f 20 22 | 0a 58 20 20 20 20 69 66 |(y/n)? "|.X if|
|00005300| 20 61 66 66 69 72 6d 0a | 58 20 20 20 20 74 68 65 | affirm.|X the|
|00005310| 6e 0a 58 20 20 20 20 20 | 20 20 20 63 6f 6e 74 69 |n.X | conti|
|00005320| 6e 75 65 0a 58 20 20 20 | 20 65 6c 73 65 0a 58 20 |nue.X | else.X |
|00005330| 20 20 20 20 20 20 20 62 | 72 65 61 6b 0a 58 20 20 | b|reak.X |
|00005340| 20 20 65 6e 64 69 66 0a | 58 2e 54 50 0a 58 2e 49 | endif.|X.TP.X.I|
|00005350| 20 61 73 73 69 67 6e 0a | 53 79 6e 74 61 78 3a 20 | assign.|Syntax: |
|00005360| 61 73 73 69 67 6e 20 3c | 76 61 72 6e 61 6d 65 3e |assign <|varname>|
|00005370| 20 65 71 20 3c 6e 75 6d | 62 65 72 3e 0a 58 20 20 | eq <num|ber>.X |
|00005380| 20 20 20 20 20 20 61 73 | 73 69 67 6e 20 3c 76 61 | as|sign <va|
|00005390| 72 6e 61 6d 65 3e 20 65 | 71 20 22 73 74 72 69 6e |rname> e|q "strin|
|000053a0| 67 22 0a 58 20 20 20 20 | 20 20 20 20 61 73 73 69 |g".X | assi|
|000053b0| 67 6e 20 3c 76 61 72 6e | 61 6d 65 31 3e 20 65 71 |gn <varn|ame1> eq|
|000053c0| 20 3c 76 61 72 6e 61 6d | 65 32 3e 0a 58 20 20 20 | <varnam|e2>.X |
|000053d0| 20 20 20 20 20 61 73 73 | 69 67 6e 20 3c 76 61 72 | ass|ign <var|
|000053e0| 6e 61 6d 65 3e 20 65 71 | 20 3c 73 63 72 69 70 74 |name> eq| <script|
|000053f0| 2d 63 6f 6d 6d 61 6e 64 | 3e 0a 58 0a 41 73 73 69 |-command|>.X.Assi|
|00005400| 67 6e 73 20 74 6f 20 75 | 73 65 72 20 76 61 72 69 |gns to u|ser vari|
|00005410| 61 62 6c 65 20 3c 76 61 | 72 6e 61 6d 65 3e 20 74 |able <va|rname> t|
|00005420| 68 65 20 76 61 6c 75 65 | 20 66 6f 6c 6c 6f 77 69 |he value| followi|
|00005430| 6e 67 20 22 65 71 22 3b | 20 69 66 20 74 68 61 74 |ng "eq";| if that|
|00005440| 20 76 61 6c 75 65 20 69 | 73 20 61 0a 6e 75 6d 62 | value i|s a.numb|
|00005450| 65 72 2c 20 74 68 65 6e | 20 3c 76 61 72 6e 61 6d |er, then| <varnam|
|00005460| 65 3e 20 62 65 63 6f 6d | 65 73 20 61 20 6e 75 6d |e> becom|es a num|
|00005470| 65 72 69 63 20 75 73 65 | 72 20 76 61 72 69 61 62 |eric use|r variab|
|00005480| 6c 65 3b 20 69 66 20 74 | 68 61 74 20 76 61 6c 75 |le; if t|hat valu|
|00005490| 65 20 69 73 20 61 0a 73 | 74 72 69 6e 67 2c 20 74 |e is a.s|tring, t|
|000054a0| 68 65 6e 20 3c 76 61 72 | 6e 61 6d 65 3e 20 62 65 |hen <var|name> be|
|000054b0| 63 6f 6d 65 73 20 61 20 | 73 74 72 69 6e 67 20 75 |comes a |string u|
|000054c0| 73 65 72 20 76 61 72 69 | 61 62 6c 65 2e 20 49 66 |ser vari|able. If|
|000054d0| 20 3c 76 61 72 6e 61 6d | 65 3e 20 64 6f 65 73 20 | <varnam|e> does |
|000054e0| 6e 6f 74 0a 61 6c 72 65 | 61 64 79 20 65 78 69 73 |not.alre|ady exis|
|000054f0| 74 20 61 73 20 61 20 75 | 73 65 72 20 76 61 72 69 |t as a u|ser vari|
|00005500| 61 62 6c 65 2c 20 69 74 | 20 69 73 20 63 72 65 61 |able, it| is crea|
|00005510| 74 65 64 2e 20 56 61 72 | 69 61 62 6c 65 20 73 70 |ted. Var|iable sp|
|00005520| 61 63 65 20 69 73 20 61 | 6c 6c 6f 63 61 74 65 64 |ace is a|llocated|
|00005530| 0a 64 79 6e 61 6d 69 63 | 61 6c 6c 79 2c 20 62 75 |.dynamic|ally, bu|
|00005540| 74 20 72 75 6e 6e 69 6e | 67 20 6f 75 74 20 6f 66 |t runnin|g out of|
|00005550| 20 6d 65 6d 6f 72 79 20 | 73 70 61 63 65 20 66 6f | memory |space fo|
|00005560| 72 20 76 61 72 69 61 62 | 6c 65 73 20 69 73 20 75 |r variab|les is u|
|00005570| 6e 6c 69 6b 65 6c 79 2e | 20 41 6c 6c 0a 76 61 72 |nlikely.| All.var|
|00005580| 69 61 62 6c 65 73 20 61 | 72 65 20 67 6c 6f 62 61 |iables a|re globa|
|00005590| 6c 20 61 63 72 6f 73 73 | 20 73 63 72 69 70 74 73 |l across| scripts|
|000055a0| 20 74 68 61 74 20 72 75 | 6e 20 61 74 20 74 68 65 | that ru|n at the|
|000055b0| 20 73 61 6d 65 20 74 69 | 6d 65 20 76 69 61 20 74 | same ti|me via t|
|000055c0| 68 65 20 27 63 61 6c 6c | 27 0a 6b 65 79 77 6f 72 |he 'call|'.keywor|
|000055d0| 64 2c 20 61 6e 64 20 61 | 6c 6c 20 76 61 72 69 61 |d, and a|ll varia|
|000055e0| 62 6c 65 73 20 76 61 6e | 69 73 68 20 77 68 65 6e |bles van|ish when|
|000055f0| 20 61 20 73 63 72 69 70 | 74 2c 20 63 61 6c 6c 65 | a scrip|t, calle|
|00005600| 64 20 64 69 72 65 63 74 | 6c 79 20 66 72 6f 6d 0a |d direct|ly from.|
|00005610| 58 2e 42 20 78 63 0a 61 | 73 20 6f 70 70 6f 73 65 |X.B xc.a|s oppose|
|00005620| 64 20 74 6f 20 63 61 6c | 6c 65 64 20 66 72 6f 6d |d to cal|led from|
|00005630| 20 61 6e 6f 74 68 65 72 | 20 73 63 72 69 70 74 2c | another| script,|
|00005640| 20 65 78 69 74 73 2e 20 | 49 6e 20 6f 74 68 65 72 | exits. |In other|
|00005650| 20 77 6f 72 64 73 2c 20 | 76 61 72 69 61 62 6c 65 | words, |variable|
|00005660| 0a 76 61 6c 75 65 73 20 | 61 72 65 20 6e 6f 74 20 |.values |are not |
|00005670| 73 74 61 74 69 63 20 65 | 78 63 65 70 74 20 64 75 |static e|xcept du|
|00005680| 72 69 6e 67 20 27 63 61 | 6c 6c 27 20 65 78 65 63 |ring 'ca|ll' exec|
|00005690| 75 74 69 6f 6e 2e 20 56 | 61 72 69 61 62 6c 65 20 |ution. V|ariable |
|000056a0| 6e 61 6d 65 73 20 63 61 | 6e 6e 6f 74 20 62 65 0a |names ca|nnot be.|
|000056b0| 6c 6f 6e 67 65 72 20 74 | 68 61 6e 20 38 20 63 68 |longer t|han 8 ch|
|000056c0| 61 72 61 63 74 65 72 73 | 2e 20 53 75 63 63 65 73 |aracters|. Succes|
|000056d0| 73 69 76 65 20 27 61 73 | 73 69 67 6e 73 27 20 61 |sive 'as|signs' a|
|000056e0| 72 65 20 70 65 72 6d 69 | 73 73 69 62 6c 65 2c 20 |re permi|ssible, |
|000056f0| 61 6e 64 20 74 68 65 20 | 74 79 70 65 20 6f 66 0a |and the |type of.|
|00005700| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 63 68 61 |the vari|able cha|
|00005710| 6e 67 65 73 20 61 63 63 | 6f 72 64 69 6e 67 20 74 |nges acc|ording t|
|00005720| 6f 20 74 68 65 20 74 79 | 70 65 20 6f 66 20 74 68 |o the ty|pe of th|
|00005730| 65 20 76 61 6c 75 65 20 | 66 6f 6c 6c 6f 77 69 6e |e value |followin|
|00005740| 67 20 22 65 71 22 2e 20 | 41 20 75 73 65 72 0a 76 |g "eq". |A user.v|
|00005750| 61 72 69 61 62 6c 65 20 | 69 73 20 64 65 73 74 72 |ariable |is destr|
|00005760| 6f 79 65 64 20 77 69 74 | 68 20 74 68 65 20 27 75 |oyed wit|h the 'u|
|00005770| 6e 61 73 73 69 67 6e 27 | 20 6b 65 79 77 6f 72 64 |nassign'| keyword|
|00005780| 2e 0a 58 0a 49 66 20 61 | 20 76 61 72 69 61 62 6c |..X.If a| variabl|
|00005790| 65 20 69 73 20 61 73 73 | 69 67 6e 65 64 20 74 68 |e is ass|igned th|
|000057a0| 65 20 76 61 6c 75 65 20 | 6f 66 20 61 20 73 63 72 |e value |of a scr|
|000057b0| 69 70 74 20 63 6f 6d 6d | 61 6e 64 2c 20 74 68 65 |ipt comm|and, the|
|000057c0| 6e 20 69 74 20 62 65 63 | 6f 6d 65 73 20 61 0a 6e |n it bec|omes a.n|
|000057d0| 75 6d 65 72 69 63 20 76 | 61 72 69 61 62 6c 65 20 |umeric v|ariable |
|000057e0| 77 69 74 68 20 76 61 6c | 75 65 20 54 52 55 45 20 |with val|ue TRUE |
|000057f0| 6f 72 20 46 41 4c 53 45 | 2c 20 64 65 70 65 6e 64 |or FALSE|, depend|
|00005800| 69 6e 67 20 6f 6e 20 74 | 68 65 20 73 74 61 74 75 |ing on t|he statu|
|00005810| 73 20 72 65 74 75 72 6e | 65 64 20 62 79 0a 74 68 |s return|ed by.th|
|00005820| 65 20 73 63 72 69 70 74 | 20 63 6f 6d 6d 61 6e 64 |e script| command|
|00005830| 2e 20 49 66 20 61 20 76 | 61 72 69 61 62 6c 65 20 |. If a v|ariable |
|00005840| 69 73 20 61 73 73 69 67 | 6e 65 64 20 74 68 65 20 |is assig|ned the |
|00005850| 76 61 6c 75 65 20 6f 66 | 20 61 20 62 61 63 6b 2d |value of| a back-|
|00005860| 71 75 6f 74 65 64 0a 63 | 6f 6d 6d 61 6e 64 2c 20 |quoted.c|ommand, |
|00005870| 69 74 20 62 65 63 6f 6d | 65 73 20 61 20 73 74 72 |it becom|es a str|
|00005880| 69 6e 67 20 76 61 72 69 | 61 62 6c 65 20 77 69 74 |ing vari|able wit|
|00005890| 68 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |h the va|lue of t|
|000058a0| 68 65 20 66 69 72 73 74 | 20 38 30 20 63 68 61 72 |he first| 80 char|
|000058b0| 61 63 74 65 72 73 0a 6f | 66 20 74 68 65 20 62 61 |acters.o|f the ba|
|000058c0| 63 6b 2d 71 75 6f 74 65 | 64 20 63 6f 6d 6d 61 6e |ck-quote|d comman|
|000058d0| 64 2e 20 49 66 20 61 20 | 76 61 72 69 61 62 6c 65 |d. If a |variable|
|000058e0| 20 69 73 20 61 73 73 69 | 67 6e 65 64 20 65 71 75 | is assi|gned equ|
|000058f0| 61 6c 20 74 6f 20 61 6e | 20 65 6e 76 69 72 6f 6e |al to an| environ|
|00005900| 6d 65 6e 74 0a 76 61 72 | 69 61 62 6c 65 2c 20 69 |ment.var|iable, i|
|00005910| 74 20 62 65 63 6f 6d 65 | 73 20 61 20 73 74 72 69 |t become|s a stri|
|00005920| 6e 67 20 76 61 72 69 61 | 62 6c 65 20 77 69 74 68 |ng varia|ble with|
|00005930| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00005940| 65 20 66 69 72 73 74 20 | 38 30 0a 63 68 61 72 61 |e first |80.chara|
|00005950| 63 74 65 72 73 20 6f 66 | 20 74 68 65 20 76 61 6c |cters of| the val|
|00005960| 75 65 20 6f 66 20 74 68 | 65 20 65 6e 76 69 72 6f |ue of th|e enviro|
|00005970| 6e 6d 65 6e 74 20 76 61 | 72 69 61 62 6c 65 2e 0a |nment va|riable..|
|00005980| 58 0a 58 45 78 61 6d 70 | 6c 65 73 3a 0a 58 0a 58 |X.XExamp|les:.X.X|
|00005990| 20 20 20 20 61 73 73 69 | 67 6e 20 6e 75 6d 76 61 | assi|gn numva|
|000059a0| 72 20 65 71 20 35 0a 58 | 20 20 20 20 61 73 73 69 |r eq 5.X| assi|
|000059b0| 67 6e 20 73 74 72 76 61 | 72 20 65 71 20 22 54 68 |gn strva|r eq "Th|
|000059c0| 69 73 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 61 |is varia|ble is a|
|000059d0| 20 73 74 72 69 6e 67 22 | 0a 58 20 20 20 20 61 73 | string"|.X as|
|000059e0| 73 69 67 6e 20 6d 79 64 | 69 72 20 65 71 20 24 48 |sign myd|ir eq $H|
|000059f0| 4f 4d 45 0a 58 20 20 20 | 20 61 73 73 69 67 6e 20 |OME.X | assign |
|00005a00| 6e 75 6d 76 61 72 32 20 | 65 71 20 6e 75 6d 76 61 |numvar2 |eq numva|
|00005a10| 72 0a 58 20 20 20 20 61 | 73 73 69 67 6e 20 73 74 |r.X a|ssign st|
|00005a20| 72 76 61 72 32 20 65 71 | 20 73 74 72 76 61 72 0a |rvar2 eq| strvar.|
|00005a30| 58 20 20 20 20 61 73 73 | 69 67 6e 20 6e 75 6d 76 |X ass|ign numv|
|00005a40| 61 72 20 65 71 20 74 72 | 75 65 0a 58 20 20 20 20 |ar eq tr|ue.X |
|00005a50| 61 73 73 69 67 6e 20 74 | 6f 64 61 79 20 65 71 20 |assign t|oday eq |
|00005a60| 60 64 61 74 65 60 3b 20 | 65 63 68 6f 20 22 74 6f |`date`; |echo "to|
|00005a70| 64 61 79 20 69 73 20 22 | 20 74 6f 64 61 79 0a 58 |day is "| today.X|
|00005a80| 2e 54 50 0a 58 2e 49 20 | 62 65 65 70 0a 53 79 6e |.TP.X.I |beep.Syn|
|00005a90| 74 61 78 3a 20 62 65 65 | 70 0a 58 0a 53 65 6e 64 |tax: bee|p.X.Send|
|00005aa0| 73 20 61 20 43 6f 6e 74 | 72 6f 6c 2d 47 20 74 6f |s a Cont|rol-G to|
|00005ab0| 20 74 68 65 20 74 65 72 | 6d 69 6e 61 6c 2e 20 55 | the ter|minal. U|
|00005ac0| 73 65 66 75 6c 20 66 6f | 72 20 61 6c 65 72 74 69 |seful fo|r alerti|
|00005ad0| 6e 67 20 74 68 65 20 75 | 73 65 72 20 74 68 61 74 |ng the u|ser that|
|00005ae0| 20 73 6f 6d 65 20 65 76 | 65 6e 74 0a 68 61 73 20 | some ev|ent.has |
|00005af0| 6f 63 63 75 72 72 65 64 | 2c 20 66 6f 72 20 65 78 |occurred|, for ex|
|00005b00| 61 6d 70 6c 65 20 61 20 | 43 4f 4e 4e 45 43 54 20 |ample a |CONNECT |
|00005b10| 61 66 74 65 72 20 61 20 | 6c 65 6e 67 74 68 79 20 |after a |lengthy |
|00005b20| 72 65 64 69 61 6c 69 6e | 67 20 73 65 73 73 69 6f |redialin|g sessio|
|00005b30| 6e 2e 0a 58 2e 54 50 0a | 58 2e 49 20 62 69 6e 64 |n..X.TP.|X.I bind|
|00005b40| 5f 66 75 6e 63 74 69 6f | 6e 0a 53 79 6e 74 61 78 |_functio|n.Syntax|
|00005b50| 3a 20 62 69 6e 64 5f 66 | 75 6e 63 74 69 6f 6e 20 |: bind_f|unction |
|00005b60| 5c 66 49 63 6f 64 65 5c | 66 52 20 22 66 75 6e 63 |\fIcode\|fR "func|
|00005b70| 74 69 6f 6e 22 0a 58 0a | 42 69 6e 64 20 74 68 65 |tion".X.|Bind the|
|00005b80| 20 63 68 61 72 61 63 74 | 65 72 20 69 64 65 6e 74 | charact|er ident|
|00005b90| 69 66 69 65 64 20 62 79 | 20 74 68 65 20 6e 75 6d |ified by| the num|
|00005ba0| 62 65 72 20 73 70 65 63 | 69 66 69 65 64 20 62 79 |ber spec|ified by|
|00005bb0| 20 5c 66 49 63 6f 64 65 | 5c 66 52 20 74 6f 20 74 | \fIcode|\fR to t|
|00005bc0| 68 65 0a 58 5c 66 42 78 | 63 5c 66 52 20 62 75 69 |he.X\fBx|c\fR bui|
|00005bd0| 6c 74 69 6e 20 66 75 6e | 63 74 69 6f 6e 20 22 66 |ltin fun|ction "f|
|00005be0| 75 6e 63 74 69 6f 6e 22 | 2e 0a 58 0a 54 68 65 20 |unction"|..X.The |
|00005bf0| 22 66 75 6e 63 74 69 6f | 6e 22 20 6d 61 79 20 62 |"functio|n" may b|
|00005c00| 65 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |e one of| the fol|
|00005c10| 6c 6f 77 69 6e 67 20 28 | 63 61 73 65 20 69 73 20 |lowing (|case is |
|00005c20| 69 67 6e 6f 72 65 64 29 | 3a 0a 58 0a 58 20 20 20 |ignored)|:.X.X |
|00005c30| 20 42 52 4b 43 48 41 52 | 20 20 53 65 6e 64 20 6d | BRKCHAR| Send m|
|00005c40| 6f 64 65 6d 20 42 52 45 | 41 4b 20 73 69 67 6e 61 |odem BRE|AK signa|
|00005c50| 6c 0a 58 20 20 20 20 43 | 41 50 54 45 4e 44 20 20 |l.X C|APTEND |
|00005c60| 54 75 72 6e 20 6f 66 66 | 20 74 65 72 6d 69 6e 61 |Turn off| termina|
|00005c70| 6c 20 6d 6f 64 65 20 63 | 61 70 74 75 72 65 0a 58 |l mode c|apture.X|
|00005c80| 20 20 20 20 43 41 50 54 | 59 45 53 20 20 54 75 72 | CAPT|YES Tur|
|00005c90| 6e 20 6f 6e 20 74 65 72 | 6d 69 6e 61 6c 20 6d 6f |n on ter|minal mo|
|00005ca0| 64 65 20 63 61 70 74 75 | 72 65 0a 58 20 20 20 20 |de captu|re.X |
|00005cb0| 44 49 41 4c 43 48 52 20 | 20 44 69 61 6c 20 66 72 |DIALCHR | Dial fr|
|00005cc0| 6f 6d 20 70 68 6f 6e 65 | 6c 69 73 74 0a 58 20 20 |om phone|list.X |
|00005cd0| 20 20 44 49 56 43 48 41 | 52 20 20 53 65 6e 64 20 | DIVCHA|R Send |
|00005ce0| 66 69 6c 65 20 74 68 72 | 6f 75 67 68 20 6d 6f 64 |file thr|ough mod|
|00005cf0| 65 6d 0a 58 20 20 20 20 | 44 4f 53 43 52 50 54 20 |em.X |DOSCRPT |
|00005d00| 20 45 78 65 63 75 74 65 | 20 73 63 72 69 70 74 20 | Execute| script |
|00005d10| 66 69 6c 65 20 28 70 72 | 6f 6d 70 74 73 20 69 6e |file (pr|ompts in|
|00005d20| 74 65 72 61 63 74 69 76 | 65 6c 79 29 0a 58 20 20 |teractiv|ely).X |
|00005d30| 20 20 45 4d 49 54 53 54 | 52 20 20 45 6d 69 74 20 | EMITST|R Emit |
|00005d40| 73 74 72 69 6e 67 0a 58 | 20 20 20 20 45 4e 44 43 |string.X| ENDC|
|00005d50| 48 41 52 20 20 45 78 69 | 74 20 74 65 72 6d 69 6e |HAR Exi|t termin|
|00005d60| 61 6c 20 6d 6f 64 65 0a | 58 20 20 20 20 48 4c 50 |al mode.|X HLP|
|00005d70| 43 48 41 52 20 20 44 69 | 73 70 6c 61 79 20 74 65 |CHAR Di|splay te|
|00005d80| 72 6d 69 6e 61 6c 20 6d | 6f 64 65 20 6b 65 79 20 |rminal m|ode key |
|00005d90| 62 69 6e 64 69 6e 67 73 | 0a 58 20 20 20 20 48 55 |bindings|.X HU|
|00005da0| 50 43 48 41 52 20 20 48 | 61 6e 67 20 75 70 20 6d |PCHAR H|ang up m|
|00005db0| 6f 64 65 6d 0a 58 20 20 | 20 20 51 55 49 54 43 48 |odem.X | QUITCH|
|00005dc0| 52 20 20 51 75 69 74 20 | 70 72 6f 67 72 61 6d 0a |R Quit |program.|
|00005dd0| 58 20 20 20 20 53 43 52 | 50 43 48 52 20 20 50 72 |X SCR|PCHR Pr|
|00005de0| 6f 6d 70 74 20 66 6f 72 | 20 73 63 72 69 70 74 20 |ompt for| script |
|00005df0| 66 69 6c 65 0a 58 0a 58 | 45 78 61 6d 70 6c 65 3a |file.X.X|Example:|
|00005e00| 0a 58 0a 58 20 20 20 20 | 62 69 6e 64 5f 66 75 6e |.X.X |bind_fun|
|00005e10| 63 74 69 6f 6e 20 32 36 | 20 22 71 75 69 74 63 68 |ction 26| "quitch|
|00005e20| 72 22 0a 58 0a 54 68 69 | 73 20 62 69 6e 64 73 20 |r".X.Thi|s binds |
|00005e30| 43 6f 6e 74 72 6f 6c 2d | 5a 20 74 6f 20 71 75 69 |Control-|Z to qui|
|00005e40| 74 20 74 68 65 20 58 43 | 20 70 72 6f 67 72 61 6d |t the XC| program|
|00005e50| 2e 0a 58 2e 54 50 0a 58 | 2e 49 20 62 69 6e 64 5f |..X.TP.X|.I bind_|
|00005e60| 73 63 72 69 70 74 0a 53 | 79 6e 74 61 78 3a 20 62 |script.S|yntax: b|
|00005e70| 69 6e 64 5f 73 63 72 69 | 70 74 20 5c 66 49 63 6f |ind_scri|pt \fIco|
|00005e80| 64 65 5c 66 52 20 22 73 | 63 72 69 70 74 6e 61 6d |de\fR "s|criptnam|
|00005e90| 65 22 0a 58 0a 42 69 6e | 64 20 74 68 65 20 63 68 |e".X.Bin|d the ch|
|00005ea0| 61 72 61 63 74 65 72 20 | 69 64 65 6e 74 69 66 69 |aracter |identifi|
|00005eb0| 65 64 20 62 79 20 74 68 | 65 20 6e 75 6d 62 65 72 |ed by th|e number|
|00005ec0| 20 73 70 65 63 69 66 69 | 65 64 20 62 79 20 5c 66 | specifi|ed by \f|
|00005ed0| 49 63 6f 64 65 5c 66 52 | 20 74 6f 20 65 78 65 63 |Icode\fR| to exec|
|00005ee0| 75 74 65 0a 74 68 65 20 | 73 63 72 69 70 74 20 6e |ute.the |script n|
|00005ef0| 61 6d 65 64 20 62 79 20 | 22 73 63 72 69 70 74 6e |amed by |"scriptn|
|00005f00| 61 6d 65 22 2e 0a 58 0a | 55 70 6f 6e 20 74 65 72 |ame"..X.|Upon ter|
|00005f10| 6d 69 6e 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |mination| of the |
|00005f20| 73 63 72 69 70 74 2c 20 | 74 68 65 20 70 72 6f 67 |script, |the prog|
|00005f30| 72 61 6d 20 77 69 6c 6c | 20 72 65 73 75 6d 65 20 |ram will| resume |
|00005f40| 74 65 72 6d 69 6e 61 6c | 20 6d 6f 64 65 2c 20 75 |terminal| mode, u|
|00005f50| 6e 6c 65 73 73 0a 74 68 | 65 20 22 71 75 69 74 22 |nless.th|e "quit"|
|00005f60| 20 73 63 72 69 70 74 20 | 66 75 6e 63 74 69 6f 6e | script |function|
|00005f70| 20 77 61 73 20 65 78 65 | 63 75 74 65 64 2e 0a 58 | was exe|cuted..X|
|00005f80| 0a 58 45 78 61 6d 70 6c | 65 73 3a 0a 58 0a 58 20 |.XExampl|es:.X.X |
|00005f90| 20 20 20 62 69 6e 64 5f | 73 63 72 69 70 74 20 31 | bind_|script 1|
|00005fa0| 38 20 22 2f 75 73 72 2f | 6c 69 62 2f 78 63 2f 2e |8 "/usr/|lib/xc/.|
|00005fb0| 72 7a 22 0a 58 0a 54 68 | 69 73 20 62 69 6e 64 73 |rz".X.Th|is binds|
|00005fc0| 20 43 6f 6e 74 72 6f 6c | 2d 52 20 74 6f 20 65 78 | Control|-R to ex|
|00005fd0| 65 63 75 74 65 20 74 68 | 65 20 73 63 72 69 70 74 |ecute th|e script|
|00005fe0| 20 2f 75 73 72 2f 6c 69 | 62 2f 78 63 2f 2e 72 7a | /usr/li|b/xc/.rz|
|00005ff0| 2e 20 54 68 65 20 2e 72 | 7a 20 73 63 72 69 70 74 |. The .r|z script|
|00006000| 0a 73 75 70 70 6c 69 65 | 64 20 77 69 74 68 20 74 |.supplie|d with t|
|00006010| 68 65 20 73 6f 75 72 63 | 65 20 63 6f 64 65 20 63 |he sourc|e code c|
|00006020| 6f 6e 74 61 69 6e 73 3a | 0a 58 0a 58 20 20 20 20 |ontains:|.X.X |
|00006030| 74 74 79 20 22 6f 6e 22 | 0a 58 20 20 20 20 65 63 |tty "on"|.X ec|
|00006040| 68 6f 20 2d 6e 20 22 57 | 68 61 74 20 66 69 6c 65 |ho -n "W|hat file|
|00006050| 73 20 61 72 65 20 74 6f | 20 62 65 20 72 65 63 65 |s are to| be rece|
|00006060| 69 76 65 64 3f 20 22 0a | 58 20 20 20 20 72 65 61 |ived? ".|X rea|
|00006070| 64 20 46 49 4c 45 53 0a | 58 20 20 20 20 74 72 61 |d FILES.|X tra|
|00006080| 6e 73 6d 69 74 20 22 73 | 7a 20 2d 79 20 22 0a 58 |nsmit "s|z -y ".X|
|00006090| 20 20 20 20 74 72 61 6e | 73 6d 69 74 20 46 49 4c | tran|smit FIL|
|000060a0| 45 53 0a 58 20 20 20 20 | 74 72 61 6e 73 6d 69 74 |ES.X |transmit|
|000060b0| 20 22 5e 4d 22 0a 58 20 | 20 20 20 65 63 68 6f 20 | "^M".X | echo |
|000060c0| 22 53 74 61 72 74 69 6e | 67 20 5a 4d 4f 44 45 4d |"Startin|g ZMODEM|
|000060d0| 20 52 65 63 65 69 76 65 | 20 28 72 7a 20 2d 79 29 | Receive| (rz -y)|
|000060e0| 22 0a 58 20 20 20 20 70 | 69 70 65 20 22 72 7a 20 |".X p|ipe "rz |
|000060f0| 2d 79 22 0a 58 0a 50 72 | 65 73 73 69 6e 67 20 5c |-y".X.Pr|essing \|
|00006100| 66 42 58 43 41 50 45 5c | 66 52 20 5c 66 42 5e 52 |fBXCAPE\|fR \fB^R|
|00006110| 5c 66 52 20 77 69 6c 6c | 20 61 73 6b 20 66 6f 72 |\fR will| ask for|
|00006120| 20 73 6f 6d 65 20 66 69 | 6c 65 20 6e 61 6d 65 28 | some fi|le name(|
|00006130| 73 29 2c 20 61 6e 64 20 | 73 74 61 72 74 20 61 6e |s), and |start an|
|00006140| 0a 58 2e 42 20 73 7a 0a | 63 6f 6d 6d 61 6e 64 20 |.X.B sz.|command |
|00006150| 6f 6e 20 74 68 65 20 72 | 65 6d 6f 74 65 20 73 79 |on the r|emote sy|
|00006160| 73 74 65 6d 2c 20 61 6e | 64 20 61 6e 0a 58 2e 42 |stem, an|d an.X.B|
|00006170| 20 72 7a 0a 6f 6e 20 74 | 68 65 20 6c 6f 63 61 6c | rz.on t|he local|
|00006180| 20 73 79 73 74 65 6d 20 | 74 6f 20 72 65 63 65 69 | system |to recei|
|00006190| 76 65 20 74 68 65 20 66 | 69 6c 65 28 73 29 2e 0a |ve the f|ile(s)..|
|000061a0| 58 0a 58 20 20 20 20 62 | 69 6e 64 5f 73 63 72 69 |X.X b|ind_scri|
|000061b0| 70 74 20 31 39 20 22 2f | 75 73 72 2f 6c 69 62 2f |pt 19 "/|usr/lib/|
|000061c0| 78 63 2f 2e 73 7a 22 0a | 58 0a 54 68 69 73 20 62 |xc/.sz".|X.This b|
|000061d0| 69 6e 64 73 20 43 6f 6e | 74 72 6f 6c 2d 53 20 74 |inds Con|trol-S t|
|000061e0| 6f 20 65 78 65 63 75 74 | 65 20 74 68 65 20 73 63 |o execut|e the sc|
|000061f0| 72 69 70 74 20 2f 75 73 | 72 2f 6c 69 62 2f 78 63 |ript /us|r/lib/xc|
|00006200| 2f 2e 73 7a 2e 20 54 68 | 65 20 2e 73 7a 20 73 63 |/.sz. Th|e .sz sc|
|00006210| 72 69 70 74 0a 73 75 70 | 70 6c 69 65 64 20 77 69 |ript.sup|plied wi|
|00006220| 74 68 20 74 68 65 20 73 | 6f 75 72 63 65 20 63 6f |th the s|ource co|
|00006230| 64 65 20 63 6f 6e 74 61 | 69 6e 73 3a 0a 58 0a 58 |de conta|ins:.X.X|
|00006240| 20 20 20 20 74 74 79 20 | 22 6f 6e 22 0a 58 20 20 | tty |"on".X |
|00006250| 20 20 65 63 68 6f 20 2d | 6e 20 22 57 68 61 74 20 | echo -|n "What |
|00006260| 66 69 6c 65 73 20 61 72 | 65 20 74 6f 20 62 65 20 |files ar|e to be |
|00006270| 73 65 6e 74 3f 20 22 0a | 58 20 20 20 20 72 65 61 |sent? ".|X rea|
|00006280| 64 20 46 49 4c 45 53 0a | 58 20 20 20 20 65 63 68 |d FILES.|X ech|
|00006290| 6f 20 22 53 74 61 72 74 | 69 6e 67 20 5a 4d 4f 44 |o "Start|ing ZMOD|
|000062a0| 45 4d 20 73 65 6e 64 20 | 28 73 7a 20 2d 79 20 22 |EM send |(sz -y "|
|000062b0| 20 46 49 4c 45 53 20 22 | 29 22 0a 58 20 20 20 20 | FILES "|)".X |
|000062c0| 70 69 70 65 20 22 73 7a | 20 2d 79 20 22 20 46 49 |pipe "sz| -y " FI|
|000062d0| 4c 45 53 0a 58 0a 50 72 | 65 73 73 69 6e 67 20 5c |LES.X.Pr|essing \|
|000062e0| 66 42 58 43 41 50 45 5c | 66 52 20 5c 66 42 5e 53 |fBXCAPE\|fR \fB^S|
|000062f0| 5c 66 52 20 77 69 6c 6c | 20 61 73 6b 20 66 6f 72 |\fR will| ask for|
|00006300| 20 73 6f 6d 65 20 66 69 | 6c 65 20 6e 61 6d 65 28 | some fi|le name(|
|00006310| 73 29 2c 20 61 6e 64 20 | 74 68 65 6e 20 6c 61 75 |s), and |then lau|
|00006320| 6e 63 68 0a 58 2e 42 20 | 73 7a 0a 6f 6e 20 74 68 |nch.X.B |sz.on th|
|00006330| 65 20 63 75 72 72 65 6e | 74 20 73 79 73 74 65 6d |e curren|t system|
|00006340| 2e 0a 58 2e 42 20 53 7a | 0a 77 69 6c 6c 20 69 74 |..X.B Sz|.will it|
|00006350| 73 65 6c 66 20 73 74 61 | 72 74 20 61 6e 0a 58 2e |self sta|rt an.X.|
|00006360| 42 20 72 7a 0a 70 72 6f | 63 65 73 73 20 6f 6e 20 |B rz.pro|cess on |
|00006370| 74 68 65 20 72 65 6d 6f | 74 65 20 73 79 73 74 65 |the remo|te syste|
|00006380| 6d 2e 0a 58 0a 58 2e 54 | 50 0a 58 2e 49 20 62 69 |m..X.X.T|P.X.I bi|
|00006390| 6e 64 5f 73 74 72 69 6e | 67 0a 53 79 6e 74 61 78 |nd_strin|g.Syntax|
|000063a0| 3a 20 62 69 6e 64 5f 73 | 74 72 69 6e 67 20 5c 66 |: bind_s|tring \f|
|000063b0| 49 63 6f 64 65 5c 66 52 | 20 22 73 74 72 69 6e 67 |Icode\fR| "string|
|000063c0| 22 0a 58 0a 42 69 6e 64 | 20 74 68 65 20 63 68 61 |".X.Bind| the cha|
|000063d0| 72 61 63 74 65 72 20 69 | 64 65 6e 74 69 66 69 65 |racter i|dentifie|
|000063e0| 64 20 62 79 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |d by the| number |
|000063f0| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 5c 66 49 |specifie|d by \fI|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.