home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| 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, with overstriking
| 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 33 69 30 33 |Subject:| v23i03|
|00000010| 36 3a 20 20 52 75 6e 20 | 61 20 70 72 6f 67 72 61 |6: Run |a progra|
|00000020| 6d 20 75 6e 64 65 72 20 | 61 20 70 74 79 20 73 65 |m under |a pty se|
|00000030| 73 73 69 6f 6e 2c 20 50 | 61 72 74 30 36 2f 30 36 |ssion, P|art06/06|
|00000040| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000050| 70 2e 73 6f 75 72 63 65 | 73 2e 75 6e 69 78 0a 41 |p.source|s.unix.A|
|00000060| 70 70 72 6f 76 65 64 3a | 20 72 73 61 6c 7a 40 75 |pproved:| rsalz@u|
|00000070| 75 6e 65 74 2e 55 55 2e | 4e 45 54 0a 58 2d 43 68 |unet.UU.|NET.X-Ch|
|00000080| 65 63 6b 73 75 6d 2d 53 | 6e 65 66 72 75 3a 20 65 |ecksum-S|nefru: e|
|00000090| 31 63 61 63 37 62 39 20 | 34 62 35 64 33 36 33 34 |1cac7b9 |4b5d3634|
|000000a0| 20 35 32 65 61 35 37 38 | 32 20 66 64 37 34 66 38 | 52ea578|2 fd74f8|
|000000b0| 39 31 0a 0a 53 75 62 6d | 69 74 74 65 64 2d 62 79 |91..Subm|itted-by|
|000000c0| 3a 20 44 61 6e 20 42 65 | 72 6e 73 74 65 69 6e 20 |: Dan Be|rnstein |
|000000d0| 3c 62 72 6e 73 74 6e 64 | 40 6b 72 61 6d 64 65 6e |<brnstnd|@kramden|
|000000e0| 2e 61 63 66 2e 6e 79 75 | 2e 65 64 75 3e 0a 50 6f |.acf.nyu|.edu>.Po|
|000000f0| 73 74 69 6e 67 2d 6e 75 | 6d 62 65 72 3a 20 56 6f |sting-nu|mber: Vo|
|00000100| 6c 75 6d 65 20 32 33 2c | 20 49 73 73 75 65 20 33 |lume 23,| Issue 3|
|00000110| 36 0a 41 72 63 68 69 76 | 65 2d 6e 61 6d 65 3a 20 |6.Archiv|e-name: |
|00000120| 70 74 79 2f 70 61 72 74 | 30 36 0a 0a 23 21 20 2f |pty/part|06..#! /|
|00000130| 62 69 6e 2f 73 68 0a 23 | 20 54 68 69 73 20 69 73 |bin/sh.#| This is|
|00000140| 20 61 20 73 68 65 6c 6c | 20 61 72 63 68 69 76 65 | a shell| archive|
|00000150| 2e 20 20 52 65 6d 6f 76 | 65 20 61 6e 79 74 68 69 |. Remov|e anythi|
|00000160| 6e 67 20 62 65 66 6f 72 | 65 20 74 68 69 73 20 6c |ng befor|e this l|
|00000170| 69 6e 65 2c 20 74 68 65 | 6e 20 66 65 65 64 20 69 |ine, the|n feed i|
|00000180| 74 0a 23 20 69 6e 74 6f | 20 61 20 73 68 65 6c 6c |t.# into| a shell|
|00000190| 20 76 69 61 20 22 73 68 | 20 66 69 6c 65 22 20 6f | via "sh| file" o|
|000001a0| 72 20 73 69 6d 69 6c 61 | 72 2e 20 20 54 6f 20 6f |r simila|r. To o|
|000001b0| 76 65 72 77 72 69 74 65 | 20 65 78 69 73 74 69 6e |verwrite| existin|
|000001c0| 67 20 66 69 6c 65 73 2c | 0a 23 20 74 79 70 65 20 |g files,|.# type |
|000001d0| 22 73 68 20 66 69 6c 65 | 20 2d 63 22 2e 0a 23 20 |"sh file| -c"..# |
|000001e0| 54 68 65 20 74 6f 6f 6c | 20 74 68 61 74 20 67 65 |The tool| that ge|
|000001f0| 6e 65 72 61 74 65 64 20 | 74 68 69 73 20 61 70 70 |nerated |this app|
|00000200| 65 61 72 65 64 20 69 6e | 20 74 68 65 20 63 6f 6d |eared in| the com|
|00000210| 70 2e 73 6f 75 72 63 65 | 73 2e 75 6e 69 78 20 6e |p.source|s.unix n|
|00000220| 65 77 73 67 72 6f 75 70 | 3b 0a 23 20 73 65 6e 64 |ewsgroup|;.# send|
|00000230| 20 6d 61 69 6c 20 74 6f | 20 63 6f 6d 70 2d 73 6f | mail to| comp-so|
|00000240| 75 72 63 65 73 2d 75 6e | 69 78 40 75 75 6e 65 74 |urces-un|ix@uunet|
|00000250| 2e 75 75 2e 6e 65 74 20 | 69 66 20 79 6f 75 20 77 |.uu.net |if you w|
|00000260| 61 6e 74 20 74 68 61 74 | 20 74 6f 6f 6c 2e 0a 23 |ant that| tool..#|
|00000270| 20 43 6f 6e 74 65 6e 74 | 73 3a 20 20 65 72 72 2e | Content|s: err.|
|00000280| 68 20 66 69 6c 65 2e 68 | 20 66 69 6c 65 2e 68 2e |h file.h| file.h.|
|00000290| 6e 65 77 20 67 65 74 6f | 70 74 2e 68 20 6c 6f 67 |new geto|pt.h log|
|000002a0| 73 2e 68 20 6d 61 73 74 | 65 72 2e 68 20 6d 69 73 |s.h mast|er.h mis|
|000002b0| 63 2e 68 0a 23 20 20 20 | 70 61 74 63 68 2f 54 45 |c.h.# |patch/TE|
|000002c0| 4c 4e 45 54 2e 46 54 50 | 20 73 69 67 6c 65 72 2e |LNET.FTP| sigler.|
|000002d0| 68 20 73 6c 61 76 65 2e | 68 20 74 65 78 74 73 2e |h slave.|h texts.|
|000002e0| 68 20 75 74 69 6c 2f 63 | 6f 6e 64 6f 6d 0a 23 20 |h util/c|ondom.# |
|000002f0| 20 20 75 74 69 6c 2f 65 | 78 63 6c 6f 66 66 2e 31 | util/e|xcloff.1|
|00000300| 20 75 74 69 6c 2f 65 78 | 63 6c 6f 66 66 2e 63 20 | util/ex|cloff.c |
|00000310| 75 74 69 6c 2f 65 78 63 | 6c 6f 6e 2e 63 20 75 74 |util/exc|lon.c ut|
|00000320| 69 6c 2f 73 63 72 69 70 | 74 0a 23 20 20 20 75 74 |il/scrip|t.# ut|
|00000330| 69 6c 2f 73 63 72 69 70 | 74 2e 74 69 64 79 20 75 |il/scrip|t.tidy u|
|00000340| 74 69 6c 2f 73 65 73 73 | 20 75 74 69 6c 2f 74 69 |til/sess| util/ti|
|00000350| 6f 63 73 74 69 2e 31 20 | 75 74 69 6c 2f 74 69 6f |ocsti.1 |util/tio|
|00000360| 63 73 74 69 2e 63 0a 23 | 20 20 20 75 74 69 6c 2f |csti.c.#| util/|
|00000370| 74 74 79 2e 31 20 75 74 | 69 6c 2f 74 74 79 2e 63 |tty.1 ut|il/tty.c|
|00000380| 0a 23 20 57 72 61 70 70 | 65 64 20 62 79 20 72 73 |.# Wrapp|ed by rs|
|00000390| 61 6c 7a 40 6c 69 74 63 | 68 69 2e 62 62 6e 2e 63 |alz@litc|hi.bbn.c|
|000003a0| 6f 6d 20 6f 6e 20 57 65 | 64 20 4f 63 74 20 31 30 |om on We|d Oct 10|
|000003b0| 20 31 30 3a 31 31 3a 34 | 33 20 31 39 39 30 0a 50 | 10:11:4|3 1990.P|
|000003c0| 41 54 48 3d 2f 62 69 6e | 3a 2f 75 73 72 2f 62 69 |ATH=/bin|:/usr/bi|
|000003d0| 6e 3a 2f 75 73 72 2f 75 | 63 62 20 3b 20 65 78 70 |n:/usr/u|cb ; exp|
|000003e0| 6f 72 74 20 50 41 54 48 | 0a 65 63 68 6f 20 49 66 |ort PATH|.echo If|
|000003f0| 20 74 68 69 73 20 61 72 | 63 68 69 76 65 20 69 73 | this ar|chive is|
|00000400| 20 63 6f 6d 70 6c 65 74 | 65 2c 20 79 6f 75 20 77 | complet|e, you w|
|00000410| 69 6c 6c 20 73 65 65 20 | 74 68 65 20 66 6f 6c 6c |ill see |the foll|
|00000420| 6f 77 69 6e 67 20 6d 65 | 73 73 61 67 65 3a 0a 65 |owing me|ssage:.e|
|00000430| 63 68 6f 20 27 20 20 20 | 20 20 20 20 20 20 20 22 |cho ' | "|
|00000440| 73 68 61 72 3a 20 45 6e | 64 20 6f 66 20 61 72 63 |shar: En|d of arc|
|00000450| 68 69 76 65 20 36 20 28 | 6f 66 20 36 29 2e 22 27 |hive 6 (|of 6)."'|
|00000460| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 65 72 72 |.if test| -f 'err|
|00000470| 2e 68 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |.h' -a "|${1}" !=|
|00000480| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00000490| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|000004a0| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|000004b0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 65 72 72 |ting fil|e \"'err|
|000004c0| 2e 68 27 5c 22 0a 65 6c | 73 65 0a 20 20 65 63 68 |.h'\".el|se. ech|
|000004d0| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|000004e0| 6e 67 20 5c 22 27 65 72 | 72 2e 68 27 5c 22 20 5c |ng \"'er|r.h'\" \|
|000004f0| 28 33 38 35 20 63 68 61 | 72 61 63 74 65 72 73 5c |(385 cha|racters\|
|00000500| 29 0a 20 20 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |). sed |"s/^X//"|
|00000510| 20 3e 27 65 72 72 2e 68 | 27 20 3c 3c 27 45 4e 44 | >'err.h|' <<'END|
|00000520| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 2f 2a 20 43 6f |_OF_FILE|'.X/* Co|
|00000530| 70 79 72 69 67 68 74 20 | 31 39 39 30 2c 20 44 61 |pyright |1990, Da|
|00000540| 6e 69 65 6c 20 4a 2e 20 | 42 65 72 6e 73 74 65 69 |niel J. |Bernstei|
|00000550| 6e 2e 20 41 6c 6c 20 72 | 69 67 68 74 73 20 72 65 |n. All r|ights re|
|00000560| 73 65 72 76 65 64 2e 20 | 2a 2f 0a 58 0a 58 23 69 |served. |*/.X.X#i|
|00000570| 66 6e 64 65 66 20 50 54 | 59 5f 45 52 52 5f 48 0a |fndef PT|Y_ERR_H.|
|00000580| 58 23 64 65 66 69 6e 65 | 20 50 54 59 5f 45 52 52 |X#define| PTY_ERR|
|00000590| 5f 48 0a 58 0a 58 23 69 | 6e 63 6c 75 64 65 20 3c |_H.X.X#i|nclude <|
|000005a0| 65 72 72 6e 6f 2e 68 3e | 0a 58 65 78 74 65 72 6e |errno.h>|.Xextern|
|000005b0| 20 69 6e 74 20 65 72 72 | 6e 6f 3b 20 2f 2a 20 6e | int err|no; /* n|
|000005c0| 6f 74 20 61 6c 77 61 79 | 73 20 64 65 66 69 6e 65 |ot alway|s define|
|000005d0| 64 20 69 6e 20 65 72 72 | 6e 6f 2e 68 2c 20 67 72 |d in err|no.h, gr|
|000005e0| 72 72 72 20 2a 2f 0a 58 | 65 78 74 65 72 6e 20 69 |rrr */.X|extern i|
|000005f0| 6e 74 20 73 79 73 5f 6e | 65 72 72 3b 0a 58 65 78 |nt sys_n|err;.Xex|
|00000600| 74 65 72 6e 20 63 68 61 | 72 20 2a 73 79 73 5f 65 |tern cha|r *sys_e|
|00000610| 72 72 6c 69 73 74 5b 5d | 3b 0a 58 0a 58 65 78 74 |rrlist[]|;.X.Xext|
|00000620| 65 72 6e 20 76 6f 69 64 | 20 66 61 74 61 6c 28 29 |ern void| fatal()|
|00000630| 3b 0a 58 65 78 74 65 72 | 6e 20 76 6f 69 64 20 66 |;.Xexter|n void f|
|00000640| 61 74 61 6c 69 6e 66 6f | 28 29 3b 0a 58 65 78 74 |atalinfo|();.Xext|
|00000650| 65 72 6e 20 76 6f 69 64 | 20 66 61 74 61 6c 65 72 |ern void| fataler|
|00000660| 72 28 29 3b 0a 58 65 78 | 74 65 72 6e 20 76 6f 69 |r();.Xex|tern voi|
|00000670| 64 20 66 61 74 61 6c 65 | 72 72 32 70 28 29 3b 0a |d fatale|rr2p();.|
|00000680| 58 65 78 74 65 72 6e 20 | 76 6f 69 64 20 66 61 74 |Xextern |void fat|
|00000690| 61 6c 65 72 72 70 28 29 | 3b 0a 58 65 78 74 65 72 |alerrp()|;.Xexter|
|000006a0| 6e 20 76 6f 69 64 20 77 | 61 72 6e 65 72 72 32 28 |n void w|arnerr2(|
|000006b0| 29 3b 0a 58 0a 58 23 65 | 6e 64 69 66 0a 45 4e 44 |);.X.X#e|ndif.END|
|000006c0| 5f 4f 46 5f 46 49 4c 45 | 0a 20 20 69 66 20 74 65 |_OF_FILE|. if te|
|000006d0| 73 74 20 33 38 35 20 2d | 6e 65 20 60 77 63 20 2d |st 385 -|ne `wc -|
|000006e0| 63 20 3c 27 65 72 72 2e | 68 27 60 3b 20 74 68 65 |c <'err.|h'`; the|
|000006f0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00000700| 20 5c 22 27 65 72 72 2e | 68 27 5c 22 20 75 6e 70 | \"'err.|h'\" unp|
|00000710| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00000720| 20 73 69 7a 65 21 0a 20 | 20 66 69 0a 20 20 23 20 | size!. | fi. # |
|00000730| 65 6e 64 20 6f 66 20 27 | 65 72 72 2e 68 27 0a 66 |end of '|err.h'.f|
|00000740| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 66 69 |i.if tes|t -f 'fi|
|00000750| 6c 65 2e 68 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |le.h' -a| "${1}" |
|00000760| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00000770| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00000780| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00000790| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 66 |isting f|ile \"'f|
|000007a0| 69 6c 65 2e 68 27 5c 22 | 0a 65 6c 73 65 0a 20 20 |ile.h'\"|.else. |
|000007b0| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|000007c0| 63 74 69 6e 67 20 5c 22 | 27 66 69 6c 65 2e 68 27 |cting \"|'file.h'|
|000007d0| 5c 22 20 5c 28 32 32 34 | 20 63 68 61 72 61 63 74 |\" \(224| charact|
|000007e0| 65 72 73 5c 29 0a 20 20 | 73 65 64 20 22 73 2f 5e |ers\). |sed "s/^|
|000007f0| 58 2f 2f 22 20 3e 27 66 | 69 6c 65 2e 68 27 20 3c |X//" >'f|ile.h' <|
|00000800| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00000810| 2f 2a 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 |/* Copyr|ight 199|
|00000820| 30 2c 20 44 61 6e 69 65 | 6c 20 4a 2e 20 42 65 72 |0, Danie|l J. Ber|
|00000830| 6e 73 74 65 69 6e 2e 20 | 41 6c 6c 20 72 69 67 68 |nstein. |All righ|
|00000840| 74 73 20 72 65 73 65 72 | 76 65 64 2e 20 2a 2f 0a |ts reser|ved. */.|
|00000850| 58 0a 58 23 69 66 6e 64 | 65 66 20 50 54 59 5f 46 |X.X#ifnd|ef PTY_F|
|00000860| 49 4c 45 5f 48 0a 58 23 | 64 65 66 69 6e 65 20 50 |ILE_H.X#|define P|
|00000870| 54 59 5f 46 49 4c 45 5f | 48 0a 58 0a 58 23 69 6e |TY_FILE_|H.X.X#in|
|00000880| 63 6c 75 64 65 20 3c 73 | 79 73 2f 66 69 6c 65 2e |clude <s|ys/file.|
|00000890| 68 3e 0a 58 23 69 66 64 | 65 66 20 42 53 44 0a 58 |h>.X#ifd|ef BSD.X|
|000008a0| 23 69 6e 63 6c 75 64 65 | 20 3c 6c 69 6d 69 74 73 |#include| <limits|
|000008b0| 2e 68 3e 0a 58 23 65 6e | 64 69 66 0a 58 23 69 6e |.h>.X#en|dif.X#in|
|000008c0| 63 6c 75 64 65 20 3c 66 | 63 6e 74 6c 2e 68 3e 0a |clude <f|cntl.h>.|
|000008d0| 58 65 78 74 65 72 6e 20 | 6c 6f 6e 67 20 6c 73 65 |Xextern |long lse|
|000008e0| 65 6b 28 29 3b 20 2f 2a | 20 73 69 67 68 2e 20 2a |ek(); /*| sigh. *|
|000008f0| 2f 0a 58 0a 58 23 65 6e | 64 69 66 0a 45 4e 44 5f |/.X.X#en|dif.END_|
|00000900| 4f 46 5f 46 49 4c 45 0a | 20 20 69 66 20 74 65 73 |OF_FILE.| if tes|
|00000910| 74 20 32 32 34 20 2d 6e | 65 20 60 77 63 20 2d 63 |t 224 -n|e `wc -c|
|00000920| 20 3c 27 66 69 6c 65 2e | 68 27 60 3b 20 74 68 65 | <'file.|h'`; the|
|00000930| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00000940| 20 5c 22 27 66 69 6c 65 | 2e 68 27 5c 22 20 75 6e | \"'file|.h'\" un|
|00000950| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00000960| 67 20 73 69 7a 65 21 0a | 20 20 66 69 0a 20 20 23 |g size!.| fi. #|
|00000970| 20 65 6e 64 20 6f 66 20 | 27 66 69 6c 65 2e 68 27 | end of |'file.h'|
|00000980| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00000990| 66 69 6c 65 2e 68 2e 6e | 65 77 27 20 2d 61 20 22 |file.h.n|ew' -a "|
|000009a0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|000009b0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|000009c0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|000009d0| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|000009e0| 65 20 5c 22 27 66 69 6c | 65 2e 68 2e 6e 65 77 27 |e \"'fil|e.h.new'|
|000009f0| 5c 22 0a 65 6c 73 65 0a | 20 20 65 63 68 6f 20 73 |\".else.| echo s|
|00000a00| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00000a10| 5c 22 27 66 69 6c 65 2e | 68 2e 6e 65 77 27 5c 22 |\"'file.|h.new'\"|
|00000a20| 20 5c 28 32 32 34 20 63 | 68 61 72 61 63 74 65 72 | \(224 c|haracter|
|00000a30| 73 5c 29 0a 20 20 73 65 | 64 20 22 73 2f 5e 58 2f |s\). se|d "s/^X/|
|00000a40| 2f 22 20 3e 27 66 69 6c | 65 2e 68 2e 6e 65 77 27 |/" >'fil|e.h.new'|
|00000a50| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00000a60| 0a 58 2f 2a 20 43 6f 70 | 79 72 69 67 68 74 20 31 |.X/* Cop|yright 1|
|00000a70| 39 39 30 2c 20 44 61 6e | 69 65 6c 20 4a 2e 20 42 |990, Dan|iel J. B|
|00000a80| 65 72 6e 73 74 65 69 6e | 2e 20 41 6c 6c 20 72 69 |ernstein|. All ri|
|00000a90| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 20 2a |ghts res|erved. *|
|00000aa0| 2f 0a 58 0a 58 23 69 66 | 6e 64 65 66 20 50 54 59 |/.X.X#if|ndef PTY|
|00000ab0| 5f 46 49 4c 45 5f 48 0a | 58 23 64 65 66 69 6e 65 |_FILE_H.|X#define|
|00000ac0| 20 50 54 59 5f 46 49 4c | 45 5f 48 0a 58 0a 58 23 | PTY_FIL|E_H.X.X#|
|00000ad0| 69 6e 63 6c 75 64 65 20 | 3c 73 79 73 2f 66 69 6c |include |<sys/fil|
|00000ae0| 65 2e 68 3e 0a 58 23 69 | 66 64 65 66 20 42 53 44 |e.h>.X#i|fdef BSD|
|00000af0| 0a 58 23 69 6e 63 6c 75 | 64 65 20 3c 6c 69 6d 69 |.X#inclu|de <limi|
|00000b00| 74 73 2e 68 3e 0a 58 23 | 65 6e 64 69 66 0a 58 23 |ts.h>.X#|endif.X#|
|00000b10| 69 6e 63 6c 75 64 65 20 | 3c 66 63 6e 74 6c 2e 68 |include |<fcntl.h|
|00000b20| 3e 0a 58 65 78 74 65 72 | 6e 20 6c 6f 6e 67 20 6c |>.Xexter|n long l|
|00000b30| 73 65 65 6b 28 29 3b 20 | 2f 2a 20 73 69 67 68 2e |seek(); |/* sigh.|
|00000b40| 20 2a 2f 0a 58 0a 58 23 | 65 6e 64 69 66 0a 45 4e | */.X.X#|endif.EN|
|00000b50| 44 5f 4f 46 5f 46 49 4c | 45 0a 20 20 69 66 20 74 |D_OF_FIL|E. if t|
|00000b60| 65 73 74 20 32 32 34 20 | 2d 6e 65 20 60 77 63 20 |est 224 |-ne `wc |
|00000b70| 2d 63 20 3c 27 66 69 6c | 65 2e 68 2e 6e 65 77 27 |-c <'fil|e.h.new'|
|00000b80| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00000b90| 20 73 68 61 72 3a 20 5c | 22 27 66 69 6c 65 2e 68 | shar: \|"'file.h|
|00000ba0| 2e 6e 65 77 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |.new'\" |unpacked|
|00000bb0| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00000bc0| 21 0a 20 20 66 69 0a 20 | 20 23 20 65 6e 64 20 6f |!. fi. | # end o|
|00000bd0| 66 20 27 66 69 6c 65 2e | 68 2e 6e 65 77 27 0a 66 |f 'file.|h.new'.f|
|00000be0| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 67 65 |i.if tes|t -f 'ge|
|00000bf0| 74 6f 70 74 2e 68 27 20 | 2d 61 20 22 24 7b 31 7d |topt.h' |-a "${1}|
|00000c00| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00000c10| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00000c20| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00000c30| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00000c40| 27 67 65 74 6f 70 74 2e | 68 27 5c 22 0a 65 6c 73 |'getopt.|h'\".els|
|00000c50| 65 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 45 |e. echo| shar: E|
|00000c60| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 67 65 74 |xtractin|g \"'get|
|00000c70| 6f 70 74 2e 68 27 5c 22 | 20 5c 28 32 35 30 20 63 |opt.h'\"| \(250 c|
|00000c80| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 20 20 73 65 |haracter|s\). se|
|00000c90| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 67 65 74 |d "s/^X/|/" >'get|
|00000ca0| 6f 70 74 2e 68 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |opt.h' <|<'END_OF|
|00000cb0| 5f 46 49 4c 45 27 0a 58 | 2f 2a 20 43 6f 70 79 72 |_FILE'.X|/* Copyr|
|00000cc0| 69 67 68 74 20 31 39 39 | 30 2c 20 44 61 6e 69 65 |ight 199|0, Danie|
|00000cd0| 6c 20 4a 2e 20 42 65 72 | 6e 73 74 65 69 6e 2e 20 |l J. Ber|nstein. |
|00000ce0| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00000cf0| 76 65 64 2e 20 2a 2f 0a | 58 0a 58 23 69 66 6e 64 |ved. */.|X.X#ifnd|
|00000d00| 65 66 20 50 54 59 5f 47 | 45 54 4f 50 54 5f 48 0a |ef PTY_G|ETOPT_H.|
|00000d10| 58 23 64 65 66 69 6e 65 | 20 50 54 59 5f 47 45 54 |X#define| PTY_GET|
|00000d20| 4f 50 54 5f 48 0a 58 0a | 58 2f 2a 20 54 68 65 20 |OPT_H.X.|X/* The |
|00000d30| 66 6f 6c 6c 6f 77 69 6e | 67 20 73 68 6f 75 6c 64 |followin|g should|
|00000d40| 20 62 65 20 69 6e 20 2f | 75 73 72 2f 69 6e 63 6c | be in /|usr/incl|
|00000d50| 75 64 65 2f 67 65 74 6f | 70 74 2e 68 20 62 75 74 |ude/geto|pt.h but|
|00000d60| 20 6f 66 74 65 6e 20 61 | 72 65 6e 27 74 2e 20 2a | often a|ren't. *|
|00000d70| 2f 0a 58 65 78 74 65 72 | 6e 20 69 6e 74 20 67 65 |/.Xexter|n int ge|
|00000d80| 74 6f 70 74 28 29 3b 0a | 58 65 78 74 65 72 6e 20 |topt();.|Xextern |
|00000d90| 63 68 61 72 20 2a 6f 70 | 74 61 72 67 3b 0a 58 65 |char *op|targ;.Xe|
|00000da0| 78 74 65 72 6e 20 69 6e | 74 20 6f 70 74 69 6e 64 |xtern in|t optind|
|00000db0| 3b 0a 58 0a 58 23 65 6e | 64 69 66 0a 45 4e 44 5f |;.X.X#en|dif.END_|
|00000dc0| 4f 46 5f 46 49 4c 45 0a | 20 20 69 66 20 74 65 73 |OF_FILE.| if tes|
|00000dd0| 74 20 32 35 30 20 2d 6e | 65 20 60 77 63 20 2d 63 |t 250 -n|e `wc -c|
|00000de0| 20 3c 27 67 65 74 6f 70 | 74 2e 68 27 60 3b 20 74 | <'getop|t.h'`; t|
|00000df0| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00000e00| 72 3a 20 5c 22 27 67 65 | 74 6f 70 74 2e 68 27 5c |r: \"'ge|topt.h'\|
|00000e10| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00000e20| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 20 20 66 69 |wrong si|ze!. fi|
|00000e30| 0a 20 20 23 20 65 6e 64 | 20 6f 66 20 27 67 65 74 |. # end| of 'get|
|00000e40| 6f 70 74 2e 68 27 0a 66 | 69 0a 69 66 20 74 65 73 |opt.h'.f|i.if tes|
|00000e50| 74 20 2d 66 20 27 6c 6f | 67 73 2e 68 27 20 2d 61 |t -f 'lo|gs.h' -a|
|00000e60| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00000e70| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00000e80| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00000e90| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00000ea0| 69 6c 65 20 5c 22 27 6c | 6f 67 73 2e 68 27 5c 22 |ile \"'l|ogs.h'\"|
|00000eb0| 0a 65 6c 73 65 0a 20 20 | 65 63 68 6f 20 73 68 61 |.else. |echo sha|
|00000ec0| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00000ed0| 27 6c 6f 67 73 2e 68 27 | 5c 22 20 5c 28 31 36 39 |'logs.h'|\" \(169|
|00000ee0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 20 20 | charact|ers\). |
|00000ef0| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 6c |sed "s/^|X//" >'l|
|00000f00| 6f 67 73 2e 68 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |ogs.h' <|<'END_OF|
|00000f10| 5f 46 49 4c 45 27 0a 58 | 2f 2a 20 43 6f 70 79 72 |_FILE'.X|/* Copyr|
|00000f20| 69 67 68 74 20 31 39 39 | 30 2c 20 44 61 6e 69 65 |ight 199|0, Danie|
|00000f30| 6c 20 4a 2e 20 42 65 72 | 6e 73 74 65 69 6e 2e 20 |l J. Ber|nstein. |
|00000f40| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00000f50| 76 65 64 2e 20 2a 2f 0a | 58 0a 58 23 69 66 6e 64 |ved. */.|X.X#ifnd|
|00000f60| 65 66 20 50 54 59 5f 4c | 4f 47 53 5f 48 0a 58 23 |ef PTY_L|OGS_H.X#|
|00000f70| 64 65 66 69 6e 65 20 50 | 54 59 5f 4c 4f 47 53 5f |define P|TY_LOGS_|
|00000f80| 48 0a 58 0a 58 65 78 74 | 65 72 6e 20 6c 6f 6e 67 |H.X.Xext|ern long|
|00000f90| 20 6e 6f 77 28 29 3b 0a | 58 65 78 74 65 72 6e 20 | now();.|Xextern |
|00000fa0| 69 6e 74 20 75 74 6d 70 | 28 29 3b 0a 58 65 78 74 |int utmp|();.Xext|
|00000fb0| 65 72 6e 20 69 6e 74 20 | 77 74 6d 70 28 29 3b 0a |ern int |wtmp();.|
|00000fc0| 58 0a 58 23 65 6e 64 69 | 66 0a 45 4e 44 5f 4f 46 |X.X#endi|f.END_OF|
|00000fd0| 5f 46 49 4c 45 0a 20 20 | 69 66 20 74 65 73 74 20 |_FILE. |if test |
|00000fe0| 31 36 39 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |169 -ne |`wc -c <|
|00000ff0| 27 6c 6f 67 73 2e 68 27 | 60 3b 20 74 68 65 6e 0a |'logs.h'|`; then.|
|00001000| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00001010| 22 27 6c 6f 67 73 2e 68 | 27 5c 22 20 75 6e 70 61 |"'logs.h|'\" unpa|
|00001020| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00001030| 73 69 7a 65 21 0a 20 20 | 66 69 0a 20 20 23 20 65 |size!. |fi. # e|
|00001040| 6e 64 20 6f 66 20 27 6c | 6f 67 73 2e 68 27 0a 66 |nd of 'l|ogs.h'.f|
|00001050| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 6d 61 |i.if tes|t -f 'ma|
|00001060| 73 74 65 72 2e 68 27 20 | 2d 61 20 22 24 7b 31 7d |ster.h' |-a "${1}|
|00001070| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00001080| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00001090| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|000010a0| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|000010b0| 27 6d 61 73 74 65 72 2e | 68 27 5c 22 0a 65 6c 73 |'master.|h'\".els|
|000010c0| 65 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 45 |e. echo| shar: E|
|000010d0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 6d 61 73 |xtractin|g \"'mas|
|000010e0| 74 65 72 2e 68 27 5c 22 | 20 5c 28 31 33 38 20 63 |ter.h'\"| \(138 c|
|000010f0| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 20 20 73 65 |haracter|s\). se|
|00001100| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 6d 61 73 |d "s/^X/|/" >'mas|
|00001110| 74 65 72 2e 68 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |ter.h' <|<'END_OF|
|00001120| 5f 46 49 4c 45 27 0a 58 | 2f 2a 20 43 6f 70 79 72 |_FILE'.X|/* Copyr|
|00001130| 69 67 68 74 20 31 39 39 | 30 2c 20 44 61 6e 69 65 |ight 199|0, Danie|
|00001140| 6c 20 4a 2e 20 42 65 72 | 6e 73 74 65 69 6e 2e 20 |l J. Ber|nstein. |
|00001150| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00001160| 76 65 64 2e 20 2a 2f 0a | 58 0a 58 23 69 66 6e 64 |ved. */.|X.X#ifnd|
|00001170| 65 66 20 50 54 59 5f 4d | 41 53 54 45 52 5f 48 0a |ef PTY_M|ASTER_H.|
|00001180| 58 23 64 65 66 69 6e 65 | 20 50 54 59 5f 4d 41 53 |X#define| PTY_MAS|
|00001190| 54 45 52 5f 48 0a 58 0a | 58 65 78 74 65 72 6e 20 |TER_H.X.|Xextern |
|000011a0| 76 6f 69 64 20 6d 61 73 | 74 65 72 28 29 3b 0a 58 |void mas|ter();.X|
|000011b0| 0a 58 23 65 6e 64 69 66 | 0a 45 4e 44 5f 4f 46 5f |.X#endif|.END_OF_|
|000011c0| 46 49 4c 45 0a 20 20 69 | 66 20 74 65 73 74 20 31 |FILE. i|f test 1|
|000011d0| 33 38 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |38 -ne `|wc -c <'|
|000011e0| 6d 61 73 74 65 72 2e 68 | 27 60 3b 20 74 68 65 6e |master.h|'`; then|
|000011f0| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00001200| 5c 22 27 6d 61 73 74 65 | 72 2e 68 27 5c 22 20 75 |\"'maste|r.h'\" u|
|00001210| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00001220| 6e 67 20 73 69 7a 65 21 | 0a 20 20 66 69 0a 20 20 |ng size!|. fi. |
|00001230| 23 20 65 6e 64 20 6f 66 | 20 27 6d 61 73 74 65 72 |# end of| 'master|
|00001240| 2e 68 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.h'.fi.i|f test -|
|00001250| 66 20 27 6d 69 73 63 2e | 68 27 20 2d 61 20 22 24 |f 'misc.|h' -a "$|
|00001260| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00001270| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00001280| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00001290| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|000012a0| 20 5c 22 27 6d 69 73 63 | 2e 68 27 5c 22 0a 65 6c | \"'misc|.h'\".el|
|000012b0| 73 65 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |se. ech|o shar: |
|000012c0| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 27 6d 69 |Extracti|ng \"'mi|
|000012d0| 73 63 2e 68 27 5c 22 20 | 5c 28 31 39 30 20 63 68 |sc.h'\" |\(190 ch|
|000012e0| 61 72 61 63 74 65 72 73 | 5c 29 0a 20 20 73 65 64 |aracters|\). sed|
|000012f0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 6d 69 73 63 | "s/^X//|" >'misc|
|00001300| 2e 68 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |.h' <<'E|ND_OF_FI|
|00001310| 4c 45 27 0a 58 2f 2a 20 | 43 6f 70 79 72 69 67 68 |LE'.X/* |Copyrigh|
|00001320| 74 20 31 39 39 30 2c 20 | 44 61 6e 69 65 6c 20 4a |t 1990, |Daniel J|
|00001330| 2e 20 42 65 72 6e 73 74 | 65 69 6e 2e 20 41 6c 6c |. Bernst|ein. All|
|00001340| 20 72 69 67 68 74 73 20 | 72 65 73 65 72 76 65 64 | rights |reserved|
|00001350| 2e 20 2a 2f 0a 58 0a 58 | 23 69 66 6e 64 65 66 20 |. */.X.X|#ifndef |
|00001360| 50 54 59 5f 4d 49 53 43 | 5f 48 0a 58 23 64 65 66 |PTY_MISC|_H.X#def|
|00001370| 69 6e 65 20 50 54 59 5f | 4d 49 53 43 5f 48 0a 58 |ine PTY_|MISC_H.X|
|00001380| 0a 58 65 78 74 65 72 6e | 20 69 6e 74 20 73 65 73 |.Xextern| int ses|
|00001390| 73 64 69 72 28 29 3b 0a | 58 65 78 74 65 72 6e 20 |sdir();.|Xextern |
|000013a0| 63 68 61 72 20 2a 72 65 | 61 6c 5f 74 74 79 6e 61 |char *re|al_ttyna|
|000013b0| 6d 65 28 29 3b 0a 58 65 | 78 74 65 72 6e 20 76 6f |me();.Xe|xtern vo|
|000013c0| 69 64 20 73 65 74 75 73 | 65 72 6e 61 6d 65 28 29 |id setus|ername()|
|000013d0| 3b 0a 58 0a 58 23 65 6e | 64 69 66 0a 45 4e 44 5f |;.X.X#en|dif.END_|
|000013e0| 4f 46 5f 46 49 4c 45 0a | 20 20 69 66 20 74 65 73 |OF_FILE.| if tes|
|000013f0| 74 20 31 39 30 20 2d 6e | 65 20 60 77 63 20 2d 63 |t 190 -n|e `wc -c|
|00001400| 20 3c 27 6d 69 73 63 2e | 68 27 60 3b 20 74 68 65 | <'misc.|h'`; the|
|00001410| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00001420| 20 5c 22 27 6d 69 73 63 | 2e 68 27 5c 22 20 75 6e | \"'misc|.h'\" un|
|00001430| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00001440| 67 20 73 69 7a 65 21 0a | 20 20 66 69 0a 20 20 23 |g size!.| fi. #|
|00001450| 20 65 6e 64 20 6f 66 20 | 27 6d 69 73 63 2e 68 27 | end of |'misc.h'|
|00001460| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00001470| 70 61 74 63 68 2f 54 45 | 4c 4e 45 54 2e 46 54 50 |patch/TE|LNET.FTP|
|00001480| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00001490| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|000014a0| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|000014b0| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|000014c0| 6e 67 20 66 69 6c 65 20 | 5c 22 27 70 61 74 63 68 |ng file |\"'patch|
|000014d0| 2f 54 45 4c 4e 45 54 2e | 46 54 50 27 5c 22 0a 65 |/TELNET.|FTP'\".e|
|000014e0| 6c 73 65 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |lse. ec|ho shar:|
|000014f0| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 70 | Extract|ing \"'p|
|00001500| 61 74 63 68 2f 54 45 4c | 4e 45 54 2e 46 54 50 27 |atch/TEL|NET.FTP'|
|00001510| 5c 22 20 5c 28 36 39 20 | 63 68 61 72 61 63 74 65 |\" \(69 |characte|
|00001520| 72 73 5c 29 0a 20 20 73 | 65 64 20 22 73 2f 5e 58 |rs\). s|ed "s/^X|
|00001530| 2f 2f 22 20 3e 27 70 61 | 74 63 68 2f 54 45 4c 4e |//" >'pa|tch/TELN|
|00001540| 45 54 2e 46 54 50 27 20 | 3c 3c 27 45 4e 44 5f 4f |ET.FTP' |<<'END_O|
|00001550| 46 5f 46 49 4c 45 27 0a | 58 75 73 65 72 20 61 6e |F_FILE'.|Xuser an|
|00001560| 6f 6e 79 6d 6f 75 73 20 | 70 74 79 0a 58 63 64 20 |onymous |pty.Xcd |
|00001570| 70 75 62 0a 58 74 79 70 | 65 20 62 69 6e 61 72 79 |pub.Xtyp|e binary|
|00001580| 0a 58 67 65 74 20 74 65 | 6c 6e 65 74 2e 39 30 2e |.Xget te|lnet.90.|
|00001590| 30 36 2e 32 38 2e 74 61 | 72 2e 5a 0a 58 71 75 69 |06.28.ta|r.Z.Xqui|
|000015a0| 74 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 20 20 |t.END_OF|_FILE. |
|000015b0| 69 66 20 74 65 73 74 20 | 36 39 20 2d 6e 65 20 60 |if test |69 -ne `|
|000015c0| 77 63 20 2d 63 20 3c 27 | 70 61 74 63 68 2f 54 45 |wc -c <'|patch/TE|
|000015d0| 4c 4e 45 54 2e 46 54 50 | 27 60 3b 20 74 68 65 6e |LNET.FTP|'`; then|
|000015e0| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|000015f0| 5c 22 27 70 61 74 63 68 | 2f 54 45 4c 4e 45 54 2e |\"'patch|/TELNET.|
|00001600| 46 54 50 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |FTP'\" u|npacked |
|00001610| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00001620| 0a 20 20 66 69 0a 20 20 | 23 20 65 6e 64 20 6f 66 |. fi. |# end of|
|00001630| 20 27 70 61 74 63 68 2f | 54 45 4c 4e 45 54 2e 46 | 'patch/|TELNET.F|
|00001640| 54 50 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |TP'.fi.i|f test -|
|00001650| 66 20 27 73 69 67 6c 65 | 72 2e 68 27 20 2d 61 20 |f 'sigle|r.h' -a |
|00001660| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00001670| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00001680| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|00001690| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|000016a0| 6c 65 20 5c 22 27 73 69 | 67 6c 65 72 2e 68 27 5c |le \"'si|gler.h'\|
|000016b0| 22 0a 65 6c 73 65 0a 20 | 20 65 63 68 6f 20 73 68 |".else. | echo sh|
|000016c0| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|000016d0| 22 27 73 69 67 6c 65 72 | 2e 68 27 5c 22 20 5c 28 |"'sigler|.h'\" \(|
|000016e0| 31 33 38 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |138 char|acters\)|
|000016f0| 0a 20 20 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |. sed "|s/^X//" |
|00001700| 3e 27 73 69 67 6c 65 72 | 2e 68 27 20 3c 3c 27 45 |>'sigler|.h' <<'E|
|00001710| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 2f 2a 20 |ND_OF_FI|LE'.X/* |
|00001720| 43 6f 70 79 72 69 67 68 | 74 20 31 39 39 30 2c 20 |Copyrigh|t 1990, |
|00001730| 44 61 6e 69 65 6c 20 4a | 2e 20 42 65 72 6e 73 74 |Daniel J|. Bernst|
|00001740| 65 69 6e 2e 20 41 6c 6c | 20 72 69 67 68 74 73 20 |ein. All| rights |
|00001750| 72 65 73 65 72 76 65 64 | 2e 20 2a 2f 0a 58 0a 58 |reserved|. */.X.X|
|00001760| 23 69 66 6e 64 65 66 20 | 50 54 59 5f 53 49 47 4c |#ifndef |PTY_SIGL|
|00001770| 45 52 5f 48 0a 58 23 64 | 65 66 69 6e 65 20 50 54 |ER_H.X#d|efine PT|
|00001780| 59 5f 53 49 47 4c 45 52 | 5f 48 0a 58 0a 58 65 78 |Y_SIGLER|_H.X.Xex|
|00001790| 74 65 72 6e 20 76 6f 69 | 64 20 73 69 67 6c 65 72 |tern voi|d sigler|
|000017a0| 28 29 3b 0a 58 0a 58 23 | 65 6e 64 69 66 0a 45 4e |();.X.X#|endif.EN|
|000017b0| 44 5f 4f 46 5f 46 49 4c | 45 0a 20 20 69 66 20 74 |D_OF_FIL|E. if t|
|000017c0| 65 73 74 20 31 33 38 20 | 2d 6e 65 20 60 77 63 20 |est 138 |-ne `wc |
|000017d0| 2d 63 20 3c 27 73 69 67 | 6c 65 72 2e 68 27 60 3b |-c <'sig|ler.h'`;|
|000017e0| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|000017f0| 68 61 72 3a 20 5c 22 27 | 73 69 67 6c 65 72 2e 68 |har: \"'|sigler.h|
|00001800| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00001810| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 20 20 |h wrong |size!. |
|00001820| 66 69 0a 20 20 23 20 65 | 6e 64 20 6f 66 20 27 73 |fi. # e|nd of 's|
|00001830| 69 67 6c 65 72 2e 68 27 | 0a 66 69 0a 69 66 20 74 |igler.h'|.fi.if t|
|00001840| 65 73 74 20 2d 66 20 27 | 73 6c 61 76 65 2e 68 27 |est -f '|slave.h'|
|00001850| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00001860| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00001870| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00001880| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|00001890| 67 20 66 69 6c 65 20 5c | 22 27 73 6c 61 76 65 2e |g file \|"'slave.|
|000018a0| 68 27 5c 22 0a 65 6c 73 | 65 0a 20 20 65 63 68 6f |h'\".els|e. echo|
|000018b0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|000018c0| 67 20 5c 22 27 73 6c 61 | 76 65 2e 68 27 5c 22 20 |g \"'sla|ve.h'\" |
|000018d0| 5c 28 31 33 35 20 63 68 | 61 72 61 63 74 65 72 73 |\(135 ch|aracters|
|000018e0| 5c 29 0a 20 20 73 65 64 | 20 22 73 2f 5e 58 2f 2f |\). sed| "s/^X//|
|000018f0| 22 20 3e 27 73 6c 61 76 | 65 2e 68 27 20 3c 3c 27 |" >'slav|e.h' <<'|
|00001900| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 2f 2a |END_OF_F|ILE'.X/*|
|00001910| 20 43 6f 70 79 72 69 67 | 68 74 20 31 39 39 30 2c | Copyrig|ht 1990,|
|00001920| 20 44 61 6e 69 65 6c 20 | 4a 2e 20 42 65 72 6e 73 | Daniel |J. Berns|
|00001930| 74 65 69 6e 2e 20 41 6c | 6c 20 72 69 67 68 74 73 |tein. Al|l rights|
|00001940| 20 72 65 73 65 72 76 65 | 64 2e 20 2a 2f 0a 58 0a | reserve|d. */.X.|
|00001950| 58 23 69 66 6e 64 65 66 | 20 50 54 59 5f 53 4c 41 |X#ifndef| PTY_SLA|
|00001960| 56 45 5f 48 0a 58 23 64 | 65 66 69 6e 65 20 50 54 |VE_H.X#d|efine PT|
|00001970| 59 5f 53 4c 41 56 45 5f | 48 0a 58 0a 58 65 78 74 |Y_SLAVE_|H.X.Xext|
|00001980| 65 72 6e 20 76 6f 69 64 | 20 73 6c 61 76 65 28 29 |ern void| slave()|
|00001990| 3b 0a 58 0a 58 23 65 6e | 64 69 66 0a 45 4e 44 5f |;.X.X#en|dif.END_|
|000019a0| 4f 46 5f 46 49 4c 45 0a | 20 20 69 66 20 74 65 73 |OF_FILE.| if tes|
|000019b0| 74 20 31 33 35 20 2d 6e | 65 20 60 77 63 20 2d 63 |t 135 -n|e `wc -c|
|000019c0| 20 3c 27 73 6c 61 76 65 | 2e 68 27 60 3b 20 74 68 | <'slave|.h'`; th|
|000019d0| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|000019e0| 3a 20 5c 22 27 73 6c 61 | 76 65 2e 68 27 5c 22 20 |: \"'sla|ve.h'\" |
|000019f0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00001a00| 6f 6e 67 20 73 69 7a 65 | 21 0a 20 20 66 69 0a 20 |ong size|!. fi. |
|00001a10| 20 23 20 65 6e 64 20 6f | 66 20 27 73 6c 61 76 65 | # end o|f 'slave|
|00001a20| 2e 68 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.h'.fi.i|f test -|
|00001a30| 66 20 27 74 65 78 74 73 | 2e 68 27 20 2d 61 20 22 |f 'texts|.h' -a "|
|00001a40| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00001a50| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00001a60| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00001a70| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00001a80| 65 20 5c 22 27 74 65 78 | 74 73 2e 68 27 5c 22 0a |e \"'tex|ts.h'\".|
|00001a90| 65 6c 73 65 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |else. e|cho shar|
|00001aa0| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00001ab0| 74 65 78 74 73 2e 68 27 | 5c 22 20 5c 28 32 37 33 |texts.h'|\" \(273|
|00001ac0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 20 20 | charact|ers\). |
|00001ad0| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 74 |sed "s/^|X//" >'t|
|00001ae0| 65 78 74 73 2e 68 27 20 | 3c 3c 27 45 4e 44 5f 4f |exts.h' |<<'END_O|
|00001af0| 46 5f 46 49 4c 45 27 0a | 58 2f 2a 20 43 6f 70 79 |F_FILE'.|X/* Copy|
|00001b00| 72 69 67 68 74 20 31 39 | 39 30 2c 20 44 61 6e 69 |right 19|90, Dani|
|00001b10| 65 6c 20 4a 2e 20 42 65 | 72 6e 73 74 65 69 6e 2e |el J. Be|rnstein.|
|00001b20| 20 41 6c 6c 20 72 69 67 | 68 74 73 20 72 65 73 65 | All rig|hts rese|
|00001b30| 72 76 65 64 2e 20 2a 2f | 0a 58 0a 58 23 69 66 6e |rved. */|.X.X#ifn|
|00001b40| 64 65 66 20 50 54 59 5f | 54 45 58 54 53 5f 48 0a |def PTY_|TEXTS_H.|
|00001b50| 58 23 64 65 66 69 6e 65 | 20 50 54 59 5f 54 45 58 |X#define| PTY_TEX|
|00001b60| 54 53 5f 48 0a 58 0a 58 | 65 78 74 65 72 6e 20 63 |TS_H.X.X|extern c|
|00001b70| 68 61 72 20 2a 70 74 79 | 61 75 74 68 6f 72 5b 5d |har *pty|author[]|
|00001b80| 3b 0a 58 65 78 74 65 72 | 6e 20 63 68 61 72 20 2a |;.Xexter|n char *|
|00001b90| 70 74 79 76 65 72 73 69 | 6f 6e 5b 5d 3b 0a 58 65 |ptyversi|on[];.Xe|
|00001ba0| 78 74 65 72 6e 20 63 68 | 61 72 20 2a 70 74 79 63 |xtern ch|ar *ptyc|
|00001bb0| 6f 70 79 72 69 67 68 74 | 5b 5d 3b 0a 58 65 78 74 |opyright|[];.Xext|
|00001bc0| 65 72 6e 20 63 68 61 72 | 20 2a 70 74 79 77 61 72 |ern char| *ptywar|
|00001bd0| 72 61 6e 74 79 5b 5d 3b | 0a 58 65 78 74 65 72 6e |ranty[];|.Xextern|
|00001be0| 20 63 68 61 72 20 2a 70 | 74 79 75 73 61 67 65 5b | char *p|tyusage[|
|00001bf0| 5d 3b 0a 58 65 78 74 65 | 72 6e 20 63 68 61 72 20 |];.Xexte|rn char |
|00001c00| 2a 70 74 79 68 65 6c 70 | 5b 5d 3b 0a 58 0a 58 23 |*ptyhelp|[];.X.X#|
|00001c10| 65 6e 64 69 66 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |endif.EN|D_OF_FIL|
|00001c20| 45 0a 20 20 69 66 20 74 | 65 73 74 20 32 37 33 20 |E. if t|est 273 |
|00001c30| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 74 65 78 |-ne `wc |-c <'tex|
|00001c40| 74 73 2e 68 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |ts.h'`; |then. |
|00001c50| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 74 | echo sh|ar: \"'t|
|00001c60| 65 78 74 73 2e 68 27 5c | 22 20 75 6e 70 61 63 6b |exts.h'\|" unpack|
|00001c70| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00001c80| 7a 65 21 0a 20 20 66 69 | 0a 20 20 23 20 65 6e 64 |ze!. fi|. # end|
|00001c90| 20 6f 66 20 27 74 65 78 | 74 73 2e 68 27 0a 66 69 | of 'tex|ts.h'.fi|
|00001ca0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 75 74 69 |.if test| -f 'uti|
|00001cb0| 6c 2f 63 6f 6e 64 6f 6d | 27 20 2d 61 20 22 24 7b |l/condom|' -a "${|
|00001cc0| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00001cd0| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00001ce0| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00001cf0| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00001d00| 5c 22 27 75 74 69 6c 2f | 63 6f 6e 64 6f 6d 27 5c |\"'util/|condom'\|
|00001d10| 22 0a 65 6c 73 65 0a 20 | 20 65 63 68 6f 20 73 68 |".else. | echo sh|
|00001d20| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00001d30| 22 27 75 74 69 6c 2f 63 | 6f 6e 64 6f 6d 27 5c 22 |"'util/c|ondom'\"|
|00001d40| 20 5c 28 34 34 20 63 68 | 61 72 61 63 74 65 72 73 | \(44 ch|aracters|
|00001d50| 5c 29 0a 20 20 73 65 64 | 20 22 73 2f 5e 58 2f 2f |\). sed| "s/^X//|
|00001d60| 22 20 3e 27 75 74 69 6c | 2f 63 6f 6e 64 6f 6d 27 |" >'util|/condom'|
|00001d70| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00001d80| 0a 58 23 21 2f 62 69 6e | 2f 73 68 0a 58 23 20 50 |.X#!/bin|/sh.X# P|
|00001d90| 75 62 6c 69 63 20 64 6f | 6d 61 69 6e 2e 0a 58 65 |ublic do|main..Xe|
|00001da0| 78 65 63 20 70 74 79 20 | 2d 30 20 22 24 40 22 0a |xec pty |-0 "$@".|
|00001db0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 20 20 69 66 |END_OF_F|ILE. if|
|00001dc0| 20 74 65 73 74 20 34 34 | 20 2d 6e 65 20 60 77 63 | test 44| -ne `wc|
|00001dd0| 20 2d 63 20 3c 27 75 74 | 69 6c 2f 63 6f 6e 64 6f | -c <'ut|il/condo|
|00001de0| 6d 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |m'`; the|n. ec|
|00001df0| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 75 74 69 6c |ho shar:| \"'util|
|00001e00| 2f 63 6f 6e 64 6f 6d 27 | 5c 22 20 75 6e 70 61 63 |/condom'|\" unpac|
|00001e10| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00001e20| 69 7a 65 21 0a 20 20 66 | 69 0a 20 20 63 68 6d 6f |ize!. f|i. chmo|
|00001e30| 64 20 2b 78 20 27 75 74 | 69 6c 2f 63 6f 6e 64 6f |d +x 'ut|il/condo|
|00001e40| 6d 27 0a 20 20 23 20 65 | 6e 64 20 6f 66 20 27 75 |m'. # e|nd of 'u|
|00001e50| 74 69 6c 2f 63 6f 6e 64 | 6f 6d 27 0a 66 69 0a 69 |til/cond|om'.fi.i|
|00001e60| 66 20 74 65 73 74 20 2d | 66 20 27 75 74 69 6c 2f |f test -|f 'util/|
|00001e70| 65 78 63 6c 6f 66 66 2e | 31 27 20 2d 61 20 22 24 |excloff.|1' -a "$|
|00001e80| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00001e90| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00001ea0| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00001eb0| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00001ec0| 20 5c 22 27 75 74 69 6c | 2f 65 78 63 6c 6f 66 66 | \"'util|/excloff|
|00001ed0| 2e 31 27 5c 22 0a 65 6c | 73 65 0a 20 20 65 63 68 |.1'\".el|se. ech|
|00001ee0| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00001ef0| 6e 67 20 5c 22 27 75 74 | 69 6c 2f 65 78 63 6c 6f |ng \"'ut|il/exclo|
|00001f00| 66 66 2e 31 27 5c 22 20 | 5c 28 31 38 20 63 68 61 |ff.1'\" |\(18 cha|
|00001f10| 72 61 63 74 65 72 73 5c | 29 0a 20 20 73 65 64 20 |racters\|). sed |
|00001f20| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 75 74 69 6c 2f |"s/^X//"| >'util/|
|00001f30| 65 78 63 6c 6f 66 66 2e | 31 27 20 3c 3c 27 45 4e |excloff.|1' <<'EN|
|00001f40| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 2e 73 6f 20 |D_OF_FIL|E'.X.so |
|00001f50| 6d 61 6e 31 2f 65 78 63 | 6c 6f 6e 2e 31 0a 45 4e |man1/exc|lon.1.EN|
|00001f60| 44 5f 4f 46 5f 46 49 4c | 45 0a 20 20 69 66 20 74 |D_OF_FIL|E. if t|
|00001f70| 65 73 74 20 31 38 20 2d | 6e 65 20 60 77 63 20 2d |est 18 -|ne `wc -|
|00001f80| 63 20 3c 27 75 74 69 6c | 2f 65 78 63 6c 6f 66 66 |c <'util|/excloff|
|00001f90| 2e 31 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |.1'`; th|en. e|
|00001fa0| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 75 74 69 |cho shar|: \"'uti|
|00001fb0| 6c 2f 65 78 63 6c 6f 66 | 66 2e 31 27 5c 22 20 75 |l/exclof|f.1'\" u|
|00001fc0| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00001fd0| 6e 67 20 73 69 7a 65 21 | 0a 20 20 66 69 0a 20 20 |ng size!|. fi. |
|00001fe0| 23 20 65 6e 64 20 6f 66 | 20 27 75 74 69 6c 2f 65 |# end of| 'util/e|
|00001ff0| 78 63 6c 6f 66 66 2e 31 | 27 0a 66 69 0a 69 66 20 |xcloff.1|'.fi.if |
|00002000| 74 65 73 74 20 2d 66 20 | 27 75 74 69 6c 2f 65 78 |test -f |'util/ex|
|00002010| 63 6c 6f 66 66 2e 63 27 | 20 2d 61 20 22 24 7b 31 |cloff.c'| -a "${1|
|00002020| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00002030| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00002040| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00002050| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00002060| 22 27 75 74 69 6c 2f 65 | 78 63 6c 6f 66 66 2e 63 |"'util/e|xcloff.c|
|00002070| 27 5c 22 0a 65 6c 73 65 | 0a 20 20 65 63 68 6f 20 |'\".else|. echo |
|00002080| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00002090| 20 5c 22 27 75 74 69 6c | 2f 65 78 63 6c 6f 66 66 | \"'util|/excloff|
|000020a0| 2e 63 27 5c 22 20 5c 28 | 31 31 30 20 63 68 61 72 |.c'\" \(|110 char|
|000020b0| 61 63 74 65 72 73 5c 29 | 0a 20 20 73 65 64 20 22 |acters\)|. sed "|
|000020c0| 73 2f 5e 58 2f 2f 22 20 | 3e 27 75 74 69 6c 2f 65 |s/^X//" |>'util/e|
|000020d0| 78 63 6c 6f 66 66 2e 63 | 27 20 3c 3c 27 45 4e 44 |xcloff.c|' <<'END|
|000020e0| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 2f 2a 20 50 75 |_OF_FILE|'.X/* Pu|
|000020f0| 62 6c 69 63 20 64 6f 6d | 61 69 6e 2e 20 2a 2f 0a |blic dom|ain. */.|
|00002100| 58 23 69 6e 63 6c 75 64 | 65 20 3c 73 79 73 2f 69 |X#includ|e <sys/i|
|00002110| 6f 63 74 6c 2e 68 3e 0a | 58 0a 58 6d 61 69 6e 28 |octl.h>.|X.Xmain(|
|00002120| 29 0a 58 7b 0a 58 20 28 | 76 6f 69 64 29 20 69 6f |).X{.X (|void) io|
|00002130| 63 74 6c 28 31 2c 28 75 | 6e 73 69 67 6e 65 64 20 |ctl(1,(u|nsigned |
|00002140| 6c 6f 6e 67 29 20 54 49 | 4f 43 4e 58 43 4c 2c 28 |long) TI|OCNXCL,(|
|00002150| 63 68 61 72 20 2a 29 20 | 30 29 3b 0a 58 7d 0a 45 |char *) |0);.X}.E|
|00002160| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 20 20 69 66 20 |ND_OF_FI|LE. if |
|00002170| 74 65 73 74 20 31 31 30 | 20 2d 6e 65 20 60 77 63 |test 110| -ne `wc|
|00002180| 20 2d 63 20 3c 27 75 74 | 69 6c 2f 65 78 63 6c 6f | -c <'ut|il/exclo|
|00002190| 66 66 2e 63 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |ff.c'`; |then. |
|000021a0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 75 | echo sh|ar: \"'u|
|000021b0| 74 69 6c 2f 65 78 63 6c | 6f 66 66 2e 63 27 5c 22 |til/excl|off.c'\"|
|000021c0| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|000021d0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 20 20 66 69 0a |rong siz|e!. fi.|
|000021e0| 20 20 23 20 65 6e 64 20 | 6f 66 20 27 75 74 69 6c | # end |of 'util|
|000021f0| 2f 65 78 63 6c 6f 66 66 | 2e 63 27 0a 66 69 0a 69 |/excloff|.c'.fi.i|
|00002200| 66 20 74 65 73 74 20 2d | 66 20 27 75 74 69 6c 2f |f test -|f 'util/|
|00002210| 65 78 63 6c 6f 6e 2e 63 | 27 20 2d 61 20 22 24 7b |exclon.c|' -a "${|
|00002220| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00002230| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00002240| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00002250| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00002260| 5c 22 27 75 74 69 6c 2f | 65 78 63 6c 6f 6e 2e 63 |\"'util/|exclon.c|
|00002270| 27 5c 22 0a 65 6c 73 65 | 0a 20 20 65 63 68 6f 20 |'\".else|. echo |
|00002280| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00002290| 20 5c 22 27 75 74 69 6c | 2f 65 78 63 6c 6f 6e 2e | \"'util|/exclon.|
|000022a0| 63 27 5c 22 20 5c 28 31 | 31 30 20 63 68 61 72 61 |c'\" \(1|10 chara|
|000022b0| 63 74 65 72 73 5c 29 0a | 20 20 73 65 64 20 22 73 |cters\).| sed "s|
|000022c0| 2f 5e 58 2f 2f 22 20 3e | 27 75 74 69 6c 2f 65 78 |/^X//" >|'util/ex|
|000022d0| 63 6c 6f 6e 2e 63 27 20 | 3c 3c 27 45 4e 44 5f 4f |clon.c' |<<'END_O|
|000022e0| 46 5f 46 49 4c 45 27 0a | 58 2f 2a 20 50 75 62 6c |F_FILE'.|X/* Publ|
|000022f0| 69 63 20 64 6f 6d 61 69 | 6e 2e 20 2a 2f 0a 58 23 |ic domai|n. */.X#|
|00002300| 69 6e 63 6c 75 64 65 20 | 3c 73 79 73 2f 69 6f 63 |include |<sys/ioc|
|00002310| 74 6c 2e 68 3e 0a 58 0a | 58 6d 61 69 6e 28 29 0a |tl.h>.X.|Xmain().|
|00002320| 58 7b 0a 58 20 28 76 6f | 69 64 29 20 69 6f 63 74 |X{.X (vo|id) ioct|
|00002330| 6c 28 31 2c 28 75 6e 73 | 69 67 6e 65 64 20 6c 6f |l(1,(uns|igned lo|
|00002340| 6e 67 29 20 54 49 4f 43 | 45 58 43 4c 2c 28 63 68 |ng) TIOC|EXCL,(ch|
|00002350| 61 72 20 2a 29 20 30 29 | 3b 0a 58 7d 0a 45 4e 44 |ar *) 0)|;.X}.END|
|00002360| 5f 4f 46 5f 46 49 4c 45 | 0a 20 20 69 66 20 74 65 |_OF_FILE|. if te|
|00002370| 73 74 20 31 31 30 20 2d | 6e 65 20 60 77 63 20 2d |st 110 -|ne `wc -|
|00002380| 63 20 3c 27 75 74 69 6c | 2f 65 78 63 6c 6f 6e 2e |c <'util|/exclon.|
|00002390| 63 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |c'`; the|n. ec|
|000023a0| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 75 74 69 6c |ho shar:| \"'util|
|000023b0| 2f 65 78 63 6c 6f 6e 2e | 63 27 5c 22 20 75 6e 70 |/exclon.|c'\" unp|
|000023c0| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|000023d0| 20 73 69 7a 65 21 0a 20 | 20 66 69 0a 20 20 23 20 | size!. | fi. # |
|000023e0| 65 6e 64 20 6f 66 20 27 | 75 74 69 6c 2f 65 78 63 |end of '|util/exc|
|000023f0| 6c 6f 6e 2e 63 27 0a 66 | 69 0a 69 66 20 74 65 73 |lon.c'.f|i.if tes|
|00002400| 74 20 2d 66 20 27 75 74 | 69 6c 2f 73 63 72 69 70 |t -f 'ut|il/scrip|
|00002410| 74 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |t' -a "$|{1}" != |
|00002420| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00002430| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00002440| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00002450| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 75 74 69 6c |ing file| \"'util|
|00002460| 2f 73 63 72 69 70 74 27 | 5c 22 0a 65 6c 73 65 0a |/script'|\".else.|
|00002470| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 | echo s|har: Ext|
|00002480| 72 61 63 74 69 6e 67 20 | 5c 22 27 75 74 69 6c 2f |racting |\"'util/|
|00002490| 73 63 72 69 70 74 27 5c | 22 20 5c 28 32 39 39 20 |script'\|" \(299 |
|000024a0| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 20 20 73 |characte|rs\). s|
|000024b0| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 75 74 |ed "s/^X|//" >'ut|
|000024c0| 69 6c 2f 73 63 72 69 70 | 74 27 20 3c 3c 27 45 4e |il/scrip|t' <<'EN|
|000024d0| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 23 21 2f 62 |D_OF_FIL|E'.X#!/b|
|000024e0| 69 6e 2f 73 68 0a 58 23 | 20 50 75 62 6c 69 63 20 |in/sh.X#| Public |
|000024f0| 64 6f 6d 61 69 6e 2e 0a | 58 63 61 73 65 20 22 24 |domain..|Xcase "$|
|00002500| 40 22 20 69 6e 0a 58 22 | 22 29 20 65 78 74 72 61 |@" in.X"|") extra|
|00002510| 3d 74 79 70 65 73 63 72 | 69 70 74 20 3b 3b 0a 58 |=typescr|ipt ;;.X|
|00002520| 22 2d 61 22 29 20 65 78 | 74 72 61 3d 74 79 70 65 |"-a") ex|tra=type|
|00002530| 73 63 72 69 70 74 20 3b | 3b 0a 58 22 2d 69 22 29 |script ;|;.X"-i")|
|00002540| 20 65 78 74 72 61 3d 74 | 79 70 65 73 63 72 69 70 | extra=t|ypescrip|
|00002550| 74 20 3b 3b 0a 58 22 2d | 61 20 2d 69 22 29 20 65 |t ;;.X"-|a -i") e|
|00002560| 78 74 72 61 3d 74 79 70 | 65 73 63 72 69 70 74 20 |xtra=typ|escript |
|00002570| 3b 3b 0a 58 65 73 61 63 | 0a 58 65 63 68 6f 20 22 |;;.Xesac|.Xecho "|
|00002580| 53 63 72 69 70 74 20 73 | 74 61 72 74 65 64 2c 20 |Script s|tarted, |
|00002590| 74 65 65 69 6e 67 20 24 | 40 22 20 22 24 65 78 74 |teeing $|@" "$ext|
|000025a0| 72 61 22 0a 58 28 20 65 | 63 68 6f 20 27 53 63 72 |ra".X( e|cho 'Scr|
|000025b0| 69 70 74 20 73 74 61 72 | 74 65 64 20 6f 6e 20 27 |ipt star|ted on '|
|000025c0| 60 64 61 74 65 60 3b 0a | 58 20 20 70 74 79 20 2d |`date`;.|X pty -|
|000025d0| 73 20 22 24 53 48 45 4c | 4c 22 3b 0a 58 20 20 65 |s "$SHEL|L";.X e|
|000025e0| 63 68 6f 20 27 53 63 72 | 69 70 74 20 64 6f 6e 65 |cho 'Scr|ipt done|
|000025f0| 20 6f 6e 20 27 60 64 61 | 74 65 60 20 29 20 7c 20 | on '`da|te` ) | |
|00002600| 74 65 65 20 22 24 40 22 | 20 22 24 65 78 74 72 61 |tee "$@"| "$extra|
|00002610| 22 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 20 20 |".END_OF|_FILE. |
|00002620| 69 66 20 74 65 73 74 20 | 32 39 39 20 2d 6e 65 20 |if test |299 -ne |
|00002630| 60 77 63 20 2d 63 20 3c | 27 75 74 69 6c 2f 73 63 |`wc -c <|'util/sc|
|00002640| 72 69 70 74 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |ript'`; |then. |
|00002650| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 75 | echo sh|ar: \"'u|
|00002660| 74 69 6c 2f 73 63 72 69 | 70 74 27 5c 22 20 75 6e |til/scri|pt'\" un|
|00002670| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00002680| 67 20 73 69 7a 65 21 0a | 20 20 66 69 0a 20 20 63 |g size!.| fi. c|
|00002690| 68 6d 6f 64 20 2b 78 20 | 27 75 74 69 6c 2f 73 63 |hmod +x |'util/sc|
|000026a0| 72 69 70 74 27 0a 20 20 | 23 20 65 6e 64 20 6f 66 |ript'. |# end of|
|000026b0| 20 27 75 74 69 6c 2f 73 | 63 72 69 70 74 27 0a 66 | 'util/s|cript'.f|
|000026c0| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 75 74 |i.if tes|t -f 'ut|
|000026d0| 69 6c 2f 73 63 72 69 70 | 74 2e 74 69 64 79 27 20 |il/scrip|t.tidy' |
|000026e0| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|000026f0| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00002700| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00002710| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00002720| 20 66 69 6c 65 20 5c 22 | 27 75 74 69 6c 2f 73 63 | file \"|'util/sc|
|00002730| 72 69 70 74 2e 74 69 64 | 79 27 5c 22 0a 65 6c 73 |ript.tid|y'\".els|
|00002740| 65 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 45 |e. echo| shar: E|
|00002750| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 75 74 69 |xtractin|g \"'uti|
|00002760| 6c 2f 73 63 72 69 70 74 | 2e 74 69 64 79 27 5c 22 |l/script|.tidy'\"|
|00002770| 20 5c 28 36 33 20 63 68 | 61 72 61 63 74 65 72 73 | \(63 ch|aracters|
|00002780| 5c 29 0a 20 20 73 65 64 | 20 22 73 2f 5e 58 2f 2f |\). sed| "s/^X//|
|00002790| 22 20 3e 27 75 74 69 6c | 2f 73 63 72 69 70 74 2e |" >'util|/script.|
|000027a0| 74 69 64 79 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |tidy' <<|'END_OF_|
|000027b0| 46 49 4c 45 27 0a 58 23 | 21 2f 62 69 6e 2f 73 68 |FILE'.X#|!/bin/sh|
|000027c0| 0a 58 23 20 50 75 62 6c | 69 63 20 64 6f 6d 61 69 |.X# Publ|ic domai|
|000027d0| 6e 2e 0a 58 65 78 65 63 | 20 73 65 64 20 2d 65 20 |n..Xexec| sed -e |
|000027e0| 27 73 2f 24 2f 2f 27 20 | 2d 65 20 27 73 2f 5b 5e |'s/$//' |-e 's/[^|
|000027f0| 08 5d 08 2f 2f 67 27 0a | 45 4e 44 5f 4f 46 5f 46 |.].//g'.|END_OF_F|
|00002800| 49 4c 45 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |ILE. ec|ho shar:|
|00002810| 20 32 20 63 6f 6e 74 72 | 6f 6c 20 63 68 61 72 61 | 2 contr|ol chara|
|00002820| 63 74 65 72 73 20 6d 61 | 79 20 62 65 20 6d 69 73 |cters ma|y be mis|
|00002830| 73 69 6e 67 20 66 72 6f | 6d 20 5c 22 27 75 74 69 |sing fro|m \"'uti|
|00002840| 6c 2f 73 63 72 69 70 74 | 2e 74 69 64 79 27 5c 22 |l/script|.tidy'\"|
|00002850| 0a 20 20 69 66 20 74 65 | 73 74 20 36 33 20 2d 6e |. if te|st 63 -n|
|00002860| 65 20 60 77 63 20 2d 63 | 20 3c 27 75 74 69 6c 2f |e `wc -c| <'util/|
|00002870| 73 63 72 69 70 74 2e 74 | 69 64 79 27 60 3b 20 74 |script.t|idy'`; t|
|00002880| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00002890| 72 3a 20 5c 22 27 75 74 | 69 6c 2f 73 63 72 69 70 |r: \"'ut|il/scrip|
|000028a0| 74 2e 74 69 64 79 27 5c | 22 20 75 6e 70 61 63 6b |t.tidy'\|" unpack|
|000028b0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|000028c0| 7a 65 21 0a 20 20 66 69 | 0a 20 20 63 68 6d 6f 64 |ze!. fi|. chmod|
|000028d0| 20 2b 78 20 27 75 74 69 | 6c 2f 73 63 72 69 70 74 | +x 'uti|l/script|
|000028e0| 2e 74 69 64 79 27 0a 20 | 20 23 20 65 6e 64 20 6f |.tidy'. | # end o|
|000028f0| 66 20 27 75 74 69 6c 2f | 73 63 72 69 70 74 2e 74 |f 'util/|script.t|
|00002900| 69 64 79 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |idy'.fi.|if test |
|00002910| 2d 66 20 27 75 74 69 6c | 2f 73 65 73 73 27 20 2d |-f 'util|/sess' -|
|00002920| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00002930| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00002940| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00002950| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00002960| 66 69 6c 65 20 5c 22 27 | 75 74 69 6c 2f 73 65 73 |file \"'|util/ses|
|00002970| 73 27 5c 22 0a 65 6c 73 | 65 0a 20 20 65 63 68 6f |s'\".els|e. echo|
|00002980| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00002990| 67 20 5c 22 27 75 74 69 | 6c 2f 73 65 73 73 27 5c |g \"'uti|l/sess'\|
|000029a0| 22 20 5c 28 34 34 20 63 | 68 61 72 61 63 74 65 72 |" \(44 c|haracter|
|000029b0| 73 5c 29 0a 20 20 73 65 | 64 20 22 73 2f 5e 58 2f |s\). se|d "s/^X/|
|000029c0| 2f 22 20 3e 27 75 74 69 | 6c 2f 73 65 73 73 27 20 |/" >'uti|l/sess' |
|000029d0| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|000029e0| 58 23 21 2f 62 69 6e 2f | 73 68 0a 58 23 20 50 75 |X#!/bin/|sh.X# Pu|
|000029f0| 62 6c 69 63 20 64 6f 6d | 61 69 6e 2e 0a 58 65 78 |blic dom|ain..Xex|
|00002a00| 65 63 20 70 74 79 20 2d | 73 20 22 24 40 22 0a 45 |ec pty -|s "$@".E|
|00002a10| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 20 20 69 66 20 |ND_OF_FI|LE. if |
|00002a20| 74 65 73 74 20 34 34 20 | 2d 6e 65 20 60 77 63 20 |test 44 |-ne `wc |
|00002a30| 2d 63 20 3c 27 75 74 69 | 6c 2f 73 65 73 73 27 60 |-c <'uti|l/sess'`|
|00002a40| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00002a50| 73 68 61 72 3a 20 5c 22 | 27 75 74 69 6c 2f 73 65 |shar: \"|'util/se|
|00002a60| 73 73 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |ss'\" un|packed w|
|00002a70| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00002a80| 20 20 66 69 0a 20 20 63 | 68 6d 6f 64 20 2b 78 20 | fi. c|hmod +x |
|00002a90| 27 75 74 69 6c 2f 73 65 | 73 73 27 0a 20 20 23 20 |'util/se|ss'. # |
|00002aa0| 65 6e 64 20 6f 66 20 27 | 75 74 69 6c 2f 73 65 73 |end of '|util/ses|
|00002ab0| 73 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 2d 66 |s'.fi.if| test -f|
|00002ac0| 20 27 75 74 69 6c 2f 74 | 69 6f 63 73 74 69 2e 31 | 'util/t|iocsti.1|
|00002ad0| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00002ae0| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00002af0| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00002b00| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00002b10| 6e 67 20 66 69 6c 65 20 | 5c 22 27 75 74 69 6c 2f |ng file |\"'util/|
|00002b20| 74 69 6f 63 73 74 69 2e | 31 27 5c 22 0a 65 6c 73 |tiocsti.|1'\".els|
|00002b30| 65 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 45 |e. echo| shar: E|
|00002b40| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 75 74 69 |xtractin|g \"'uti|
|00002b50| 6c 2f 74 69 6f 63 73 74 | 69 2e 31 27 5c 22 20 5c |l/tiocst|i.1'\" \|
|00002b60| 28 32 35 30 20 63 68 61 | 72 61 63 74 65 72 73 5c |(250 cha|racters\|
|00002b70| 29 0a 20 20 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |). sed |"s/^X//"|
|00002b80| 20 3e 27 75 74 69 6c 2f | 74 69 6f 63 73 74 69 2e | >'util/|tiocsti.|
|00002b90| 31 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |1' <<'EN|D_OF_FIL|
|00002ba0| 45 27 0a 58 2e 54 48 20 | 74 69 6f 63 73 74 69 20 |E'.X.TH |tiocsti |
|00002bb0| 31 0a 58 2e 53 48 20 4e | 41 4d 45 0a 58 74 69 6f |1.X.SH N|AME.Xtio|
|00002bc0| 63 73 74 69 20 5c 2d 20 | 73 69 6d 75 6c 61 74 65 |csti \- |simulate|
|00002bd0| 20 74 65 72 6d 69 6e 61 | 6c 20 69 6e 70 75 74 0a | termina|l input.|
|00002be0| 58 2e 53 48 20 53 59 4e | 4f 50 53 49 53 0a 58 2e |X.SH SYN|OPSIS.X.|
|00002bf0| 42 20 74 69 6f 63 73 74 | 69 0a 58 5b 0a 58 2e 49 |B tiocst|i.X[.X.I|
|00002c00| 20 61 72 67 0a 58 5d 20 | 2e 2e 2e 0a 58 2e 53 48 | arg.X] |....X.SH|
|00002c10| 20 44 45 53 43 52 49 50 | 54 49 4f 4e 0a 58 2e 49 | DESCRIP|TION.X.I|
|00002c20| 20 74 69 6f 63 73 74 69 | 0a 58 60 60 74 79 70 65 | tiocsti|.X``type|
|00002c30| 73 27 27 20 65 61 63 68 | 20 6f 66 20 69 74 73 20 |s'' each| of its |
|00002c40| 61 72 67 75 6d 65 6e 74 | 73 20 6f 6e 20 74 68 65 |argument|s on the|
|00002c50| 0a 58 63 75 72 72 65 6e | 74 20 74 65 72 6d 69 6e |.Xcurren|t termin|
|00002c60| 61 6c 2c 20 73 65 70 61 | 72 61 74 65 64 20 62 79 |al, sepa|rated by|
|00002c70| 20 73 70 61 63 65 73 2c | 0a 58 61 73 20 69 66 20 | spaces,|.Xas if |
|00002c80| 79 6f 75 20 68 61 64 20 | 74 79 70 65 64 20 74 68 |you had |typed th|
|00002c90| 65 6d 2e 0a 58 2e 53 48 | 20 22 53 45 45 20 41 4c |em..X.SH| "SEE AL|
|00002ca0| 53 4f 22 0a 58 74 74 79 | 28 34 29 0a 45 4e 44 5f |SO".Xtty|(4).END_|
|00002cb0| 4f 46 5f 46 49 4c 45 0a | 20 20 69 66 20 74 65 73 |OF_FILE.| if tes|
|00002cc0| 74 20 32 35 30 20 2d 6e | 65 20 60 77 63 20 2d 63 |t 250 -n|e `wc -c|
|00002cd0| 20 3c 27 75 74 69 6c 2f | 74 69 6f 63 73 74 69 2e | <'util/|tiocsti.|
|00002ce0| 31 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |1'`; the|n. ec|
|00002cf0| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 75 74 69 6c |ho shar:| \"'util|
|00002d00| 2f 74 69 6f 63 73 74 69 | 2e 31 27 5c 22 20 75 6e |/tiocsti|.1'\" un|
|00002d10| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00002d20| 67 20 73 69 7a 65 21 0a | 20 20 66 69 0a 20 20 23 |g size!.| fi. #|
|00002d30| 20 65 6e 64 20 6f 66 20 | 27 75 74 69 6c 2f 74 69 | end of |'util/ti|
|00002d40| 6f 63 73 74 69 2e 31 27 | 0a 66 69 0a 69 66 20 74 |ocsti.1'|.fi.if t|
|00002d50| 65 73 74 20 2d 66 20 27 | 75 74 69 6c 2f 74 69 6f |est -f '|util/tio|
|00002d60| 63 73 74 69 2e 63 27 20 | 2d 61 20 22 24 7b 31 7d |csti.c' |-a "${1}|
|00002d70| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00002d80| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00002d90| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00002da0| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00002db0| 27 75 74 69 6c 2f 74 69 | 6f 63 73 74 69 2e 63 27 |'util/ti|ocsti.c'|
|00002dc0| 5c 22 0a 65 6c 73 65 0a | 20 20 65 63 68 6f 20 73 |\".else.| echo s|
|00002dd0| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00002de0| 5c 22 27 75 74 69 6c 2f | 74 69 6f 63 73 74 69 2e |\"'util/|tiocsti.|
|00002df0| 63 27 5c 22 20 5c 28 33 | 32 32 20 63 68 61 72 61 |c'\" \(3|22 chara|
|00002e00| 63 74 65 72 73 5c 29 0a | 20 20 73 65 64 20 22 73 |cters\).| sed "s|
|00002e10| 2f 5e 58 2f 2f 22 20 3e | 27 75 74 69 6c 2f 74 69 |/^X//" >|'util/ti|
|00002e20| 6f 63 73 74 69 2e 63 27 | 20 3c 3c 27 45 4e 44 5f |ocsti.c'| <<'END_|
|00002e30| 4f 46 5f 46 49 4c 45 27 | 0a 58 2f 2a 20 50 75 62 |OF_FILE'|.X/* Pub|
|00002e40| 6c 69 63 20 64 6f 6d 61 | 69 6e 2e 20 2a 2f 0a 58 |lic doma|in. */.X|
|00002e50| 23 69 6e 63 6c 75 64 65 | 20 3c 73 79 73 2f 69 6f |#include| <sys/io|
|00002e60| 63 74 6c 2e 68 3e 0a 58 | 0a 58 6d 61 69 6e 28 61 |ctl.h>.X|.Xmain(a|
|00002e70| 72 67 63 2c 61 72 67 76 | 29 0a 58 69 6e 74 20 61 |rgc,argv|).Xint a|
|00002e80| 72 67 63 3b 0a 58 63 68 | 61 72 20 2a 61 72 67 76 |rgc;.Xch|ar *argv|
|00002e90| 5b 5d 3b 0a 58 7b 0a 58 | 20 69 6e 74 20 6a 3b 0a |[];.X{.X| int j;.|
|00002ea0| 58 20 63 68 61 72 20 2a | 73 3b 0a 58 0a 58 20 69 |X char *|s;.X.X i|
|00002eb0| 66 20 28 69 6f 63 74 6c | 28 33 2c 54 49 4f 43 47 |f (ioctl|(3,TIOCG|
|00002ec0| 50 47 52 50 2c 28 63 68 | 61 72 20 2a 29 20 26 6a |PGRP,(ch|ar *) &j|
|00002ed0| 29 20 3d 3d 20 2d 31 29 | 0a 58 20 20 20 28 76 6f |) == -1)|.X (vo|
|00002ee0| 69 64 29 20 64 75 70 32 | 28 30 2c 33 29 3b 0a 58 |id) dup2|(0,3);.X|
|00002ef0| 0a 58 20 66 6f 72 20 28 | 6a 20 3d 20 31 3b 6a 20 |.X for (|j = 1;j |
|00002f00| 3c 20 61 72 67 63 3b 6a | 2b 2b 29 0a 58 20 20 7b |< argc;j|++).X {|
|00002f10| 0a 58 20 20 20 66 6f 72 | 20 28 73 20 3d 20 61 72 |.X for| (s = ar|
|00002f20| 67 76 5b 6a 5d 3b 2a 73 | 3b 73 2b 2b 29 0a 58 20 |gv[j];*s|;s++).X |
|00002f30| 20 20 20 20 28 76 6f 69 | 64 29 20 69 6f 63 74 6c | (voi|d) ioctl|
|00002f40| 28 33 2c 54 49 4f 43 53 | 54 49 2c 73 29 3b 0a 58 |(3,TIOCS|TI,s);.X|
|00002f50| 20 20 20 69 66 20 28 6a | 20 3c 20 61 72 67 63 20 | if (j| < argc |
|00002f60| 2d 20 31 29 0a 58 20 20 | 20 20 20 28 76 6f 69 64 |- 1).X | (void|
|00002f70| 29 20 69 6f 63 74 6c 28 | 33 2c 54 49 4f 43 53 54 |) ioctl(|3,TIOCST|
|00002f80| 49 2c 22 20 22 29 3b 0a | 58 20 20 7d 0a 58 7d 0a |I," ");.|X }.X}.|
|00002f90| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 20 20 69 66 |END_OF_F|ILE. if|
|00002fa0| 20 74 65 73 74 20 33 32 | 32 20 2d 6e 65 20 60 77 | test 32|2 -ne `w|
|00002fb0| 63 20 2d 63 20 3c 27 75 | 74 69 6c 2f 74 69 6f 63 |c -c <'u|til/tioc|
|00002fc0| 73 74 69 2e 63 27 60 3b | 20 74 68 65 6e 0a 20 20 |sti.c'`;| then. |
|00002fd0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00002fe0| 75 74 69 6c 2f 74 69 6f | 63 73 74 69 2e 63 27 5c |util/tio|csti.c'\|
|00002ff0| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00003000| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 20 20 66 69 |wrong si|ze!. fi|
|00003010| 0a 20 20 23 20 65 6e 64 | 20 6f 66 20 27 75 74 69 |. # end| of 'uti|
|00003020| 6c 2f 74 69 6f 63 73 74 | 69 2e 63 27 0a 66 69 0a |l/tiocst|i.c'.fi.|
|00003030| 69 66 20 74 65 73 74 20 | 2d 66 20 27 75 74 69 6c |if test |-f 'util|
|00003040| 2f 74 74 79 2e 31 27 20 | 2d 61 20 22 24 7b 31 7d |/tty.1' |-a "${1}|
|00003050| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00003060| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00003070| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00003080| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00003090| 27 75 74 69 6c 2f 74 74 | 79 2e 31 27 5c 22 0a 65 |'util/tt|y.1'\".e|
|000030a0| 6c 73 65 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |lse. ec|ho shar:|
|000030b0| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 75 | Extract|ing \"'u|
|000030c0| 74 69 6c 2f 74 74 79 2e | 31 27 5c 22 20 5c 28 32 |til/tty.|1'\" \(2|
|000030d0| 37 39 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |79 chara|cters\).|
|000030e0| 20 20 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e | sed "s|/^X//" >|
|000030f0| 27 75 74 69 6c 2f 74 74 | 79 2e 31 27 20 3c 3c 27 |'util/tt|y.1' <<'|
|00003100| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 2e 54 |END_OF_F|ILE'.X.T|
|00003110| 48 20 74 74 79 20 31 0a | 58 2e 53 48 20 4e 41 4d |H tty 1.|X.SH NAM|
|00003120| 45 0a 58 74 74 79 20 5c | 2d 20 67 65 74 20 74 65 |E.Xtty \|- get te|
|00003130| 72 6d 69 6e 61 6c 20 6e | 61 6d 65 0a 58 2e 53 48 |rminal n|ame.X.SH|
|00003140| 20 53 59 4e 4f 50 53 49 | 53 0a 58 2e 42 20 74 74 | SYNOPSI|S.X.B tt|
|00003150| 79 0a 58 5b 0a 58 2e 42 | 5c 2d 73 0a 58 5d 0a 58 |y.X[.X.B|\-s.X].X|
|00003160| 2e 53 48 20 44 45 53 43 | 52 49 50 54 49 4f 4e 0a |.SH DESC|RIPTION.|
|00003170| 58 2e 49 20 74 74 79 0a | 58 70 72 69 6e 74 73 20 |X.I tty.|Xprints |
|00003180| 74 68 65 20 70 61 74 68 | 6e 61 6d 65 20 6f 66 20 |the path|name of |
|00003190| 74 68 65 20 75 73 65 72 | 27 73 20 74 65 72 6d 69 |the user|'s termi|
|000031a0| 6e 61 6c 2c 0a 58 6f 72 | 0a 58 60 60 6e 6f 74 20 |nal,.Xor|.X``not |
|000031b0| 61 20 74 74 79 27 27 0a | 58 69 66 20 69 74 73 20 |a tty''.|Xif its |
|000031c0| 69 6e 70 75 74 20 69 73 | 20 6e 6f 74 20 61 20 74 |input is| not a t|
|000031d0| 65 72 6d 69 6e 61 6c 2e | 0a 58 2e 49 20 74 74 79 |erminal.|.X.I tty|
|000031e0| 20 5c 2d 73 0a 58 70 72 | 69 6e 74 73 20 6e 6f 74 | \-s.Xpr|ints not|
|000031f0| 68 69 6e 67 2e 0a 58 2e | 53 48 20 22 45 58 49 54 |hing..X.|SH "EXIT|
|00003200| 20 56 41 4c 55 45 22 0a | 58 30 20 69 66 20 74 68 | VALUE".|X0 if th|
|00003210| 65 20 69 6e 70 75 74 20 | 69 73 20 61 20 74 65 72 |e input |is a ter|
|00003220| 6d 69 6e 61 6c 2c 0a 58 | 31 20 69 66 20 69 74 20 |minal,.X|1 if it |
|00003230| 69 73 6e 27 74 2e 0a 45 | 4e 44 5f 4f 46 5f 46 49 |isn't..E|ND_OF_FI|
|00003240| 4c 45 0a 20 20 69 66 20 | 74 65 73 74 20 32 37 39 |LE. if |test 279|
|00003250| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 75 74 | -ne `wc| -c <'ut|
|00003260| 69 6c 2f 74 74 79 2e 31 | 27 60 3b 20 74 68 65 6e |il/tty.1|'`; then|
|00003270| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00003280| 5c 22 27 75 74 69 6c 2f | 74 74 79 2e 31 27 5c 22 |\"'util/|tty.1'\"|
|00003290| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|000032a0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 20 20 66 69 0a |rong siz|e!. fi.|
|000032b0| 20 20 23 20 65 6e 64 20 | 6f 66 20 27 75 74 69 6c | # end |of 'util|
|000032c0| 2f 74 74 79 2e 31 27 0a | 66 69 0a 69 66 20 74 65 |/tty.1'.|fi.if te|
|000032d0| 73 74 20 2d 66 20 27 75 | 74 69 6c 2f 74 74 79 2e |st -f 'u|til/tty.|
|000032e0| 63 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |c' -a "$|{1}" != |
|000032f0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00003300| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00003310| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00003320| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 75 74 69 6c |ing file| \"'util|
|00003330| 2f 74 74 79 2e 63 27 5c | 22 0a 65 6c 73 65 0a 20 |/tty.c'\|".else. |
|00003340| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 | echo sh|ar: Extr|
|00003350| 61 63 74 69 6e 67 20 5c | 22 27 75 74 69 6c 2f 74 |acting \|"'util/t|
|00003360| 74 79 2e 63 27 5c 22 20 | 5c 28 32 39 38 20 63 68 |ty.c'\" |\(298 ch|
|00003370| 61 72 61 63 74 65 72 73 | 5c 29 0a 20 20 73 65 64 |aracters|\). sed|
|00003380| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 75 74 69 6c | "s/^X//|" >'util|
|00003390| 2f 74 74 79 2e 63 27 20 | 3c 3c 27 45 4e 44 5f 4f |/tty.c' |<<'END_O|
|000033a0| 46 5f 46 49 4c 45 27 0a | 58 2f 2a 20 50 75 62 6c |F_FILE'.|X/* Publ|
|000033b0| 69 63 20 64 6f 6d 61 69 | 6e 2e 20 2a 2f 0a 58 0a |ic domai|n. */.X.|
|000033c0| 58 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 74 74 |Xextern |char *tt|
|000033d0| 79 6e 61 6d 65 28 29 3b | 0a 58 0a 58 6d 61 69 6e |yname();|.X.Xmain|
|000033e0| 28 61 72 67 63 2c 61 72 | 67 76 29 0a 58 69 6e 74 |(argc,ar|gv).Xint|
|000033f0| 20 61 72 67 63 3b 0a 58 | 63 68 61 72 20 2a 61 72 | argc;.X|char *ar|
|00003400| 67 76 5b 5d 3b 0a 58 7b | 0a 58 20 63 68 61 72 20 |gv[];.X{|.X char |
|00003410| 2a 73 3b 0a 58 0a 58 20 | 73 20 3d 20 74 74 79 6e |*s;.X.X |s = ttyn|
|00003420| 61 6d 65 28 30 29 3b 0a | 58 0a 58 20 69 66 20 28 |ame(0);.|X.X if (|
|00003430| 28 61 72 67 63 20 21 3d | 20 32 29 0a 58 20 20 20 |(argc !=| 2).X |
|00003440| 7c 7c 28 61 72 67 76 5b | 31 5d 5b 30 5d 20 21 3d |||(argv[|1][0] !=|
|00003450| 20 27 2d 27 29 20 7c 7c | 20 28 61 72 67 76 5b 31 | '-') ||| (argv[1|
|00003460| 5d 5b 31 5d 20 21 3d 20 | 27 73 27 29 20 7c 7c 20 |][1] != |'s') || |
|00003470| 28 61 72 67 76 5b 31 5d | 5b 32 5d 20 21 3d 20 27 |(argv[1]|[2] != '|
|00003480| 5c 30 27 29 29 0a 58 20 | 20 20 69 66 20 28 73 29 |\0')).X | if (s)|
|00003490| 0a 58 20 20 20 20 20 28 | 76 6f 69 64 29 20 70 75 |.X (|void) pu|
|000034a0| 74 73 28 73 29 3b 0a 58 | 20 20 20 65 6c 73 65 0a |ts(s);.X| else.|
|000034b0| 58 20 20 20 20 20 28 76 | 6f 69 64 29 20 70 75 74 |X (v|oid) put|
|000034c0| 73 28 22 6e 6f 74 20 61 | 20 74 74 79 22 29 3b 0a |s("not a| tty");.|
|000034d0| 58 20 28 76 6f 69 64 29 | 20 65 78 69 74 28 21 73 |X (void)| exit(!s|
|000034e0| 29 3b 0a 58 7d 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |);.X}.EN|D_OF_FIL|
|000034f0| 45 0a 20 20 69 66 20 74 | 65 73 74 20 32 39 38 20 |E. if t|est 298 |
|00003500| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 75 74 69 |-ne `wc |-c <'uti|
|00003510| 6c 2f 74 74 79 2e 63 27 | 60 3b 20 74 68 65 6e 0a |l/tty.c'|`; then.|
|00003520| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00003530| 22 27 75 74 69 6c 2f 74 | 74 79 2e 63 27 5c 22 20 |"'util/t|ty.c'\" |
|00003540| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00003550| 6f 6e 67 20 73 69 7a 65 | 21 0a 20 20 66 69 0a 20 |ong size|!. fi. |
|00003560| 20 23 20 65 6e 64 20 6f | 66 20 27 75 74 69 6c 2f | # end o|f 'util/|
|00003570| 74 74 79 2e 63 27 0a 66 | 69 0a 65 63 68 6f 20 73 |tty.c'.f|i.echo s|
|00003580| 68 61 72 3a 20 45 6e 64 | 20 6f 66 20 61 72 63 68 |har: End| of arch|
|00003590| 69 76 65 20 36 20 5c 28 | 6f 66 20 36 5c 29 2e 0a |ive 6 \(|of 6\)..|
|000035a0| 63 70 20 2f 64 65 76 2f | 6e 75 6c 6c 20 61 72 6b |cp /dev/|null ark|
|000035b0| 36 69 73 64 6f 6e 65 0a | 4d 49 53 53 49 4e 47 3d |6isdone.|MISSING=|
|000035c0| 22 22 0a 66 6f 72 20 49 | 20 69 6e 20 31 20 32 20 |"".for I| in 1 2 |
|000035d0| 33 20 34 20 35 20 36 20 | 3b 20 64 6f 0a 20 20 20 |3 4 5 6 |; do. |
|000035e0| 20 69 66 20 74 65 73 74 | 20 21 20 2d 66 20 61 72 | if test| ! -f ar|
|000035f0| 6b 24 7b 49 7d 69 73 64 | 6f 6e 65 20 3b 20 74 68 |k${I}isd|one ; th|
|00003600| 65 6e 0a 09 4d 49 53 53 | 49 4e 47 3d 22 24 7b 4d |en..MISS|ING="${M|
|00003610| 49 53 53 49 4e 47 7d 20 | 24 7b 49 7d 22 0a 20 20 |ISSING} |${I}". |
|00003620| 20 20 66 69 0a 64 6f 6e | 65 0a 69 66 20 74 65 73 | fi.don|e.if tes|
|00003630| 74 20 22 24 7b 4d 49 53 | 53 49 4e 47 7d 22 20 3d |t "${MIS|SING}" =|
|00003640| 20 22 22 20 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 | "" ; th|en. e|
|00003650| 63 68 6f 20 59 6f 75 20 | 68 61 76 65 20 75 6e 70 |cho You |have unp|
|00003660| 61 63 6b 65 64 20 61 6c | 6c 20 36 20 61 72 63 68 |acked al|l 6 arch|
|00003670| 69 76 65 73 2e 0a 20 20 | 20 20 72 6d 20 2d 66 20 |ives.. | rm -f |
|00003680| 61 72 6b 5b 31 2d 39 5d | 69 73 64 6f 6e 65 0a 65 |ark[1-9]|isdone.e|
|00003690| 6c 73 65 0a 20 20 20 20 | 65 63 68 6f 20 59 6f 75 |lse. |echo You|
|000036a0| 20 73 74 69 6c 6c 20 6d | 75 73 74 20 75 6e 70 61 | still m|ust unpa|
|000036b0| 63 6b 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ck the f|ollowing|
|000036c0| 20 61 72 63 68 69 76 65 | 73 3a 0a 20 20 20 20 65 | archive|s:. e|
|000036d0| 63 68 6f 20 22 20 20 20 | 20 20 20 20 20 22 20 24 |cho " | " $|
|000036e0| 7b 4d 49 53 53 49 4e 47 | 7d 0a 66 69 0a 65 78 69 |{MISSING|}.fi.exi|
|000036f0| 74 20 30 0a 65 78 69 74 | 20 30 20 23 20 4a 75 73 |t 0.exit| 0 # Jus|
|00003700| 74 20 69 6e 20 63 61 73 | 65 2e 2e 2e 0a |t in cas|e.... |
+--------+-------------------------+-------------------------+--------+--------+