home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: dialsmpl
Confidence | Program | Detection | Match Type | Support
|
---|
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| 46 72 6f 6d 3a 20 22 4f | 6c 69 76 65 72 20 4c 61 |From: "O|liver La|
|00000010| 75 6d 61 6e 6e 22 20 3c | 73 65 69 73 6d 6f 21 75 |umann" <|seismo!u|
|00000020| 6e 69 64 6f 21 74 75 62 | 21 6e 65 74 3e 0a 53 75 |nido!tub|!net>.Su|
|00000030| 62 6a 65 63 74 3a 20 45 | 78 61 6d 70 6c 65 20 64 |bject: E|xample d|
|00000040| 69 61 6c 20 73 63 72 69 | 70 74 2e 0a 4e 65 77 73 |ial scri|pt..News|
|00000050| 67 72 6f 75 70 73 3a 20 | 6d 6f 64 2e 73 6f 75 72 |groups: |mod.sour|
|00000060| 63 65 73 0a 41 70 70 72 | 6f 76 65 64 3a 20 6a 70 |ces.Appr|oved: jp|
|00000070| 6e 40 70 61 6e 64 61 2e | 55 55 43 50 0a 0a 4d 6f |n@panda.|UUCP..Mo|
|00000080| 64 2e 73 6f 75 72 63 65 | 73 3a 20 20 56 6f 6c 75 |d.source|s: Volu|
|00000090| 6d 65 20 33 2c 20 49 73 | 73 75 65 20 31 32 33 0a |me 3, Is|sue 123.|
|000000a0| 53 75 62 6d 69 74 74 65 | 64 20 62 79 3a 20 22 4f |Submitte|d by: "O|
|000000b0| 6c 69 76 65 72 20 4c 61 | 75 6d 61 6e 6e 22 20 3c |liver La|umann" <|
|000000c0| 73 65 69 73 6d 6f 21 75 | 6e 69 64 6f 21 74 75 62 |seismo!u|nido!tub|
|000000d0| 21 6e 65 74 3e 0a 0a 0a | 49 20 66 6f 72 67 6f 74 |!net>...|I forgot|
|000000e0| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 74 68 65 20 | to incl|ude the |
|000000f0| 73 61 6d 70 6c 65 20 64 | 69 61 6c 20 73 63 72 69 |sample d|ial scri|
|00000100| 70 74 20 69 6e 20 74 68 | 65 20 64 69 61 6c 20 64 |pt in th|e dial d|
|00000110| 69 73 74 72 69 62 75 74 | 69 6f 6e 2e 0a 49 27 6d |istribut|ion..I'm|
|00000120| 20 73 6f 72 72 79 20 61 | 62 6f 75 74 20 74 68 61 | sorry a|bout tha|
|00000130| 74 2e 20 20 48 65 72 65 | 20 69 74 20 63 6f 6d 65 |t. Here| it come|
|00000140| 73 3a 0a 2d 2d 0a 4f 6c | 69 76 65 72 20 4c 61 75 |s:.--.Ol|iver Lau|
|00000150| 6d 61 6e 6e 20 20 20 20 | 20 20 20 20 20 20 20 20 |mann | |
|00000160| 6e 65 74 40 44 42 30 54 | 55 49 36 2e 42 49 54 4e |net@DB0T|UI6.BITN|
|00000170| 45 54 20 20 20 20 20 20 | 20 20 20 20 20 20 6e 65 |ET | ne|
|00000180| 74 40 74 75 62 2e 55 55 | 43 50 0a 0a 2d 2d 2d 2d |t@tub.UU|CP..----|
|00000190| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 63 75 |--------|------cu|
|000001a0| 74 20 68 65 72 65 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |t here--|--------|
|000001b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 23 |--------|------.#|
|000001c0| 21 20 2f 62 69 6e 2f 73 | 68 0a 23 20 54 68 69 73 |! /bin/s|h.# This|
|000001d0| 20 69 73 20 61 20 73 68 | 65 6c 6c 20 61 72 63 68 | is a sh|ell arch|
|000001e0| 69 76 65 2c 20 6d 65 61 | 6e 69 6e 67 3a 0a 23 20 |ive, mea|ning:.# |
|000001f0| 31 2e 20 52 65 6d 6f 76 | 65 20 65 76 65 72 79 74 |1. Remov|e everyt|
|00000200| 68 69 6e 67 20 61 62 6f | 76 65 20 74 68 65 20 23 |hing abo|ve the #|
|00000210| 21 20 2f 62 69 6e 2f 73 | 68 20 6c 69 6e 65 2e 0a |! /bin/s|h line..|
|00000220| 23 20 32 2e 20 53 61 76 | 65 20 74 68 65 20 72 65 |# 2. Sav|e the re|
|00000230| 73 75 6c 74 69 6e 67 20 | 74 65 78 74 20 69 6e 20 |sulting |text in |
|00000240| 61 20 66 69 6c 65 2e 0a | 23 20 33 2e 20 45 78 65 |a file..|# 3. Exe|
|00000250| 63 75 74 65 20 74 68 65 | 20 66 69 6c 65 20 77 69 |cute the| file wi|
|00000260| 74 68 20 2f 62 69 6e 2f | 73 68 20 28 6e 6f 74 20 |th /bin/|sh (not |
|00000270| 63 73 68 29 20 74 6f 20 | 63 72 65 61 74 65 20 74 |csh) to |create t|
|00000280| 68 65 20 66 69 6c 65 73 | 3a 0a 23 09 65 78 61 6d |he files|:.#.exam|
|00000290| 70 6c 65 0a 23 20 54 68 | 69 73 20 61 72 63 68 69 |ple.# Th|is archi|
|000002a0| 76 65 20 63 72 65 61 74 | 65 64 3a 20 57 65 64 20 |ve creat|ed: Wed |
|000002b0| 46 65 62 20 31 32 20 31 | 33 3a 31 34 3a 32 38 20 |Feb 12 1|3:14:28 |
|000002c0| 31 39 38 36 0a 65 78 70 | 6f 72 74 20 50 41 54 48 |1986.exp|ort PATH|
|000002d0| 3b 20 50 41 54 48 3d 2f | 62 69 6e 3a 24 50 41 54 |; PATH=/|bin:$PAT|
|000002e0| 48 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 65 78 74 |H.echo s|har: ext|
|000002f0| 72 61 63 74 69 6e 67 20 | 22 27 65 78 61 6d 70 6c |racting |"'exampl|
|00000300| 65 27 22 20 27 28 32 33 | 38 36 20 63 68 61 72 61 |e'" '(23|86 chara|
|00000310| 63 74 65 72 73 29 27 0a | 69 66 20 74 65 73 74 20 |cters)'.|if test |
|00000320| 2d 66 20 27 65 78 61 6d | 70 6c 65 27 0a 74 68 65 |-f 'exam|ple'.the|
|00000330| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 77 69 |n..echo |shar: wi|
|00000340| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|00000350| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00000360| 22 27 65 78 61 6d 70 6c | 65 27 22 0a 65 6c 73 65 |"'exampl|e'".else|
|00000370| 0a 63 61 74 20 3c 3c 20 | 5c 53 48 41 52 5f 45 4f |.cat << |\SHAR_EO|
|00000380| 46 20 3e 20 27 65 78 61 | 6d 70 6c 65 27 0a 23 20 |F > 'exa|mple'.# |
|00000390| 45 78 61 6d 70 6c 65 20 | 66 6f 72 20 61 20 64 69 |Example |for a di|
|000003a0| 61 6c 20 73 63 72 69 70 | 74 2e 0a 23 0a 23 20 43 |al scrip|t..#.# C|
|000003b0| 6f 6e 6e 65 63 74 20 74 | 6f 20 61 20 72 65 6d 6f |onnect t|o a remo|
|000003c0| 74 65 20 55 4e 49 58 20 | 6d 61 63 68 69 6e 65 20 |te UNIX |machine |
|000003d0| 74 68 72 6f 75 67 68 20 | 61 20 50 41 42 58 20 61 |through |a PABX a|
|000003e0| 6e 64 20 6f 62 74 61 69 | 6e 20 63 65 72 74 61 69 |nd obtai|n certai|
|000003f0| 6e 0a 23 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |n.# info|rmation |
|00000400| 66 72 6f 6d 20 61 20 73 | 65 72 76 65 72 20 61 63 |from a s|erver ac|
|00000410| 63 6f 75 6e 74 20 28 60 | 71 6f 6d 6e 65 77 73 27 |count (`|qomnews'|
|00000420| 29 20 6f 6e 20 74 68 69 | 73 20 6d 61 63 68 69 6e |) on thi|s machin|
|00000430| 65 2e 0a 23 20 54 68 65 | 20 6c 69 6e 65 20 74 68 |e..# The| line th|
|00000440| 72 6f 75 67 68 20 77 68 | 69 63 68 20 74 68 65 20 |rough wh|ich the |
|00000450| 50 41 42 58 20 63 61 6e | 20 62 65 20 61 63 63 65 |PABX can| be acce|
|00000460| 73 73 65 64 20 69 73 20 | 64 65 66 69 6e 65 64 20 |ssed is |defined |
|00000470| 69 6e 0a 23 20 2f 65 74 | 63 2f 72 65 6d 6f 74 65 |in.# /et|c/remote|
|00000480| 20 75 6e 64 65 72 20 74 | 68 65 20 6e 61 6d 65 20 | under t|he name |
|00000490| 60 70 61 62 78 27 2c 20 | 74 68 75 73 2e 2e 2e 0a |`pabx', |thus....|
|000004a0| 0a 6c 69 6e 65 3d 70 61 | 62 78 0a 0a 23 20 49 66 |.line=pa|bx..# If|
|000004b0| 20 74 68 65 20 50 41 42 | 58 20 72 65 63 65 69 76 | the PAB|X receiv|
|000004c0| 65 73 20 5e 41 5e 42 2b | 2c 20 69 74 20 72 65 73 |es ^A^B+|, it res|
|000004d0| 70 6f 6e 64 73 20 77 69 | 74 68 20 44 2b 20 69 6e |ponds wi|th D+ in|
|000004e0| 64 69 63 61 74 69 6e 67 | 20 74 68 61 74 0a 23 20 |dicating| that.# |
|000004f0| 69 74 20 69 73 20 72 65 | 61 64 79 20 74 6f 20 61 |it is re|ady to a|
|00000500| 63 63 65 70 74 20 61 20 | 70 68 6f 6e 65 20 6e 75 |ccept a |phone nu|
|00000510| 6d 62 65 72 2e 0a 23 20 | 44 75 65 20 74 6f 20 61 |mber..# |Due to a|
|00000520| 20 62 75 67 20 69 6e 20 | 74 68 65 20 50 41 42 58 | bug in |the PABX|
|00000530| 20 73 6f 66 74 77 61 72 | 65 2c 20 69 74 20 73 6f | softwar|e, it so|
|00000540| 6d 65 74 69 6d 65 73 20 | 72 65 73 70 6f 6e 64 73 |metimes |responds|
|00000550| 20 77 69 74 68 0a 23 20 | 74 77 6f 20 62 65 65 70 | with.# |two beep|
|00000560| 73 3b 20 49 6e 20 74 68 | 69 73 20 63 61 73 65 2c |s; In th|is case,|
|00000570| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 74 68 69 6e | there i|s nothin|
|00000580| 67 20 77 65 20 63 61 6e | 20 64 6f 20 65 78 65 70 |g we can| do exep|
|00000590| 74 20 71 75 69 74 0a 23 | 20 61 6e 64 20 66 69 78 |t quit.#| and fix|
|000005a0| 20 69 74 20 62 79 20 68 | 61 6e 64 2e 2e 2e 0a 0a | it by h|and.....|
|000005b0| 70 72 6f 6c 6f 67 20 5c | 31 5c 32 2b 20 31 0a 20 |prolog \|1\2+ 1. |
|000005c0| 20 20 20 64 69 61 6c 20 | 20 44 2b 0a 20 20 20 20 | dial | D+. |
|000005d0| 65 78 69 74 20 20 5c 37 | 5c 37 20 20 22 47 6f 20 |exit \7|\7 "Go |
|000005e0| 62 75 79 20 61 20 6e 65 | 77 20 50 41 42 58 21 5c |buy a ne|w PABX!\|
|000005f0| 6e 22 0a 20 20 20 20 65 | 78 69 74 20 20 23 20 20 |n". e|xit # |
|00000600| 20 20 20 22 4e 6f 20 72 | 65 73 70 6f 6e 73 65 20 | "No r|esponse |
|00000610| 66 72 6f 6d 20 50 41 42 | 58 2e 5c 6e 22 0a 0a 23 |from PAB|X.\n"..#|
|00000620| 20 53 65 6e 64 20 74 68 | 65 20 70 68 6f 6e 65 20 | Send th|e phone |
|00000630| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 72 65 |number o|f the re|
|00000640| 6d 6f 74 65 20 55 4e 49 | 58 20 6d 61 63 68 69 6e |mote UNI|X machin|
|00000650| 65 2e 20 20 53 6c 65 65 | 70 20 30 2e 31 20 73 65 |e. Slee|p 0.1 se|
|00000660| 63 6f 6e 64 73 0a 23 20 | 62 65 66 6f 72 65 20 61 |conds.# |before a|
|00000670| 63 74 75 61 6c 6c 79 20 | 74 72 61 6e 73 6d 69 74 |ctually |transmit|
|00000680| 74 69 6e 67 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |ting the| number |
|00000690| 28 6f 74 68 65 72 77 69 | 73 65 20 74 68 65 20 50 |(otherwi|se the P|
|000006a0| 41 42 58 20 67 65 74 73 | 20 61 6e 67 72 79 29 2e |ABX gets| angry).|
|000006b0| 0a 23 20 49 66 20 77 65 | 20 72 65 63 65 69 76 65 |.# If we| receive|
|000006c0| 20 61 20 56 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 | a V fol|lowed by|
|000006d0| 20 61 20 74 68 72 65 65 | 2d 64 69 67 69 74 20 6e | a three|-digit n|
|000006e0| 75 6d 62 65 72 20 61 6e | 64 20 61 20 70 6c 75 73 |umber an|d a plus|
|000006f0| 20 73 69 67 6e 2c 0a 23 | 20 74 68 65 20 63 6f 6e | sign,.#| the con|
|00000700| 6e 65 63 74 69 6f 6e 20 | 68 61 73 20 62 65 65 6e |nection |has been|
|00000710| 20 65 73 74 61 62 6c 69 | 73 68 65 64 20 73 75 63 | establi|shed suc|
|00000720| 63 65 73 73 66 75 6c 6c | 79 2e 20 20 53 65 76 65 |cessfull|y. Seve|
|00000730| 72 61 6c 20 72 65 73 70 | 6f 6e 73 65 73 0a 23 20 |ral resp|onses.# |
|00000740| 6f 66 20 74 68 65 20 66 | 6f 72 6d 20 3c 6c 65 74 |of the f|orm <let|
|00000750| 74 65 72 3e 2b 20 61 72 | 65 20 75 73 65 64 20 62 |ter>+ ar|e used b|
|00000760| 79 20 74 68 65 20 50 41 | 42 58 20 74 6f 20 69 6e |y the PA|BX to in|
|00000770| 64 69 63 61 74 65 20 74 | 68 61 74 20 73 6f 6d 65 |dicate t|hat some|
|00000780| 74 68 69 6e 67 0a 23 20 | 77 65 6e 74 20 77 72 6f |thing.# |went wro|
|00000790| 6e 67 3b 20 74 68 65 73 | 65 20 72 65 70 6f 6e 73 |ng; thes|e repons|
|000007a0| 65 73 20 61 72 65 20 74 | 72 61 6e 73 6c 61 74 65 |es are t|ranslate|
|000007b0| 64 20 69 6e 74 6f 20 75 | 73 65 66 75 6c 20 6d 65 |d into u|seful me|
|000007c0| 73 73 61 67 65 73 2e 0a | 0a 64 69 61 6c 20 36 31 |ssages..|.dial 61|
|000007d0| 38 5c 72 20 35 2c 2e 31 | 0a 20 20 20 20 65 78 69 |8\r 5,.1|. exi|
|000007e0| 74 20 20 42 2b 20 20 20 | 20 22 50 6f 72 74 20 62 |t B+ | "Port b|
|000007f0| 75 73 79 20 2d 2d 20 74 | 72 79 20 6c 61 74 65 72 |usy -- t|ry later|
|00000800| 2e 5c 6e 22 0a 20 20 20 | 20 65 78 69 74 20 20 4e |.\n". | exit N|
|00000810| 2b 20 20 20 20 22 4f 75 | 74 20 6f 66 20 6f 72 64 |+ "Ou|t of ord|
|00000820| 65 72 2e 5c 6e 22 0a 20 | 20 20 20 65 78 69 74 20 |er.\n". | exit |
|00000830| 20 45 2b 20 20 20 20 22 | 49 6e 76 61 6c 69 64 20 | E+ "|Invalid |
|00000840| 70 68 6f 6e 65 20 6e 75 | 6d 62 65 72 2e 5c 6e 22 |phone nu|mber.\n"|
|00000850| 0a 20 20 20 20 63 6f 6e | 6e 65 63 74 65 64 20 20 |. con|nected |
|00000860| 56 2e 2e 2e 2b 0a 20 20 | 20 20 65 78 69 74 20 20 |V...+. | exit |
|00000870| 23 20 20 20 20 20 20 22 | 43 6f 6e 6e 65 63 74 69 |# "|Connecti|
|00000880| 6f 6e 20 66 61 69 6c 65 | 64 2e 5c 6e 22 0a 0a 23 |on faile|d.\n"..#|
|00000890| 20 54 72 61 6e 73 6d 69 | 74 20 61 20 63 61 72 72 | Transmi|t a carr|
|000008a0| 69 61 67 65 20 72 65 74 | 75 72 6e 20 69 6e 20 6f |iage ret|urn in o|
|000008b0| 72 64 65 72 20 74 6f 20 | 67 65 74 20 74 68 65 20 |rder to |get the |
|000008c0| 6c 6f 67 69 6e 20 70 72 | 6f 6d 70 74 2e 0a 0a 63 |login pr|ompt...c|
|000008d0| 6f 6e 6e 65 63 74 65 64 | 20 5c 72 20 35 2c 2e 31 |onnected| \r 5,.1|
|000008e0| 0a 20 20 20 20 6c 6f 67 | 69 6e 20 22 6c 6f 67 69 |. log|in "logi|
|000008f0| 6e 3a 20 22 0a 20 20 20 | 20 65 78 69 74 20 20 23 |n: ". | exit #|
|00000900| 20 20 20 20 20 20 22 4c | 6f 67 69 6e 20 66 61 69 | "L|ogin fai|
|00000910| 6c 65 64 2e 5c 6e 22 0a | 0a 23 20 4c 6f 67 69 6e |led.\n".|.# Login|
|00000920| 20 61 74 20 74 68 65 20 | 72 65 6d 6f 74 65 20 6d | at the |remote m|
|00000930| 61 63 68 69 6e 65 20 75 | 73 69 6e 67 20 74 68 65 |achine u|sing the|
|00000940| 20 6c 6f 67 69 6e 20 6e | 61 6d 65 20 60 71 6f 6d | login n|ame `qom|
|00000950| 6e 65 77 73 27 2e 0a 0a | 6c 6f 67 69 6e 20 71 6f |news'...|login qo|
|00000960| 6d 6e 65 77 73 5c 72 0a | 20 20 20 20 65 6e 74 65 |mnews\r.| ente|
|00000970| 72 20 22 6e 61 6d 65 3f | 20 22 0a 20 20 20 20 65 |r "name?| ". e|
|00000980| 78 69 74 20 20 23 20 20 | 20 20 20 20 22 51 4f 4d |xit # | "QOM|
|00000990| 20 6e 65 77 73 20 73 65 | 72 76 65 72 20 64 6f 77 | news se|rver dow|
|000009a0| 6e 2e 5c 6e 22 0a 0a 23 | 20 54 68 65 20 71 6f 6d |n.\n"..#| The qom|
|000009b0| 6e 65 77 73 20 73 65 72 | 76 65 72 20 70 72 6f 6d |news ser|ver prom|
|000009c0| 70 74 73 20 66 6f 72 20 | 61 20 75 73 65 72 20 6e |pts for |a user n|
|000009d0| 61 6d 65 2e 20 20 54 68 | 65 20 6e 61 6d 65 20 69 |ame. Th|e name i|
|000009e0| 73 20 6f 62 74 61 69 6e | 65 64 0a 23 20 66 72 6f |s obtain|ed.# fro|
|000009f0| 6d 20 74 68 65 20 66 69 | 6c 65 20 2e 71 6f 6d 69 |m the fi|le .qomi|
|00000a00| 64 20 66 72 6f 6d 20 74 | 68 65 20 63 61 6c 6c 65 |d from t|he calle|
|00000a10| 72 27 73 20 68 6f 6d 65 | 20 64 69 72 65 63 74 6f |r's home| directo|
|00000a20| 72 79 2e 0a 23 20 4e 6f | 74 65 20 74 68 61 74 20 |ry..# No|te that |
|00000a30| 61 20 74 69 6d 65 2d 6f | 75 74 20 6f 66 20 31 35 |a time-o|ut of 15|
|00000a40| 20 73 65 63 6f 6e 64 73 | 20 69 73 20 73 63 68 65 | seconds| is sche|
|00000a50| 64 75 6c 65 64 20 69 6e | 20 6f 72 64 65 72 20 74 |duled in| order t|
|00000a60| 6f 20 67 69 76 65 0a 23 | 20 74 68 65 20 73 65 72 |o give.#| the ser|
|00000a70| 76 65 72 20 61 20 72 65 | 73 6f 6e 61 62 6c 65 20 |ver a re|sonable |
|00000a80| 74 69 6d 65 20 66 6f 72 | 20 74 68 65 20 72 65 73 |time for| the res|
|00000a90| 70 6f 6e 73 65 2e 0a 23 | 20 49 66 20 61 6c 6c 20 |ponse..#| If all |
|00000aa0| 67 6f 65 73 20 77 65 6c | 6c 2c 20 74 68 65 20 73 |goes wel|l, the s|
|00000ab0| 65 72 76 65 72 20 74 72 | 61 6e 73 6d 69 74 73 20 |erver tr|ansmits |
|00000ac0| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |a number| of line|
|00000ad0| 73 20 6f 66 20 74 68 65 | 20 66 6f 72 6d 0a 23 20 |s of the| form.# |
|00000ae0| 20 20 20 59 6f 75 20 68 | 61 76 65 20 3c 6e 3e 20 | You h|ave <n> |
|00000af0| 75 6e 73 65 65 6e 20 6c | 65 74 74 65 72 73 0a 23 |unseen l|etters.#|
|00000b00| 20 20 20 20 59 6f 75 20 | 68 61 76 65 20 3c 6e 3e | You |have <n>|
|00000b10| 20 75 6e 73 65 65 6e 20 | 65 6e 74 72 69 65 73 20 | unseen |entries |
|00000b20| 69 6e 20 58 59 5a 20 20 | 20 0a 23 20 6f 72 20 73 |in XYZ | .# or s|
|00000b30| 69 6d 70 6c 79 0a 23 20 | 20 20 20 59 6f 75 20 68 |imply.# | You h|
|00000b40| 61 76 65 20 73 65 65 6e | 20 61 6c 6c 20 74 68 65 |ave seen| all the|
|00000b50| 20 6e 65 77 73 2e 0a 23 | 20 49 66 20 74 68 65 20 | news..#| If the |
|00000b60| 66 69 72 73 74 20 60 59 | 6f 75 27 20 68 61 73 20 |first `Y|ou' has |
|00000b70| 62 65 65 6e 20 72 65 63 | 65 69 76 65 64 2c 20 65 |been rec|eived, e|
|00000b80| 6e 74 65 72 20 74 68 65 | 20 60 64 61 74 61 27 20 |nter the| `data' |
|00000b90| 6c 6f 6f 70 20 62 65 6c | 6f 77 2e 0a 0a 65 6e 74 |loop bel|ow...ent|
|00000ba0| 65 72 20 22 24 7b 7e 2f | 2e 71 6f 6d 69 64 7d 22 |er "${~/|.qomid}"|
|00000bb0| 20 31 35 0a 20 20 20 20 | 64 61 74 61 20 5c 72 5c | 15. |data \r\|
|00000bc0| 6e 5c 72 5c 6e 59 6f 75 | 20 59 6f 75 0a 20 20 20 |n\r\nYou| You. |
|00000bd0| 20 65 78 69 74 20 4f 2b | 09 20 22 45 61 72 6c 79 | exit O+|. "Early|
|00000be0| 20 64 69 73 63 6f 6e 6e | 65 63 74 2e 22 0a 20 20 | disconn|ect.". |
|00000bf0| 20 20 65 78 69 74 20 23 | 20 20 20 20 20 20 20 22 | exit #| "|
|00000c00| 51 4f 4d 20 6e 65 77 73 | 20 73 65 72 76 65 72 20 |QOM news| server |
|00000c10| 69 73 20 68 75 6e 67 2e | 5c 6e 22 0a 0a 23 20 50 |is hung.|\n"..# P|
|00000c20| 72 69 6e 74 20 61 6c 6c | 20 64 61 74 61 20 72 65 |rint all| data re|
|00000c30| 63 65 69 76 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |ceived f|rom the |
|00000c40| 72 65 6d 6f 74 65 20 6d | 61 63 68 69 6e 65 20 6f |remote m|achine o|
|00000c50| 6e 20 73 74 61 6e 64 61 | 72 64 20 6f 75 74 70 75 |n standa|rd outpu|
|00000c60| 74 0a 23 20 75 6e 74 69 | 6c 20 65 69 74 68 65 72 |t.# unti|l either|
|00000c70| 20 61 20 74 69 6d 65 2d | 6f 75 74 20 6f 66 20 35 | a time-|out of 5|
|00000c80| 20 73 65 63 6f 6e 64 73 | 20 6f 63 63 75 72 73 20 | seconds| occurs |
|00000c90| 6f 72 20 74 68 65 20 64 | 69 73 63 6f 6e 6e 65 63 |or the d|isconnec|
|00000ca0| 74 20 6d 65 73 73 61 67 | 65 0a 23 20 4f 2b 20 69 |t messag|e.# O+ i|
|00000cb0| 73 20 72 65 63 65 69 76 | 65 64 2e 0a 0a 64 61 74 |s receiv|ed...dat|
|00000cc0| 61 20 22 22 20 35 0a 20 | 20 20 20 65 78 69 74 20 |a "" 5. | exit |
|00000cd0| 4f 2b 0a 20 20 20 20 64 | 61 74 61 20 2a 20 26 0a |O+. d|ata * &.|
|00000ce0| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00000cf0| 20 32 33 38 36 20 2d 6e | 65 20 22 60 77 63 20 2d | 2386 -n|e "`wc -|
|00000d00| 63 20 3c 20 27 65 78 61 | 6d 70 6c 65 27 60 22 0a |c < 'exa|mple'`".|
|00000d10| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00000d20| 20 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 | error t|ransmitt|
|00000d30| 69 6e 67 20 22 27 65 78 | 61 6d 70 6c 65 27 22 20 |ing "'ex|ample'" |
|00000d40| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00000d50| 65 6e 20 32 33 38 36 20 | 63 68 61 72 61 63 74 65 |en 2386 |characte|
|00000d60| 72 73 29 27 0a 66 69 0a | 66 69 20 23 20 65 6e 64 |rs)'.fi.|fi # end|
|00000d70| 20 6f 66 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 | of over|writing |
|00000d80| 63 68 65 63 6b 0a 23 09 | 45 6e 64 20 6f 66 20 73 |check.#.|End of s|
|00000d90| 68 65 6c 6c 20 61 72 63 | 68 69 76 65 0a 65 78 69 |hell arc|hive.exi|
|00000da0| 74 20 30 0a 0a | |t 0.. | |
+--------+-------------------------+-------------------------+--------+--------+