home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume24 / faxpax / part02 < prev    next >
SHell self-extracting ARchive  |  1991-03-12  |  54.5 KB

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).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news or mail, 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)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 32 34 69 30 34 |Subject:| v24i04|
|00000010| 30 3a 20 20 45 6d 61 69 | 6c 20 66 61 78 2d 73 65 |0: Emai|l fax-se|
|00000020| 6e 64 69 6e 67 20 70 61 | 63 6b 61 67 65 2c 20 50 |nding pa|ckage, P|
|00000030| 61 72 74 30 32 2f 30 35 | 0a 4e 65 77 73 67 72 6f |art02/05|.Newsgro|
|00000040| 75 70 73 3a 20 63 6f 6d | 70 2e 73 6f 75 72 63 65 |ups: com|p.source|
|00000050| 73 2e 75 6e 69 78 0a 41 | 70 70 72 6f 76 65 64 3a |s.unix.A|pproved:|
|00000060| 20 72 73 61 6c 7a 40 75 | 75 6e 65 74 2e 55 55 2e | rsalz@u|unet.UU.|
|00000070| 4e 45 54 0a 58 2d 43 68 | 65 63 6b 73 75 6d 2d 53 |NET.X-Ch|ecksum-S|
|00000080| 6e 65 66 72 75 3a 20 34 | 62 65 62 39 61 62 33 20 |nefru: 4|beb9ab3 |
|00000090| 66 33 35 36 36 34 30 66 | 20 32 63 30 64 39 36 64 |f356640f| 2c0d96d|
|000000a0| 37 20 61 32 38 38 61 65 | 37 62 0a 0a 53 75 62 6d |7 a288ae|7b..Subm|
|000000b0| 69 74 74 65 64 2d 62 79 | 3a 20 6b 6c 61 75 73 20 |itted-by|: klaus |
|000000c0| 75 20 73 63 68 61 6c 6c | 68 6f 72 6e 20 3c 63 6e |u schall|horn <cn|
|000000d0| 69 78 21 6b 6c 61 75 73 | 3e 0a 50 6f 73 74 69 6e |ix!klaus|>.Postin|
|000000e0| 67 2d 6e 75 6d 62 65 72 | 3a 20 56 6f 6c 75 6d 65 |g-number|: Volume|
|000000f0| 20 32 34 2c 20 49 73 73 | 75 65 20 34 30 0a 41 72 | 24, Iss|ue 40.Ar|
|00000100| 63 68 69 76 65 2d 6e 61 | 6d 65 3a 20 66 61 78 70 |chive-na|me: faxp|
|00000110| 61 78 2f 70 61 72 74 30 | 32 0a 0a 23 21 20 2f 62 |ax/part0|2..#! /b|
|00000120| 69 6e 2f 73 68 0a 23 20 | 54 68 69 73 20 69 73 20 |in/sh.# |This is |
|00000130| 61 20 73 68 65 6c 6c 20 | 61 72 63 68 69 76 65 2e |a shell |archive.|
|00000140| 20 20 52 65 6d 6f 76 65 | 20 61 6e 79 74 68 69 6e | Remove| anythin|
|00000150| 67 20 62 65 66 6f 72 65 | 20 74 68 69 73 20 6c 69 |g before| this li|
|00000160| 6e 65 2c 20 74 68 65 6e | 20 66 65 65 64 20 69 74 |ne, then| feed it|
|00000170| 0a 23 20 69 6e 74 6f 20 | 61 20 73 68 65 6c 6c 20 |.# into |a shell |
|00000180| 76 69 61 20 22 73 68 20 | 66 69 6c 65 22 20 6f 72 |via "sh |file" or|
|00000190| 20 73 69 6d 69 6c 61 72 | 2e 20 20 54 6f 20 6f 76 | similar|. To ov|
|000001a0| 65 72 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |erwrite |existing|
|000001b0| 20 66 69 6c 65 73 2c 0a | 23 20 74 79 70 65 20 22 | files,.|# type "|
|000001c0| 73 68 20 66 69 6c 65 20 | 2d 63 22 2e 0a 23 20 54 |sh file |-c"..# T|
|000001d0| 68 65 20 74 6f 6f 6c 20 | 74 68 61 74 20 67 65 6e |he tool |that gen|
|000001e0| 65 72 61 74 65 64 20 74 | 68 69 73 20 61 70 70 65 |erated t|his appe|
|000001f0| 61 72 65 64 20 69 6e 20 | 74 68 65 20 63 6f 6d 70 |ared in |the comp|
|00000200| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 20 6e 65 |.sources|.unix ne|
|00000210| 77 73 67 72 6f 75 70 3b | 0a 23 20 73 65 6e 64 20 |wsgroup;|.# send |
|00000220| 6d 61 69 6c 20 74 6f 20 | 63 6f 6d 70 2d 73 6f 75 |mail to |comp-sou|
|00000230| 72 63 65 73 2d 75 6e 69 | 78 40 75 75 6e 65 74 2e |rces-uni|x@uunet.|
|00000240| 75 75 2e 6e 65 74 20 69 | 66 20 79 6f 75 20 77 61 |uu.net i|f you wa|
|00000250| 6e 74 20 74 68 61 74 20 | 74 6f 6f 6c 2e 0a 23 20 |nt that |tool..# |
|00000260| 43 6f 6e 74 65 6e 74 73 | 3a 20 20 46 61 78 43 6f |Contents|: FaxCo|
|00000270| 6e 66 69 67 20 66 61 78 | 68 6f 73 74 2f 66 61 78 |nfig fax|host/fax|
|00000280| 66 6f 6e 74 73 2f 64 69 | 79 6b 69 74 2e 63 20 66 |fonts/di|ykit.c f|
|00000290| 61 78 68 6f 73 74 2f 73 | 65 6e 64 66 61 78 2e 63 |axhost/s|endfax.c|
|000002a0| 0a 23 20 57 72 61 70 70 | 65 64 20 62 79 20 72 73 |.# Wrapp|ed by rs|
|000002b0| 61 6c 7a 40 6c 69 74 63 | 68 69 2e 62 62 6e 2e 63 |alz@litc|hi.bbn.c|
|000002c0| 6f 6d 20 6f 6e 20 57 65 | 64 20 4d 61 72 20 31 33 |om on We|d Mar 13|
|000002d0| 20 31 34 3a 30 38 3a 30 | 31 20 31 39 39 31 0a 50 | 14:08:0|1 1991.P|
|000002e0| 41 54 48 3d 2f 62 69 6e | 3a 2f 75 73 72 2f 62 69 |ATH=/bin|:/usr/bi|
|000002f0| 6e 3a 2f 75 73 72 2f 75 | 63 62 20 3b 20 65 78 70 |n:/usr/u|cb ; exp|
|00000300| 6f 72 74 20 50 41 54 48 | 0a 65 63 68 6f 20 49 66 |ort PATH|.echo If|
|00000310| 20 74 68 69 73 20 61 72 | 63 68 69 76 65 20 69 73 | this ar|chive is|
|00000320| 20 63 6f 6d 70 6c 65 74 | 65 2c 20 79 6f 75 20 77 | complet|e, you w|
|00000330| 69 6c 6c 20 73 65 65 20 | 74 68 65 20 66 6f 6c 6c |ill see |the foll|
|00000340| 6f 77 69 6e 67 20 6d 65 | 73 73 61 67 65 3a 0a 65 |owing me|ssage:.e|
|00000350| 63 68 6f 20 27 20 20 20 | 20 20 20 20 20 20 20 22 |cho ' | "|
|00000360| 73 68 61 72 3a 20 45 6e | 64 20 6f 66 20 61 72 63 |shar: En|d of arc|
|00000370| 68 69 76 65 20 32 20 28 | 6f 66 20 35 29 2e 22 27 |hive 2 (|of 5)."'|
|00000380| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 46 61 78 |.if test| -f 'Fax|
|00000390| 43 6f 6e 66 69 67 27 20 | 2d 61 20 22 24 7b 31 7d |Config' |-a "${1}|
|000003a0| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|000003b0| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|000003c0| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|000003d0| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|000003e0| 27 46 61 78 43 6f 6e 66 | 69 67 27 5c 22 0a 65 6c |'FaxConf|ig'\".el|
|000003f0| 73 65 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |se. ech|o shar: |
|00000400| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 27 46 61 |Extracti|ng \"'Fa|
|00000410| 78 43 6f 6e 66 69 67 27 | 5c 22 20 5c 28 32 35 35 |xConfig'|\" \(255|
|00000420| 33 31 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |31 chara|cters\).|
|00000430| 20 20 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e | sed "s|/^X//" >|
|00000440| 27 46 61 78 43 6f 6e 66 | 69 67 27 20 3c 3c 27 45 |'FaxConf|ig' <<'E|
|00000450| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 21 2f |ND_OF_FI|LE'.X#!/|
|00000460| 62 69 6e 2f 73 68 0a 58 | 23 0a 58 23 20 24 48 65 |bin/sh.X|#.X# $He|
|00000470| 61 64 65 72 3a 20 46 61 | 78 43 6f 6e 66 69 67 2c |ader: Fa|xConfig,|
|00000480| 20 32 2e 32 2e 39 31 2c | 20 6b 73 0a 58 23 20 62 | 2.2.91,| ks.X# b|
|00000490| 61 73 69 63 61 6c 6c 79 | 20 61 20 5b 76 65 72 79 |asically| a [very|
|000004a0| 20 6d 75 63 68 5d 20 73 | 74 72 69 70 70 65 64 20 | much] s|tripped |
|000004b0| 64 6f 77 6e 20 61 6e 64 | 20 72 69 70 70 65 64 20 |down and| ripped |
|000004c0| 6f 66 66 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 72 |off vers|ion of r|
|000004d0| 6e 2f 43 6f 6e 66 69 67 | 75 72 65 0a 58 23 20 77 |n/Config|ure.X# w|
|000004e0| 68 65 72 65 20 69 74 20 | 73 61 79 73 3a 0a 58 23 |here it |says:.X#|
|000004f0| 20 59 65 73 2c 20 79 6f | 75 20 6d 61 79 20 72 69 | Yes, yo|u may ri|
|00000500| 70 20 74 68 69 73 20 6f | 66 66 20 74 6f 20 75 73 |p this o|ff to us|
|00000510| 65 20 69 6e 20 6f 74 68 | 65 72 20 64 69 73 74 72 |e in oth|er distr|
|00000520| 69 62 75 74 69 6f 6e 20 | 70 61 63 6b 61 67 65 73 |ibution |packages|
|00000530| 2e 0a 58 23 20 73 6f 20 | 49 20 64 69 64 0a 58 0a |..X# so |I did.X.|
|00000540| 58 6e 3d 27 27 0a 58 63 | 3d 27 27 0a 58 63 6f 6e |Xn=''.Xc|=''.Xcon|
|00000550| 74 61 69 6e 73 3d 27 27 | 0a 58 0a 58 6d 6f 64 65 |tains=''|.X.Xmode|
|00000560| 6d 74 79 70 65 73 3d 27 | 31 27 0a 58 0a 58 63 68 |mtypes='|1'.X.Xch|
|00000570| 61 72 73 65 74 3d 27 69 | 27 0a 58 64 65 76 69 63 |arset='i|'.Xdevic|
|00000580| 65 3d 22 2f 64 65 76 2f | 6e 6f 74 5f 74 68 61 74 |e="/dev/|not_that|
|00000590| 5f 6f 6e 65 22 0a 58 64 | 65 76 6c 6f 63 6b 3d 22 |_one".Xd|evlock="|
|000005a0| 4c 43 4b 2e 2e 6e 6f 73 | 75 63 68 64 65 76 69 63 |LCK..nos|uchdevic|
|000005b0| 65 22 0a 58 64 69 61 6c | 73 74 72 3d 22 22 0a 58 |e".Xdial|str="".X|
|000005c0| 64 69 61 6c 74 79 70 65 | 3d 27 54 27 0a 58 6e 65 |dialtype|='T'.Xne|
|000005d0| 74 3d 27 79 27 0a 58 6e | 65 74 77 69 64 65 5f 66 |t='y'.Xn|etwide_f|
|000005e0| 61 78 3d 22 4e 45 54 57 | 49 44 45 5f 46 41 58 22 |ax="NETW|IDE_FAX"|
|000005f0| 0a 58 66 61 78 68 6f 73 | 74 3d 22 66 61 78 68 6f |.Xfaxhos|t="faxho|
|00000600| 73 74 22 0a 58 66 61 78 | 61 64 6d 69 6e 3d 60 77 |st".Xfax|admin=`w|
|00000610| 68 6f 61 6d 69 60 0a 58 | 66 61 78 61 64 6d 69 6e |hoami`.X|faxadmin|
|00000620| 3d 22 24 66 61 78 61 64 | 6d 69 6e 40 22 60 68 6f |="$faxad|min@"`ho|
|00000630| 73 74 6e 61 6d 65 60 0a | 58 66 61 78 66 6d 6f 64 |stname`.|Xfaxfmod|
|00000640| 65 3d 27 30 36 34 34 27 | 0a 58 66 61 78 6c 69 62 |e='0644'|.Xfaxlib|
|00000650| 3d 27 2f 75 73 72 2f 6c | 6f 63 61 6c 2f 6c 69 62 |='/usr/l|ocal/lib|
|00000660| 2f 66 61 78 6c 69 62 27 | 0a 58 66 61 78 73 70 6f |/faxlib'|.Xfaxspo|
|00000670| 6f 6c 3d 27 2f 75 73 72 | 2f 6c 6f 63 61 6c 2f 73 |ol='/usr|/local/s|
|00000680| 70 6f 6f 6c 2f 66 61 78 | 27 0a 58 66 6d 74 79 70 |pool/fax|'.Xfmtyp|
|00000690| 65 3d 22 73 69 65 72 72 | 61 22 0a 58 6c 6f 63 61 |e="sierr|a".Xloca|
|000006a0| 6c 62 69 6e 3d 27 2f 75 | 73 72 2f 6c 6f 63 61 6c |lbin='/u|sr/local|
|000006b0| 2f 62 69 6e 27 0a 58 6c | 6f 67 6c 65 76 65 6c 3d |/bin'.Xl|oglevel=|
|000006c0| 27 39 27 0a 58 6d 61 6e | 73 68 65 6c 66 3d 27 2f |'9'.Xman|shelf='/|
|000006d0| 75 73 72 2f 73 68 61 72 | 65 2f 6d 61 6e 27 0a 58 |usr/shar|e/man'.X|
|000006e0| 6d 61 78 72 65 73 65 6e | 64 3d 27 33 27 0a 58 6d |maxresen|d='3'.Xm|
|000006f0| 61 78 61 67 65 3d 27 31 | 27 0a 58 6d 61 78 74 72 |axage='1|'.Xmaxtr|
|00000700| 79 3d 27 35 27 0a 58 74 | 6f 70 73 70 65 65 64 3d |y='5'.Xt|opspeed=|
|00000710| 27 37 27 0a 58 75 75 63 | 70 6c 6f 63 6b 73 3d 27 |'7'.Xuuc|plocks='|
|00000720| 2f 76 61 72 2f 73 70 6f | 6f 6c 2f 6c 6f 63 6b 73 |/var/spo|ol/locks|
|00000730| 27 0a 58 0a 58 0a 58 65 | 63 68 6f 20 22 42 65 67 |'.X.X.Xe|cho "Beg|
|00000740| 69 6e 6e 69 6e 67 20 6f | 66 20 63 6f 6e 66 69 67 |inning o|f config|
|00000750| 75 72 61 74 69 6f 6e 20 | 71 75 65 73 74 69 6f 6e |uration |question|
|00000760| 73 20 66 6f 72 20 66 61 | 78 70 61 6b 2e 22 0a 58 |s for fa|xpak.".X|
|00000770| 65 63 68 6f 20 22 20 22 | 0a 58 0a 58 3a 20 73 6f |echo " "|.X.X: so|
|00000780| 6d 65 20 67 72 65 70 73 | 20 64 6f 20 6e 6f 74 20 |me greps| do not |
|00000790| 72 65 74 75 72 6e 20 73 | 74 61 74 75 73 2c 20 67 |return s|tatus, g|
|000007a0| 72 72 72 2e 0a 58 65 63 | 68 6f 20 22 67 72 69 6d |rrr..Xec|ho "grim|
|000007b0| 62 6c 65 70 72 69 74 7a | 22 20 3e 67 72 69 6d 62 |blepritz|" >grimb|
|000007c0| 6c 65 0a 58 69 66 20 67 | 72 65 70 20 62 6c 75 72 |le.Xif g|rep blur|
|000007d0| 66 6c 64 79 69 63 6b 20 | 67 72 69 6d 62 6c 65 20 |fldyick |grimble |
|000007e0| 3e 2f 64 65 76 2f 6e 75 | 6c 6c 20 32 3e 26 31 20 |>/dev/nu|ll 2>&1 |
|000007f0| 3b 20 74 68 65 6e 0a 58 | 20 20 20 20 63 6f 6e 74 |; then.X| cont|
|00000800| 61 69 6e 73 3d 63 6f 6e | 74 61 69 6e 73 0a 58 65 |ains=con|tains.Xe|
|00000810| 6c 73 65 0a 58 20 20 20 | 20 69 66 20 67 72 65 70 |lse.X | if grep|
|00000820| 20 67 72 69 6d 62 6c 65 | 70 72 69 74 7a 20 67 72 | grimble|pritz gr|
|00000830| 69 6d 62 6c 65 20 3e 2f | 64 65 76 2f 6e 75 6c 6c |imble >/|dev/null|
|00000840| 20 32 3e 26 31 20 3b 20 | 74 68 65 6e 0a 58 09 63 | 2>&1 ; |then.X.c|
|00000850| 6f 6e 74 61 69 6e 73 3d | 67 72 65 70 0a 58 20 20 |ontains=|grep.X |
|00000860| 20 20 65 6c 73 65 0a 58 | 09 63 6f 6e 74 61 69 6e | else.X|.contain|
|00000870| 73 3d 63 6f 6e 74 61 69 | 6e 73 0a 58 20 20 20 20 |s=contai|ns.X |
|00000880| 66 69 0a 58 66 69 0a 58 | 0a 58 3a 20 73 61 6e 69 |fi.Xfi.X|.X: sani|
|00000890| 74 79 20 63 68 65 63 6b | 73 0a 58 50 41 54 48 3d |ty check|s.XPATH=|
|000008a0| 27 2e 3a 2f 62 69 6e 3a | 2f 75 73 72 2f 62 69 6e |'.:/bin:|/usr/bin|
|000008b0| 3a 2f 75 73 72 2f 6c 6f | 63 61 6c 2f 62 69 6e 3a |:/usr/lo|cal/bin:|
|000008c0| 2f 75 73 72 2f 75 63 62 | 3a 2f 75 73 72 2f 6c 6f |/usr/ucb|:/usr/lo|
|000008d0| 63 61 6c 3a 2f 75 73 72 | 2f 6c 62 69 6e 3a 2f 65 |cal:/usr|/lbin:/e|
|000008e0| 74 63 27 0a 58 65 78 70 | 6f 72 74 20 50 41 54 48 |tc'.Xexp|ort PATH|
|000008f0| 20 7c 7c 20 28 65 63 68 | 6f 20 22 4f 4f 50 53 2c | || (ech|o "OOPS,|
|00000900| 20 74 68 69 73 20 69 73 | 6e 27 74 20 73 68 2e 20 | this is|n't sh. |
|00000910| 20 44 65 73 70 65 72 61 | 74 69 6f 6e 20 74 69 6d | Despera|tion tim|
|00000920| 65 2e 20 20 49 20 77 69 | 6c 6c 20 66 65 65 64 20 |e. I wi|ll feed |
|00000930| 6d 79 73 65 6c 66 20 74 | 6f 20 73 68 2e 22 3b 20 |myself t|o sh."; |
|00000940| 73 68 20 24 30 3b 20 6b | 69 6c 6c 20 24 24 29 0a |sh $0; k|ill $$).|
|00000950| 58 0a 58 69 66 20 74 65 | 73 74 20 21 20 2d 74 20 |X.Xif te|st ! -t |
|00000960| 30 3b 20 74 68 65 6e 0a | 58 20 20 20 20 65 63 68 |0; then.|X ech|
|00000970| 6f 20 22 54 79 70 65 20 | 27 73 68 20 46 61 78 43 |o "Type |'sh FaxC|
|00000980| 6f 6e 66 69 67 27 2c 20 | 6e 6f 74 20 27 73 68 20 |onfig', |not 'sh |
|00000990| 3c 46 61 78 43 6f 6e 66 | 69 67 27 22 0a 58 20 20 |<FaxConf|ig'".X |
|000009a0| 20 20 65 78 69 74 20 31 | 0a 58 66 69 0a 58 0a 58 | exit 1|.Xfi.X.X|
|000009b0| 3a 20 66 69 72 73 74 20 | 64 65 74 65 72 6d 69 6e |: first |determin|
|000009c0| 65 20 68 6f 77 20 74 6f | 20 73 75 70 70 72 65 73 |e how to| suppres|
|000009d0| 73 20 6e 65 77 6c 69 6e | 65 20 6f 6e 20 65 63 68 |s newlin|e on ech|
|000009e0| 6f 20 63 6f 6d 6d 61 6e | 64 0a 58 65 63 68 6f 20 |o comman|d.Xecho |
|000009f0| 22 43 68 65 63 6b 69 6e | 67 20 65 63 68 6f 20 74 |"Checkin|g echo t|
|00000a00| 6f 20 73 65 65 20 68 6f | 77 20 74 6f 20 73 75 70 |o see ho|w to sup|
|00000a10| 70 72 65 73 73 20 6e 65 | 77 6c 69 6e 65 73 2e 2e |press ne|wlines..|
|00000a20| 2e 22 0a 58 28 65 63 68 | 6f 20 22 68 69 20 74 68 |.".X(ech|o "hi th|
|00000a30| 65 72 65 5c 63 22 20 3b | 20 65 63 68 6f 20 22 20 |ere\c" ;| echo " |
|00000a40| 22 29 20 3e 2e 65 63 68 | 6f 74 6d 70 0a 58 69 66 |") >.ech|otmp.Xif|
|00000a50| 20 24 63 6f 6e 74 61 69 | 6e 73 20 63 20 2e 65 63 | $contai|ns c .ec|
|00000a60| 68 6f 74 6d 70 20 3e 2f | 64 65 76 2f 6e 75 6c 6c |hotmp >/|dev/null|
|00000a70| 20 32 3e 26 31 20 3b 20 | 74 68 65 6e 0a 58 20 20 | 2>&1 ; |then.X |
|00000a80| 20 20 65 63 68 6f 20 22 | 2e 2e 2e 75 73 69 6e 67 | echo "|...using|
|00000a90| 20 2d 6e 2e 22 0a 58 20 | 20 20 20 6e 3d 27 2d 6e | -n.".X | n='-n|
|00000aa0| 27 0a 58 20 20 20 20 63 | 3d 27 27 0a 58 65 6c 73 |'.X c|=''.Xels|
|00000ab0| 65 0a 58 20 20 20 20 65 | 63 68 6f 20 22 2e 2e 2e |e.X e|cho "...|
|00000ac0| 75 73 69 6e 67 20 5c 5c | 5c 63 2e 22 0a 58 20 20 |using \\|\c.".X |
|00000ad0| 20 20 6e 3d 27 27 0a 58 | 20 20 20 20 63 3d 27 5c | n=''.X| c='\|
|00000ae0| 63 27 0a 58 66 69 0a 58 | 65 63 68 6f 20 24 6e 20 |c'.Xfi.X|echo $n |
|00000af0| 22 54 79 70 65 20 63 61 | 72 72 69 61 67 65 20 72 |"Type ca|rriage r|
|00000b00| 65 74 75 72 6e 20 74 6f | 20 63 6f 6e 74 69 6e 75 |eturn to| continu|
|00000b10| 65 2e 20 20 59 6f 75 72 | 20 63 75 72 73 6f 72 20 |e. Your| cursor |
|00000b20| 73 68 6f 75 6c 64 20 62 | 65 20 68 65 72 65 2d 2d |should b|e here--|
|00000b30| 3e 24 63 22 0a 58 72 65 | 61 64 20 61 6e 73 0a 58 |>$c".Xre|ad ans.X|
|00000b40| 72 6d 20 2e 65 63 68 6f | 74 6d 70 0a 58 0a 58 3a |rm .echo|tmp.X.X:|
|00000b50| 20 6e 6f 77 20 73 65 74 | 20 75 70 20 74 6f 20 64 | now set| up to d|
|00000b60| 6f 20 72 65 61 64 73 20 | 77 69 74 68 20 70 6f 73 |o reads |with pos|
|00000b70| 73 69 62 6c 65 20 73 68 | 65 6c 6c 20 65 73 63 61 |sible sh|ell esca|
|00000b80| 70 65 0a 58 3a 20 69 66 | 20 74 68 69 73 20 64 6f |pe.X: if| this do|
|00000b90| 65 73 20 6e 6f 74 20 77 | 6f 72 6b 20 6f 6e 20 79 |es not w|ork on y|
|00000ba0| 6f 75 72 20 6d 61 63 68 | 69 6e 65 2c 20 31 2c 24 |our mach|ine, 1,$|
|00000bb0| 73 2f 2e 20 6d 79 72 65 | 61 64 2f 72 65 61 64 20 |s/. myre|ad/read |
|00000bc0| 61 6e 73 2f 0a 58 63 61 | 74 20 3c 3c 45 4f 53 43 |ans/.Xca|t <<EOSC|
|00000bd0| 20 3e 6d 79 72 65 61 64 | 0a 58 61 6e 73 3d 27 21 | >myread|.Xans='!|
|00000be0| 27 0a 58 77 68 69 6c 65 | 20 65 78 70 72 20 22 58 |'.Xwhile| expr "X|
|00000bf0| 5c 24 61 6e 73 22 20 3a | 20 22 58 21 22 20 3e 2f |\$ans" :| "X!" >/|
|00000c00| 64 65 76 2f 6e 75 6c 6c | 3b 20 64 6f 0a 58 20 20 |dev/null|; do.X |
|00000c10| 20 20 72 65 61 64 20 61 | 6e 73 0a 58 20 20 20 20 | read a|ns.X |
|00000c20| 63 61 73 65 20 22 5c 24 | 61 6e 73 22 20 69 6e 0a |case "\$|ans" in.|
|00000c30| 58 20 20 20 20 21 29 0a | 58 09 73 68 0a 58 09 65 |X !).|X.sh.X.e|
|00000c40| 63 68 6f 20 22 20 22 0a | 58 09 65 63 68 6f 20 24 |cho " ".|X.echo $|
|00000c50| 6e 20 22 59 6f 75 72 20 | 61 6e 73 77 65 72 3a 20 |n "Your |answer: |
|00000c60| 24 63 22 0a 58 09 3b 3b | 0a 58 20 20 20 20 21 2a |$c".X.;;|.X !*|
|00000c70| 29 0a 58 09 73 65 74 20 | 5c 60 65 78 70 72 20 22 |).X.set |\`expr "|
|00000c80| 58 5c 24 61 6e 73 22 20 | 3a 20 22 58 21 5c 28 2e |X\$ans" |: "X!\(.|
|00000c90| 2a 5c 29 5c 24 22 5c 60 | 0a 58 09 73 68 20 2d 63 |*\)\$"\`|.X.sh -c|
|00000ca0| 20 22 5c 24 2a 22 0a 58 | 09 65 63 68 6f 20 22 20 | "\$*".X|.echo " |
|00000cb0| 22 0a 58 09 65 63 68 6f | 20 24 6e 20 22 59 6f 75 |".X.echo| $n "You|
|00000cc0| 72 20 61 6e 73 77 65 72 | 3a 20 24 63 22 0a 58 09 |r answer|: $c".X.|
|00000cd0| 3b 3b 0a 58 20 20 20 20 | 65 73 61 63 0a 58 64 6f |;;.X |esac.Xdo|
|00000ce0| 6e 65 0a 58 45 4f 53 43 | 0a 58 0a 58 0a 58 63 61 |ne.XEOSC|.X.X.Xca|
|00000cf0| 74 20 3c 3c 45 4f 54 0a | 58 20 0a 58 23 20 67 65 |t <<EOT.|X .X# ge|
|00000d00| 6e 65 72 61 6c 20 69 6e | 66 6f 0a 58 23 23 23 23 |neral in|fo.X####|
|00000d10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000d20| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000d30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000d40| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000d50| 23 23 23 23 23 23 23 23 | 23 23 0a 58 54 68 69 73 |########|##.XThis|
|00000d60| 20 69 6e 73 74 61 6c 6c | 61 74 69 6f 6e 20 73 68 | install|ation sh|
|00000d70| 65 6c 6c 20 73 63 72 69 | 70 74 20 61 73 6b 73 20 |ell scri|pt asks |
|00000d80| 79 6f 75 20 73 6f 6d 65 | 20 71 75 65 73 74 69 6f |you some| questio|
|00000d90| 6e 73 20 72 65 67 61 72 | 64 69 6e 67 20 74 68 65 |ns regar|ding the|
|00000da0| 0a 58 73 65 74 75 70 20 | 6f 66 20 66 61 78 70 61 |.Xsetup |of faxpa|
|00000db0| 6b 2e 20 43 75 72 72 65 | 6e 74 6c 79 20 74 68 65 |k. Curre|ntly the|
|00000dc0| 72 65 20 69 73 20 6e 6f | 20 73 75 70 70 6f 72 74 |re is no| support|
|00000dd0| 20 66 6f 72 20 68 61 72 | 64 77 61 72 65 20 6f 74 | for har|dware ot|
|00000de0| 68 65 72 20 74 68 61 6e | 0a 58 53 75 6e 20 4d 69 |her than|.XSun Mi|
|00000df0| 63 72 6f 73 79 73 74 65 | 6d 73 27 2e 20 54 6f 20 |crosyste|ms'. To |
|00000e00| 70 6f 72 74 20 74 68 69 | 73 20 74 6f 20 6f 74 68 |port thi|s to oth|
|00000e10| 65 72 20 6d 61 63 68 69 | 6e 65 73 20 72 75 6e 20 |er machi|nes run |
|00000e20| 74 68 69 73 20 73 63 72 | 69 70 74 20 0a 58 61 6e |this scr|ipt .Xan|
|00000e30| 79 77 61 79 2c 20 62 75 | 74 20 74 68 65 6e 20 68 |yway, bu|t then h|
|00000e40| 61 76 65 20 61 20 63 6c | 6f 73 65 20 6c 6f 6f 6b |ave a cl|ose look|
|00000e50| 20 61 74 20 77 69 72 69 | 6e 67 2e 63 2e 20 57 69 | at wiri|ng.c. Wi|
|00000e60| 72 69 6e 67 2e 63 20 63 | 61 6e 20 62 65 20 75 73 |ring.c c|an be us|
|00000e70| 65 64 0a 58 61 73 20 61 | 20 73 74 61 6e 64 61 6c |ed.Xas a| standal|
|00000e80| 6f 6e 65 20 74 65 73 74 | 20 70 72 6f 67 72 61 6d |one test| program|
|00000e90| 20 77 69 74 68 20 54 45 | 53 54 49 4e 47 20 64 65 | with TE|STING de|
|00000ea0| 66 69 6e 65 64 2c 20 61 | 6e 64 20 77 69 74 68 20 |fined, a|nd with |
|00000eb0| 54 45 53 54 5f 44 45 56 | 49 43 45 0a 58 64 65 66 |TEST_DEV|ICE.Xdef|
|00000ec0| 69 6e 65 64 20 74 6f 20 | 61 20 70 6f 72 74 20 79 |ined to |a port y|
|00000ed0| 6f 75 20 63 61 6e 20 75 | 73 65 20 66 6f 72 20 74 |ou can u|se for t|
|00000ee0| 65 73 74 69 6e 67 20 5b | 79 6f 75 20 63 61 6e 20 |esting [|you can |
|00000ef0| 72 65 63 6f 6e 66 69 67 | 20 61 6e 79 20 74 69 6d |reconfig| any tim|
|00000f00| 65 5d 2c 0a 58 70 72 65 | 66 65 72 61 62 6c 79 20 |e],.Xpre|ferably |
|00000f10| 77 69 74 68 6f 75 74 20 | 69 6e 74 65 72 66 65 72 |without |interfer|
|00000f20| 69 6e 67 20 6c 6f 67 69 | 6e 73 2e 0a 58 0a 58 54 |ing logi|ns..X.XT|
|00000f30| 68 69 73 20 73 63 72 69 | 70 74 20 62 75 69 6c 64 |his scri|pt build|
|00000f40| 73 20 61 20 68 65 61 64 | 65 72 20 66 69 6c 65 20 |s a head|er file |
|00000f50| 66 61 78 63 6f 6e 66 69 | 67 2e 68 2c 20 61 20 73 |faxconfi|g.h, a s|
|00000f60| 6f 66 74 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |oft conf|iguratio|
|00000f70| 6e 20 66 69 6c 65 0a 58 | 66 61 78 2c 63 6f 6e 66 |n file.X|fax,conf|
|00000f80| 69 67 2c 20 66 61 78 2e | 31 20 6d 61 6e 20 70 61 |ig, fax.|1 man pa|
|00000f90| 67 65 73 20 61 6e 64 2c | 20 69 66 20 79 6f 75 27 |ges and,| if you'|
|00000fa0| 72 65 20 6c 75 63 6b 79 | 2c 20 74 77 6f 20 66 61 |re lucky|, two fa|
|00000fb0| 78 70 61 6b 20 66 6f 6e | 74 73 2e 0a 58 0a 58 44 |xpak fon|ts..X.XD|
|00000fc0| 65 66 61 75 6c 74 20 61 | 6e 73 77 65 72 73 20 61 |efault a|nswers a|
|00000fd0| 72 65 20 73 68 6f 77 6e | 20 69 6e 20 5b 62 72 61 |re shown| in [bra|
|00000fe0| 63 6b 65 74 73 5d 2e 20 | 48 69 74 74 69 6e 67 20 |ckets]. |Hitting |
|00000ff0| 63 61 72 72 69 61 67 65 | 20 72 65 74 75 72 6e 20 |carriage| return |
|00001000| 61 63 63 65 70 74 73 0a | 58 74 68 65 20 64 65 66 |accepts.|Xthe def|
|00001010| 61 75 6c 74 73 2e 20 4f | 6e 63 65 20 79 6f 75 20 |aults. O|nce you |
|00001020| 68 61 76 65 20 66 61 78 | 63 6f 6e 66 69 67 2e 68 |have fax|config.h|
|00001030| 20 61 6e 64 20 66 61 78 | 2e 63 6f 6e 66 69 67 20 | and fax|.config |
|00001040| 79 6f 75 20 63 61 6e 20 | 63 68 61 6e 67 65 0a 58 |you can |change.X|
|00001050| 65 61 63 68 20 66 69 6c | 65 20 62 79 20 65 64 69 |each fil|e by edi|
|00001060| 74 69 6e 67 20 69 74 20 | 77 69 74 68 6f 75 74 20 |ting it |without |
|00001070| 72 65 2d 72 75 6e 6e 69 | 6e 67 20 74 68 69 73 20 |re-runni|ng this |
|00001080| 73 63 72 69 70 74 2e 0a | 58 0a 58 45 4f 54 0a 58 |script..|X.XEOT.X|
|00001090| 0a 58 65 63 68 6f 20 24 | 6e 20 22 5b 54 79 70 65 |.Xecho $|n "[Type|
|000010a0| 20 63 61 72 72 69 61 67 | 65 20 72 65 74 75 72 6e | carriag|e return|
|000010b0| 20 74 6f 20 63 6f 6e 74 | 69 6e 75 65 5d 20 24 63 | to cont|inue] $c|
|000010c0| 22 0a 58 2e 20 6d 79 72 | 65 61 64 0a 58 65 63 68 |".X. myr|ead.Xech|
|000010d0| 6f 20 22 20 22 0a 58 0a | 58 0a 58 63 61 74 20 3c |o " ".X.|X.Xcat <|
|000010e0| 3c 45 4f 54 0a 58 0a 58 | 23 23 23 23 23 23 23 23 |<EOT.X.X|########|
|000010f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001100| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001110| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001120| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001130| 23 23 23 23 23 23 0a 58 | 66 61 78 70 61 6b 20 63 |######.X|faxpak c|
|00001140| 61 6e 20 72 75 6e 20 6f | 6e 20 6e 65 74 77 6f 72 |an run o|n networ|
|00001150| 6b 65 64 20 61 6e 64 20 | 73 74 61 6e 64 61 6c 6f |ked and |standalo|
|00001160| 6e 65 20 6d 61 63 68 69 | 6e 65 73 2e 0a 58 0a 58 |ne machi|nes..X.X|
|00001170| 49 66 20 66 61 78 70 61 | 6b 20 69 73 20 6e 65 74 |If faxpa|k is net|
|00001180| 77 6f 72 6b 65 64 2c 20 | 69 74 20 69 73 20 61 73 |worked, |it is as|
|00001190| 73 75 6d 65 64 20 74 68 | 61 74 20 6f 6e 65 20 48 |sumed th|at one H|
|000011a0| 4f 53 54 20 68 61 73 20 | 74 68 65 20 66 61 78 6d |OST has |the faxm|
|000011b0| 6f 64 65 6d 5b 73 5d 2c | 0a 58 77 69 74 68 20 61 |odem[s],|.Xwith a|
|000011c0| 6c 6c 20 6f 74 68 65 72 | 20 6d 61 63 68 69 6e 65 |ll other| machine|
|000011d0| 73 20 61 63 74 69 6e 67 | 20 61 73 20 43 4c 49 45 |s acting| as CLIE|
|000011e0| 4e 54 53 2c 20 73 70 6f | 6f 6c 69 6e 67 20 6f 75 |NTS, spo|oling ou|
|000011f0| 74 67 6f 69 6e 67 20 66 | 61 78 20 6a 6f 62 73 20 |tgoing f|ax jobs |
|00001200| 74 6f 0a 58 74 68 65 20 | 66 61 78 68 6f 73 74 2e |to.Xthe |faxhost.|
|00001210| 0a 58 0a 58 54 68 65 20 | 66 61 78 68 6f 73 74 73 |.X.XThe |faxhosts|
|00001220| 27 20 64 75 74 79 20 69 | 73 20 74 6f 20 63 6f 6e |' duty i|s to con|
|00001230| 76 65 72 74 20 69 6e 63 | 6f 6d 69 6e 67 20 74 65 |vert inc|oming te|
|00001240| 78 74 20 66 69 6c 65 73 | 20 69 6e 74 6f 20 67 72 |xt files| into gr|
|00001250| 6f 75 70 20 33 20 66 61 | 78 20 66 69 6c 65 73 2c |oup 3 fa|x files,|
|00001260| 0a 58 61 6e 64 20 74 6f | 20 64 6f 20 74 68 65 20 |.Xand to| do the |
|00001270| 61 63 74 75 61 6c 20 74 | 72 61 6e 73 6d 69 73 73 |actual t|ransmiss|
|00001280| 69 6f 6e 2c 20 74 6f 20 | 6c 6f 67 20 77 68 61 74 |ion, to |log what|
|00001290| 27 73 20 67 6f 69 6e 67 | 20 6f 6e 2c 20 74 6f 20 |'s going| on, to |
|000012a0| 72 65 70 6f 72 74 20 62 | 79 0a 58 6d 61 69 6c 20 |report b|y.Xmail |
|000012b0| 5b 69 66 20 72 65 71 75 | 65 73 74 65 64 5d 20 61 |[if requ|ested] a|
|000012c0| 6e 64 20 74 6f 20 64 6f | 20 68 6f 75 73 65 20 6b |nd to do| house k|
|000012d0| 65 65 70 69 6e 67 20 63 | 68 6f 72 65 73 2e 20 54 |eeping c|hores. T|
|000012e0| 68 69 73 20 69 73 20 64 | 6f 6e 65 20 62 79 20 65 |his is d|one by e|
|000012f0| 6e 74 72 69 65 73 0a 58 | 69 6e 20 72 6f 6f 74 27 |ntries.X|in root'|
|00001300| 73 20 63 72 6f 6e 74 61 | 62 20 77 68 69 63 68 20 |s cronta|b which |
|00001310| 63 61 6c 6c 73 20 73 65 | 6e 64 66 61 78 20 66 72 |calls se|ndfax fr|
|00001320| 65 71 75 65 6e 74 6c 79 | 20 61 6e 64 20 66 61 78 |equently| and fax|
|00001330| 63 6c 65 61 6e 75 70 20 | 6f 6e 63 65 20 61 20 64 |cleanup |once a d|
|00001340| 61 79 2e 0a 58 0a 58 45 | 4f 54 0a 58 0a 58 64 66 |ay..X.XE|OT.X.Xdf|
|00001350| 6c 74 3d 24 6e 65 74 0a | 58 65 63 68 6f 20 24 6e |lt=$net.|Xecho $n|
|00001360| 20 22 44 6f 20 79 6f 75 | 20 65 78 70 65 63 74 20 | "Do you| expect |
|00001370| 74 6f 20 72 75 6e 20 66 | 61 78 70 61 6b 20 6f 6e |to run f|axpak on|
|00001380| 20 6e 65 74 77 6f 72 6b | 65 64 20 6d 61 63 68 69 | network|ed machi|
|00001390| 6e 65 73 3f 20 5b 24 64 | 66 6c 74 5d 20 24 63 22 |nes? [$d|flt] $c"|
|000013a0| 0a 58 2e 20 6d 79 72 65 | 61 64 0a 58 65 63 68 6f |.X. myre|ad.Xecho|
|000013b0| 0a 58 63 61 73 65 20 24 | 61 6e 73 20 69 6e 0a 58 |.Xcase $|ans in.X|
|000013c0| 27 27 29 20 61 6e 73 3d | 24 64 66 6c 74 3b 3b 0a |'') ans=|$dflt;;.|
|000013d0| 58 65 73 61 63 0a 58 0a | 58 0a 58 69 66 20 5b 20 |Xesac.X.|X.Xif [ |
|000013e0| 24 61 6e 73 20 3d 20 79 | 20 5d 0a 58 74 68 65 6e |$ans = y| ].Xthen|
|000013f0| 0a 58 0a 58 09 63 61 74 | 20 3c 3c 45 4f 54 0a 58 |.X.X.cat| <<EOT.X|
|00001400| 0a 58 23 20 6e 65 74 77 | 6f 72 6b 20 69 6e 66 6f |.X# netw|ork info|
|00001410| 2c 20 64 6f 6e 27 74 20 | 72 65 61 6c 6c 79 20 6e |, don't |really n|
|00001420| 65 65 64 20 6d 75 63 68 | 0a 58 23 23 23 23 23 23 |eed much|.X######|
|00001430| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001440| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001450| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001460| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001470| 0a 58 22 63 6c 69 65 6e | 74 22 20 6d 61 63 68 69 |.X"clien|t" machi|
|00001480| 6e 65 73 20 66 69 6e 64 | 20 74 68 65 20 66 61 78 |nes find| the fax|
|00001490| 68 6f 73 74 20 62 79 20 | 63 61 6c 6c 69 6e 67 20 |host by |calling |
|000014a0| 67 65 74 68 6f 73 74 62 | 79 6e 61 6d 65 28 46 41 |gethostb|yname(FA|
|000014b0| 58 48 4f 53 54 29 2c 0a | 58 77 69 74 68 20 46 41 |XHOST),.|Xwith FA|
|000014c0| 58 48 4f 53 54 20 23 64 | 65 66 69 6e 65 64 20 69 |XHOST #d|efined i|
|000014d0| 6e 20 66 61 78 63 6f 6e | 66 69 67 2e 68 20 6f 6e |n faxcon|fig.h on|
|000014e0| 20 6f 75 72 20 73 69 74 | 61 20 61 73 20 22 66 61 | our sit|a as "fa|
|000014f0| 78 68 6f 73 74 22 2c 0a | 58 61 6e 64 20 77 69 74 |xhost",.|Xand wit|
|00001500| 68 20 22 66 61 78 68 6f | 73 74 22 20 61 6c 69 61 |h "faxho|st" alia|
|00001510| 73 65 64 20 69 6e 20 2f | 65 74 63 2f 68 6f 73 74 |sed in /|etc/host|
|00001520| 73 20 74 6f 20 6d 62 6f | 78 2e 20 6d 62 6f 78 20 |s to mbo|x. mbox |
|00001530| 69 73 20 61 20 33 2f 36 | 30 20 74 68 61 74 0a 58 |is a 3/6|0 that.X|
|00001540| 61 63 74 73 20 61 73 20 | 6f 75 72 20 73 70 6f 6f |acts as |our spoo|
|00001550| 6c 69 6e 67 20 6d 61 63 | 68 69 6e 65 20 5b 70 72 |ling mac|hine [pr|
|00001560| 69 6e 74 69 6e 67 2c 20 | 66 61 78 69 6e 67 2c 20 |inting, |faxing, |
|00001570| 6d 61 69 6c 2c 20 6e 65 | 77 73 20 61 72 63 68 69 |mail, ne|ws archi|
|00001580| 76 65 20 65 74 63 2e 5d | 2e 0a 58 0a 58 45 4f 54 |ve etc.]|..X.XEOT|
|00001590| 0a 58 0a 58 09 64 66 6c | 74 3d 24 66 61 78 68 6f |.X.X.dfl|t=$faxho|
|000015a0| 73 74 0a 58 09 65 63 68 | 6f 20 22 50 6c 65 61 73 |st.X.ech|o "Pleas|
|000015b0| 65 20 65 6e 74 65 72 20 | 74 68 65 20 5c 22 73 79 |e enter |the \"sy|
|000015c0| 6e 6f 6e 79 6d 5c 22 20 | 79 6f 75 72 20 46 41 58 |nonym\" |your FAX|
|000015d0| 48 4f 53 54 20 77 69 6c | 6c 20 62 65 20 6b 6e 6f |HOST wil|l be kno|
|000015e0| 77 6e 20 62 79 20 2d 22 | 0a 58 09 65 63 68 6f 20 |wn by -"|.X.echo |
|000015f0| 24 6e 20 22 5b 49 20 67 | 75 65 73 73 20 79 6f 75 |$n "[I g|uess you|
|00001600| 20 63 6f 75 6c 64 20 65 | 6e 74 65 72 20 74 68 65 | could e|nter the|
|00001610| 20 6e 61 6d 65 20 6f 66 | 20 61 20 6b 6e 6f 77 6e | name of| a known|
|00001620| 20 6d 61 63 68 69 6e 65 | 5d 3a 20 5b 24 64 66 6c | machine|]: [$dfl|
|00001630| 74 5d 20 24 63 22 0a 58 | 09 2e 20 6d 79 72 65 61 |t] $c".X|.. myrea|
|00001640| 64 0a 58 09 65 63 68 6f | 0a 58 09 63 61 73 65 20 |d.X.echo|.X.case |
|00001650| 24 61 6e 73 20 69 6e 0a | 58 09 27 27 29 20 61 6e |$ans in.|X.'') an|
|00001660| 73 3d 24 64 66 6c 74 3b | 3b 0a 58 09 65 73 61 63 |s=$dflt;|;.X.esac|
|00001670| 0a 58 09 66 61 78 68 6f | 73 74 3d 24 61 6e 73 0a |.X.faxho|st=$ans.|
|00001680| 58 65 6c 73 65 0a 58 09 | 6e 65 74 3d 27 6e 27 0a |Xelse.X.|net='n'.|
|00001690| 58 09 6e 65 74 77 69 64 | 65 5f 66 61 78 3d 22 6e |X.netwid|e_fax="n|
|000016a0| 6f 6e 65 74 22 0a 58 66 | 69 0a 58 0a 58 0a 58 63 |onet".Xf|i.X.X.Xc|
|000016b0| 61 74 20 3c 3c 45 4f 54 | 0a 58 0a 58 23 20 77 65 |at <<EOT|.X.X# we|
|000016c0| 20 6e 65 65 64 20 73 6f | 6d 65 6f 6e 65 20 74 6f | need so|meone to|
|000016d0| 20 62 6c 61 6d 65 20 77 | 68 65 6e 20 74 68 69 6e | blame w|hen thin|
|000016e0| 67 73 20 67 6f 20 77 72 | 6f 6e 67 0a 58 23 23 23 |gs go wr|ong.X###|
|000016f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001700| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001710| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001720| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001730| 23 23 23 23 23 23 23 23 | 23 23 23 0a 58 54 68 65 |########|###.XThe|
|00001740| 20 62 61 64 20 6e 65 77 | 73 20 69 73 20 74 68 61 | bad new|s is tha|
|00001750| 74 20 74 68 69 6e 67 73 | 20 44 4f 20 67 6f 20 77 |t things| DO go w|
|00001760| 72 6f 6e 67 2e 20 54 68 | 65 72 65 66 6f 72 65 20 |rong. Th|erefore |
|00001770| 77 65 20 6d 61 79 20 6e | 65 65 64 20 0a 58 73 6f |we may n|eed .Xso|
|00001780| 6d 65 6f 6e 65 20 74 6f | 20 69 6e 74 65 72 66 65 |meone to| interfe|
|00001790| 72 65 20 62 79 20 68 61 | 6e 64 2c 20 6f 72 20 74 |re by ha|nd, or t|
|000017a0| 6f 20 6c 65 6e 64 20 61 | 20 68 61 6e 64 20 69 66 |o lend a| hand if|
|000017b0| 20 61 20 75 73 65 72 20 | 6e 65 65 64 73 20 68 65 | a user |needs he|
|000017c0| 6c 70 2c 0a 58 6f 72 20 | 74 6f 20 67 69 76 65 20 |lp,.Xor |to give |
|000017d0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 61 6e 73 77 |the defa|ult answ|
|000017e0| 65 72 20 5b 22 59 6f 75 | 20 63 61 6e 27 74 20 74 |er ["You| can't t|
|000017f0| 6f 20 74 68 61 74 22 5d | 2e 0a 58 0a 58 45 4f 54 |o that"]|..X.XEOT|
|00001800| 0a 58 64 66 6c 74 3d 24 | 66 61 78 61 64 6d 69 6e |.Xdflt=$|faxadmin|
|00001810| 0a 58 65 63 68 6f 20 24 | 6e 20 22 4e 61 6d 65 20 |.Xecho $|n "Name |
|00001820| 61 20 70 61 74 69 65 6e | 74 20 70 65 72 73 6f 6e |a patien|t person|
|00001830| 20 73 75 69 74 61 62 6c | 65 20 66 6f 72 20 64 65 | suitabl|e for de|
|00001840| 61 6c 69 6e 67 20 77 69 | 74 68 20 66 61 78 20 70 |aling wi|th fax p|
|00001850| 72 6f 62 6c 65 6d 73 3a | 20 5b 24 64 66 6c 74 5d |roblems:| [$dflt]|
|00001860| 20 24 63 22 0a 58 2e 20 | 6d 79 72 65 61 64 0a 58 | $c".X. |myread.X|
|00001870| 65 63 68 6f 0a 58 63 61 | 73 65 20 24 61 6e 73 20 |echo.Xca|se $ans |
|00001880| 69 6e 0a 58 27 27 29 20 | 61 6e 73 3d 24 64 66 6c |in.X'') |ans=$dfl|
|00001890| 74 3b 3b 0a 58 65 73 61 | 63 0a 58 66 61 78 61 64 |t;;.Xesa|c.Xfaxad|
|000018a0| 6d 69 6e 3d 24 61 6e 73 | 0a 58 0a 58 0a 58 23 20 |min=$ans|.X.X.X# |
|000018b0| 77 68 61 74 20 61 72 67 | 20 64 6f 20 77 65 20 67 |what arg| do we g|
|000018c0| 69 76 65 20 63 68 6d 6f | 64 28 29 0a 58 23 23 23 |ive chmo|d().X###|
|000018d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000018e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000018f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001900| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001910| 23 23 23 23 23 23 23 23 | 23 23 23 0a 58 64 66 6c |########|###.Xdfl|
|00001920| 74 3d 24 66 61 78 66 6d | 6f 64 65 0a 58 65 63 68 |t=$faxfm|ode.Xech|
|00001930| 6f 20 24 6e 20 22 50 6c | 65 61 73 65 20 65 6e 74 |o $n "Pl|ease ent|
|00001940| 65 72 20 74 68 65 20 66 | 69 6c 65 20 61 63 63 65 |er the f|ile acce|
|00001950| 73 73 20 70 65 72 6d 73 | 20 74 6f 20 62 65 20 65 |ss perms| to be e|
|00001960| 6e 66 6f 72 63 65 64 20 | 62 79 20 66 61 78 70 61 |nforced |by faxpa|
|00001970| 6b 3a 20 5b 24 64 66 6c | 74 5d 20 24 63 22 0a 58 |k: [$dfl|t] $c".X|
|00001980| 2e 20 6d 79 72 65 61 64 | 0a 58 65 63 68 6f 0a 58 |. myread|.Xecho.X|
|00001990| 63 61 73 65 20 24 61 6e | 73 20 69 6e 0a 58 27 27 |case $an|s in.X''|
|000019a0| 29 20 61 6e 73 3d 24 64 | 66 6c 74 3b 3b 0a 58 65 |) ans=$d|flt;;.Xe|
|000019b0| 73 61 63 0a 58 66 61 78 | 66 6d 6f 64 65 3d 24 61 |sac.Xfax|fmode=$a|
|000019c0| 6e 73 0a 58 0a 58 63 61 | 74 20 3c 3c 45 4f 54 0a |ns.X.Xca|t <<EOT.|
|000019d0| 58 0a 58 0a 58 23 20 77 | 68 65 72 65 20 74 6f 20 |X.X.X# w|here to |
|000019e0| 70 75 74 20 66 61 78 6c | 69 62 20 61 6e 64 20 74 |put faxl|ib and t|
|000019f0| 68 65 20 73 70 6f 6f 6c | 20 64 69 72 0a 58 23 23 |he spool| dir.X##|
|00001a00| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a20| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a40| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 58 54 6f |########|####.XTo|
|00001a50| 20 6b 65 65 70 20 74 68 | 69 6e 67 73 20 73 6f 6d | keep th|ings som|
|00001a60| 65 77 68 61 74 20 6f 72 | 67 61 6e 69 73 65 64 20 |ewhat or|ganised |
|00001a70| 77 65 20 6e 65 65 64 20 | 74 6f 20 64 65 66 69 6e |we need |to defin|
|00001a80| 65 20 61 20 2f 73 6f 6d | 65 70 6c 61 63 65 2f 66 |e a /som|eplace/f|
|00001a90| 61 78 6c 69 62 2c 0a 58 | 61 6e 64 20 61 20 2f 73 |axlib,.X|and a /s|
|00001aa0| 6f 6d 65 77 68 65 72 65 | 2f 73 70 6f 6f 6c 64 69 |omewhere|/spooldi|
|00001ab0| 72 20 66 6f 72 20 66 61 | 78 70 61 6b 2e 20 49 20 |r for fa|xpak. I |
|00001ac0| 70 72 65 66 65 72 20 74 | 6f 20 6b 65 65 70 20 74 |prefer t|o keep t|
|00001ad0| 68 65 6d 20 73 65 70 61 | 72 61 74 65 20 66 72 6f |hem sepa|rate fro|
|00001ae0| 6d 0a 58 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |m.Xdistr|ibution |
|00001af0| 6c 69 62 73 20 61 6e 64 | 20 73 70 6f 6f 6c 20 64 |libs and| spool d|
|00001b00| 69 72 73 2e 20 49 27 64 | 20 61 6c 73 6f 20 6c 69 |irs. I'd| also li|
|00001b10| 6b 65 20 74 6f 20 6b 6e | 6f 77 20 77 68 65 72 65 |ke to kn|ow where|
|00001b20| 20 79 6f 75 20 6b 65 65 | 70 20 79 6f 75 0a 58 6d | you kee|p you.Xm|
|00001b30| 61 6e 20 70 61 67 65 73 | 2e 0a 58 0a 58 45 4f 54 |an pages|..X.XEOT|
|00001b40| 0a 58 64 66 6c 74 3d 24 | 66 61 78 6c 69 62 0a 58 |.Xdflt=$|faxlib.X|
|00001b50| 65 63 68 6f 20 24 6e 20 | 22 50 6c 65 61 73 65 20 |echo $n |"Please |
|00001b60| 65 6e 74 65 72 20 74 68 | 65 20 70 61 74 68 20 74 |enter th|e path t|
|00001b70| 6f 20 66 61 78 6c 69 62 | 3a 20 5b 24 64 66 6c 74 |o faxlib|: [$dflt|
|00001b80| 5d 20 24 63 22 0a 58 2e | 20 6d 79 72 65 61 64 0a |] $c".X.| myread.|
|00001b90| 58 65 63 68 6f 0a 58 63 | 61 73 65 20 24 61 6e 73 |Xecho.Xc|ase $ans|
|00001ba0| 20 69 6e 0a 58 27 27 29 | 20 61 6e 73 3d 24 64 66 | in.X'')| ans=$df|
|00001bb0| 6c 74 3b 3b 0a 58 65 73 | 61 63 0a 58 66 61 78 6c |lt;;.Xes|ac.Xfaxl|
|00001bc0| 69 62 3d 24 61 6e 73 0a | 58 0a 58 0a 58 64 66 6c |ib=$ans.|X.X.Xdfl|
|00001bd0| 74 3d 24 66 61 78 73 70 | 6f 6f 6c 0a 58 65 63 68 |t=$faxsp|ool.Xech|
|00001be0| 6f 20 24 6e 20 22 41 6e | 64 20 70 61 74 68 20 74 |o $n "An|d path t|
|00001bf0| 6f 20 66 61 78 73 70 6f | 6f 6c 3a 20 5b 24 64 66 |o faxspo|ol: [$df|
|00001c00| 6c 74 5d 20 24 63 22 0a | 58 2e 20 6d 79 72 65 61 |lt] $c".|X. myrea|
|00001c10| 64 0a 58 65 63 68 6f 0a | 58 63 61 73 65 20 24 61 |d.Xecho.|Xcase $a|
|00001c20| 6e 73 20 69 6e 0a 58 27 | 27 29 20 61 6e 73 3d 24 |ns in.X'|') ans=$|
|00001c30| 64 66 6c 74 3b 3b 0a 58 | 65 73 61 63 0a 58 66 61 |dflt;;.X|esac.Xfa|
|00001c40| 78 73 70 6f 6f 6c 3d 24 | 61 6e 73 0a 58 0a 58 0a |xspool=$|ans.X.X.|
|00001c50| 58 64 66 6c 74 3d 24 6d | 61 6e 73 68 65 6c 66 0a |Xdflt=$m|anshelf.|
|00001c60| 58 65 63 68 6f 20 24 6e | 20 22 41 6e 64 20 79 6f |Xecho $n| "And yo|
|00001c70| 75 72 20 4d 61 6e 75 61 | 6c 20 53 68 65 6c 66 3a |ur Manua|l Shelf:|
|00001c80| 20 5b 24 64 66 6c 74 5d | 20 24 63 22 0a 58 2e 20 | [$dflt]| $c".X. |
|00001c90| 6d 79 72 65 61 64 0a 58 | 65 63 68 6f 0a 58 63 61 |myread.X|echo.Xca|
|00001ca0| 73 65 20 24 61 6e 73 20 | 69 6e 0a 58 27 27 29 20 |se $ans |in.X'') |
|00001cb0| 61 6e 73 3d 24 64 66 6c | 74 3b 3b 0a 58 65 73 61 |ans=$dfl|t;;.Xesa|
|00001cc0| 63 0a 58 6d 61 6e 73 68 | 65 6c 66 3d 24 61 6e 73 |c.Xmansh|elf=$ans|
|00001cd0| 0a 58 0a 58 63 61 74 20 | 3c 3c 45 4f 54 0a 58 0a |.X.Xcat |<<EOT.X.|
|00001ce0| 58 23 20 66 69 6e 64 20 | 63 6f 6d 70 65 74 69 6e |X# find |competin|
|00001cf0| 67 20 75 75 63 70 20 6c | 6f 63 6b 73 0a 58 23 23 |g uucp l|ocks.X##|
|00001d00| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001d10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001d20| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001d30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001d40| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 58 4d 6f |########|####.XMo|
|00001d50| 64 65 6d 20 6c 6f 67 69 | 6e 73 2c 20 75 75 63 70 |dem logi|ns, uucp|
|00001d60| 20 74 72 61 6e 73 6d 69 | 73 73 69 6f 6e 73 20 61 | transmi|ssions a|
|00001d70| 6e 64 20 66 61 78 65 73 | 20 61 6c 6c 20 74 68 65 |nd faxes| all the|
|00001d80| 20 73 61 6d 65 20 74 69 | 6d 65 20 61 6e 64 20 6f | same ti|me and o|
|00001d90| 6e 0a 58 74 68 65 20 73 | 61 6d 65 20 6d 6f 64 65 |n.Xthe s|ame mode|
|00001da0| 6d 20 74 65 6e 64 20 62 | 65 63 6f 6d 65 20 73 6f |m tend b|ecome so|
|00001db0| 6d 65 77 68 61 74 20 67 | 61 72 62 6c 65 64 2e 20 |mewhat g|arbled. |
|00001dc0| 54 65 6c 6c 20 6d 65 20 | 77 68 65 72 65 20 75 75 |Tell me |where uu|
|00001dd0| 63 70 20 6b 65 65 70 73 | 0a 58 69 74 73 20 6c 6f |cp keeps|.Xits lo|
|00001de0| 63 6b 20 66 69 6c 65 73 | 2c 20 73 6f 20 74 68 61 |ck files|, so tha|
|00001df0| 74 20 73 65 6e 64 66 61 | 78 20 64 69 65 73 20 61 |t sendfa|x dies a|
|00001e00| 77 61 79 20 69 6e 73 74 | 61 6e 74 6c 79 20 69 66 |way inst|antly if|
|00001e10| 20 75 75 63 70 20 69 73 | 20 61 63 74 69 76 65 0a | uucp is| active.|
|00001e20| 58 5b 69 74 20 6b 6e 6f | 77 73 20 61 62 6f 75 74 |X[it kno|ws about|
|00001e30| 20 6c 6f 67 69 6e 73 20 | 6f 6e 20 61 20 70 6f 72 | logins |on a por|
|00001e40| 74 5d 2e 0a 58 0a 58 45 | 4f 54 0a 58 64 66 6c 74 |t]..X.XE|OT.Xdflt|
|00001e50| 3d 24 75 75 63 70 6c 6f | 63 6b 73 0a 58 65 63 68 |=$uucplo|cks.Xech|
|00001e60| 6f 20 24 6e 20 22 57 68 | 65 72 65 20 64 6f 65 73 |o $n "Wh|ere does|
|00001e70| 20 75 75 63 70 20 63 72 | 65 61 74 65 20 69 74 73 | uucp cr|eate its|
|00001e80| 20 6c 6f 63 6b 20 66 69 | 6c 65 73 3a 20 5b 24 64 | lock fi|les: [$d|
|00001e90| 66 6c 74 5d 20 24 63 22 | 0a 58 2e 20 6d 79 72 65 |flt] $c"|.X. myre|
|00001ea0| 61 64 0a 58 65 63 68 6f | 0a 58 63 61 73 65 20 24 |ad.Xecho|.Xcase $|
|00001eb0| 61 6e 73 20 69 6e 0a 58 | 27 27 29 20 61 6e 73 3d |ans in.X|'') ans=|
|00001ec0| 24 64 66 6c 74 3b 3b 0a | 58 65 73 61 63 0a 58 75 |$dflt;;.|Xesac.Xu|
|00001ed0| 75 63 70 6c 6f 63 6b 73 | 3d 24 61 6e 73 0a 58 0a |ucplocks|=$ans.X.|
|00001ee0| 58 0a 58 63 61 74 20 3c | 3c 45 4f 54 0a 58 0a 58 |X.Xcat <|<EOT.X.X|
|00001ef0| 23 20 6c 6f 63 61 6c 20 | 62 69 6e 20 66 6f 72 20 |# local |bin for |
|00001f00| 66 61 78 0a 58 23 23 23 | 23 23 23 23 23 23 23 23 |fax.X###|########|
|00001f10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001f20| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001f30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001f40| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001f50| 23 23 23 0a 58 41 73 73 | 75 6d 69 6e 67 20 79 6f |###.XAss|uming yo|
|00001f60| 75 20 64 6f 6e 27 74 20 | 70 75 74 20 6c 6f 63 61 |u don't |put loca|
|00001f70| 6c 20 65 78 65 63 75 74 | 61 62 6c 65 73 20 69 6e |l execut|ables in|
|00001f80| 74 6f 20 2f 75 73 72 2f | 7b 62 69 6e 2c 75 63 62 |to /usr/|{bin,ucb|
|00001f90| 7d 2c 20 77 65 20 6e 65 | 65 64 0a 58 73 6f 72 74 |}, we ne|ed.Xsort|
|00001fa0| 20 6f 66 20 61 20 2f 6c | 6f 63 61 6c 2f 62 69 6e | of a /l|ocal/bin|
|00001fb0| 20 74 6f 20 70 75 74 20 | 74 68 65 20 75 73 65 72 | to put |the user|
|00001fc0| 20 69 6e 74 65 72 66 61 | 63 65 20 5b 63 61 6c 6c | interfa|ce [call|
|00001fd0| 65 64 20 66 61 78 5d 20 | 69 6e 74 6f 2e 0a 58 0a |ed fax] |into..X.|
|00001fe0| 58 45 4f 54 0a 58 64 66 | 6c 74 3d 24 6c 6f 63 61 |XEOT.Xdf|lt=$loca|
|00001ff0| 6c 62 69 6e 0a 58 65 63 | 68 6f 20 24 6e 20 22 57 |lbin.Xec|ho $n "W|
|00002000| 68 65 72 65 20 64 6f 20 | 79 6f 75 20 6b 65 65 70 |here do |you keep|
|00002010| 20 6c 6f 63 61 6c 20 65 | 78 65 63 75 74 61 62 6c | local e|xecutabl|
|00002020| 65 73 3a 20 5b 24 64 66 | 6c 74 5d 20 24 63 22 0a |es: [$df|lt] $c".|
|00002030| 58 2e 20 6d 79 72 65 61 | 64 0a 58 65 63 68 6f 0a |X. myrea|d.Xecho.|
|00002040| 58 63 61 73 65 20 24 61 | 6e 73 20 69 6e 0a 58 27 |Xcase $a|ns in.X'|
|00002050| 27 29 20 61 6e 73 3d 24 | 64 66 6c 74 3b 3b 0a 58 |') ans=$|dflt;;.X|
|00002060| 65 73 61 63 0a 58 6c 6f | 63 61 6c 62 69 6e 3d 24 |esac.Xlo|calbin=$|
|00002070| 61 6e 73 0a 58 0a 58 0a | 58 63 61 74 20 3c 3c 45 |ans.X.X.|Xcat <<E|
|00002080| 4f 54 0a 58 0a 58 23 20 | 6d 61 78 20 6e 6f 20 6f |OT.X.X# |max no o|
|00002090| 66 20 72 65 73 65 6e 64 | 73 20 77 69 74 68 69 6e |f resend|s within|
|000020a0| 20 6f 6e 65 20 74 72 61 | 6e 73 6d 69 73 73 69 6f | one tra|nsmissio|
|000020b0| 6e 0a 58 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |n.X#####|########|
|000020c0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000020d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000020e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000020f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002100| 23 0a 58 54 68 65 20 6c | 61 73 74 20 68 61 72 64 |#.XThe l|ast hard|
|00002110| 20 77 69 72 65 64 20 62 | 69 74 20 6f 66 20 69 6e | wired b|it of in|
|00002120| 66 6f 20 69 73 20 74 68 | 65 20 6e 75 6d 62 65 72 |fo is th|e number|
|00002130| 20 6f 66 20 72 65 73 65 | 6e 64 73 2e 20 49 66 20 | of rese|nds. If |
|00002140| 61 20 70 61 67 65 20 69 | 73 0a 58 67 61 72 62 6c |a page i|s.Xgarbl|
|00002150| 65 64 20 64 75 72 69 6e | 67 20 74 72 61 6e 73 6d |ed durin|g transm|
|00002160| 69 73 73 69 6f 6e 2c 20 | 74 68 65 20 74 77 6f 20 |ission, |the two |
|00002170| 68 61 72 64 77 61 72 65 | 20 67 69 7a 7a 6d 6f 73 |hardware| gizzmos|
|00002180| 2c 20 74 68 61 74 20 69 | 73 20 79 6f 75 72 0a 58 |, that i|s your.X|
|00002190| 66 61 78 6d 6f 64 65 6d | 20 6f 6e 20 74 68 69 73 |faxmodem| on this|
|000021a0| 20 73 69 64 65 20 61 6e | 64 20 74 68 65 20 66 61 | side an|d the fa|
|000021b0| 78 20 6d 61 63 68 69 6e | 65 20 6f 6e 20 74 68 65 |x machin|e on the|
|000021c0| 20 6f 74 68 65 72 20 65 | 6e 64 2c 20 63 61 6e 20 | other e|nd, can |
|000021d0| 61 67 72 65 65 0a 58 74 | 6f 20 72 65 73 65 6e 64 |agree.Xt|o resend|
|000021e0| 20 74 68 61 74 20 70 61 | 67 65 2e 20 49 20 64 6f | that pa|ge. I do|
|000021f0| 6e 27 74 20 6b 6e 6f 77 | 20 69 66 20 66 61 78 20 |n't know| if fax |
|00002200| 6d 61 63 68 69 6e 65 73 | 20 68 61 76 65 20 61 20 |machines| have a |
|00002210| 62 75 69 6c 74 20 69 6e | 20 6c 69 6d 69 74 0a 58 |built in| limit.X|
|00002220| 66 6f 72 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |for the |number o|
|00002230| 66 20 72 65 73 65 6e 74 | 20 70 61 67 65 73 2c 20 |f resent| pages, |
|00002240| 49 20 64 6f 2c 20 68 6f | 77 65 76 65 72 2c 20 66 |I do, ho|wever, f|
|00002250| 65 65 6c 20 73 61 66 65 | 72 20 69 66 20 49 20 6b |eel safe|r if I k|
|00002260| 6e 6f 77 0a 58 73 65 6e | 64 66 61 78 20 64 6f 65 |now.Xsen|dfax doe|
|00002270| 73 6e 27 74 20 73 70 65 | 6e 64 20 61 6c 6c 20 6e |sn't spe|nd all n|
|00002280| 69 67 68 74 20 72 65 73 | 65 6e 64 69 6e 67 20 61 |ight res|ending a|
|00002290| 20 70 61 67 65 2e 20 48 | 61 76 69 6e 67 20 73 65 | page. H|aving se|
|000022a0| 65 6e 20 74 68 65 20 64 | 69 66 66 65 72 65 6e 74 |en the d|ifferent|
|000022b0| 0a 58 6c 65 76 65 6c 73 | 20 6f 66 20 63 6f 6d 70 |.Xlevels| of comp|
|000022c0| 6c 69 61 6e 63 65 20 74 | 6f 20 74 68 65 20 43 43 |liance t|o the CC|
|000022d0| 49 54 54 20 73 70 65 63 | 73 2c 20 65 73 70 65 63 |ITT spec|s, espec|
|000022e0| 69 61 6c 6c 79 20 65 75 | 72 6f 70 65 61 6e 20 66 |ially eu|ropean f|
|000022f0| 61 78 20 6d 61 63 68 69 | 6e 65 73 27 2c 0a 58 49 |ax machi|nes',.XI|
|00002300| 20 77 6f 75 6c 64 20 64 | 6f 75 62 74 2c 20 69 66 | would d|oubt, if|
|00002310| 20 73 75 63 68 20 61 20 | 6c 69 6d 69 74 20 69 73 | such a |limit is|
|00002320| 20 65 6e 66 6f 72 63 65 | 64 2e 0a 58 0a 58 45 4f | enforce|d..X.XEO|
|00002330| 54 0a 58 64 66 6c 74 3d | 24 6d 61 78 72 65 73 65 |T.Xdflt=|$maxrese|
|00002340| 6e 64 0a 58 65 63 68 6f | 20 24 6e 20 22 48 6f 77 |nd.Xecho| $n "How|
|00002350| 20 6f 66 74 65 6e 20 64 | 6f 20 79 6f 75 20 70 65 | often d|o you pe|
|00002360| 72 6d 69 74 20 74 68 65 | 20 72 65 73 65 6e 64 69 |rmit the| resendi|
|00002370| 6e 67 20 6f 66 20 61 20 | 70 61 67 65 20 77 69 74 |ng of a |page wit|
|00002380| 68 69 6e 20 6f 6e 65 20 | 63 61 6c 6c 20 5b 24 64 |hin one |call [$d|
|00002390| 66 6c 74 5d 20 24 63 22 | 0a 58 2e 20 6d 79 72 65 |flt] $c"|.X. myre|
|000023a0| 61 64 0a 58 65 63 68 6f | 0a 58 63 61 73 65 20 24 |ad.Xecho|.Xcase $|
|000023b0| 61 6e 73 20 69 6e 0a 58 | 27 27 29 20 61 6e 73 3d |ans in.X|'') ans=|
|000023c0| 24 64 66 6c 74 3b 3b 0a | 58 65 73 61 63 0a 58 6d |$dflt;;.|Xesac.Xm|
|000023d0| 61 78 72 65 73 65 6e 64 | 3d 24 61 6e 73 0a 58 0a |axresend|=$ans.X.|
|000023e0| 58 0a 58 23 20 68 61 76 | 65 20 68 65 61 64 65 72 |X.X# hav|e header|
|000023f0| 20 69 6e 66 6f 2c 20 67 | 65 74 20 64 65 74 61 69 | info, g|et detai|
|00002400| 6c 73 20 66 6f 72 20 66 | 61 78 2e 63 6f 6e 66 69 |ls for f|ax.confi|
|00002410| 67 0a 58 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |g.X#####|########|
|00002420| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002430| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002440| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002450| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002460| 23 0a 58 0a 58 69 66 20 | 5b 20 24 6d 6f 64 65 6d |#.X.Xif |[ $modem|
|00002470| 74 79 70 65 73 20 3d 20 | 32 20 5d 0a 58 74 68 65 |types = |2 ].Xthe|
|00002480| 6e 0a 58 09 6d 74 79 70 | 65 73 74 72 69 6e 67 3d |n.X.mtyp|estring=|
|00002490| 22 66 61 78 6d 6f 64 65 | 6d 20 74 79 70 65 2c 20 |"faxmode|m type, |
|000024a0| 63 75 72 72 65 6e 74 6c | 79 20 63 6c 61 73 73 32 |currentl|y class2|
|000024b0| 20 61 6e 64 20 73 69 65 | 72 72 61 20 74 79 70 65 | and sie|rra type|
|000024c0| 20 6d 6f 64 65 6d 73 20 | 61 72 65 20 73 75 70 70 | modems |are supp|
|000024d0| 6f 72 74 65 64 22 0a 58 | 65 6c 73 65 0a 58 09 6d |orted".X|else.X.m|
|000024e0| 74 79 70 65 73 74 72 69 | 6e 67 3d 22 66 61 78 6d |typestri|ng="faxm|
|000024f0| 6f 64 65 6d 20 74 79 70 | 65 2c 20 63 75 72 72 65 |odem typ|e, curre|
|00002500| 6e 74 6c 79 20 6f 6e 6c | 79 20 73 69 65 72 72 61 |ntly onl|y sierra|
|00002510| 20 74 79 70 65 20 6d 6f | 64 65 6d 73 20 61 72 65 | type mo|dems are|
|00002520| 20 73 75 70 70 6f 72 74 | 65 64 22 0a 58 66 69 0a | support|ed".Xfi.|
|00002530| 58 0a 58 63 61 74 20 3c | 3c 45 4f 54 0a 58 0a 58 |X.Xcat <|<EOT.X.X|
|00002540| 23 20 73 6f 66 74 20 63 | 6f 6e 66 69 67 75 72 61 |# soft c|onfigura|
|00002550| 74 69 6f 6e 2c 20 73 61 | 76 65 64 20 69 6e 20 24 |tion, sa|ved in $|
|00002560| 66 61 78 6c 69 62 2f 66 | 61 78 2e 63 6f 6e 66 69 |faxlib/f|ax.confi|
|00002570| 67 22 0a 58 23 23 23 23 | 23 23 23 23 23 23 23 23 |g".X####|########|
|00002580| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002590| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000025a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000025b0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000025c0| 23 23 0a 58 4d 6f 73 74 | 20 6f 66 20 74 68 65 20 |##.XMost| of the |
|000025d0| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 6f 66 |configur|ation of|
|000025e0| 20 66 61 78 70 61 6b 20 | 63 61 6e 20 62 65 20 63 | faxpak |can be c|
|000025f0| 68 61 6e 67 65 64 20 61 | 66 74 65 72 20 63 6f 6d |hanged a|fter com|
|00002600| 70 69 6c 69 6e 67 20 66 | 61 78 70 61 6b 2e 0a 58 |piling f|axpak..X|
|00002610| 53 6f 66 74 77 69 72 65 | 64 20 64 65 74 61 69 6c |Softwire|d detail|
|00002620| 73 20 61 72 65 20 73 74 | 61 73 68 65 64 20 69 6e |s are st|ashed in|
|00002630| 74 6f 20 24 66 61 78 6c | 69 62 2f 66 61 78 2e 63 |to $faxl|ib/fax.c|
|00002640| 6f 6e 66 69 67 2c 20 61 | 6c 6c 6f 77 69 6e 67 20 |onfig, a|llowing |
|00002650| 66 6f 72 20 65 61 73 79 | 20 0a 58 61 6c 74 65 72 |for easy| .Xalter|
|00002660| 61 74 69 6f 6e 20 6f 6e | 63 65 20 79 6f 75 20 68 |ation on|ce you h|
|00002670| 61 76 65 20 66 61 78 70 | 61 6b 20 77 6f 72 6b 69 |ave faxp|ak worki|
|00002680| 6e 67 2e 20 54 68 65 20 | 66 61 78 2e 63 6f 6e 66 |ng. The |fax.conf|
|00002690| 69 67 20 66 69 6c 65 20 | 73 74 6f 72 65 73 3a 0a |ig file |stores:.|
|000026a0| 58 0a 58 31 3a 20 74 68 | 65 20 70 6f 72 74 73 20 |X.X1: th|e ports |
|000026b0| 74 6f 20 77 68 69 63 68 | 20 79 6f 75 20 68 61 76 |to which| you hav|
|000026c0| 65 20 66 61 78 6d 6f 64 | 65 6d 73 20 63 6f 6e 6e |e faxmod|ems conn|
|000026d0| 65 63 74 65 64 20 2a 29 | 0a 58 32 3a 20 6c 69 74 |ected *)|.X2: lit|
|000026e0| 65 72 61 6c 20 6e 61 6d | 65 20 6f 66 20 6c 6f 63 |eral nam|e of loc|
|000026f0| 6b 66 69 6c 65 20 66 6f | 72 20 65 61 63 68 20 70 |kfile fo|r each p|
|00002700| 6f 72 74 2c 20 69 6e 20 | 63 61 73 65 20 75 75 63 |ort, in |case uuc|
|00002710| 70 20 75 73 65 73 20 74 | 68 65 73 65 20 70 6f 72 |p uses t|hese por|
|00002720| 74 73 0a 58 20 20 20 61 | 73 20 77 65 6c 6c 20 61 |ts.X a|s well a|
|00002730| 73 20 66 61 78 70 61 6b | 20 2a 29 0a 58 33 3a 20 |s faxpak| *).X3: |
|00002740| 24 6d 74 79 70 65 73 74 | 72 69 6e 67 0a 58 34 3a |$mtypest|ring.X4:|
|00002750| 20 54 6f 6e 65 20 6f 72 | 20 50 75 6c 73 65 20 64 | Tone or| Pulse d|
|00002760| 69 61 6c 6c 69 6e 67 0a | 58 35 3a 20 48 69 67 68 |ialling.|X5: High|
|00002770| 65 73 74 20 73 70 65 65 | 64 20 79 6f 75 72 20 66 |est spee|d your f|
|00002780| 61 78 6d 6f 64 65 6d 73 | 20 61 72 65 20 63 61 70 |axmodems| are cap|
|00002790| 61 62 6c 65 20 6f 66 20 | 5b 52 54 46 46 61 78 6d |able of |[RTFFaxm|
|000027a0| 6f 64 65 6d 4d 5d 0a 58 | 36 3a 20 61 6e 20 6f 70 |odemM].X|6: an op|
|000027b0| 74 69 6e 61 6c 20 73 74 | 72 69 6e 67 20 74 6f 20 |tinal st|ring to |
|000027c0| 72 65 2d 65 6e 61 62 6c | 65 20 64 69 61 6c 69 6e |re-enabl|e dialin|
|000027d0| 73 20 6f 6e 20 74 68 65 | 20 70 6f 72 74 20 61 66 |s on the| port af|
|000027e0| 74 65 72 20 73 65 6e 64 | 66 61 78 20 69 73 20 64 |ter send|fax is d|
|000027f0| 6f 6e 65 2c 0a 58 20 20 | 20 73 65 65 20 2f 65 74 |one,.X | see /et|
|00002800| 63 2f 75 75 63 70 2f 44 | 69 61 6c 65 72 73 2c 20 |c/uucp/D|ialers, |
|00002810| 6f 72 20 74 68 65 20 6d | 6f 64 65 6d 20 64 6f 63 |or the m|odem doc|
|00002820| 73 2c 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 73 0a |s, for e|xamples.|
|00002830| 58 0a 58 37 3a 20 77 69 | 6c 64 63 61 72 64 65 64 |X.X7: wi|ldcarded|
|00002840| 20 64 69 61 6c 63 6f 64 | 65 73 20 61 6e 64 20 74 | dialcod|es and t|
|00002850| 69 6d 65 73 2c 20 66 61 | 78 65 73 20 74 6f 20 74 |imes, fa|xes to t|
|00002860| 68 65 73 65 20 61 72 65 | 61 20 63 6f 64 65 73 20 |hese are|a codes |
|00002870| 61 72 65 20 6f 6b 20 2a | 29 0a 58 0a 58 38 3a 20 |are ok *|).X.X8: |
|00002880| 6d 61 78 20 6e 6f 20 6f | 66 20 64 61 79 73 20 61 |max no o|f days a|
|00002890| 20 66 61 78 20 69 73 20 | 61 6c 6c 6f 77 65 64 20 | fax is |allowed |
|000028a0| 74 6f 20 73 69 74 20 69 | 6e 20 24 66 61 78 73 70 |to sit i|n $faxsp|
|000028b0| 6f 6f 6c 0a 58 39 3a 20 | 6d 61 78 20 6e 6f 20 6f |ool.X9: |max no o|
|000028c0| 66 20 61 74 74 65 6d 70 | 74 73 20 74 6f 20 73 65 |f attemp|ts to se|
|000028d0| 6e 64 20 61 20 66 61 78 | 0a 58 0a 58 6c 6f 67 20 |nd a fax|.X.Xlog |
|000028e0| 6c 65 76 65 6c 2c 20 39 | 20 6c 6f 67 73 20 65 76 |level, 9| logs ev|
|000028f0| 65 72 79 74 68 69 6e 67 | 20 5b 68 75 67 65 21 5d |erything| [huge!]|
|00002900| 2c 20 30 20 6f 6e 6c 79 | 20 73 6f 6d 65 20 72 65 |, 0 only| some re|
|00002910| 6c 65 76 61 6e 74 20 69 | 6e 66 6f 0a 58 0a 58 46 |levant i|nfo.X.XF|
|00002920| 61 78 43 6f 6e 66 69 67 | 20 6f 6e 6c 79 20 77 72 |axConfig| only wr|
|00002930| 69 74 65 73 20 61 20 70 | 72 65 6c 69 6d 69 6e 61 |ites a p|relimina|
|00002940| 72 79 20 66 69 6c 65 20 | 69 6e 63 6c 75 64 69 6e |ry file |includin|
|00002950| 67 20 73 6f 6d 65 20 63 | 6f 6d 6d 65 6e 74 73 2e |g some c|omments.|
|00002960| 20 46 65 65 6c 0a 58 66 | 72 65 65 20 74 6f 20 65 | Feel.Xf|ree to e|
|00002970| 64 69 74 20 69 74 20 74 | 6f 20 79 6f 75 72 20 6c |dit it t|o your l|
|00002980| 69 6b 69 6e 67 20 61 74 | 20 61 6e 79 20 74 69 6d |iking at| any tim|
|00002990| 65 2e 0a 58 0a 58 2a 29 | 20 74 68 65 73 65 20 61 |e..X.X*)| these a|
|000029a0| 72 65 20 62 65 73 74 20 | 64 6f 6e 65 20 77 69 74 |re best |done wit|
|000029b0| 68 20 61 6e 20 65 64 69 | 74 6f 72 2c 20 69 6e 20 |h an edi|tor, in |
|000029c0| 66 61 63 74 2c 20 49 20 | 64 6f 6e 27 74 20 65 76 |fact, I |don't ev|
|000029d0| 65 6e 20 61 73 6b 20 66 | 6f 72 0a 58 20 20 20 64 |en ask f|or.X d|
|000029e0| 69 61 6c 63 6f 64 65 3a | 74 69 6d 65 20 70 61 69 |ialcode:|time pai|
|000029f0| 72 73 2e 20 73 65 65 20 | 74 68 65 20 66 69 6c 65 |rs. see |the file|
|00002a00| 20 66 61 78 2e 63 6f 6e | 66 69 67 20 77 68 65 6e | fax.con|fig when|
|00002a10| 20 64 6f 6e 65 20 77 69 | 74 68 20 74 68 69 73 20 | done wi|th this |
|00002a20| 73 63 72 69 70 74 2e 0a | 58 20 20 20 5b 79 6f 75 |script..|X [you|
|00002a30| 20 63 6f 75 6c 64 20 61 | 6c 73 6f 20 63 61 6c 6c | could a|lso call|
|00002a40| 20 74 68 69 73 20 6c 6f | 61 64 20 73 68 61 72 69 | this lo|ad shari|
|00002a50| 6e 67 20 62 65 74 77 65 | 65 6e 20 79 6f 75 20 61 |ng betwe|en you a|
|00002a60| 6e 64 20 6d 65 5d 2e 0a | 58 0a 58 45 4f 54 0a 58 |nd me]..|X.XEOT.X|
|00002a70| 0a 58 64 66 6c 74 3d 24 | 64 65 76 69 63 65 0a 58 |.Xdflt=$|device.X|
|00002a80| 65 63 68 6f 20 24 6e 20 | 22 50 6c 65 61 73 65 20 |echo $n |"Please |
|00002a90| 65 6e 74 65 72 20 74 68 | 65 20 66 69 72 73 74 20 |enter th|e first |
|00002aa0| 70 6f 72 74 20 74 6f 20 | 62 65 20 75 73 65 64 20 |port to |be used |
|00002ab0| 5b 24 64 66 6c 74 5d 20 | 24 63 22 0a 58 2e 20 6d |[$dflt] |$c".X. m|
|00002ac0| 79 72 65 61 64 0a 58 65 | 63 68 6f 0a 58 63 61 73 |yread.Xe|cho.Xcas|
|00002ad0| 65 20 24 61 6e 73 20 69 | 6e 0a 58 27 27 29 20 61 |e $ans i|n.X'') a|
|00002ae0| 6e 73 3d 24 64 66 6c 74 | 3b 3b 0a 58 65 73 61 63 |ns=$dflt|;;.Xesac|
|00002af0| 0a 58 64 65 76 69 63 65 | 3d 24 61 6e 73 0a 58 0a |.Xdevice|=$ans.X.|
|00002b00| 58 64 66 6c 74 3d 24 64 | 65 76 6c 6f 63 6b 0a 58 |Xdflt=$d|evlock.X|
|00002b10| 65 63 68 6f 20 22 50 6c | 65 61 73 65 20 65 6e 74 |echo "Pl|ease ent|
|00002b20| 65 72 20 6c 6f 63 6b 6e | 61 6d 65 20 74 6f 20 62 |er lockn|ame to b|
|00002b30| 6c 6f 63 6b 20 75 75 63 | 70 20 77 68 69 6c 65 20 |lock uuc|p while |
|00002b40| 77 65 27 72 65 22 0a 58 | 65 63 68 6f 20 24 6e 20 |we're".X|echo $n |
|00002b50| 22 73 65 6e 64 69 6e 67 | 20 6f 75 74 20 66 61 78 |"sending| out fax|
|00002b60| 65 73 20 5b 24 64 66 6c | 74 5d 20 24 63 22 0a 58 |es [$dfl|t] $c".X|
|00002b70| 2e 20 6d 79 72 65 61 64 | 0a 58 65 63 68 6f 0a 58 |. myread|.Xecho.X|
|00002b80| 63 61 73 65 20 24 61 6e | 73 20 69 6e 0a 58 27 27 |case $an|s in.X''|
|00002b90| 29 20 61 6e 73 3d 24 64 | 66 6c 74 3b 3b 0a 58 65 |) ans=$d|flt;;.Xe|
|00002ba0| 73 61 63 0a 58 64 65 76 | 6c 6f 63 6b 3d 24 61 6e |sac.Xdev|lock=$an|
|00002bb0| 73 0a 58 0a 58 69 66 20 | 5b 20 24 6d 6f 64 65 6d |s.X.Xif |[ $modem|
|00002bc0| 74 79 70 65 73 20 3d 20 | 32 20 5d 0a 58 74 68 65 |types = |2 ].Xthe|
|00002bd0| 6e 0a 58 09 64 66 6c 74 | 3d 24 66 6d 74 79 70 65 |n.X.dflt|=$fmtype|
|00002be0| 0a 58 09 65 63 68 6f 20 | 24 6e 20 22 50 6c 65 61 |.X.echo |$n "Plea|
|00002bf0| 73 65 20 65 6e 74 65 72 | 20 6d 6f 64 65 6d 20 74 |se enter| modem t|
|00002c00| 79 70 65 20 5b 24 64 66 | 6c 74 5d 20 24 63 22 0a |ype [$df|lt] $c".|
|00002c10| 58 09 2e 20 6d 79 72 65 | 61 64 0a 58 09 65 63 68 |X.. myre|ad.X.ech|
|00002c20| 6f 0a 58 09 63 61 73 65 | 20 24 61 6e 73 20 69 6e |o.X.case| $ans in|
|00002c30| 0a 58 09 27 27 29 20 61 | 6e 73 3d 24 64 66 6c 74 |.X.'') a|ns=$dflt|
|00002c40| 3b 3b 0a 58 09 65 73 61 | 63 0a 58 09 66 6d 74 79 |;;.X.esa|c.X.fmty|
|00002c50| 70 65 3d 24 61 6e 73 0a | 58 66 69 0a 58 0a 58 64 |pe=$ans.|Xfi.X.Xd|
|00002c60| 66 6c 74 3d 24 64 69 61 | 6c 74 79 70 65 0a 58 65 |flt=$dia|ltype.Xe|
|00002c70| 63 68 6f 20 24 6e 20 22 | 50 6c 65 61 73 65 20 65 |cho $n "|Please e|
|00002c80| 6e 74 65 72 20 27 50 27 | 20 69 66 20 79 6f 75 20 |nter 'P'| if you |
|00002c90| 77 61 6e 74 20 70 75 6c | 73 65 20 64 69 61 6c 6c |want pul|se diall|
|00002ca0| 69 6e 67 20 5b 24 64 66 | 6c 74 5d 20 24 63 22 0a |ing [$df|lt] $c".|
|00002cb0| 58 2e 20 6d 79 72 65 61 | 64 0a 58 65 63 68 6f 0a |X. myrea|d.Xecho.|
|00002cc0| 58 63 61 73 65 20 24 61 | 6e 73 20 69 6e 0a 58 27 |Xcase $a|ns in.X'|
|00002cd0| 27 29 20 61 6e 73 3d 24 | 64 66 6c 74 3b 3b 0a 58 |') ans=$|dflt;;.X|
|00002ce0| 65 73 61 63 0a 58 64 69 | 61 6c 74 79 70 65 3d 24 |esac.Xdi|altype=$|
|00002cf0| 61 6e 73 0a 58 0a 58 64 | 66 6c 74 3d 24 74 6f 70 |ans.X.Xd|flt=$top|
|00002d00| 73 70 65 65 64 0a 58 65 | 63 68 6f 20 22 50 6c 65 |speed.Xe|cho "Ple|
|00002d10| 61 73 65 20 65 6e 74 65 | 72 20 63 6f 64 65 20 66 |ase ente|r code f|
|00002d20| 6f 72 20 68 69 67 68 65 | 73 74 20 62 61 75 64 20 |or highe|st baud |
|00002d30| 72 61 74 65 20 79 6f 75 | 72 20 6d 6f 64 65 6d 20 |rate you|r modem |
|00002d40| 63 61 6e 20 22 0a 58 65 | 63 68 6f 20 24 6e 20 22 |can ".Xe|cho $n "|
|00002d50| 66 61 78 20 61 74 20 2d | 20 73 65 65 20 6d 6f 64 |fax at -| see mod|
|00002d60| 65 6d 20 6d 61 6e 75 61 | 6c 20 5b 24 64 66 6c 74 |em manua|l [$dflt|
|00002d70| 5d 20 24 63 22 0a 58 2e | 20 6d 79 72 65 61 64 0a |] $c".X.| myread.|
|00002d80| 58 65 63 68 6f 0a 58 63 | 61 73 65 20 24 61 6e 73 |Xecho.Xc|ase $ans|
|00002d90| 20 69 6e 0a 58 27 27 29 | 20 61 6e 73 3d 24 64 66 | in.X'')| ans=$df|
|00002da0| 6c 74 3b 3b 0a 58 65 73 | 61 63 0a 58 74 6f 70 73 |lt;;.Xes|ac.Xtops|
|00002db0| 70 65 65 64 3d 24 61 6e | 73 0a 58 0a 58 64 66 6c |peed=$an|s.X.Xdfl|
|00002dc0| 74 3d 24 64 69 61 6c 73 | 74 72 69 6e 67 0a 58 65 |t=$dials|tring.Xe|
|00002dd0| 63 68 6f 20 22 49 66 20 | 79 6f 75 20 66 65 65 6c |cho "If |you feel|
|00002de0| 20 62 72 61 76 65 20 65 | 6e 6f 75 67 68 20 5b 65 | brave e|nough [e|
|00002df0| 6c 73 65 20 6c 65 61 76 | 65 20 62 6c 61 6e 6b 20 |lse leav|e blank |
|00002e00| 61 6e 64 20 64 6f 20 6c | 61 74 65 72 5d 22 0a 58 |and do l|ater]".X|
|00002e10| 65 63 68 6f 20 24 6e 20 | 22 53 74 72 69 6e 67 20 |echo $n |"String |
|00002e20| 74 6f 20 72 65 65 6e 61 | 62 6c 65 20 64 69 61 6c |to reena|ble dial|
|00002e30| 69 6e 73 20 6f 6e 20 70 | 6f 72 74 73 20 75 73 65 |ins on p|orts use|
|00002e40| 64 20 62 79 20 66 61 78 | 6d 6f 64 65 6d 73 20 5b |d by fax|modems [|
|00002e50| 24 64 66 6c 74 5d 20 24 | 63 22 0a 58 2e 20 6d 79 |$dflt] $|c".X. my|
|00002e60| 72 65 61 64 0a 58 65 63 | 68 6f 0a 58 0a 58 64 66 |read.Xec|ho.X.Xdf|
|00002e70| 6c 74 3d 24 6d 61 78 61 | 67 65 0a 58 65 63 68 6f |lt=$maxa|ge.Xecho|
|00002e80| 20 24 6e 20 22 48 6f 77 | 20 6d 61 6e 79 20 64 61 | $n "How| many da|
|00002e90| 79 73 20 69 73 20 61 20 | 66 61 78 20 61 6c 6c 6f |ys is a |fax allo|
|00002ea0| 77 65 64 20 74 6f 20 73 | 69 74 20 69 6e 20 74 68 |wed to s|it in th|
|00002eb0| 65 20 71 75 65 75 65 20 | 5b 24 64 66 6c 74 5d 20 |e queue |[$dflt] |
|00002ec0| 24 63 22 0a 58 2e 20 6d | 79 72 65 61 64 0a 58 65 |$c".X. m|yread.Xe|
|00002ed0| 63 68 6f 0a 58 63 61 73 | 65 20 24 61 6e 73 20 69 |cho.Xcas|e $ans i|
|00002ee0| 6e 0a 58 27 27 29 20 61 | 6e 73 3d 24 64 66 6c 74 |n.X'') a|ns=$dflt|
|00002ef0| 3b 3b 0a 58 65 73 61 63 | 0a 58 6d 61 78 61 67 65 |;;.Xesac|.Xmaxage|
|00002f00| 3d 24 61 6e 73 0a 58 0a | 58 64 66 6c 74 3d 24 6d |=$ans.X.|Xdflt=$m|
|00002f10| 61 78 61 67 65 0a 58 65 | 63 68 6f 20 24 6e 20 22 |axage.Xe|cho $n "|
|00002f20| 48 6f 77 20 6d 61 6e 79 | 20 61 74 74 65 6d 70 74 |How many| attempt|
|00002f30| 73 20 64 6f 20 79 6f 75 | 20 61 6c 6c 6f 77 20 74 |s do you| allow t|
|00002f40| 6f 20 63 6f 6e 6e 65 63 | 74 20 74 6f 20 6f 6e 65 |o connec|t to one|
|00002f50| 20 70 68 6f 6e 65 20 6e | 6f 20 5b 24 64 66 6c 74 | phone n|o [$dflt|
|00002f60| 5d 20 24 63 22 0a 58 2e | 20 6d 79 72 65 61 64 0a |] $c".X.| myread.|
|00002f70| 58 65 63 68 6f 0a 58 63 | 61 73 65 20 24 61 6e 73 |Xecho.Xc|ase $ans|
|00002f80| 20 69 6e 0a 58 27 27 29 | 20 61 6e 73 3d 24 64 66 | in.X'')| ans=$df|
|00002f90| 6c 74 3b 3b 0a 58 65 73 | 61 63 0a 58 6d 61 78 74 |lt;;.Xes|ac.Xmaxt|
|00002fa0| 72 79 3d 24 61 6e 73 0a | 58 0a 58 64 66 6c 74 3d |ry=$ans.|X.Xdflt=|
|00002fb0| 24 6c 6f 67 6c 65 76 65 | 6c 0a 58 65 63 68 6f 20 |$logleve|l.Xecho |
|00002fc0| 24 6e 20 22 57 68 61 74 | 20 6c 6f 67 20 6c 65 76 |$n "What| log lev|
|00002fd0| 65 6c 20 64 6f 20 79 6f | 75 20 77 61 6e 74 20 73 |el do yo|u want s|
|00002fe0| 65 6e 64 66 61 78 20 5b | 77 69 72 69 6e 67 20 66 |endfax [|wiring f|
|00002ff0| 6f 72 20 74 65 73 74 69 | 6e 67 5d 20 74 6f 20 6c |or testi|ng] to l|
|00003000| 6f 67 20 61 74 20 5b 24 | 64 66 6c 74 5d 20 24 63 |og at [$|dflt] $c|
|00003010| 22 0a 58 2e 20 6d 79 72 | 65 61 64 0a 58 65 63 68 |".X. myr|ead.Xech|
|00003020| 6f 0a 58 63 61 73 65 20 | 24 61 6e 73 20 69 6e 0a |o.Xcase |$ans in.|
|00003030| 58 27 27 29 20 61 6e 73 | 3d 24 64 66 6c 74 3b 3b |X'') ans|=$dflt;;|
|00003040| 0a 58 65 73 61 63 0a 58 | 6c 6f 67 6c 65 76 65 6c |.Xesac.X|loglevel|
|00003050| 3d 24 61 6e 73 0a 58 0a | 58 0a 58 0a 58 63 61 74 |=$ans.X.|X.X.Xcat|
|00003060| 20 3c 3c 45 4f 54 0a 58 | 0a 58 23 20 63 68 61 72 | <<EOT.X|.X# char|
|00003070| 73 65 74 20 69 6e 66 6f | 0a 58 23 23 23 23 23 23 |set info|.X######|
|00003080| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003090| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000030a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000030b0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000030c0| 23 23 23 23 23 23 23 23 | 0a 58 41 6c 74 68 6f 75 |########|.XAlthou|
|000030d0| 67 68 20 49 20 70 6c 61 | 6e 6e 65 64 20 74 6f 20 |gh I pla|nned to |
|000030e0| 73 75 70 70 6f 72 74 20 | 71 75 69 74 65 20 61 20 |support |quite a |
|000030f0| 66 65 77 20 64 69 66 66 | 65 72 65 6e 74 20 63 68 |few diff|erent ch|
|00003100| 61 72 61 63 74 65 72 20 | 73 65 74 73 20 5b 77 69 |aracter |sets [wi|
|00003110| 74 68 0a 58 74 68 65 20 | 68 65 6c 70 20 6f 66 20 |th.Xthe |help of |
|00003120| 73 65 76 65 72 61 6c 20 | 6e 65 74 74 65 72 73 5d |several |netters]|
|00003130| 20 66 61 78 70 61 6b 20 | 63 75 72 72 65 6e 74 6c | faxpak |currentl|
|00003140| 79 20 73 75 70 70 6f 72 | 74 73 20 74 68 65 20 66 |y suppor|ts the f|
|00003150| 6f 6c 6c 6f 77 69 6e 67 | 20 66 65 77 2e 20 0a 58 |ollowing| few. .X|
|00003160| 46 6f 72 20 74 68 6f 73 | 65 20 70 6f 6f 72 20 73 |For thos|e poor s|
|00003170| 6f 75 6c 73 20 77 68 6f | 73 65 20 65 78 70 72 65 |ouls who|se expre|
|00003180| 73 73 69 6f 6e 20 69 73 | 20 6c 69 6d 69 74 65 64 |ssion is| limited|
|00003190| 20 74 6f 20 37 20 62 69 | 74 73 2c 20 74 68 65 20 | to 7 bi|ts, the |
|000031a0| 64 65 63 69 73 69 6f 6e | 0a 58 6d 75 73 74 20 62 |decision|.Xmust b|
|000031b0| 65 20 62 61 73 65 64 20 | 6f 6e 20 72 61 6e 64 28 |e based |on rand(|
|000031c0| 29 2e 0a 58 0a 58 50 6c | 65 61 73 65 20 65 6e 74 |)..X.XPl|ease ent|
|000031d0| 65 72 20 74 68 65 20 63 | 68 61 72 73 65 74 20 79 |er the c|harset y|
|000031e0| 6f 75 20 77 61 6e 74 20 | 66 61 78 70 61 6b 20 74 |ou want |faxpak t|
|000031f0| 6f 20 75 73 65 3a 0a 58 | 0a 58 09 69 09 69 73 6f |o use:.X|.X.i.iso|
|00003200| 20 38 38 35 39 2e 31 0a | 58 09 70 09 70 63 20 64 | 8859.1.|X.p.pc d|
|00003210| 65 20 66 61 63 74 6f 20 | 5b 63 6f 64 65 20 70 61 |e facto |[code pa|
|00003220| 67 65 20 38 35 30 5d 20 | 73 74 61 6e 64 61 72 64 |ge 850] |standard|
|00003230| 20 2a 29 0a 58 09 38 09 | 70 63 20 63 6f 64 65 20 | *).X.8.|pc code |
|00003240| 70 61 67 65 20 38 36 31 | 0a 58 0a 58 2a 29 20 53 |page 861|.X.X*) S|
|00003250| 6f 6d 65 20 70 65 6f 70 | 6c 65 20 66 65 6c 74 20 |ome peop|le felt |
|00003260| 73 74 72 6f 6e 67 6c 79 | 20 74 68 65 20 69 62 6d |strongly| the ibm|
|00003270| 20 70 63 20 63 6f 64 65 | 20 70 61 67 65 20 38 35 | pc code| page 85|
|00003280| 30 20 69 73 20 4e 4f 54 | 20 61 20 64 65 20 66 61 |0 is NOT| a de fa|
|00003290| 63 74 6f 0a 58 20 20 20 | 73 74 61 6e 64 61 72 64 |cto.X |standard|
|000032a0| 2e 20 49 4d 48 4f 20 69 | 74 20 69 73 20 69 6e 73 |. IMHO i|t is ins|
|000032b0| 6f 66 61 72 20 61 73 20 | 74 68 65 20 75 6b 2c 20 |ofar as |the uk, |
|000032c0| 67 65 72 6d 61 6e 79 2c | 20 73 77 69 74 7a 65 72 |germany,| switzer|
|000032d0| 6c 61 6e 64 20 61 6e 64 | 20 73 6f 6d 65 0a 58 20 |land and| some.X |
|000032e0| 20 20 6f 74 68 65 72 20 | 6d 69 64 20 65 75 72 6f | other |mid euro|
|000032f0| 70 65 61 6e 20 63 6f 75 | 6e 74 72 69 65 73 20 61 |pean cou|ntries a|
|00003300| 72 65 20 63 6f 6e 63 65 | 72 6e 65 64 2c 20 77 68 |re conce|rned, wh|
|00003310| 65 72 65 20 71 75 69 74 | 65 20 61 20 63 68 75 6e |ere quit|e a chun|
|00003320| 6b 20 6f 66 20 0a 58 20 | 20 20 22 74 68 65 20 61 |k of .X | "the a|
|00003330| 63 74 69 6f 6e 22 20 74 | 61 6b 65 73 20 70 6c 61 |ction" t|akes pla|
|00003340| 63 65 2e 20 49 66 20 79 | 6f 75 20 73 74 69 6c 6c |ce. If y|ou still|
|00003350| 20 64 69 73 61 67 72 65 | 65 2c 20 64 6f 6e 27 74 | disagre|e, don't|
|00003360| 20 75 73 65 20 66 61 78 | 70 61 6b 2e 0a 58 0a 58 | use fax|pak..X.X|
|00003370| 45 4f 54 0a 58 0a 58 64 | 66 6c 74 3d 24 63 68 61 |EOT.X.Xd|flt=$cha|
|00003380| 72 73 65 74 0a 58 65 63 | 68 6f 20 24 6e 20 22 57 |rset.Xec|ho $n "W|
|00003390| 68 61 74 20 63 68 61 72 | 73 65 74 20 64 6f 20 79 |hat char|set do y|
|000033a0| 6f 75 20 77 61 6e 74 20 | 74 6f 20 75 73 65 20 5b |ou want |to use [|
|000033b0| 24 64 66 6c 74 5d 20 24 | 63 22 0a 58 2e 20 6d 79 |$dflt] $|c".X. my|
|000033c0| 72 65 61 64 0a 58 65 63 | 68 6f 0a 58 65 63 68 6f |read.Xec|ho.Xecho|
|000033d0| 09 63 6f 70 79 69 6e 67 | 20 66 6f 6e 74 20 64 65 |.copying| font de|
|000033e0| 66 69 6e 69 74 69 6f 6e | 20 66 6f 72 20 64 69 79 |finition| for diy|
|000033f0| 20 66 6f 6e 74 20 6b 69 | 74 0a 58 63 61 73 65 20 | font ki|t.Xcase |
|00003400| 24 61 6e 73 20 69 6e 0a | 58 27 70 27 29 09 63 70 |$ans in.|X'p').cp|
|00003410| 20 66 61 78 68 6f 73 74 | 2f 66 61 78 66 6f 6e 74 | faxhost|/faxfont|
|00003420| 73 2f 64 69 79 5f 69 62 | 6d 70 63 2e 64 65 66 20 |s/diy_ib|mpc.def |
|00003430| 66 61 78 68 6f 73 74 2f | 66 61 78 66 6f 6e 74 73 |faxhost/|faxfonts|
|00003440| 2f 64 69 79 6b 69 74 2e | 64 65 66 3b 3b 0a 58 27 |/diykit.|def;;.X'|
|00003450| 38 27 29 09 63 70 20 66 | 61 78 68 6f 73 74 2f 66 |8').cp f|axhost/f|
|00003460| 61 78 66 6f 6e 74 73 2f | 64 69 79 5f 63 6f 64 65 |axfonts/|diy_code|
|00003470| 70 38 36 31 2e 64 65 66 | 20 66 61 78 68 6f 73 74 |p861.def| faxhost|
|00003480| 2f 66 61 78 66 6f 6e 74 | 73 2f 64 69 79 6b 69 74 |/faxfont|s/diykit|
|00003490| 2e 64 65 66 3b 3b 0a 58 | 2a 29 09 63 70 20 66 61 |.def;;.X|*).cp fa|
|000034a0| 78 68 6f 73 74 2f 66 61 | 78 66 6f 6e 74 73 2f 64 |xhost/fa|xfonts/d|
|000034b0| 69 79 5f 69 73 6f 2e 64 | 65 66 20 66 61 78 68 6f |iy_iso.d|ef faxho|
|000034c0| 73 74 2f 66 61 78 66 6f | 6e 74 73 2f 64 69 79 6b |st/faxfo|nts/diyk|
|000034d0| 69 74 2e 64 65 66 3b 3b | 0a 58 65 73 61 63 0a 58 |it.def;;|.Xesac.X|
|000034e0| 0a 58 72 6d 20 2d 66 20 | 6d 79 72 65 61 64 20 67 |.Xrm -f |myread g|
|000034f0| 72 69 6d 62 6c 65 0a 58 | 0a 58 0a 58 23 20 68 61 |rimble.X|.X.X# ha|
|00003500| 76 65 20 66 61 78 2e 63 | 6f 6e 66 69 67 2c 20 77 |ve fax.c|onfig, w|
|00003510| 72 69 74 65 20 66 61 78 | 63 6f 6e 66 69 67 2e 68 |rite fax|config.h|
|00003520| 20 61 6e 64 20 66 61 78 | 2e 63 6f 6e 66 69 67 0a | and fax|.config.|
|00003530| 58 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |X#######|########|
|00003540| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003550| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003560| 23 23 23 23 0a 58 0a 58 | 65 63 68 6f 09 22 77 72 |####.X.X|echo."wr|
|00003570| 69 74 69 6e 67 20 66 61 | 78 63 6f 6e 66 69 67 2e |iting fa|xconfig.|
|00003580| 68 22 0a 58 0a 58 63 61 | 74 09 3e 66 61 78 63 6f |h".X.Xca|t.>faxco|
|00003590| 6e 66 69 67 2e 68 20 3c | 3c 45 4f 54 0a 58 0a 58 |nfig.h <|<EOT.X.X|
|000035a0| 2f 2a 0a 58 09 66 61 78 | 20 63 6f 6e 66 69 67 75 |/*.X.fax| configu|
|000035b0| 72 61 74 69 6f 6e 20 68 | 65 61 64 65 72 20 5b 66 |ration h|eader [f|
|000035c0| 61 78 63 6f 6e 66 69 67 | 2e 68 5d 2c 0a 58 09 73 |axconfig|.h],.X.s|
|000035d0| 68 61 72 65 64 20 62 79 | 20 66 61 78 63 6c 69 65 |hared by| faxclie|
|000035e0| 6e 74 2f 66 61 78 2e 63 | 2c 20 61 6e 64 20 66 61 |nt/fax.c|, and fa|
|000035f0| 78 68 6f 73 74 2f 2a 2e | 63 0a 58 0a 58 09 43 6f |xhost/*.|c.X.X.Co|
|00003600| 70 79 72 69 67 68 74 20 | 28 43 29 20 31 39 39 31 |pyright |(C) 1991|
|00003610| 2c 20 6b 6c 61 75 73 20 | 73 63 68 61 6c 6c 68 6f |, klaus |schallho|
|00003620| 72 6e 2c 20 6b 6c 61 75 | 73 40 63 6e 69 78 2e 75 |rn, klau|s@cnix.u|
|00003630| 75 63 70 0a 58 0a 58 09 | 50 65 72 6d 69 73 73 69 |ucp.X.X.|Permissi|
|00003640| 6f 6e 20 74 6f 20 75 73 | 65 2c 20 63 6f 70 79 2c |on to us|e, copy,|
|00003650| 20 6d 6f 64 69 66 79 2c | 20 61 6e 64 20 64 69 73 | modify,| and dis|
|00003660| 74 72 69 62 75 74 65 20 | 74 68 69 73 20 73 6f 66 |tribute |this sof|
|00003670| 74 77 61 72 65 20 0a 58 | 09 61 6e 64 20 69 74 73 |tware .X|.and its|
|00003680| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 66 | documen|tation f|
|00003690| 6f 72 20 61 6e 79 20 70 | 75 72 70 6f 73 65 20 61 |or any p|urpose a|
|000036a0| 6e 64 20 77 69 74 68 6f | 75 74 20 66 65 65 20 69 |nd witho|ut fee i|
|000036b0| 73 20 68 65 72 65 62 79 | 20 0a 58 09 67 72 61 6e |s hereby| .X.gran|
|000036c0| 74 65 64 2c 20 70 72 6f | 76 69 64 65 64 20 74 68 |ted, pro|vided th|
|000036d0| 61 74 20 74 68 65 20 61 | 62 6f 76 65 20 63 6f 70 |at the a|bove cop|
|000036e0| 79 72 69 67 68 74 20 6e | 6f 74 69 63 65 20 61 70 |yright n|otice ap|
|000036f0| 70 65 61 72 20 69 6e 20 | 0a 58 09 61 6c 6c 20 63 |pear in |.X.all c|
|00003700| 6f 70 69 65 73 20 61 6e | 64 20 74 68 61 74 20 62 |opies an|d that b|
|00003710| 6f 74 68 20 74 68 61 74 | 20 63 6f 70 79 72 69 67 |oth that| copyrig|
|00003720| 68 74 20 6e 6f 74 69 63 | 65 20 61 6e 64 20 74 68 |ht notic|e and th|
|00003730| 69 73 20 70 65 72 6d 69 | 73 73 69 6f 6e 20 0a 58 |is permi|ssion .X|
|00003740| 09 6e 6f 74 69 63 65 20 | 61 70 70 65 61 72 20 69 |.notice |appear i|
|00003750| 6e 20 73 75 70 70 6f 72 | 74 69 6e 67 20 64 6f 63 |n suppor|ting doc|
|00003760| 75 6d 65 6e 74 61 74 69 | 6f 6e 2e 20 0a 58 0a 58 |umentati|on. .X.X|
|00003770| 09 54 68 69 73 20 73 6f | 66 74 77 61 72 65 20 69 |.This so|ftware i|
|00003780| 73 20 70 72 6f 76 69 64 | 65 64 20 22 61 73 20 69 |s provid|ed "as i|
|00003790| 73 22 20 77 69 74 68 6f | 75 74 20 65 78 70 72 65 |s" witho|ut expre|
|000037a0| 73 73 20 6f 72 20 69 6d | 70 6c 69 65 64 20 77 61 |ss or im|plied wa|
|000037b0| 72 72 61 6e 74 79 2e 0a | 58 2a 2f 0a 58 0a 58 23 |rranty..|X*/.X.X#|
|000037c0| 64 65 66 69 6e 65 09 24 | 6e 65 74 77 69 64 65 5f |define.$|netwide_|
|000037d0| 66 61 78 0a 58 0a 58 0a | 58 09 09 09 2f 2a 20 73 |fax.X.X.|X.../* s|
|000037e0| 6f 6d 65 20 63 6f 6d 6d | 6f 6e 20 62 69 74 73 20 |ome comm|on bits |
|000037f0| 27 6e 20 70 69 65 63 65 | 73 20 2a 2f 0a 58 23 69 |'n piece|s */.X#i|
|00003800| 66 6e 64 65 66 09 54 52 | 55 45 0a 58 23 64 65 66 |fndef.TR|UE.X#def|
|00003810| 69 6e 65 09 54 52 55 45 | 09 09 31 0a 58 23 64 65 |ine.TRUE|..1.X#de|
|00003820| 66 69 6e 65 09 46 41 4c | 53 45 09 09 30 0a 58 23 |fine.FAL|SE..0.X#|
|00003830| 64 65 66 69 6e 65 09 45 | 52 52 4f 52 09 09 28 2d |define.E|RROR..(-|
|00003840| 31 29 0a 58 23 65 6e 64 | 69 66 0a 58 0a 58 23 69 |1).X#end|if.X.X#i|
|00003850| 66 6e 64 65 66 09 6d 69 | 6e 0a 58 23 64 65 66 69 |fndef.mi|n.X#defi|
|00003860| 6e 65 09 6d 69 6e 28 61 | 2c 62 29 09 28 28 61 3c |ne.min(a|,b).((a<|
|00003870| 62 29 3f 61 3a 62 29 0a | 58 23 64 65 66 69 6e 65 |b)?a:b).|X#define|
|00003880| 09 6d 61 78 28 61 2c 62 | 29 09 28 28 61 3e 62 29 |.max(a,b|).((a>b)|
|00003890| 3f 61 3a 62 29 0a 58 23 | 65 6e 64 69 66 0a 58 0a |?a:b).X#|endif.X.|
|000038a0| 58 0a 58 09 09 09 2f 2a | 20 6e 65 74 77 6f 72 6b |X.X.../*| network|
|000038b0| 20 73 74 75 66 66 20 2a | 2f 0a 58 23 69 66 64 65 | stuff *|/.X#ifde|
|000038c0| 66 09 4e 45 54 57 49 44 | 45 5f 46 41 58 0a 58 23 |f.NETWID|E_FAX.X#|
|000038d0| 64 65 66 69 6e 65 09 46 | 41 58 48 4f 53 54 09 09 |define.F|AXHOST..|
|000038e0| 22 24 66 61 78 68 6f 73 | 74 22 09 09 2f 2a 20 67 |"$faxhos|t"../* g|
|000038f0| 65 74 20 68 6f 73 74 20 | 62 79 20 6e 61 6d 65 20 |et host |by name |
|00003900| 2a 2f 0a 58 23 65 6e 64 | 69 66 0a 58 0a 58 0a 58 |*/.X#end|if.X.X.X|
|00003910| 09 09 09 2f 2a 20 61 70 | 70 6c 69 63 61 74 69 6f |.../* ap|plicatio|
|00003920| 6e 20 73 70 65 63 69 66 | 69 63 20 73 74 75 66 66 |n specif|ic stuff|
|00003930| 20 2a 2f 0a 58 23 64 65 | 66 69 6e 65 09 46 41 58 | */.X#de|fine.FAX|
|00003940| 41 44 4d 49 4e 09 22 24 | 66 61 78 61 64 6d 69 6e |ADMIN."$|faxadmin|
|00003950| 22 09 09 2f 2a 20 6d 61 | 69 6c 20 65 72 72 6f 72 |"../* ma|il error|
|00003960| 73 20 69 66 20 21 75 73 | 65 72 20 2a 2f 0a 58 23 |s if !us|er */.X#|
|00003970| 64 65 66 69 6e 65 09 46 | 41 58 46 4d 4f 44 45 09 |define.F|AXFMODE.|
|00003980| 24 66 61 78 66 6d 6f 64 | 65 09 09 09 2f 2a 20 66 |$faxfmod|e.../* f|
|00003990| 6f 72 20 63 68 6d 6f 64 | 20 2a 2f 0a 58 23 64 65 |or chmod| */.X#de|
|000039a0| 66 69 6e 65 09 46 41 58 | 53 45 52 56 45 52 09 22 |fine.FAX|SERVER."|
|000039b0| 73 70 6f 6f 6c 2e 66 61 | 78 22 09 09 2f 2a 20 6e |spool.fa|x"../* n|
|000039c0| 61 6d 65 20 6f 66 20 73 | 70 6f 6f 6c 20 70 67 6d |ame of s|pool pgm|
|000039d0| 20 2a 2f 0a 58 23 64 65 | 66 69 6e 65 09 46 41 58 | */.X#de|fine.FAX|
|000039e0| 4c 49 42 09 09 22 24 66 | 61 78 6c 69 62 22 09 2f |LIB.."$f|axlib"./|
|000039f0| 2a 20 6e 65 65 64 65 64 | 20 6f 6e 20 66 61 78 68 |* needed| on faxh|
|00003a00| 6f 73 74 20 6f 6e 6c 79 | 20 2a 2f 0a 58 23 64 65 |ost only| */.X#de|
|00003a10| 66 69 6e 65 09 46 41 58 | 53 50 4f 4f 4c 09 22 24 |fine.FAX|SPOOL."$|
|00003a20| 66 61 78 73 70 6f 6f 6c | 22 09 2f 2a 20 6e 65 65 |faxspool|"./* nee|
|00003a30| 64 65 64 20 6f 6e 20 66 | 61 78 68 6f 73 74 20 6f |ded on f|axhost o|
|00003a40| 6e 6c 79 20 2a 2f 0a 58 | 0a 58 23 64 65 66 69 6e |nly */.X|.X#defin|
|00003a50| 65 09 55 55 43 50 4c 4f | 43 4b 53 09 22 24 75 75 |e.UUCPLO|CKS."$uu|
|00003a60| 63 70 6c 6f 63 6b 73 22 | 09 2f 2a 20 61 67 61 69 |cplocks"|./* agai|
|00003a70| 6e 20 68 6f 73 74 20 6f | 6e 6c 79 20 2a 2f 0a 58 |n host o|nly */.X|
|00003a80| 23 64 65 66 69 6e 65 09 | 4c 4f 43 41 4c 42 49 4e |#define.|LOCALBIN|
|00003a90| 09 22 24 6c 6f 63 61 6c | 62 69 6e 22 09 09 2f 2a |."$local|bin"../*|
|00003aa0| 20 63 6c 69 65 6e 74 20 | 26 26 20 68 6f 73 74 2c | client |&& host,|
|00003ab0| 20 66 6f 72 20 66 61 78 | 2e 63 20 2a 2f 0a 58 0a | for fax|.c */.X.|
|00003ac0| 58 23 64 65 66 69 6e 65 | 09 4d 41 58 5f 52 45 53 |X#define|.MAX_RES|
|00003ad0| 45 4e 44 09 24 6d 61 78 | 72 65 73 65 6e 64 09 09 |END.$max|resend..|
|00003ae0| 09 2f 2a 20 64 6f 6e 27 | 74 20 72 65 73 65 6e 64 |./* don'|t resend|
|00003af0| 20 61 20 70 61 67 65 20 | 66 6f 72 65 76 65 72 20 | a page |forever |
|00003b00| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 09 46 41 58 4c |*/.X#def|ine.FAXL|
|00003b10| 46 4f 4e 54 09 22 74 65 | 78 74 66 61 78 6c 2e 66 |FONT."te|xtfaxl.f|
|00003b20| 6f 6e 74 22 09 09 2f 2a | 20 6c 6f 72 65 73 20 62 |ont"../*| lores b|
|00003b30| 69 74 6d 61 70 20 66 6f | 6e 74 20 66 72 6f 6d 20 |itmap fo|nt from |
|00003b40| 64 69 79 6b 69 74 20 2a | 2f 0a 58 23 64 65 66 69 |diykit *|/.X#defi|
|00003b50| 6e 65 09 46 41 58 48 46 | 4f 4e 54 09 22 74 65 78 |ne.FAXHF|ONT."tex|
|00003b60| 74 66 61 78 68 2e 66 6f | 6e 74 22 09 09 2f 2a 20 |tfaxh.fo|nt"../* |
|00003b70| 68 69 72 65 73 20 62 69 | 74 6d 61 70 20 66 6f 6e |hires bi|tmap fon|
|00003b80| 74 20 66 72 6f 6d 20 64 | 69 79 6b 69 74 20 2a 2f |t from d|iykit */|
|00003b90| 0a 58 23 64 65 66 69 6e | 65 09 50 53 46 4f 4e 54 |.X#defin|e.PSFONT|
|00003ba0| 09 09 22 43 6f 75 72 69 | 65 72 2d 42 6f 6c 64 31 |.."Couri|er-Bold1|
|00003bb0| 32 22 09 2f 2a 20 67 68 | 6f 73 74 73 63 72 69 70 |2"./* gh|ostscrip|
|00003bc0| 74 20 66 6f 6e 74 20 2a | 2f 0a 58 0a 58 23 64 65 |t font *|/.X.X#de|
|00003bd0| 66 69 6e 65 09 4d 41 58 | 5f 46 41 58 5f 4c 49 4e |fine.MAX|_FAX_LIN|
|00003be0| 45 53 09 32 34 30 30 09 | 09 2f 2a 20 69 73 20 61 |ES.2400.|./* is a|
|00003bf0| 20 62 69 74 20 67 65 6e | 65 72 6f 75 73 2c 20 73 | bit gen|erous, s|
|00003c00| 6f 20 77 68 61 74 20 2a | 2f 0a 58 0a 58 23 64 65 |o what *|/.X.X#de|
|00003c10| 66 69 6e 65 09 43 4f 41 | 52 53 45 09 09 31 09 09 |fine.COA|RSE..1..|
|00003c20| 2f 2a 20 32 30 34 2e 31 | 35 20 62 79 20 39 37 2e |/* 204.1|5 by 97.|
|00003c30| 37 39 20 64 70 69 20 2a | 2f 0a 58 23 64 65 66 69 |79 dpi *|/.X#defi|
|00003c40| 6e 65 09 46 49 4e 45 09 | 09 32 09 09 2f 2a 20 32 |ne.FINE.|.2../* 2|
|00003c50| 30 34 2e 31 35 20 62 79 | 20 31 39 35 2e 35 38 20 |04.15 by| 195.58 |
|00003c60| 64 70 69 20 2a 2f 0a 58 | 23 64 65 66 69 6e 65 09 |dpi */.X|#define.|
|00003c70| 48 50 09 09 33 0a 58 0a | 58 23 64 65 66 69 6e 65 |HP..3.X.|X#define|
|00003c80| 09 41 53 43 49 49 09 09 | 30 09 2f 2a 20 75 73 65 |.ASCII..|0./* use|
|00003c90| 20 68 70 20 6c 61 73 65 | 72 20 6a 65 74 20 63 6f | hp lase|r jet co|
|00003ca0| 6d 70 61 74 20 66 6f 6e | 74 20 74 6f 20 63 72 65 |mpat fon|t to cre|
|00003cb0| 61 74 65 20 70 62 6d 20 | 2a 2f 0a 58 23 64 65 66 |ate pbm |*/.X#def|
|00003cc0| 69 6e 65 09 50 42 4d 09 | 09 31 09 2f 2a 20 75 73 |ine.PBM.|.1./* us|
|00003cd0| 65 20 61 73 20 69 73 2c | 20 73 6f 72 74 20 6f 66 |e as is,| sort of|
|00003ce0| 20 2a 2f 0a 58 09 09 09 | 2f 2a 20 74 68 65 73 65 | */.X...|/* these|
|00003cf0| 20 61 72 65 6e 27 74 20 | 64 6f 6e 65 20 79 65 74 | aren't |done yet|
|00003d00| 2c 20 73 65 65 20 77 69 | 72 69 6e 67 2e 63 2c 20 |, see wi|ring.c, |
|00003d10| 77 68 79 20 2a 2f 0a 58 | 23 64 65 66 69 6e 65 09 |why */.X|#define.|
|00003d20| 44 56 49 09 09 32 09 2f | 2a 20 64 76 69 32 70 73 |DVI..2./|* dvi2ps|
|00003d30| 2c 20 4e 4f 54 20 59 45 | 54 20 44 4f 4e 45 20 2a |, NOT YE|T DONE *|
|00003d40| 2f 0a 58 23 64 65 66 69 | 6e 65 09 47 48 4f 53 54 |/.X#defi|ne.GHOST|
|00003d50| 53 43 52 49 50 54 09 33 | 09 2f 2a 20 69 64 65 61 |SCRIPT.3|./* idea|
|00003d60| 73 20 5b 6e 6f 74 20 79 | 65 74 5d 20 73 74 6f 6c |s [not y|et] stol|
|00003d70| 65 6e 20 66 72 6f 6d 20 | 6d 69 74 20 61 69 20 6c |en from |mit ai l|
|00003d80| 61 62 73 20 2a 2f 0a 58 | 23 64 65 66 69 6e 65 09 |abs */.X|#define.|
|00003d90| 48 50 43 4c 09 09 34 09 | 2f 2a 20 68 70 20 6c 61 |HPCL..4.|/* hp la|
|00003da0| 73 65 72 20 6a 65 74 20 | 63 6f 6d 70 61 74 20 6f |ser jet |compat o|
|00003db0| 75 74 70 75 74 20 2a 2f | 0a 58 0a 58 0a 58 09 09 |utput */|.X.X.X..|
|00003dc0| 09 2f 2a 20 66 61 78 20 | 6d 6f 64 65 6d 20 73 70 |./* fax |modem sp|
|00003dd0| 65 63 69 66 69 63 20 62 | 69 74 73 20 2a 2f 0a 58 |ecific b|its */.X|
|00003de0| 23 64 65 66 69 6e 65 09 | 42 45 54 41 5f 46 49 52 |#define.|BETA_FIR|
|00003df0| 4d 57 41 52 45 09 09 2f | 2a 20 61 70 70 6c 69 65 |MWARE../|* applie|
|00003e00| 73 20 74 6f 20 77 69 72 | 69 6e 67 2e 63 20 2a 2f |s to wir|ing.c */|
|00003e10| 0a 58 23 64 65 66 69 6e | 65 09 53 49 45 52 52 41 |.X#defin|e.SIERRA|
|00003e20| 09 09 09 2f 2a 20 74 79 | 70 65 20 6f 66 20 66 61 |.../* ty|pe of fa|
|00003e30| 78 20 6d 6f 64 65 6d 20 | 2a 2f 0a 58 0a 58 0a 58 |x modem |*/.X.X.X|
|00003e40| 23 69 66 64 65 66 09 4e | 45 45 44 5f 46 41 58 54 |#ifdef.N|EED_FAXT|
|00003e50| 59 50 45 53 09 09 2f 2a | 20 6e 65 65 64 65 64 20 |YPES../*| needed |
|00003e60| 69 6e 20 66 61 78 2e 63 | 20 61 6e 64 20 73 70 6f |in fax.c| and spo|
|00003e70| 6f 6c 2e 66 61 78 2e 63 | 20 2a 2f 0a 58 73 74 72 |ol.fax.c| */.Xstr|
|00003e80| 75 63 74 09 66 74 79 70 | 65 73 0a 58 7b 0a 58 09 |uct.ftyp|es.X{.X.|
|00003e90| 63 68 61 72 09 2a 74 79 | 70 65 6e 61 6d 65 3b 0a |char.*ty|pename;.|
|00003ea0| 58 09 69 6e 74 09 74 79 | 70 65 69 64 3b 0a 58 7d |X.int.ty|peid;.X}|
|00003eb0| 20 66 61 78 74 79 70 65 | 73 5b 5d 20 3d 0a 58 7b | faxtype|s[] =.X{|
|00003ec0| 0a 58 09 22 61 73 63 69 | 69 22 2c 09 41 53 43 49 |.X."asci|i",.ASCI|
|00003ed0| 49 2c 0a 58 09 22 70 62 | 6d 22 2c 09 09 50 42 4d |I,.X."pb|m",..PBM|
|00003ee0| 2c 0a 58 09 22 64 76 69 | 22 2c 09 09 44 56 49 2c |,.X."dvi|",..DVI,|
|00003ef0| 0a 58 09 22 70 6f 73 74 | 73 63 72 69 70 74 22 2c |.X."post|script",|
|00003f00| 09 47 48 4f 53 54 53 43 | 52 49 50 54 2c 0a 58 09 |.GHOSTSC|RIPT,.X.|
|00003f10| 22 68 70 63 6c 22 09 09 | 48 50 43 4c 0a 58 7d 3b |"hpcl"..|HPCL.X};|
|00003f20| 0a 58 23 64 65 66 69 6e | 65 09 4d 41 58 5f 46 54 |.X#defin|e.MAX_FT|
|00003f30| 59 50 45 09 73 69 7a 65 | 6f 66 28 66 61 78 74 79 |YPE.size|of(faxty|
|00003f40| 70 65 73 29 2f 73 69 7a | 65 6f 66 28 73 74 72 75 |pes)/siz|eof(stru|
|00003f50| 63 74 20 66 74 79 70 65 | 73 29 0a 58 23 65 6e 64 |ct ftype|s).X#end|
|00003f60| 69 66 09 2f 2a 20 6e 65 | 65 64 20 66 61 78 20 74 |if./* ne|ed fax t|
|00003f70| 79 70 65 73 20 2a 2f 0a | 58 0a 58 0a 58 73 74 72 |ypes */.|X.X.Xstr|
|00003f80| 75 63 74 20 46 41 58 0a | 58 7b 0a 58 09 6c 6f 6e |uct FAX.|X{.X.lon|
|00003f90| 67 09 73 70 6f 6f 6c 65 | 64 3b 0a 58 09 63 68 61 |g.spoole|d;.X.cha|
|00003fa0| 72 09 75 73 65 72 5b 38 | 30 5d 3b 0a 58 23 69 66 |r.user[8|0];.X#if|
|00003fb0| 64 65 66 09 4a 4f 42 49 | 44 0a 58 09 63 68 61 72 |def.JOBI|D.X.char|
|00003fc0| 09 6a 6f 62 69 64 5b 38 | 30 5d 3b 0a 58 23 65 6e |.jobid[8|0];.X#en|
|00003fd0| 64 69 66 0a 58 09 63 68 | 61 72 09 64 6e 61 6d 65 |dif.X.ch|ar.dname|
|00003fe0| 5b 32 35 36 5d 3b 0a 58 | 09 63 68 61 72 09 78 6e |[256];.X|.char.xn|
|00003ff0| 61 6d 65 5b 32 35 36 5d | 3b 0a 58 09 63 68 61 72 |ame[256]|;.X.char|
|00004000| 09 2a 2a 70 68 6f 6e 65 | 3b 0a 58 09 69 6e 74 09 |.**phone|;.X.int.|
|00004010| 74 72 69 65 73 2c 0a 58 | 09 09 68 69 72 65 73 2c |tries,.X|..hires,|
|00004020| 0a 58 09 09 75 69 64 2c | 0a 58 09 09 6e 6f 77 2c |.X..uid,|.X..now,|
|00004030| 0a 58 09 09 6d 61 69 6c | 2c 0a 58 09 09 70 61 67 |.X..mail|,.X..pag|
|00004040| 65 73 2c 0a 58 09 09 74 | 79 70 65 2c 0a 58 09 09 |es,.X..t|ype,.X..|
|00004050| 70 68 6f 6e 65 5f 6e 6f | 73 3b 0a 58 09 6c 6f 6e |phone_no|s;.X.lon|
|00004060| 67 09 74 70 6f 73 2c 0a | 58 09 09 70 70 6f 73 3b |g.tpos,.|X..ppos;|
|00004070| 0a 58 7d 3b 0a 58 45 4f | 54 0a 58 0a 58 65 63 68 |.X};.XEO|T.X.Xech|
|00004080| 6f 09 22 77 72 69 74 69 | 6e 67 20 66 61 78 2e 63 |o."writi|ng fax.c|
|00004090| 6f 6e 66 69 67 22 0a 58 | 0a 58 63 61 74 09 3e 66 |onfig".X|.Xcat.>f|
|000040a0| 61 78 2e 63 6f 6e 66 69 | 67 20 3c 3c 45 4f 54 0a |ax.confi|g <<EOT.|
|000040b0| 58 23 20 66 61 78 2e 63 | 6f 6e 66 69 67 0a 58 23 |X# fax.c|onfig.X#|
|000040c0| 20 43 6f 70 79 72 69 67 | 68 74 20 28 43 29 20 31 | Copyrig|ht (C) 1|
|000040d0| 39 39 31 20 6b 6c 61 75 | 73 20 73 63 68 61 6c 6c |991 klau|s schall|
|000040e0| 68 6f 72 6e 2c 20 6b 6c | 61 75 73 40 63 6e 69 78 |horn, kl|aus@cnix|
|000040f0| 2e 75 75 63 70 0a 58 23 | 0a 58 23 20 50 65 72 6d |.uucp.X#|.X# Perm|
|00004100| 69 73 73 69 6f 6e 20 74 | 6f 20 75 73 65 2c 20 63 |ission t|o use, c|
|00004110| 6f 70 79 2c 20 6d 6f 64 | 69 66 79 2c 20 61 6e 64 |opy, mod|ify, and|
|00004120| 20 64 69 73 74 72 69 62 | 75 74 65 20 74 68 69 73 | distrib|ute this|
|00004130| 20 73 6f 66 74 77 61 72 | 65 20 0a 58 23 20 61 6e | softwar|e .X# an|
|00004140| 64 20 69 74 73 20 64 6f | 63 75 6d 65 6e 74 61 74 |d its do|cumentat|
|00004150| 69 6f 6e 20 66 6f 72 20 | 61 6e 79 20 70 75 72 70 |ion for |any purp|
|00004160| 6f 73 65 20 61 6e 64 20 | 77 69 74 68 6f 75 74 20 |ose and |without |
|00004170| 66 65 65 20 69 73 20 68 | 65 72 65 62 79 20 0a 58 |fee is h|ereby .X|
|00004180| 23 20 67 72 61 6e 74 65 | 64 2c 20 70 72 6f 76 69 |# grante|d, provi|
|00004190| 64 65 64 20 74 68 61 74 | 20 74 68 65 20 61 62 6f |ded that| the abo|
|000041a0| 76 65 20 63 6f 70 79 72 | 69 67 68 74 20 6e 6f 74 |ve copyr|ight not|
|000041b0| 69 63 65 20 61 70 70 65 | 61 72 20 69 6e 20 0a 58 |ice appe|ar in .X|
|000041c0| 23 20 61 6c 6c 20 63 6f | 70 69 65 73 20 61 6e 64 |# all co|pies and|
|000041d0| 20 74 68 61 74 20 62 6f | 74 68 20 74 68 61 74 20 | that bo|th that |
|000041e0| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|000041f0| 20 61 6e 64 20 74 68 69 | 73 20 70 65 72 6d 69 73 | and thi|s permis|
|00004200| 73 69 6f 6e 20 0a 58 23 | 20 6e 6f 74 69 63 65 20 |sion .X#| notice |
|00004210| 61 70 70 65 61 72 20 69 | 6e 20 73 75 70 70 6f 72 |appear i|n suppor|
|00004220| 74 69 6e 67 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |ting doc|umentati|
|00004230| 6f 6e 2e 20 0a 58 23 0a | 58 23 20 54 68 69 73 20 |on. .X#.|X# This |
|00004240| 73 6f 66 74 77 61 72 65 | 20 69 73 20 70 72 6f 76 |software| is prov|
|00004250| 69 64 65 64 20 22 61 73 | 20 69 73 22 20 77 69 74 |ided "as| is" wit|
|00004260| 68 6f 75 74 20 65 78 70 | 72 65 73 73 20 6f 72 20 |hout exp|ress or |
|00004270| 69 6d 70 6c 69 65 64 20 | 77 61 72 72 61 6e 74 79 |implied |warranty|
|00004280| 2e 0a 58 23 0a 58 23 0a | 58 23 20 66 61 78 20 64 |..X#.X#.|X# fax d|
|00004290| 65 76 69 63 65 73 0a 58 | 23 20 3d 3d 3d 3d 3d 3d |evices.X|# ======|
|000042a0| 3d 3d 3d 3d 3d 0a 58 23 | 20 32 6e 64 20 63 6f 6c |=====.X#| 2nd col|
|000042b0| 75 6d 6e 20 63 6f 6e 74 | 61 69 6e 73 20 74 68 65 |umn cont|ains the|
|000042c0| 20 61 63 74 75 61 6c 20 | 64 65 76 69 63 65 20 66 | actual |device f|
|000042d0| 6f 72 20 73 65 6e 64 66 | 61 78 0a 58 23 20 69 65 |or sendf|ax.X# ie|
|000042e0| 20 2f 64 65 76 2f 63 75 | 61 31 0a 58 23 0a 58 23 | /dev/cu|a1.X#.X#|
|000042f0| 20 33 72 64 20 63 6f 6c | 20 73 74 61 74 65 73 20 | 3rd col| states |
|00004300| 6c 6f 63 6b 20 6e 61 6d | 65 20 74 6f 20 62 65 20 |lock nam|e to be |
|00004310| 75 73 65 64 20 73 6f 20 | 74 68 61 74 20 75 75 63 |used so |that uuc|
|00004320| 70 20 64 6f 65 73 20 6e | 6f 74 20 65 76 65 6e 20 |p does n|ot even |
|00004330| 74 72 79 20 0a 58 23 20 | 74 6f 20 69 6e 74 65 72 |try .X# |to inter|
|00004340| 66 65 72 65 20 77 68 69 | 6c 65 20 77 65 27 72 65 |fere whi|le we're|
|00004350| 20 66 61 78 69 6e 67 2e | 20 53 74 61 74 69 6e 67 | faxing.| Stating|
|00004360| 20 74 68 65 20 6c 6f 63 | 6b 20 6e 61 6d 65 20 76 | the loc|k name v|
|00004370| 65 72 62 61 74 69 6d 20 | 69 73 20 0a 58 23 20 65 |erbatim |is .X# e|
|00004380| 73 73 65 6e 74 69 61 6c | 20 73 69 6e 63 65 20 74 |ssential| since t|
|00004390| 68 65 72 65 20 61 72 65 | 20 64 69 66 66 65 72 65 |here are| differe|
|000043a0| 6e 63 65 73 20 62 65 74 | 77 65 65 6e 20 48 44 42 |nces bet|ween HDB|
|000043b0| 20 75 75 63 70 20 61 6e | 64 20 6f 6c 64 65 72 2f | uucp an|d older/|
|000043c0| 6f 74 68 65 72 20 0a 58 | 23 20 76 65 72 73 69 6f |other .X|# versio|
|000043d0| 6e 73 2e 0a 58 23 20 4e | 4f 54 45 3a 20 69 66 20 |ns..X# N|OTE: if |
|000043e0| 79 6f 75 20 64 6f 6e 27 | 74 20 73 68 61 72 65 20 |you don'|t share |
|000043f0| 66 61 78 6d 6f 64 65 6d | 73 20 77 69 74 68 20 75 |faxmodem|s with u|
|00004400| 75 63 70 2c 20 6c 6f 63 | 6b 6e 61 6d 65 73 20 64 |ucp, loc|knames d|
|00004410| 6f 6e 27 74 20 72 65 61 | 6c 6c 79 20 0a 58 23 20 |on't rea|lly .X# |
|00004420| 6d 61 74 74 65 72 20 61 | 73 20 6c 6f 6e 67 20 61 |matter a|s long a|
|00004430| 73 20 65 61 63 68 20 70 | 6f 72 74 20 68 61 73 20 |s each p|ort has |
|00004440| 61 20 64 69 73 74 69 6e | 63 74 69 76 65 20 6c 6f |a distin|ctive lo|
|00004450| 63 6b 6e 61 6d 65 2e 20 | 66 72 65 64 31 2c 20 66 |ckname. |fred1, f|
|00004460| 72 65 64 32 20 0a 58 23 | 20 2e 2e 2e 20 66 72 65 |red2 .X#| ... fre|
|00004470| 64 6e 20 77 6f 75 6c 64 | 20 62 65 20 61 63 63 65 |dn would| be acce|
|00004480| 70 74 61 62 6c 65 2e 0a | 58 23 0a 58 23 20 34 74 |ptable..|X#.X# 4t|
|00004490| 68 20 63 6f 6c 20 73 70 | 65 63 69 66 69 65 73 20 |h col sp|ecifies |
|000044a0| 74 68 65 20 6d 6f 64 65 | 6d 20 74 79 70 65 20 63 |the mode|m type c|
|000044b0| 6f 6e 6e 65 63 74 65 64 | 20 74 6f 20 74 68 61 74 |onnected| to that|
|000044c0| 20 70 6f 72 74 20 73 6f | 20 73 65 6e 64 66 61 78 | port so| sendfax|
|000044d0| 20 6b 6e 6f 77 73 20 0a | 58 23 20 68 6f 77 20 74 | knows .|X# how t|
|000044e0| 6f 20 74 61 6c 6b 20 74 | 6f 20 74 68 65 20 68 61 |o talk t|o the ha|
|000044f0| 72 64 77 61 72 65 2e 0a | 58 23 0a 58 23 20 35 74 |rdware..|X#.X# 5t|
|00004500| 68 20 63 6f 6c 20 69 73 | 20 65 69 74 68 65 72 20 |h col is| either |
|00004510| 54 20 5b 61 73 20 69 6e | 20 74 6f 6e 65 20 64 69 |T [as in| tone di|
|00004520| 61 6c 6c 69 6e 67 5d 20 | 6f 72 20 50 20 5b 70 75 |alling] |or P [pu|
|00004530| 6c 73 65 5d 2e 0a 58 23 | 0a 58 23 20 36 74 68 20 |lse]..X#|.X# 6th |
|00004540| 63 6f 6c 20 69 73 20 68 | 69 67 68 65 73 74 20 73 |col is h|ighest s|
|00004550| 70 65 65 64 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |peed you| want to|
|00004560| 20 63 6f 6e 6e 65 63 74 | 20 61 74 2c 20 73 65 65 | connect| at, see|
|00004570| 20 79 6f 75 72 20 6d 6f | 64 65 6d 20 6d 61 6e 75 | your mo|dem manu|
|00004580| 61 6c 2e 0a 58 23 0a 58 | 23 20 37 74 68 20 63 6f |al..X#.X|# 7th co|
|00004590| 6c 20 69 73 20 61 20 73 | 74 72 69 6e 67 20 73 65 |l is a s|tring se|
|000045a0| 6e 74 20 74 6f 20 74 68 | 65 20 66 61 78 20 6d 6f |nt to th|e fax mo|
|000045b0| 64 65 6d 20 41 46 54 45 | 52 20 77 65 27 76 65 20 |dem AFTE|R we've |
|000045c0| 75 73 65 64 20 69 74 20 | 49 46 20 79 6f 75 20 0a |used it |IF you .|
|000045d0| 58 23 20 77 61 6e 74 20 | 74 6f 20 65 6e 61 62 6c |X# want |to enabl|
|000045e0| 65 20 69 6e 63 6f 6d 69 | 6e 67 20 63 61 6c 6c 73 |e incomi|ng calls|
|000045f0| 2f 67 65 74 74 79 2c 20 | 66 6f 72 20 61 20 74 79 |/getty, |for a ty|
|00004600| 70 69 63 61 6c 20 73 74 | 72 69 6e 67 20 73 65 65 |pical st|ring see|
|00004610| 20 0a 58 23 20 2f 65 74 | 63 2f 75 75 63 70 2f 44 | .X# /et|c/uucp/D|
|00004620| 69 61 6c 6c 65 72 73 2c | 20 73 74 72 69 6e 67 20 |iallers,| string |
|00004630| 68 61 73 20 74 6f 20 62 | 65 20 22 69 6e 20 71 75 |has to b|e "in qu|
|00004640| 6f 74 65 73 22 2c 20 61 | 62 73 65 6e 63 65 20 6f |otes", a|bsence o|
|00004650| 66 20 61 20 73 74 72 69 | 6e 67 20 0a 58 23 20 69 |f a stri|ng .X# i|
|00004660| 6d 70 6c 69 65 73 20 6e | 6f 74 68 69 6e 67 20 74 |mplies n|othing t|
|00004670| 6f 20 73 65 6e 64 2e 0a | 58 23 0a 58 23 20 74 68 |o send..|X#.X# th|
|00004680| 69 73 20 69 73 20 77 68 | 61 74 20 66 61 78 2e 63 |is is wh|at fax.c|
|00004690| 6f 6e 66 69 67 20 6c 6f | 6f 6b 73 20 68 65 72 65 |onfig lo|oks here|
|000046a0| 0a 58 23 20 31 73 74 09 | 32 6e 64 09 20 20 20 20 |.X# 1st.|2nd. |
|000046b0| 33 72 64 09 20 20 20 20 | 20 20 20 20 34 74 68 20 |3rd. | 4th |
|000046c0| 20 20 20 20 20 35 74 68 | 20 36 74 68 20 37 74 68 | 5th| 6th 7th|
|000046d0| 0a 58 23 64 65 76 69 63 | 65 09 2f 64 65 76 2f 63 |.X#devic|e./dev/c|
|000046e0| 75 61 31 20 20 20 4c 43 | 4b 2e 2e 63 75 61 31 20 |ua1 LC|K..cua1 |
|000046f0| 20 20 73 69 65 72 72 61 | 20 20 20 20 20 54 20 20 | sierra| T |
|00004700| 20 37 20 22 41 54 45 31 | 4d 30 56 31 58 31 51 30 | 7 "ATE1|M0V1X1Q0|
|00004710| 53 32 3d 31 32 37 53 30 | 3d 34 53 31 32 3d 32 35 |S2=127S0|=4S12=25|
|00004720| 35 22 0a 58 23 64 65 76 | 69 63 65 09 2f 64 65 76 |5".X#dev|ice./dev|
|00004730| 2f 63 75 61 32 20 20 20 | 4c 43 4b 2e 2e 63 75 61 |/cua2 |LCK..cua|
|00004740| 32 20 20 20 73 69 65 72 | 72 61 20 20 20 20 20 54 |2 sier|ra T|
|00004750| 20 20 20 37 20 22 41 54 | 45 31 4d 30 56 31 58 31 | 7 "AT|E1M0V1X1|
|00004760| 51 30 53 32 3d 31 32 37 | 53 30 3d 34 53 31 32 3d |Q0S2=127|S0=4S12=|
|00004770| 32 35 35 22 0a 58 64 65 | 76 69 63 65 09 24 64 65 |255".Xde|vice.$de|
|00004780| 76 69 63 65 09 24 64 65 | 76 6c 6f 63 6b 09 24 66 |vice.$de|vlock.$f|
|00004790| 6d 74 79 70 65 09 24 64 | 69 61 6c 74 79 70 65 09 |mtype.$d|ialtype.|
|000047a0| 24 74 6f 70 73 70 65 65 | 64 09 24 64 69 61 6c 73 |$topspee|d.$dials|
|000047b0| 74 72 0a 58 23 0a 58 23 | 0a 58 23 20 70 68 6f 6e |tr.X#.X#|.X# phon|
|000047c0| 65 20 62 69 6c 6c 20 73 | 61 76 65 72 0a 58 23 20 |e bill s|aver.X# |
|000047d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000047e0| 0a 58 23 0a 58 23 20 49 | 20 64 6f 20 6e 6f 74 20 |.X#.X# I| do not |
|000047f0| 77 61 6e 74 20 66 61 78 | 65 73 20 61 74 20 70 65 |want fax|es at pe|
|00004800| 61 6b 20 72 61 74 65 73 | 2c 20 65 78 63 65 70 74 |ak rates|, except|
|00004810| 20 6c 6f 63 61 6c 20 6f | 6e 65 73 2e 0a 58 23 0a | local o|nes..X#.|
|00004820| 58 23 20 6c 6f 6e 67 20 | 64 69 73 74 61 6e 63 65 |X# long |distance|
|00004830| 20 63 61 6c 6c 20 70 68 | 6f 6e 65 20 6e 6f 73 20 | call ph|one nos |
|00004840| 73 74 61 72 74 20 77 69 | 74 68 20 61 20 7a 65 72 |start wi|th a zer|
|00004850| 6f 20 50 4c 55 53 20 61 | 6e 79 20 63 6f 6d 62 69 |o PLUS a|ny combi|
|00004860| 6e 61 74 69 6f 6e 20 6f | 66 20 0a 58 23 20 64 69 |nation o|f .X# di|
|00004870| 67 69 74 73 20 31 20 74 | 6f 20 39 20 5b 31 2d 39 |gits 1 t|o 9 [1-9|
|00004880| 5d 5b 31 2d 39 5d 2a 20 | 0a 58 23 20 4e 4f 54 45 |][1-9]* |.X# NOTE|
|00004890| 3a 20 6e 6f 20 7a 65 72 | 6f 73 20 69 6e 20 32 6e |: no zer|os in 2n|
|000048a0| 64 20 6f 72 20 33 72 64 | 20 64 69 67 69 74 2c 20 |d or 3rd| digit, |
|000048b0| 65 78 63 65 70 74 20 69 | 66 20 32 6e 64 20 64 69 |except i|f 2nd di|
|000048c0| 67 69 74 20 3e 20 31 0a | 58 23 0a 58 23 20 69 6e |git > 1.|X#.X# in|
|000048d0| 74 65 72 6e 61 74 69 6f | 6e 61 6c 20 6f 6e 65 73 |ternatio|nal ones|
|000048e0| 20 73 74 61 72 74 20 77 | 69 74 68 20 30 31 30 20 | start w|ith 010 |
|000048f0| 63 74 79 20 63 6f 64 65 | 20 50 4c 55 53 20 61 6e |cty code| PLUS an|
|00004900| 79 20 63 6f 6d 62 69 6e | 61 74 69 6f 6e 20 6f 66 |y combin|ation of|
|00004910| 20 31 20 74 6f 20 39 0a | 58 23 0a 58 23 20 54 68 | 1 to 9.|X#.X# Th|
|00004920| 69 73 20 66 65 61 74 75 | 72 65 20 63 61 6e 20 62 |is featu|re can b|
|00004930| 65 20 72 61 70 65 64 20 | 74 6f 20 6d 61 6b 65 20 |e raped |to make |
|00004940| 73 75 72 65 20 66 61 78 | 65 73 20 74 6f 20 73 70 |sure fax|es to sp|
|00004950| 65 63 69 66 69 63 20 66 | 61 78 20 6e 75 6d 62 65 |ecific f|ax numbe|
|00004960| 72 73 20 0a 58 23 20 61 | 72 65 20 6f 6e 6c 79 20 |rs .X# a|re only |
|00004970| 73 65 6e 74 20 61 74 20 | 61 6e 20 61 63 63 65 70 |sent at |an accep|
|00004980| 74 61 62 6c 65 20 5b 66 | 6f 72 20 74 68 65 20 72 |table [f|or the r|
|00004990| 65 63 69 70 69 65 6e 74 | 5d 20 74 69 6d 65 2c 20 |ecipient|] time, |
|000049a0| 61 73 20 73 68 6f 77 6e | 20 69 6e 20 74 68 65 20 |as shown| in the |
|000049b0| 0a 58 23 20 66 69 72 73 | 74 20 22 68 6f 75 72 20 |.X# firs|t "hour |
|000049c0| 65 6e 74 72 79 22 2e 20 | 48 61 72 64 20 63 6f 64 |entry". |Hard cod|
|000049d0| 65 64 20 70 68 6f 6e 65 | 20 6e 6f 73 20 73 68 6f |ed phone| nos sho|
|000049e0| 75 6c 64 20 63 6f 6d 65 | 20 62 65 66 6f 72 65 20 |uld come| before |
|000049f0| 77 69 6c 64 20 63 61 72 | 64 20 0a 58 23 20 65 6e |wild car|d .X# en|
|00004a00| 74 72 69 65 73 2e 0a 58 | 23 0a 58 23 20 54 68 69 |tries..X|#.X# Thi|
|00004a10| 73 20 73 61 6d 70 6c 65 | 20 73 74 61 74 65 73 20 |s sample| states |
|00004a20| 74 68 61 74 20 6c 6f 6e | 67 20 64 69 73 74 61 6e |that lon|g distan|
|00004a30| 63 65 20 69 73 20 6f 6b | 20 66 72 6f 6d 20 36 20 |ce is ok| from 6 |
|00004a40| 70 6d 20 74 6f 20 36 20 | 61 6d 2c 20 0a 58 23 20 |pm to 6 |am, .X# |
|00004a50| 69 6e 74 65 72 6e 61 74 | 69 6f 6e 61 6c 20 6f 6e |internat|ional on|
|00004a60| 65 73 20 66 72 6f 6d 20 | 38 20 70 6d 20 74 6f 20 |es from |8 pm to |
|00004a70| 36 20 61 6d 0a 58 23 0a | 58 23 68 6f 75 72 73 09 |6 am.X#.|X#hours.|
|00004a80| 30 31 30 34 39 37 37 37 | 37 37 37 37 37 09 39 20 |01049777|77777.9 |
|00004a90| 2d 20 31 32 09 23 20 74 | 68 69 73 20 67 75 79 20 |- 12.# t|his guy |
|00004aa0| 63 61 6e 20 6f 6e 6c 79 | 20 62 65 20 73 65 6e 74 |can only| be sent|
|00004ab0| 20 74 6f 20 69 6e 20 74 | 68 65 20 6d 6f 72 6e 69 | to in t|he morni|
|00004ac0| 6e 67 0a 58 23 68 6f 75 | 72 73 09 30 31 30 34 39 |ng.X#hou|rs.01049|
|00004ad0| 31 32 33 34 35 36 09 38 | 20 2d 20 31 30 20 31 34 |123456.8| - 10 14|
|00004ae0| 20 31 36 20 2d 20 31 39 | 20 0a 58 23 68 6f 75 72 | 16 - 19| .X#hour|
|00004af0| 73 09 30 5b 31 2d 39 5d | 5b 31 2d 39 5d 2a 09 31 |s.0[1-9]|[1-9]*.1|
|00004b00| 38 20 2d 20 36 09 23 20 | 61 73 20 69 6e 20 30 37 |8 - 6.# |as in 07|
|00004b10| 38 20 31 32 33 20 36 37 | 38 39 0a 58 23 68 6f 75 |8 123 67|89.X#hou|
|00004b20| 72 73 09 30 5b 32 2d 39 | 5d 2a 09 09 31 38 20 2d |rs.0[2-9|]*..18 -|
|00004b30| 20 36 09 23 20 61 73 20 | 69 6e 20 30 33 30 20 34 | 6.# as |in 030 4|
|00004b40| 35 35 20 36 37 34 38 0a | 58 23 68 6f 75 72 73 09 |55 6748.|X#hours.|
|00004b50| 30 31 30 5b 31 2d 39 5d | 2a 09 32 30 20 2d 20 36 |010[1-9]|*.20 - 6|
|00004b60| 09 23 20 61 73 20 69 6e | 20 30 31 30 34 39 20 33 |.# as in| 01049 3|
|00004b70| 30 20 33 34 35 20 36 37 | 38 39 0a 58 23 0a 58 23 |0 345 67|89.X#.X#|
|00004b80| 0a 58 23 20 6d 61 78 20 | 61 67 65 20 6f 66 20 66 |.X# max |age of f|
|00004b90| 69 6c 65 73 20 69 6e 20 | 73 70 6f 6f 6c 20 64 69 |iles in |spool di|
|00004ba0| 72 20 5b 64 61 79 73 5d | 2c 20 66 61 78 20 69 73 |r [days]|, fax is|
|00004bb0| 20 73 75 70 70 6f 73 65 | 64 20 74 6f 20 62 65 20 | suppose|d to be |
|00004bc0| 66 61 73 74 21 0a 58 23 | 20 3d 3d 3d 3d 3d 3d 3d |fast!.X#| =======|
|00004bd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004be0| 3d 3d 3d 3d 3d 3d 0a 58 | 23 0a 58 6d 61 78 61 67 |======.X|#.Xmaxag|
|00004bf0| 65 09 24 6d 61 78 61 67 | 65 0a 58 23 0a 58 23 0a |e.$maxag|e.X#.X#.|
|00004c00| 58 23 20 6d 61 78 20 6e | 75 6d 62 65 72 20 6f 66 |X# max n|umber of|
|00004c10| 20 61 74 74 65 6d 70 74 | 73 20 74 6f 20 63 6f 6e | attempt|s to con|
|00004c20| 6e 65 63 74 0a 58 23 20 | 3d 3d 3d 3d 3d 3d 3d 3d |nect.X# |========|
|00004c30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004c40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0a 58 23 0a 58 6d 61 |========|=.X#.Xma|
|00004c50| 78 74 72 79 09 24 6d 61 | 78 74 72 79 0a 58 23 0a |xtry.$ma|xtry.X#.|
|00004c60| 58 23 20 6c 6f 67 20 6c | 65 76 65 6c 0a 58 23 20 |X# log l|evel.X# |
|00004c70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0a 58 23 0a 58 23 20 |========|=.X#.X# |
|00004c80| 39 20 3d 20 65 76 65 72 | 79 74 68 69 6e 67 0a 58 |9 = ever|ything.X|
|00004c90| 23 20 30 20 3d 20 65 72 | 72 6f 72 73 2c 20 74 72 |# 0 = er|rors, tr|
|00004ca0| 61 6e 73 6d 69 73 73 69 | 6f 6e 20 74 69 6d 65 73 |ansmissi|on times|
|00004cb0| 0a 58 23 20 6f 74 68 65 | 72 20 75 73 65 66 75 6c |.X# othe|r useful|
|00004cc0| 20 6c 65 76 65 6c 73 20 | 61 72 65 20 33 20 61 6e | levels |are 3 an|
|00004cd0| 64 20 35 0a 58 23 0a 58 | 6c 6f 67 6c 65 76 65 6c |d 5.X#.X|loglevel|
|00004ce0| 20 24 6c 6f 67 6c 65 76 | 65 6c 0a 58 23 0a 58 23 | $loglev|el.X#.X#|
|00004cf0| 0a 58 23 20 65 6e 64 20 | 6f 66 20 66 61 78 2e 63 |.X# end |of fax.c|
|00004d00| 6f 6e 66 69 67 0a 58 45 | 4f 54 0a 58 0a 58 23 20 |onfig.XE|OT.X.X# |
|00004d10| 6e 6f 77 20 73 61 76 65 | 20 66 61 78 2e 31 20 6d |now save| fax.1 m|
|00004d20| 61 6e 20 70 61 67 65 73 | 0a 58 23 23 23 23 23 23 |an pages|.X######|
|00004d30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004d40| 23 23 23 23 0a 58 0a 58 | 65 63 68 6f 09 22 77 72 |####.X.X|echo."wr|
|00004d50| 69 74 69 6e 67 20 66 61 | 78 63 6c 69 65 6e 74 2f |iting fa|xclient/|
|00004d60| 66 61 78 2e 31 20 6d 61 | 6e 20 70 61 67 65 73 22 |fax.1 ma|n pages"|
|00004d70| 0a 58 0a 58 63 61 74 09 | 3e 66 61 78 63 6c 69 65 |.X.Xcat.|>faxclie|
|00004d80| 6e 74 2f 66 61 78 2e 31 | 20 3c 3c 45 4f 54 0a 58 |nt/fax.1| <<EOT.X|
|00004d90| 2e 54 48 20 66 61 78 20 | 31 20 22 46 65 62 20 34 |.TH fax |1 "Feb 4|
|00004da0| 74 68 2c 20 31 39 39 31 | 22 0a 58 2e 53 48 20 4e |th, 1991|".X.SH N|
|00004db0| 41 4d 45 0a 58 66 61 78 | 20 5c 2d 20 73 65 6e 64 |AME.Xfax| \- send|
|00004dc0| 20 61 20 47 72 6f 75 70 | 20 33 20 66 61 78 20 76 | a Group| 3 fax v|
|00004dd0| 69 61 20 66 61 78 6d 6f | 64 65 6d 2e 0a 58 2e 53 |ia faxmo|dem..X.S|
|00004de0| 48 20 53 59 4e 4f 50 53 | 49 53 0a 58 66 61 78 20 |H SYNOPS|IS.Xfax |
|00004df0| 70 68 6f 6e 65 5f 6e 6f | 20 5b 2d 61 20 2d 66 20 |phone_no| [-a -f |
|00004e00| 2d 68 20 2d 6c 20 2d 6d | 20 2d 6e 20 2d 72 20 2d |-h -l -m| -n -r -|
|00004e10| 73 5d 20 66 69 6c 65 0a | 58 2e 53 48 20 44 45 53 |s] file.|X.SH DES|
|00004e20| 43 52 49 50 54 49 4f 4e | 0a 58 46 61 78 20 61 63 |CRIPTION|.XFax ac|
|00004e30| 63 65 70 74 73 20 61 73 | 63 69 69 20 69 6e 70 75 |cepts as|cii inpu|
|00004e40| 74 20 61 6e 64 20 73 65 | 6e 64 73 20 69 74 20 61 |t and se|nds it a|
|00004e50| 73 20 61 20 67 72 6f 75 | 70 20 33 20 66 61 78 0a |s a grou|p 3 fax.|
|00004e60| 58 75 73 69 6e 67 20 61 | 20 73 69 65 72 72 61 20 |Xusing a| sierra |
|00004e70| 74 79 70 65 20 66 61 78 | 6d 6f 64 65 6d 2e 20 54 |type fax|modem. T|
|00004e80| 68 65 20 66 69 72 73 74 | 20 70 61 72 61 6d 65 74 |he first| paramet|
|00004e90| 65 72 20 69 73 20 65 69 | 74 68 65 72 0a 58 61 20 |er is ei|ther.Xa |
|00004ea0| 70 68 6f 6e 65 20 6e 75 | 6d 62 65 72 2c 20 61 6e |phone nu|mber, an|
|00004eb0| 20 61 6c 69 61 73 20 5b | 73 65 65 20 61 6c 69 61 | alias [|see alia|
|00004ec0| 73 65 73 5d 20 6f 72 20 | 61 20 64 69 73 74 72 69 |ses] or |a distri|
|00004ed0| 62 75 74 69 6f 6e 20 6c | 69 73 74 20 5b 73 65 65 |bution l|ist [see|
|00004ee0| 20 6c 69 73 74 73 5d 20 | 0a 58 66 69 6c 65 20 6e | lists] |.Xfile n|
|00004ef0| 61 6d 65 2e 0a 58 2e 73 | 70 0a 58 49 66 20 74 68 |ame..X.s|p.XIf th|
|00004f00| 65 20 66 69 72 73 74 20 | 70 61 72 61 6d 65 74 65 |e first |paramete|
|00004f10| 72 20 63 6f 6e 74 61 69 | 6e 73 20 64 69 67 69 74 |r contai|ns digit|
|00004f20| 73 20 6f 6e 6c 79 2c 20 | 69 74 20 69 73 0a 58 61 |s only, |it is.Xa|
|00004f30| 73 73 75 6d 65 64 20 74 | 6f 20 62 65 20 61 20 70 |ssumed t|o be a p|
|00004f40| 68 6f 6e 65 20 6e 75 6d | 62 65 72 2e 0a 58 2e 73 |hone num|ber..X.s|
|00004f50| 70 0a 58 49 66 20 79 6f | 75 72 20 73 69 74 65 20 |p.XIf yo|ur site |
|00004f60| 64 6f 65 73 20 65 6e 66 | 6f 72 63 65 20 70 65 72 |does enf|orce per|
|00004f70| 6d 69 73 73 69 6f 6e 73 | 2c 20 79 6f 75 20 6d 61 |missions|, you ma|
|00004f80| 79 20 68 61 76 65 20 74 | 6f 20 61 73 6b 20 79 6f |y have t|o ask yo|
|00004f90| 75 72 0a 58 61 64 6d 69 | 6e 69 73 74 72 61 74 6f |ur.Xadmi|nistrato|
|00004fa0| 72 20 5b 24 66 61 78 61 | 64 6d 69 6e 5d 20 66 6f |r [$faxa|dmin] fo|
|00004fb0| 72 20 70 65 72 6d 69 73 | 73 69 6f 6e 20 74 6f 20 |r permis|sion to |
|00004fc0| 66 61 78 2e 0a 58 2e 53 | 48 20 50 41 52 41 4d 45 |fax..X.S|H PARAME|
|00004fd0| 54 45 52 53 0a 58 2e 54 | 50 0a 58 2e 42 20 2d 61 |TERS.X.T|P.X.B -a|
|00004fe0| 27 66 6f 72 20 74 68 65 | 20 61 74 74 65 6e 74 69 |'for the| attenti|
|00004ff0| 6f 6e 20 6f 66 2e 2e 2e | 27 0a 58 54 6f 20 73 70 |on of...|'.XTo sp|
|00005000| 65 63 69 66 79 20 61 20 | 72 65 63 69 70 69 65 6e |ecify a |recipien|
|00005010| 74 20 77 69 74 68 69 6e | 20 61 6e 20 6f 72 67 61 |t within| an orga|
|00005020| 6e 69 7a 61 74 69 6f 6e | 20 66 6f 72 20 69 6e 74 |nization| for int|
|00005030| 65 72 6e 61 6c 0a 58 72 | 6f 75 74 69 6e 67 2e 20 |ernal.Xr|outing. |
|00005040| 54 68 65 20 73 74 72 69 | 6e 67 20 6d 75 73 74 20 |The stri|ng must |
|00005050| 62 65 20 71 75 6f 74 65 | 64 20 73 6f 20 69 74 27 |be quote|d so it'|
|00005060| 73 20 70 61 73 73 65 64 | 20 61 73 20 6f 6e 65 0a |s passed| as one.|
|00005070| 58 61 72 67 75 6d 65 6e | 74 20 74 6f 20 66 61 78 |Xargumen|t to fax|
|00005080| 2e 20 49 74 20 69 73 20 | 74 68 65 6e 20 70 72 65 |. It is |then pre|
|00005090| 70 65 6e 64 65 64 20 74 | 6f 20 74 68 65 20 6f 75 |pended t|o the ou|
|000050a0| 74 67 6f 69 6e 67 20 6d | 65 73 73 61 67 65 2e 0a |tgoing m|essage..|
|000050b0| 58 2e 54 50 0a 58 2e 42 | 20 2d 66 2f 61 62 73 6f |X.TP.X.B| -f/abso|
|000050c0| 6c 75 74 65 2f 66 6f 6e | 74 2f 70 61 74 68 2f 66 |lute/fon|t/path/f|
|000050d0| 6f 6e 74 66 69 6c 65 0a | 58 55 73 65 20 61 6e 20 |ontfile.|XUse an |
|000050e0| 61 6c 74 65 72 6e 61 74 | 69 76 65 20 66 6f 6e 74 |alternat|ive font|
|000050f0| 2e 20 49 6e 20 61 64 64 | 69 74 69 6f 6e 20 74 6f |. In add|ition to|
|00005100| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 74 79 70 | the def|ault typ|
|00005110| 65 77 72 69 74 65 72 20 | 66 6f 6e 74 73 0a 58 69 |ewriter |fonts.Xi|
|00005120| 6e 20 6c 6f 77 20 61 6e | 64 20 68 69 67 68 20 72 |n low an|d high r|
|00005130| 65 73 6f 6c 75 74 69 6f | 6e 20 66 61 78 20 6b 6e |esolutio|n fax kn|
|00005140| 6f 77 73 20 61 62 6f 75 | 74 20 0a 58 48 50 20 4c |ows abou|t .XHP L|
|00005150| 61 73 65 72 6a 65 74 20 | 63 6f 6d 70 61 74 69 62 |aserjet |compatib|
|00005160| 6c 65 20 66 6f 6e 74 73 | 20 5b 75 70 20 74 6f 20 |le fonts| [up to |
|00005170| 33 30 20 70 6f 69 6e 74 | 73 20 69 6e 20 68 65 69 |30 point|s in hei|
|00005180| 67 68 74 5d 2e 20 54 68 | 65 73 65 20 61 72 65 0a |ght]. Th|ese are.|
|00005190| 58 73 63 61 6c 65 64 20 | 74 6f 20 74 68 65 20 72 |Xscaled |to the r|
|000051a0| 65 73 6f 6c 75 74 69 6f | 6e 20 6f 66 20 74 68 65 |esolutio|n of the|
|000051b0| 20 6f 75 74 67 6f 69 6e | 67 20 66 61 78 2e 20 55 | outgoin|g fax. U|
|000051c0| 73 65 64 20 77 69 74 68 | 20 6c 6f 77 20 72 65 73 |sed with| low res|
|000051d0| 6f 6c 75 74 69 6f 6e 0a | 58 74 68 65 20 6f 75 74 |olution.|Xthe out|
|000051e0| 70 75 74 20 69 73 20 6e | 6f 74 20 70 72 65 74 74 |put is n|ot prett|
|000051f0| 79 2e 0a 58 2e 54 50 0a | 58 2e 42 20 2d 68 0a 58 |y..X.TP.|X.B -h.X|
|00005200| 55 73 65 20 68 69 67 68 | 20 72 65 73 6f 6c 75 74 |Use high| resolut|
|00005210| 69 6f 6e 20 6d 6f 64 65 | 20 5b 32 30 34 20 62 79 |ion mode| [204 by|
|00005220| 20 31 39 35 20 64 6f 74 | 73 20 70 65 72 20 69 6e | 195 dot|s per in|
|00005230| 63 68 5d 2e 20 54 68 69 | 73 20 61 6c 6d 6f 73 74 |ch]. Thi|s almost|
|00005240| 20 64 6f 75 62 6c 65 73 | 0a 58 74 68 65 20 74 72 | doubles|.Xthe tr|
|00005250| 61 6e 73 6d 69 73 73 69 | 6f 6e 20 74 69 6d 65 2e |ansmissi|on time.|
|00005260| 0a 58 2e 54 50 0a 58 2e | 42 20 2d 6c 0a 58 55 73 |.X.TP.X.|B -l.XUs|
|00005270| 65 20 6c 6f 77 20 72 65 | 73 6f 6c 75 74 69 6f 6e |e low re|solution|
|00005280| 20 6d 6f 64 65 20 5b 32 | 30 34 20 62 79 20 39 37 | mode [2|04 by 97|
|00005290| 20 64 6f 74 73 20 70 65 | 72 20 69 6e 63 68 5d 2e | dots pe|r inch].|
|000052a0| 0a 58 2e 54 50 0a 58 2e | 42 20 2d 6d 0a 58 52 65 |.X.TP.X.|B -m.XRe|
|000052b0| 70 6f 72 74 20 62 79 20 | 6d 61 69 6c 20 61 73 20 |port by |mail as |
|000052c0| 73 6f 6f 6e 20 61 73 20 | 74 68 65 20 66 61 78 20 |soon as |the fax |
|000052d0| 68 61 73 20 62 65 65 6e | 20 73 65 6e 74 2e 20 46 |has been| sent. F|
|000052e0| 61 74 61 6c 20 65 72 72 | 6f 72 73 20 6f 72 20 66 |atal err|ors or f|
|000052f0| 61 69 6c 75 72 65 0a 58 | 74 6f 20 64 65 6c 69 76 |ailure.X|to deliv|
|00005300| 65 72 20 69 73 20 72 65 | 70 6f 72 74 65 64 20 62 |er is re|ported b|
|00005310| 61 63 6b 20 69 72 72 65 | 73 70 65 63 74 69 62 6c |ack irre|spectibl|
|00005320| 65 20 6f 66 20 74 68 65 | 20 6d 61 69 6c 20 66 6c |e of the| mail fl|
|00005330| 61 67 20 73 65 74 74 69 | 6e 67 2e 0a 58 2e 54 50 |ag setti|ng..X.TP|
|00005340| 0a 58 2e 42 20 2d 6e 0a | 58 53 65 6e 64 20 74 68 |.X.B -n.|XSend th|
|00005350| 65 20 66 61 78 20 22 6e | 6f 77 22 20 72 61 74 68 |e fax "n|ow" rath|
|00005360| 65 72 20 74 68 61 6e 20 | 61 74 20 63 68 65 61 70 |er than |at cheap|
|00005370| 20 72 61 74 65 2c 20 77 | 68 65 72 65 20 22 6e 6f | rate, w|here "no|
|00005380| 77 22 20 72 65 66 65 72 | 73 0a 58 74 6f 20 74 68 |w" refer|s.Xto th|
|00005390| 65 20 6e 65 78 74 20 74 | 69 6d 65 20 74 68 65 20 |e next t|ime the |
|000053a0| 66 61 78 20 64 61 65 6d | 6f 6e 20 72 75 6e 73 2e |fax daem|on runs.|
|000053b0| 20 54 6f 20 62 79 70 61 | 73 73 20 74 68 65 20 74 | To bypa|ss the t|
|000053c0| 69 6d 65 20 72 65 73 74 | 72 69 63 74 69 6f 6e 73 |ime rest|rictions|
|000053d0| 20 5b 69 66 0a 58 61 6e | 79 5d 20 79 6f 75 20 6d | [if.Xan|y] you m|
|000053e0| 61 79 20 6e 65 65 64 20 | 74 6f 20 68 61 76 65 20 |ay need |to have |
|000053f0| 73 70 65 63 69 61 6c 20 | 70 65 72 6d 69 73 73 69 |special |permissi|
|00005400| 6f 6e 2e 0a 58 2e 54 50 | 0a 58 2e 42 20 2d 72 27 |on..X.TP|.X.B -r'|
|00005410| 72 65 74 75 72 6e 20 66 | 61 78 20 6e 75 6d 62 65 |return f|ax numbe|
|00005420| 72 20 73 74 72 69 6e 67 | 27 0a 58 54 68 69 73 20 |r string|'.XThis |
|00005430| 73 74 72 69 6e 67 20 69 | 73 20 70 72 65 70 65 6e |string i|s prepen|
|00005440| 64 65 64 20 74 6f 20 74 | 68 65 20 6f 75 74 67 6f |ded to t|he outgo|
|00005450| 69 6e 67 20 66 61 78 20 | 74 6f 20 73 70 65 63 69 |ing fax |to speci|
|00005460| 66 79 20 61 20 72 65 74 | 75 72 6e 0a 58 66 61 78 |fy a ret|urn.Xfax|
|00005470| 20 6e 75 6d 62 65 72 2e | 20 43 75 72 72 65 6e 74 | number.| Current|
|00005480| 6c 79 20 66 61 78 20 64 | 6f 65 73 20 6e 6f 74 20 |ly fax d|oes not |
|00005490| 73 75 70 70 6f 72 74 20 | 69 6e 63 6f 6d 69 6e 67 |support |incoming|
|000054a0| 20 66 61 78 65 73 2e 0a | 58 2e 54 50 0a 58 2e 42 | faxes..|X.TP.X.B|
|000054b0| 20 2d 73 0a 58 53 61 76 | 65 20 6f 75 74 67 6f 69 | -s.XSav|e outgoi|
|000054c0| 6e 67 20 66 61 78 65 73 | 20 69 6e 20 48 4f 4d 45 |ng faxes| in HOME|
|000054d0| 2f 46 61 78 2e 53 65 6e | 74 2f 70 68 6f 6e 65 2e |/Fax.Sen|t/phone.|
|000054e0| 64 61 74 65 2e 20 46 61 | 78 20 73 61 76 65 73 20 |date. Fa|x saves |
|000054f0| 6f 75 74 67 6f 69 6e 67 | 20 66 61 78 65 73 20 69 |outgoing| faxes i|
|00005500| 6e 0a 58 66 69 6c 65 73 | 20 77 68 6f 73 65 20 6e |n.Xfiles| whose n|
|00005510| 61 6d 65 20 69 73 20 61 | 20 63 6f 6e 63 61 74 65 |ame is a| concate|
|00005520| 6e 61 74 69 6f 6e 20 6f | 66 20 72 65 63 69 70 69 |nation o|f recipi|
|00005530| 65 6e 74 20 61 6e 64 20 | 64 61 74 65 2e 20 49 66 |ent and |date. If|
|00005540| 20 74 68 65 20 72 65 63 | 69 70 69 65 6e 74 0a 58 | the rec|ipient.X|
|00005550| 69 73 20 6e 6f 74 20 61 | 6e 20 61 6c 69 61 73 20 |is not a|n alias |
|00005560| 61 6e 64 20 6e 6f 74 20 | 61 20 64 69 73 74 72 69 |and not |a distri|
|00005570| 62 75 74 69 6f 6e 20 6c | 69 73 74 2c 20 74 68 65 |bution l|ist, the|
|00005580| 20 70 68 6f 6e 65 20 6e | 75 6d 62 65 72 20 69 73 | phone n|umber is|
|00005590| 0a 58 75 73 65 64 20 66 | 6f 72 20 74 68 65 20 66 |.Xused f|or the f|
|000055a0| 69 72 73 74 20 70 61 72 | 74 20 6f 66 20 74 68 65 |irst par|t of the|
|000055b0| 20 66 69 6c 65 20 6e 61 | 6d 65 2e 0a 58 2e 50 50 | file na|me..X.PP|
|000055c0| 0a 58 46 69 6c 65 20 69 | 73 20 61 6e 20 61 73 63 |.XFile i|s an asc|
|000055d0| 69 69 20 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 69 |ii file |containi|
|000055e0| 6e 67 20 61 20 66 6f 72 | 6d 61 74 74 65 64 20 6d |ng a for|matted m|
|000055f0| 65 73 73 61 67 65 2e 0a | 58 2e 53 48 20 44 45 46 |essage..|X.SH DEF|
|00005600| 41 55 4c 54 53 0a 58 59 | 6f 75 20 63 61 6e 20 6f |AULTS.XY|ou can o|
|00005610| 76 65 72 72 69 64 65 20 | 62 75 69 6c 74 20 69 6e |verride |built in|
|00005620| 20 64 65 66 61 75 6c 74 | 73 20 62 79 20 63 72 65 | default|s by cre|
|00005630| 61 74 69 6e 67 20 61 20 | 66 69 6c 65 20 22 2e 66 |ating a |file ".f|
|00005640| 61 78 72 63 22 20 69 6e | 0a 58 79 6f 75 72 20 68 |axrc" in|.Xyour h|
|00005650| 6f 6d 65 20 64 69 72 65 | 63 74 6f 72 79 2e 20 54 |ome dire|ctory. T|
|00005660| 68 69 73 20 66 69 6c 65 | 20 69 73 20 63 6f 6e 73 |his file| is cons|
|00005670| 75 6c 74 65 64 20 62 65 | 66 6f 72 65 20 66 61 78 |ulted be|fore fax|
|00005680| 20 72 65 61 64 73 20 0a | 58 63 6f 6d 6d 61 6e 64 | reads .|Xcommand|
|00005690| 20 6c 69 6e 65 20 70 61 | 72 61 6d 65 74 65 72 73 | line pa|rameters|
|000056a0| 2e 0a 58 2e 73 70 0a 58 | 50 65 72 6d 69 74 74 65 |..X.sp.X|Permitte|
|000056b0| 64 20 64 65 66 61 75 6c | 74 20 76 61 6c 75 65 73 |d defaul|t values|
|000056c0| 20 69 6e 20 2e 66 61 78 | 72 63 20 61 72 65 20 74 | in .fax|rc are t|
|000056d0| 68 6f 73 65 20 74 68 61 | 74 20 61 70 70 6c 79 20 |hose tha|t apply |
|000056e0| 74 6f 0a 58 61 6c 6c 20 | 6f 75 74 67 6f 69 6e 67 |to.Xall |outgoing|
|000056f0| 20 66 61 78 65 73 20 73 | 65 6e 74 20 62 79 20 6f | faxes s|ent by o|
|00005700| 6e 65 20 75 73 65 72 2e | 20 43 6f 6d 6d 61 6e 64 |ne user.| Command|
|00005710| 20 6c 69 6e 65 20 6f 70 | 74 69 6f 6e 20 6f 76 65 | line op|tion ove|
|00005720| 72 72 69 64 65 0a 58 74 | 68 65 73 65 20 64 61 66 |rride.Xt|hese daf|
|00005730| 61 75 6c 74 73 2c 20 68 | 6f 77 65 76 65 72 2e 0a |aults, h|owever..|
|00005740| 58 2e 54 50 0a 58 2e 42 | 20 66 6f 6e 74 0a 58 54 |X.TP.X.B| font.XT|
|00005750| 68 65 20 6e 61 6d 65 20 | 6f 66 20 61 20 66 6f 6e |he name |of a fon|
|00005760| 74 20 74 6f 20 62 65 20 | 75 73 65 64 20 62 79 20 |t to be |used by |
|00005770| 66 61 78 2e 20 54 68 65 | 20 66 6f 6e 74 20 68 61 |fax. The| font ha|
|00005780| 73 20 74 6f 20 62 65 20 | 61 76 61 69 6c 61 62 6c |s to be |availabl|
|00005790| 65 0a 58 6f 6e 20 74 68 | 65 20 6d 61 63 68 69 6e |e.Xon th|e machin|
|000057a0| 65 20 72 75 6e 6e 69 6e | 67 20 74 68 65 20 66 61 |e runnin|g the fa|
|000057b0| 78 20 64 61 65 6d 6f 6e | 2e 20 54 68 65 20 66 6f |x daemon|. The fo|
|000057c0| 6e 74 66 69 6c 65 0a 58 | 6d 75 73 74 20 62 65 20 |ntfile.X|must be |
|000057d0| 61 63 63 65 73 73 69 62 | 6c 65 20 74 6f 20 74 68 |accessib|le to th|
|000057e0| 65 20 66 61 78 20 64 61 | 65 6d 6f 6e 2e 0a 58 2e |e fax da|emon..X.|
|000057f0| 54 50 0a 58 2e 42 20 72 | 65 73 6f 6c 75 74 69 6f |TP.X.B r|esolutio|
|00005800| 6e 0a 58 43 61 6e 20 62 | 65 20 68 69 67 68 20 6f |n.XCan b|e high o|
|00005810| 72 20 6c 6f 77 20 5b 73 | 65 65 20 61 62 6f 76 65 |r low [s|ee above|
|00005820| 5d 2e 20 44 65 66 61 75 | 6c 74 3a 20 6c 6f 77 2e |]. Defau|lt: low.|
|00005830| 20 0a 58 2e 54 50 0a 58 | 2e 42 20 6d 61 69 6c 0a | .X.TP.X|.B mail.|
|00005840| 58 53 65 74 20 74 6f 20 | 79 65 73 20 66 6f 72 20 |XSet to |yes for |
|00005850| 6e 6f 74 69 66 69 63 61 | 74 69 6f 6e 20 62 79 20 |notifica|tion by |
|00005860| 6d 61 69 6c 2e 20 44 65 | 66 61 75 6c 74 3a 20 6e |mail. De|fault: n|
|00005870| 6f 2e 0a 58 2e 54 50 0a | 58 2e 42 20 6e 6f 77 0a |o..X.TP.|X.B now.|
|00005880| 58 53 65 74 20 74 6f 20 | 79 65 73 20 66 6f 72 20 |XSet to |yes for |
|00005890| 73 65 6e 64 69 6e 67 20 | 6e 65 78 74 20 74 69 6d |sending |next tim|
|000058a0| 65 20 74 68 65 20 66 61 | 78 20 71 75 65 75 65 20 |e the fa|x queue |
|000058b0| 69 73 20 63 68 65 63 6b | 65 64 0a 58 66 6f 72 20 |is check|ed.Xfor |
|000058c0| 6f 75 74 67 6f 69 6e 67 | 20 66 61 78 65 73 2e 20 |outgoing| faxes. |
|000058d0| 44 65 66 61 75 6c 74 3a | 20 6e 6f 2e 0a 58 2e 54 |Default:| no..X.T|
|000058e0| 50 0a 58 2e 42 20 72 65 | 74 66 61 78 0a 58 41 20 |P.X.B re|tfax.XA |
|000058f0| 73 74 72 69 6e 67 20 74 | 6f 20 62 65 20 70 72 65 |string t|o be pre|
|00005900| 70 65 6e 64 65 64 20 61 | 6c 6c 20 79 6f 75 72 20 |pended a|ll your |
|00005910| 6f 75 74 67 6f 69 6e 67 | 20 66 61 78 65 73 2e 20 |outgoing| faxes. |
|00005920| 4e 6f 20 64 65 66 61 75 | 6c 74 20 73 74 72 69 6e |No defau|lt strin|
|00005930| 67 2e 0a 58 2e 54 50 0a | 58 2e 42 20 73 61 76 65 |g..X.TP.|X.B save|
|00005940| 0a 58 49 66 20 73 65 74 | 2c 20 73 61 76 65 73 20 |.XIf set|, saves |
|00005950| 66 69 6c 65 73 20 69 6e | 20 48 4f 4d 45 2f 46 61 |files in| HOME/Fa|
|00005960| 78 2e 53 65 6e 74 2f 70 | 68 6f 6e 65 2e 64 61 74 |x.Sent/p|hone.dat|
|00005970| 65 2e 20 44 65 66 61 75 | 6c 74 3a 20 6e 6f 2e 0a |e. Defau|lt: no..|
|00005980| 58 2e 53 48 20 41 4c 49 | 41 53 45 53 0a 58 49 66 |X.SH ALI|ASES.XIf|
|00005990| 20 74 68 65 20 66 69 72 | 73 74 20 70 61 72 61 6d | the fir|st param|
|000059a0| 65 74 65 72 20 74 6f 20 | 66 61 78 20 63 6f 6e 74 |eter to |fax cont|
|000059b0| 61 69 6e 73 20 61 6c 70 | 68 61 62 65 74 69 63 20 |ains alp|habetic |
|000059c0| 63 68 61 72 61 63 74 65 | 72 73 2c 20 66 61 78 20 |characte|rs, fax |
|000059d0| 66 69 72 73 74 0a 58 63 | 68 65 63 6b 73 20 79 6f |first.Xc|hecks yo|
|000059e0| 75 72 20 48 4f 4d 45 20 | 64 69 72 65 63 74 6f 72 |ur HOME |director|
|000059f0| 79 20 66 6f 72 20 61 20 | 66 69 6c 65 20 66 61 78 |y for a |file fax|
|00005a00| 2e 61 6c 69 61 73 65 73 | 2e 20 54 68 69 73 20 66 |.aliases|. This f|
|00005a10| 69 6c 65 20 63 6f 6e 74 | 61 69 6e 73 0a 58 61 20 |ile cont|ains.Xa |
|00005a20| 6c 69 73 74 20 6f 66 20 | 6e 61 6d 65 73 2c 20 70 |list of |names, p|
|00005a30| 68 6f 6e 65 20 6e 75 6d | 62 65 72 73 2c 20 6f 70 |hone num|bers, op|
|00005a40| 74 69 6f 6e 61 6c 6c 79 | 20 66 74 61 6f 20 5b 66 |tionally| ftao [f|
|00005a50| 6f 72 20 74 68 65 20 61 | 74 74 65 6e 74 69 6f 6e |or the a|ttention|
|00005a60| 20 6f 66 5d 20 0a 58 73 | 74 72 69 6e 67 73 20 74 | of] .Xs|trings t|
|00005a70| 6f 20 62 65 20 70 72 65 | 70 65 6e 64 65 64 20 74 |o be pre|pended t|
|00005a80| 6f 20 65 61 63 68 20 6f | 75 74 67 6f 69 6e 67 20 |o each o|utgoing |
|00005a90| 66 61 78 2e 20 41 6e 79 | 74 68 69 6e 67 20 61 70 |fax. Any|thing ap|
|00005aa0| 70 65 61 72 69 6e 67 20 | 61 66 74 65 72 20 61 20 |pearing |after a |
|00005ab0| 23 20 0a 58 73 69 67 6e | 20 69 73 20 74 72 65 61 |# .Xsign| is trea|
|00005ac0| 74 65 64 20 61 73 20 61 | 20 63 6f 6d 6d 65 6e 74 |ted as a| comment|
|00005ad0| 2e 0a 58 2e 73 70 0a 58 | 41 20 73 61 6d 70 6c 65 |..X.sp.X|A sample|
|00005ae0| 20 66 61 78 2e 61 6c 69 | 61 73 65 73 20 66 69 6c | fax.ali|ases fil|
|00005af0| 65 20 6d 69 67 68 74 20 | 6c 6f 6f 6b 3a 0a 58 2e |e might |look:.X.|
|00005b00| 73 70 0a 58 2e 6e 66 0a | 58 66 72 65 64 09 31 32 |sp.X.nf.|Xfred.12|
|00005b10| 33 34 35 36 37 38 09 3a | 46 6f 72 20 74 68 65 20 |345678.:|For the |
|00005b20| 61 74 74 6e 20 6f 66 20 | 46 72 65 64 20 42 6c 6f |attn of |Fred Blo|
|00005b30| 67 67 73 20 09 23 20 63 | 6f 6d 6d 65 6e 74 0a 58 |ggs .# c|omment.X|
|00005b40| 62 69 6c 6c 09 39 38 37 | 36 35 0a 58 73 75 65 09 |bill.987|65.Xsue.|
|00005b50| 37 36 35 34 33 32 33 38 | 39 09 3a 54 68 65 20 4c |76543238|9.:The L|
|00005b60| 61 64 79 20 69 6e 20 50 | 69 6e 6b 20 09 09 09 23 |ady in P|ink ...#|
|00005b70| 20 61 6e 6f 74 68 65 72 | 20 63 6f 6d 6d 65 6e 74 | another| comment|
|00005b80| 0a 58 2e 66 69 0a 58 2e | 53 48 20 4c 49 53 54 53 |.X.fi.X.|SH LISTS|
|00005b90| 0a 58 49 66 20 61 6e 20 | 61 6c 69 61 73 20 69 73 |.XIf an |alias is|
|00005ba0| 20 6e 6f 74 20 66 6f 75 | 6e 64 20 69 6e 20 66 61 | not fou|nd in fa|
|00005bb0| 78 2e 61 6c 69 61 73 65 | 73 2c 20 66 61 78 20 74 |x.aliase|s, fax t|
|00005bc0| 72 69 65 73 20 74 6f 20 | 6f 70 65 6e 20 61 20 64 |ries to |open a d|
|00005bd0| 69 73 74 72 69 62 75 74 | 69 6f 6e 0a 58 6c 69 73 |istribut|ion.Xlis|
|00005be0| 74 20 77 69 74 68 20 74 | 68 65 20 73 61 6d 65 20 |t with t|he same |
|00005bf0| 6e 61 6d 65 2e 20 44 69 | 73 74 72 69 62 75 74 69 |name. Di|stributi|
|00005c00| 6f 6e 20 6c 69 73 74 73 | 20 61 72 65 20 73 69 6d |on lists| are sim|
|00005c10| 69 6c 61 72 20 74 6f 20 | 61 6c 69 61 73 20 66 69 |ilar to |alias fi|
|00005c20| 6c 65 73 2e 0a 58 41 20 | 73 61 6d 70 6c 65 20 64 |les..XA |sample d|
|00005c30| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 6c 69 73 74 |istribut|ion list|
|00005c40| 20 6d 69 67 68 74 20 6c | 6f 6f 6b 3a 0a 58 2e 73 | might l|ook:.X.s|
|00005c50| 70 0a 58 2e 6e 66 0a 58 | 31 32 33 34 35 36 37 38 |p.X.nf.X|12345678|
|00005c60| 09 3a 46 6f 72 20 74 68 | 65 20 61 74 74 6e 20 6f |.:For th|e attn o|
|00005c70| 66 20 46 72 65 64 20 42 | 6c 6f 67 67 73 20 09 23 |f Fred B|loggs .#|
|00005c80| 20 63 6f 6d 6d 65 6e 74 | 0a 58 39 38 37 36 35 0a | comment|.X98765.|
|00005c90| 58 37 36 35 34 33 32 33 | 38 39 09 3a 54 68 65 20 |X7654323|89.:The |
|00005ca0| 4c 61 64 79 20 69 6e 20 | 50 69 6e 6b 20 09 09 09 |Lady in |Pink ...|
|00005cb0| 23 20 61 6e 6f 74 68 65 | 72 20 63 6f 6d 6d 65 6e |# anothe|r commen|
|00005cc0| 74 0a 58 2e 66 69 0a 58 | 2e 53 48 20 49 4e 54 45 |t.X.fi.X|.SH INTE|
|00005cd0| 52 41 43 54 49 56 45 20 | 55 53 45 0a 58 49 66 20 |RACTIVE |USE.XIf |
|00005ce0| 66 61 78 20 69 73 20 6e | 6f 74 20 67 69 76 65 6e |fax is n|ot given|
|00005cf0| 20 61 20 66 69 6c 65 20 | 6e 61 6d 65 20 6f 6e 20 | a file |name on |
|00005d00| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00005d10| 2c 20 69 74 20 72 65 61 | 64 73 20 0a 58 69 74 27 |, it rea|ds .Xit'|
|00005d20| 73 20 73 74 61 6e 64 61 | 72 64 20 69 6e 70 75 74 |s standa|rd input|
|00005d30| 20 75 6e 74 69 6c 20 61 | 20 6c 69 6e 65 20 73 74 | until a| line st|
|00005d40| 61 72 74 69 6e 67 20 77 | 69 74 68 20 61 20 27 2e |arting w|ith a '.|
|00005d50| 27 20 69 73 20 65 6e 63 | 6f 75 6e 74 65 72 65 64 |' is enc|ountered|
|00005d60| 2c 0a 58 6f 72 20 75 6e | 74 69 6c 20 45 4f 46 2e |,.Xor un|til EOF.|
|00005d70| 0a 58 2e 73 70 0a 58 45 | 6e 74 65 72 69 6e 67 20 |.X.sp.XE|ntering |
|00005d80| 6f 66 20 61 20 66 61 78 | 20 63 61 6e 20 62 65 20 |of a fax| can be |
|00005d90| 61 62 6f 72 74 65 64 20 | 62 79 20 68 69 74 74 69 |aborted |by hitti|
|00005da0| 6e 67 20 5e 43 2e 20 45 | 6e 74 65 72 69 6e 67 20 |ng ^C. E|ntering |
|00005db0| 7e 76 20 61 74 20 74 68 | 65 20 62 65 67 69 6e 6e |~v at th|e beginn|
|00005dc0| 69 6e 67 20 6f 66 0a 58 | 61 20 6c 69 6e 65 20 63 |ing of.X|a line c|
|00005dd0| 61 6c 6c 73 20 74 68 65 | 20 64 65 66 61 75 6c 74 |alls the| default|
|00005de0| 20 65 64 69 74 6f 72 2c | 20 69 66 20 73 70 65 63 | editor,| if spec|
|00005df0| 69 66 69 65 64 20 62 79 | 20 74 68 65 20 65 6e 76 |ified by| the env|
|00005e00| 69 72 6f 6e 6d 65 6e 74 | 20 76 61 72 69 61 62 6c |ironment| variabl|
|00005e10| 65 0a 58 45 44 49 54 4f | 52 2c 20 6f 72 20 2f 75 |e.XEDITO|R, or /u|
|00005e20| 73 72 2f 75 63 62 2f 76 | 69 2e 0a 58 2e 73 70 0a |sr/ucb/v|i..X.sp.|
|00005e30| 58 53 74 61 72 74 69 6e | 67 20 61 20 6c 69 6e 65 |XStartin|g a line|
|00005e40| 20 77 69 74 68 20 7e 70 | 20 70 72 69 6e 74 73 20 | with ~p| prints |
|00005e50| 74 68 65 20 6d 65 73 73 | 61 67 65 20 65 6e 74 65 |the mess|age ente|
|00005e60| 72 65 64 20 74 6f 20 66 | 61 72 2e 0a 58 2e 53 48 |red to f|ar..X.SH|
|00005e70| 20 41 55 54 48 4f 52 0a | 58 4b 6c 61 75 73 20 53 | AUTHOR.|XKlaus S|
|00005e80| 63 68 61 6c 6c 68 6f 72 | 6e 0a 58 2e 53 48 20 43 |challhor|n.X.SH C|
|00005e90| 4f 50 59 52 49 47 48 54 | 0a 58 43 6f 70 79 72 69 |OPYRIGHT|.XCopyri|
|00005ea0| 67 68 74 20 28 43 29 20 | 31 39 39 31 20 4b 6c 61 |ght (C) |1991 Kla|
|00005eb0| 75 73 20 53 63 68 61 6c | 6c 68 6f 72 6e 2c 20 6b |us Schal|lhorn, k|
|00005ec0| 6c 61 75 73 40 63 6e 69 | 78 2e 75 75 63 70 0a 58 |laus@cni|x.uucp.X|
|00005ed0| 2e 73 70 0a 58 50 65 72 | 6d 69 73 73 69 6f 6e 20 |.sp.XPer|mission |
|00005ee0| 74 6f 20 75 73 65 2c 20 | 63 6f 70 79 2c 20 6d 6f |to use, |copy, mo|
|00005ef0| 64 69 66 79 2c 20 61 6e | 64 20 64 69 73 74 72 69 |dify, an|d distri|
|00005f00| 62 75 74 65 20 74 68 69 | 73 20 73 6f 66 74 77 61 |bute thi|s softwa|
|00005f10| 72 65 20 61 6e 64 20 69 | 74 73 0a 58 64 6f 63 75 |re and i|ts.Xdocu|
|00005f20| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 20 61 6e |mentatio|n for an|
|00005f30| 79 20 70 75 72 70 6f 73 | 65 20 61 6e 64 20 77 69 |y purpos|e and wi|
|00005f40| 74 68 6f 75 74 20 66 65 | 65 20 69 73 20 68 65 72 |thout fe|e is her|
|00005f50| 65 62 79 20 67 72 61 6e | 74 65 64 2c 20 70 72 6f |eby gran|ted, pro|
|00005f60| 76 69 64 65 64 0a 58 74 | 68 61 74 20 74 68 65 20 |vided.Xt|hat the |
|00005f70| 61 62 6f 76 65 20 63 6f | 70 79 72 69 67 68 74 20 |above co|pyright |
|00005f80| 6e 6f 74 69 63 65 20 61 | 70 70 65 61 72 20 69 6e |notice a|ppear in|
|00005f90| 20 61 6c 6c 20 63 6f 70 | 69 65 73 20 61 6e 64 20 | all cop|ies and |
|00005fa0| 74 68 61 74 20 62 6f 74 | 68 20 74 68 61 74 0a 58 |that bot|h that.X|
|00005fb0| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|00005fc0| 20 61 6e 64 20 74 68 69 | 73 20 70 65 72 6d 69 73 | and thi|s permis|
|00005fd0| 73 69 6f 6e 20 6e 6f 74 | 69 63 65 20 61 70 70 65 |sion not|ice appe|
|00005fe0| 61 72 20 69 6e 20 73 75 | 70 70 6f 72 74 69 6e 67 |ar in su|pporting|
|00005ff0| 0a 58 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 2e |.Xdocume|ntation.|
|00006000| 20 20 54 68 69 73 20 73 | 6f 66 74 77 61 72 65 20 | This s|oftware |
|00006010| 69 73 20 70 72 6f 76 69 | 64 65 64 20 22 61 73 20 |is provi|ded "as |
|00006020| 69 73 22 20 77 69 74 68 | 6f 75 74 20 65 78 70 72 |is" with|out expr|
|00006030| 65 73 73 20 6f 72 0a 58 | 69 6d 70 6c 69 65 64 20 |ess or.X|implied |
|00006040| 77 61 72 72 61 6e 74 79 | 2e 0a 58 45 4f 54 0a 58 |warranty|..XEOT.X|
|00006050| 0a 58 65 63 68 6f 09 22 | 77 72 69 74 69 6e 67 20 |.Xecho."|writing |
|00006060| 4d 61 6b 65 66 69 6c 65 | 73 22 0a 58 0a 58 63 61 |Makefile|s".X.Xca|
|00006070| 74 09 3e 4d 61 6b 65 66 | 69 6c 65 20 3c 3c 45 4f |t.>Makef|ile <<EO|
|00006080| 54 0a 58 23 20 4d 61 6b | 65 66 69 6c 65 20 66 6f |T.X# Mak|efile fo|
|00006090| 72 20 66 61 78 70 61 6b | 0a 58 23 0a 58 23 20 43 |r faxpak|.X#.X# C|
|000060a0| 6f 70 79 72 69 67 68 74 | 20 28 43 29 20 31 39 39 |opyright| (C) 199|
|000060b0| 31 20 6b 6c 61 75 73 20 | 73 63 68 61 6c 6c 68 6f |1 klaus |schallho|
|000060c0| 72 6e 2c 20 6b 6c 61 75 | 73 40 63 6e 69 78 2e 75 |rn, klau|s@cnix.u|
|000060d0| 75 63 70 0a 58 23 0a 58 | 43 43 20 3d 09 09 63 63 |ucp.X#.X|CC =..cc|
|000060e0| 0a 58 43 46 4c 41 47 53 | 20 3d 09 2d 4f 32 0a 58 |.XCFLAGS| =.-O2.X|
|000060f0| 4c 44 46 4c 41 47 53 20 | 3d 09 2d 73 0a 58 0a 58 |LDFLAGS |=.-s.X.X|
|00006100| 46 41 58 4c 49 42 20 3d | 09 24 66 61 78 6c 69 62 |FAXLIB =|.$faxlib|
|00006110| 0a 58 46 41 58 46 4d 4f | 44 45 20 3d 09 24 66 61 |.XFAXFMO|DE =.$fa|
|00006120| 78 66 6d 6f 64 65 0a 58 | 4c 4f 43 41 4c 42 49 4e |xfmode.X|LOCALBIN|
|00006130| 20 3d 09 24 6c 6f 63 61 | 6c 62 69 6e 0a 58 4d 41 | =.$loca|lbin.XMA|
|00006140| 4e 53 48 45 4c 46 20 3d | 09 24 6d 61 6e 73 68 65 |NSHELF =|.$manshe|
|00006150| 6c 66 0a 58 0a 58 53 48 | 45 4c 4c 20 3d 09 09 2f |lf.X.XSH|ELL =../|
|00006160| 62 69 6e 2f 73 68 0a 58 | 0a 58 53 55 42 53 20 3d |bin/sh.X|.XSUBS =|
|00006170| 09 09 66 61 78 63 6c 69 | 65 6e 74 20 66 61 78 68 |..faxcli|ent faxh|
|00006180| 6f 73 74 20 66 61 78 68 | 6f 73 74 2f 66 61 78 66 |ost faxh|ost/faxf|
|00006190| 6f 6e 74 73 0a 58 0a 58 | 0a 58 61 6c 6c 3a 0a 58 |onts.X.X|.Xall:.X|
|000061a0| 09 66 6f 72 20 69 20 69 | 6e 20 5c 24 28 53 55 42 |.for i i|n \$(SUB|
|000061b0| 53 29 20 3b 20 64 6f 20 | 5c 0a 58 09 09 28 20 63 |S) ; do |\.X..( c|
|000061c0| 64 20 5c 24 5c 24 69 20 | 3b 20 6d 61 6b 65 20 5c |d \$\$i |; make \|
|000061d0| 24 28 4d 46 4c 41 47 53 | 29 20 27 43 43 3d 5c 24 |$(MFLAGS|) 'CC=\$|
|000061e0| 28 43 43 29 27 20 27 43 | 46 4c 41 47 53 3d 5c 24 |(CC)' 'C|FLAGS=\$|
|000061f0| 28 43 46 4c 41 47 53 29 | 27 20 27 4c 44 46 4c 41 |(CFLAGS)|' 'LDFLA|
|00006200| 47 53 3d 5c 24 28 4c 44 | 46 4c 41 47 53 29 27 20 |GS=\$(LD|FLAGS)' |
|00006210| 61 6c 6c 20 29 3b 20 5c | 0a 58 09 64 6f 6e 65 0a |all ); \|.X.done.|
|00006220| 58 0a 58 69 6e 73 74 61 | 6c 6c 3a 0a 58 09 66 6f |X.Xinsta|ll:.X.fo|
|00006230| 72 20 69 20 69 6e 20 5c | 24 28 53 55 42 53 29 20 |r i in \|$(SUBS) |
|00006240| 3b 20 64 6f 20 5c 0a 58 | 09 09 28 20 63 64 20 5c |; do \.X|..( cd \|
|00006250| 24 5c 24 69 20 3b 20 6d | 61 6b 65 20 5c 24 28 4d |$\$i ; m|ake \$(M|
|00006260| 46 4c 41 47 53 29 20 27 | 4c 4f 43 41 4c 42 49 4e |FLAGS) '|LOCALBIN|
|00006270| 3d 5c 24 28 4c 4f 43 41 | 4c 42 49 4e 29 27 20 27 |=\$(LOCA|LBIN)' '|
|00006280| 4d 41 4e 53 48 45 4c 46 | 3d 5c 24 28 4d 41 4e 53 |MANSHELF|=\$(MANS|
|00006290| 48 45 4c 46 29 27 20 27 | 46 41 58 4c 49 42 3d 5c |HELF)' '|FAXLIB=\|
|000062a0| 24 28 46 41 58 4c 49 42 | 29 27 20 27 46 41 58 46 |$(FAXLIB|)' 'FAXF|
|000062b0| 4d 4f 44 45 3d 5c 24 28 | 46 41 58 46 4d 4f 44 45 |MODE=\$(|FAXFMODE|
|000062c0| 29 27 20 69 6e 73 74 61 | 6c 6c 20 29 3b 20 5c 0a |)' insta|ll ); \.|
|000062d0| 58 09 64 6f 6e 65 0a 58 | 0a 58 63 6c 65 61 6e 3a |X.done.X|.Xclean:|
|000062e0| 0a 58 09 2d 72 6d 20 2d | 66 20 50 61 72 74 3f 3f |.X.-rm -|f Part??|
|000062f0| 20 2a 2e 68 64 72 20 66 | 61 78 2e 63 6f 6e 66 69 | *.hdr f|ax.confi|
|00006300| 67 0a 58 09 66 6f 72 20 | 69 20 69 6e 20 5c 24 28 |g.X.for |i in \$(|
|00006310| 53 55 42 53 29 20 3b 20 | 64 6f 20 5c 0a 58 09 20 |SUBS) ; |do \.X. |
|00006320| 20 20 20 28 20 63 64 20 | 5c 24 5c 24 69 20 3b 20 | ( cd |\$\$i ; |
|00006330| 6d 61 6b 65 20 5c 24 28 | 4d 46 4c 41 47 53 29 20 |make \$(|MFLAGS) |
|00006340| 63 6c 65 61 6e 20 29 3b | 20 5c 0a 58 09 64 6f 6e |clean );| \.X.don|
|00006350| 65 0a 58 0a 58 45 4f 54 | 0a 58 0a 58 63 61 74 09 |e.X.XEOT|.X.Xcat.|
|00006360| 3e 66 61 78 63 6c 69 65 | 6e 74 2f 4d 61 6b 65 66 |>faxclie|nt/Makef|
|00006370| 69 6c 65 20 3c 3c 45 4f | 54 0a 58 23 20 4d 61 6b |ile <<EO|T.X# Mak|
|00006380| 65 66 69 6c 65 20 66 6f | 72 20 66 61 78 63 6c 69 |efile fo|r faxcli|
|00006390| 65 6e 74 0a 58 0a 58 61 | 6c 6c 3a 09 09 66 61 78 |ent.X.Xa|ll:..fax|
|000063a0| 0a 58 0a 58 66 61 78 3a | 09 09 66 61 78 2e 6f 0a |.X.Xfax:|..fax.o.|
|000063b0| 58 09 09 63 63 20 2d 6f | 20 66 61 78 20 5c 24 28 |X..cc -o| fax \$(|
|000063c0| 4c 44 46 4c 41 47 53 29 | 20 66 61 78 2e 6f 0a 58 |LDFLAGS)| fax.o.X|
|000063d0| 0a 58 66 61 78 2e 6f 3a | 09 09 66 61 78 2e 63 0a |.Xfax.o:|..fax.c.|
|000063e0| 58 09 09 63 63 20 5c 24 | 28 43 46 4c 41 47 53 29 |X..cc \$|(CFLAGS)|
|000063f0| 20 2d 63 20 66 61 78 2e | 63 0a 58 0a 58 69 6e 73 | -c fax.|c.X.Xins|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.