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
| 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 31 31 69 30 35 |Subject:| v11i05|
|00000010| 31 3a 20 20 4d 61 69 6c | 20 75 73 65 72 27 73 20 |1: Mail| user's |
|00000020| 73 68 65 6c 6c 2c 20 50 | 61 72 74 30 31 2f 31 32 |shell, P|art01/12|
|00000030| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000040| 70 2e 73 6f 75 72 63 65 | 73 2e 75 6e 69 78 0a 53 |p.source|s.unix.S|
|00000050| 65 6e 64 65 72 3a 20 73 | 6f 75 72 63 65 73 0a 41 |ender: s|ources.A|
|00000060| 70 70 72 6f 76 65 64 3a | 20 72 73 40 75 75 6e 65 |pproved:| rs@uune|
|00000070| 74 2e 55 55 2e 4e 45 54 | 0a 0a 53 75 62 6d 69 74 |t.UU.NET|..Submit|
|00000080| 74 65 64 2d 62 79 3a 20 | 69 73 6c 61 6e 64 21 61 |ted-by: |island!a|
|00000090| 72 67 76 40 53 75 6e 2e | 43 4f 4d 20 28 44 61 6e |rgv@Sun.|COM (Dan|
|000000a0| 20 48 65 6c 6c 65 72 29 | 0a 50 6f 73 74 69 6e 67 | Heller)|.Posting|
|000000b0| 2d 6e 75 6d 62 65 72 3a | 20 56 6f 6c 75 6d 65 20 |-number:| Volume |
|000000c0| 31 31 2c 20 49 73 73 75 | 65 20 35 31 0a 41 72 63 |11, Issu|e 51.Arc|
|000000d0| 68 69 76 65 2d 6e 61 6d | 65 3a 20 6d 75 73 68 35 |hive-nam|e: mush5|
|000000e0| 2e 37 2f 50 61 72 74 30 | 31 0a 0a 5b 20 20 49 74 |.7/Part0|1..[ It|
|000000f0| 20 77 61 73 20 6f 6e 6c | 79 20 61 20 6d 61 74 74 | was onl|y a matt|
|00000100| 65 72 20 6f 66 20 74 69 | 6d 65 2e 20 20 54 68 69 |er of ti|me. Thi|
|00000110| 73 20 69 73 20 61 20 63 | 6f 6d 70 6c 65 74 65 20 |s is a c|omplete |
|00000120| 73 68 65 6c 6c 2c 20 73 | 69 6d 69 6c 61 72 0a 20 |shell, s|imilar. |
|00000130| 20 20 69 6e 20 6d 61 6e | 79 20 77 61 79 73 20 74 | in man|y ways t|
|00000140| 6f 20 74 68 65 20 43 20 | 73 68 65 6c 6c 2e 20 20 |o the C |shell. |
|00000150| 49 74 27 73 20 61 20 6d | 61 69 6c 20 70 72 6f 67 |It's a m|ail prog|
|00000160| 72 61 6d 2e 20 20 49 74 | 27 73 20 61 20 53 75 6e |ram. It|'s a Sun|
|00000170| 54 6f 6f 6c 73 0a 20 20 | 20 70 72 6f 67 72 61 6d |Tools. | program|
|00000180| 2e 20 20 49 74 27 73 20 | 61 20 43 75 72 73 65 73 |. It's |a Curses|
|00000190| 20 70 6f 72 67 72 61 6d | 2e 20 20 49 74 27 73 20 | porgram|. It's |
|000001a0| 61 20 77 61 79 20 6f 66 | 20 6c 69 66 65 2e 20 20 |a way of| life. |
|000001b0| 53 65 65 20 74 68 65 0a | 20 20 20 52 45 41 44 4d |See the.| READM|
|000001c0| 45 2e 20 20 54 68 69 73 | 20 69 73 20 61 20 62 69 |E. This| is a bi|
|000001d0| 67 67 69 65 2c 20 61 6e | 64 20 74 68 65 20 77 65 |ggie, an|d the we|
|000001e0| 65 6b 65 6e 64 20 77 69 | 6c 6c 20 63 61 75 73 65 |ekend wi|ll cause|
|000001f0| 20 61 20 6c 61 67 20 69 | 6e 20 74 68 65 0a 20 20 | a lag i|n the. |
|00000200| 20 70 6f 73 74 69 6e 67 | 73 2e 20 20 2d 2d 72 24 | posting|s. --r$|
|00000210| 20 20 5d 0a 0a 23 21 20 | 2f 62 69 6e 2f 73 68 0a | ]..#! |/bin/sh.|
|00000220| 23 20 54 68 69 73 20 69 | 73 20 61 20 73 68 65 6c |# This i|s a shel|
|00000230| 6c 20 61 72 63 68 69 76 | 65 2e 20 20 52 65 6d 6f |l archiv|e. Remo|
|00000240| 76 65 20 61 6e 79 74 68 | 69 6e 67 20 62 65 66 6f |ve anyth|ing befo|
|00000250| 72 65 20 74 68 69 73 20 | 6c 69 6e 65 2c 20 74 68 |re this |line, th|
|00000260| 65 6e 20 75 6e 70 61 63 | 6b 0a 23 20 69 74 20 62 |en unpac|k.# it b|
|00000270| 79 20 73 61 76 69 6e 67 | 20 69 74 20 69 6e 74 6f |y saving| it into|
|00000280| 20 61 20 66 69 6c 65 20 | 61 6e 64 20 74 79 70 69 | a file |and typi|
|00000290| 6e 67 20 22 73 68 20 66 | 69 6c 65 22 2e 20 20 54 |ng "sh f|ile". T|
|000002a0| 6f 20 6f 76 65 72 77 72 | 69 74 65 20 65 78 69 73 |o overwr|ite exis|
|000002b0| 74 69 6e 67 0a 23 20 66 | 69 6c 65 73 2c 20 74 79 |ting.# f|iles, ty|
|000002c0| 70 65 20 22 73 68 20 66 | 69 6c 65 20 2d 63 22 2e |pe "sh f|ile -c".|
|000002d0| 20 20 59 6f 75 20 63 61 | 6e 20 61 6c 73 6f 20 66 | You ca|n also f|
|000002e0| 65 65 64 20 74 68 69 73 | 20 61 73 20 73 74 61 6e |eed this| as stan|
|000002f0| 64 61 72 64 20 69 6e 70 | 75 74 20 76 69 61 0a 23 |dard inp|ut via.#|
|00000300| 20 75 6e 73 68 61 72 2c | 20 6f 72 20 62 79 20 74 | unshar,| or by t|
|00000310| 79 70 69 6e 67 20 22 73 | 68 20 3c 66 69 6c 65 22 |yping "s|h <file"|
|00000320| 2c 20 65 2e 67 2e 2e 20 | 20 49 66 20 74 68 69 73 |, e.g.. | If this|
|00000330| 20 61 72 63 68 69 76 65 | 20 69 73 20 63 6f 6d 70 | archive| is comp|
|00000340| 6c 65 74 65 2c 20 79 6f | 75 0a 23 20 77 69 6c 6c |lete, yo|u.# will|
|00000350| 20 73 65 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | see the| followi|
|00000360| 6e 67 20 6d 65 73 73 61 | 67 65 20 61 74 20 74 68 |ng messa|ge at th|
|00000370| 65 20 65 6e 64 3a 0a 23 | 09 09 22 45 6e 64 20 6f |e end:.#|.."End o|
|00000380| 66 20 61 72 63 68 69 76 | 65 20 31 20 28 6f 66 20 |f archiv|e 1 (of |
|00000390| 31 32 29 2e 22 0a 23 20 | 43 6f 6e 74 65 6e 74 73 |12).".# |Contents|
|000003a0| 3a 20 20 4d 41 4e 49 46 | 45 53 54 20 52 45 41 44 |: MANIF|EST READ|
|000003b0| 4d 45 20 62 69 6e 64 69 | 6e 67 73 2e 68 20 63 68 |ME bindi|ngs.h ch|
|000003c0| 65 63 6b 2e 70 72 20 63 | 6f 66 66 65 65 2e 63 75 |eck.pr c|offee.cu|
|000003d0| 70 2e 70 72 0a 23 20 20 | 20 63 6f 6e 66 69 67 2e |p.pr.# | config.|
|000003e0| 68 2d 64 69 73 74 20 63 | 79 63 6c 65 2e 70 72 20 |h-dist c|ycle.pr |
|000003f0| 64 6e 2e 61 72 72 6f 77 | 2e 70 72 20 65 64 69 74 |dn.arrow|.pr edit|
|00000400| 5f 6d 65 6e 75 2e 63 20 | 65 6e 76 65 6c 6f 70 65 |_menu.c |envelope|
|00000410| 2e 70 72 20 65 78 70 72 | 2e 63 0a 23 20 20 20 67 |.pr expr|.c.# g|
|00000420| 6c 61 73 73 65 73 2e 70 | 72 20 68 64 72 5f 70 61 |lasses.p|r hdr_pa|
|00000430| 6e 65 6c 2e 63 20 68 64 | 72 5f 70 72 6f 63 73 2e |nel.c hd|r_procs.|
|00000440| 63 20 6d 61 69 6c 2e 69 | 63 6f 6e 2e 31 20 6d 61 |c mail.i|con.1 ma|
|00000450| 69 6c 2e 69 63 6f 6e 2e | 32 0a 23 20 20 20 6d 61 |il.icon.|2.# ma|
|00000460| 6b 65 66 69 6c 65 2e 62 | 73 64 20 6d 61 6b 65 66 |kefile.b|sd makef|
|00000470| 69 6c 65 2e 73 75 6e 20 | 6d 61 6b 65 66 69 6c 65 |ile.sun |makefile|
|00000480| 2e 73 79 73 2e 76 20 70 | 72 69 6e 74 2e 63 20 73 |.sys.v p|rint.c s|
|00000490| 74 72 69 6e 67 73 2e 68 | 20 74 6f 6f 6c 2e 63 0a |trings.h| tool.c.|
|000004a0| 23 20 20 20 75 70 2e 61 | 72 72 6f 77 2e 70 72 20 |# up.a|rrow.pr |
|000004b0| 77 72 69 74 65 2e 70 72 | 0a 50 41 54 48 3d 2f 62 |write.pr|.PATH=/b|
|000004c0| 69 6e 3a 2f 75 73 72 2f | 62 69 6e 3a 2f 75 73 72 |in:/usr/|bin:/usr|
|000004d0| 2f 75 63 62 20 3b 20 65 | 78 70 6f 72 74 20 50 41 |/ucb ; e|xport PA|
|000004e0| 54 48 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 4d |TH.if te|st -f 'M|
|000004f0| 41 4e 49 46 45 53 54 27 | 20 2d 61 20 22 24 7b 31 |ANIFEST'| -a "${1|
|00000500| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00000510| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00000520| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00000530| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00000540| 22 27 4d 41 4e 49 46 45 | 53 54 27 5c 22 0a 65 6c |"'MANIFE|ST'\".el|
|00000550| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00000560| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 4d 41 4e 49 |tracting| \"'MANI|
|00000570| 46 45 53 54 27 5c 22 20 | 5c 28 31 38 30 37 20 63 |FEST'\" |\(1807 c|
|00000580| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00000590| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 4d 41 4e 49 46 |"s/^X//"| >'MANIF|
|000005a0| 45 53 54 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |EST' <<'|END_OF_F|
|000005b0| 49 4c 45 27 0a 58 20 20 | 20 46 69 6c 65 20 4e 61 |ILE'.X | File Na|
|000005c0| 6d 65 09 09 41 72 63 68 | 69 76 65 20 23 09 44 65 |me..Arch|ive #.De|
|000005d0| 73 63 72 69 70 74 69 6f | 6e 0a 58 2d 2d 2d 2d 2d |scriptio|n.X-----|
|000005e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000610| 2d 2d 2d 2d 2d 2d 0a 58 | 20 4d 41 4e 49 46 45 53 |------.X| MANIFES|
|00000620| 54 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |T | |
|00000630| 20 20 20 31 09 54 68 69 | 73 20 73 68 69 70 70 69 | 1.Thi|s shippi|
|00000640| 6e 67 20 6c 69 73 74 0a | 58 20 52 45 41 44 4d 45 |ng list.|X README|
|00000650| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000660| 20 20 20 20 31 09 0a 58 | 20 61 6c 69 61 73 65 73 | 1..X| aliases|
|00000670| 2e 63 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.c | |
|00000680| 20 20 20 32 09 0a 58 20 | 62 69 6e 64 2e 63 20 20 | 2..X |bind.c |
|00000690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006a0| 20 20 34 09 0a 58 20 62 | 69 6e 64 69 6e 67 73 2e | 4..X b|indings.|
|000006b0| 68 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |h | |
|000006c0| 20 31 09 0a 58 20 63 68 | 65 63 6b 2e 70 72 20 20 | 1..X ch|eck.pr |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006e0| 31 09 0a 58 20 63 6d 64 | 5f 68 65 6c 70 20 20 20 |1..X cmd|_help |
|000006f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 35 | | 5|
|00000700| 09 0a 58 20 63 6f 66 66 | 65 65 2e 63 75 70 2e 70 |..X coff|ee.cup.p|
|00000710| 72 20 20 20 20 20 20 20 | 20 20 20 20 20 20 31 09 |r | 1.|
|00000720| 0a 58 20 63 6f 6d 6d 61 | 6e 64 73 2e 63 20 20 20 |.X comma|nds.c |
|00000730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 37 09 0a | | 7..|
|00000740| 58 20 63 6f 6e 66 69 67 | 2e 68 2d 64 69 73 74 20 |X config|.h-dist |
|00000750| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 09 0a 58 | | 1..X|
|00000760| 20 63 75 72 73 5f 69 6f | 2e 63 20 20 20 20 20 20 | curs_io|.c |
|00000770| 20 20 20 20 20 20 20 20 | 20 20 20 32 09 0a 58 20 | | 2..X |
|00000780| 63 75 72 73 65 73 2e 63 | 20 20 20 20 20 20 20 20 |curses.c| |
|00000790| 20 20 20 20 20 20 20 20 | 20 20 36 09 0a 58 20 63 | | 6..X c|
|000007a0| 79 63 6c 65 2e 70 72 20 | 20 20 20 20 20 20 20 20 |ycle.pr | |
|000007b0| 20 20 20 20 20 20 20 20 | 20 31 09 0a 58 20 64 61 | | 1..X da|
|000007c0| 74 65 73 2e 63 20 20 20 | 20 20 20 20 20 20 20 20 |tes.c | |
|000007d0| 20 20 20 20 20 20 20 20 | 32 09 0a 58 20 64 6e 2e | |2..X dn.|
|000007e0| 61 72 72 6f 77 2e 70 72 | 20 20 20 20 20 20 20 20 |arrow.pr| |
|000007f0| 20 20 20 20 20 20 20 31 | 09 0a 58 20 64 6f 70 72 | 1|..X dopr|
|00000800| 6f 63 2e 63 20 20 20 20 | 20 20 20 20 20 20 20 20 |oc.c | |
|00000810| 20 20 20 20 20 20 34 09 | 0a 58 20 65 64 69 74 5f | 4.|.X edit_|
|00000820| 6d 65 6e 75 2e 63 20 20 | 20 20 20 20 20 20 20 20 |menu.c | |
|00000830| 20 20 20 20 20 31 09 0a | 58 20 65 6e 76 65 6c 6f | 1..|X envelo|
|00000840| 70 65 2e 70 72 20 20 20 | 20 20 20 20 20 20 20 20 |pe.pr | |
|00000850| 20 20 20 20 31 09 0a 58 | 20 65 78 65 63 75 74 65 | 1..X| execute|
|00000860| 2e 63 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.c | |
|00000870| 20 20 20 32 09 0a 58 20 | 65 78 70 72 2e 63 20 20 | 2..X |expr.c |
|00000880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000890| 20 20 31 09 0a 58 20 66 | 6b 65 79 73 2e 63 20 20 | 1..X f|keys.c |
|000008a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008b0| 20 35 09 0a 58 20 66 6f | 6c 64 65 72 73 2e 63 20 | 5..X fo|lders.c |
|000008c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008d0| 32 09 0a 58 20 67 6c 61 | 73 73 65 73 2e 70 72 20 |2..X gla|sses.pr |
|000008e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 31 | | 1|
|000008f0| 09 0a 58 20 68 64 72 5f | 70 61 6e 65 6c 2e 63 20 |..X hdr_|panel.c |
|00000900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 31 09 | | 1.|
|00000910| 0a 58 20 68 64 72 5f 70 | 72 6f 63 73 2e 63 20 20 |.X hdr_p|rocs.c |
|00000920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 31 09 0a | | 1..|
|00000930| 58 20 68 64 72 73 2e 63 | 20 20 20 20 20 20 20 20 |X hdrs.c| |
|00000940| 20 20 20 20 20 20 20 20 | 20 20 20 20 38 09 0a 58 | | 8..X|
|00000950| 20 68 65 6c 70 2e 63 20 | 20 20 20 20 20 20 20 20 | help.c | |
|00000960| 20 20 20 20 20 20 20 20 | 20 20 20 33 09 0a 58 20 | | 3..X |
|00000970| 69 6e 69 74 2e 63 20 20 | 20 20 20 20 20 20 20 20 |init.c | |
|00000980| 20 20 20 20 20 20 20 20 | 20 20 34 09 0a 58 20 6c | | 4..X l|
|00000990| 6f 6f 70 2e 63 20 20 20 | 20 20 20 20 20 20 20 20 |oop.c | |
|000009a0| 20 20 20 20 20 20 20 20 | 20 39 09 0a 58 20 6d 61 | | 9..X ma|
|000009b0| 69 6c 2e 63 20 20 20 20 | 20 20 20 20 20 20 20 20 |il.c | |
|000009c0| 20 20 20 20 20 20 20 31 | 30 09 0a 58 20 6d 61 69 | 1|0..X mai|
|000009d0| 6c 2e 69 63 6f 6e 2e 31 | 20 20 20 20 20 20 20 20 |l.icon.1| |
|000009e0| 20 20 20 20 20 20 20 31 | 09 0a 58 20 6d 61 69 6c | 1|..X mail|
|000009f0| 2e 69 63 6f 6e 2e 32 20 | 20 20 20 20 20 20 20 20 |.icon.2 | |
|00000a00| 20 20 20 20 20 20 31 09 | 0a 58 20 6d 61 69 6e 2e | 1.|.X main.|
|00000a10| 63 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |c | |
|00000a20| 20 20 20 20 20 33 09 0a | 58 20 6d 61 69 6e 5f 70 | 3..|X main_p|
|00000a30| 61 6e 65 6c 2e 63 20 20 | 20 20 20 20 20 20 20 20 |anel.c | |
|00000a40| 20 20 20 20 32 09 0a 58 | 20 6d 61 6b 65 66 69 6c | 2..X| makefil|
|00000a50| 65 2e 62 73 64 20 20 20 | 20 20 20 20 20 20 20 20 |e.bsd | |
|00000a60| 20 20 20 31 09 0a 58 20 | 6d 61 6b 65 66 69 6c 65 | 1..X |makefile|
|00000a70| 2e 73 75 6e 20 20 20 20 | 20 20 20 20 20 20 20 20 |.sun | |
|00000a80| 20 20 31 09 0a 58 20 6d | 61 6b 65 66 69 6c 65 2e | 1..X m|akefile.|
|00000a90| 73 79 73 2e 76 20 20 20 | 20 20 20 20 20 20 20 20 |sys.v | |
|00000aa0| 20 31 09 0a 58 20 6d 69 | 73 63 2e 63 20 20 20 20 | 1..X mi|sc.c |
|00000ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ac0| 37 09 0a 58 20 6d 73 67 | 73 2e 63 20 20 20 20 20 |7..X msg|s.c |
|00000ad0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 36 | | 6|
|00000ae0| 09 0a 58 20 6d 75 73 68 | 2e 31 2e 61 20 20 20 20 |..X mush|.1.a |
|00000af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 31 31 09 | | 11.|
|00000b00| 46 49 52 53 54 20 48 41 | 4c 46 20 4f 46 20 4d 41 |FIRST HA|LF OF MA|
|00000b10| 4e 50 41 47 45 0a 58 20 | 6d 75 73 68 2e 31 2e 62 |NPAGE.X |mush.1.b|
|00000b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b30| 20 31 32 09 53 45 43 4f | 4e 44 20 48 41 4c 46 20 | 12.SECO|ND HALF |
|00000b40| 4f 46 20 4d 41 4e 50 41 | 47 45 0a 58 20 6d 75 73 |OF MANPA|GE.X mus|
|00000b50| 68 2e 68 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |h.h | |
|00000b60| 20 20 20 20 20 20 20 36 | 09 0a 58 20 70 69 63 6b | 6|..X pick|
|00000b70| 2e 63 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.c | |
|00000b80| 20 20 20 20 20 20 33 09 | 0a 58 20 70 72 69 6e 74 | 3.|.X print|
|00000b90| 2e 63 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.c | |
|00000ba0| 20 20 20 20 20 31 09 0a | 58 20 72 69 74 65 2e 63 | 1..|X rite.c|
|00000bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000bc0| 20 20 20 20 32 09 0a 58 | 20 73 65 6c 65 63 74 2e | 2..X| select.|
|00000bd0| 63 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |c | |
|00000be0| 20 20 20 35 09 0a 58 20 | 73 65 74 6f 70 74 73 2e | 5..X |setopts.|
|00000bf0| 63 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |c | |
|00000c00| 20 20 33 09 0a 58 20 73 | 69 67 6e 61 6c 73 2e 63 | 3..X s|ignals.c|
|00000c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c20| 20 33 09 0a 58 20 73 6f | 72 74 2e 63 20 20 20 20 | 3..X so|rt.c |
|00000c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c40| 32 09 0a 58 20 73 74 72 | 69 6e 67 73 2e 68 20 20 |2..X str|ings.h |
|00000c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 31 | | 1|
|00000c60| 09 0a 58 20 74 6f 6f 6c | 2e 63 20 20 20 20 20 20 |..X tool|.c |
|00000c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 31 09 | | 1.|
|00000c80| 0a 58 20 74 6f 6f 6c 5f | 68 65 6c 70 20 20 20 20 |.X tool_|help |
|00000c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 38 09 0a | | 8..|
|00000ca0| 58 20 75 70 2e 61 72 72 | 6f 77 2e 70 72 20 20 20 |X up.arr|ow.pr |
|00000cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 09 0a 58 | | 1..X|
|00000cc0| 20 76 69 65 77 6f 70 74 | 73 2e 63 20 20 20 20 20 | viewopt|s.c |
|00000cd0| 20 20 20 20 20 20 20 20 | 20 20 20 34 09 0a 58 20 | | 4..X |
|00000ce0| 77 72 69 74 65 2e 70 72 | 20 20 20 20 20 20 20 20 |write.pr| |
|00000cf0| 20 20 20 20 20 20 20 20 | 20 20 31 09 0a 45 4e 44 | | 1..END|
|00000d00| 5f 4f 46 5f 46 49 4c 45 | 0a 69 66 20 74 65 73 74 |_OF_FILE|.if test|
|00000d10| 20 31 38 30 37 20 2d 6e | 65 20 60 77 63 20 2d 63 | 1807 -n|e `wc -c|
|00000d20| 20 3c 27 4d 41 4e 49 46 | 45 53 54 27 60 3b 20 74 | <'MANIF|EST'`; t|
|00000d30| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00000d40| 72 3a 20 5c 22 27 4d 41 | 4e 49 46 45 53 54 27 5c |r: \"'MA|NIFEST'\|
|00000d50| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00000d60| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00000d70| 20 65 6e 64 20 6f 66 20 | 27 4d 41 4e 49 46 45 53 | end of |'MANIFES|
|00000d80| 54 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 2d 66 |T'.fi.if| test -f|
|00000d90| 20 27 52 45 41 44 4d 45 | 27 20 2d 61 20 22 24 7b | 'README|' -a "${|
|00000da0| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00000db0| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00000dc0| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00000dd0| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00000de0| 5c 22 27 52 45 41 44 4d | 45 27 5c 22 0a 65 6c 73 |\"'READM|E'\".els|
|00000df0| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00000e00| 72 61 63 74 69 6e 67 20 | 5c 22 27 52 45 41 44 4d |racting |\"'READM|
|00000e10| 45 27 5c 22 20 5c 28 38 | 30 38 35 20 63 68 61 72 |E'\" \(8|085 char|
|00000e20| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00000e30| 5e 58 2f 2f 22 20 3e 27 | 52 45 41 44 4d 45 27 20 |^X//" >'|README' |
|00000e40| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|00000e50| 58 2f 2a 20 40 28 23 29 | 52 45 41 44 4d 45 09 32 |X/* @(#)|README.2|
|00000e60| 2e 34 09 28 63 29 20 63 | 6f 70 79 72 69 67 68 74 |.4.(c) c|opyright|
|00000e70| 20 31 30 2f 32 38 2f 38 | 36 09 28 44 61 6e 20 48 | 10/28/8|6.(Dan H|
|00000e80| 65 6c 6c 65 72 29 20 2a | 2f 0a 58 0a 58 41 75 74 |eller) *|/.X.XAut|
|00000e90| 68 6f 72 3a 0a 58 20 20 | 20 20 44 61 6e 20 48 65 |hor:.X | Dan He|
|00000ea0| 6c 6c 65 72 0a 58 0a 58 | 4e 65 74 77 6f 72 6b 20 |ller.X.X|Network |
|00000eb0| 61 64 64 72 65 73 73 3a | 0a 58 20 20 20 20 69 73 |address:|.X is|
|00000ec0| 6c 61 6e 64 21 61 72 67 | 76 40 73 75 6e 2e 63 6f |land!arg|v@sun.co|
|00000ed0| 6d 20 20 20 6f 72 20 20 | 20 61 72 67 76 40 73 70 |m or | argv@sp|
|00000ee0| 61 6d 2e 69 73 74 63 2e | 73 72 69 2e 63 6f 6d 0a |am.istc.|sri.com.|
|00000ef0| 58 0a 58 43 6f 6e 74 61 | 69 6e 65 64 20 69 73 20 |X.XConta|ined is |
|00000f00| 74 68 65 20 73 6f 75 72 | 63 65 20 66 6f 72 20 22 |the sour|ce for "|
|00000f10| 4d 61 69 6c 20 55 73 65 | 72 27 73 20 53 68 65 6c |Mail Use|r's Shel|
|00000f20| 6c 22 20 28 4d 55 53 48 | 29 2c 20 61 6e 20 69 6e |l" (MUSH|), an in|
|00000f30| 74 65 72 66 61 63 65 0a | 58 66 6f 72 20 74 68 65 |terface.|Xfor the|
|00000f40| 20 73 65 6e 64 69 6e 67 | 2c 20 76 69 65 77 69 6e | sending|, viewin|
|00000f50| 67 20 61 6e 64 20 6d 61 | 6e 61 67 69 6e 67 20 6f |g and ma|naging o|
|00000f60| 66 20 65 6c 65 63 74 72 | 6f 6e 69 63 20 6d 61 69 |f electr|onic mai|
|00000f70| 6c 20 6f 6e 20 55 4e 49 | 58 28 74 6d 29 20 73 79 |l on UNI|X(tm) sy|
|00000f80| 73 74 65 6d 73 2e 0a 58 | 52 65 64 69 73 74 72 69 |stems..X|Redistri|
|00000f90| 62 75 74 69 6f 6e 20 6f | 66 20 74 68 69 73 20 63 |bution o|f this c|
|00000fa0| 6f 64 65 20 69 73 20 70 | 65 72 6d 69 74 74 65 64 |ode is p|ermitted|
|00000fb0| 20 61 73 20 6c 6f 6e 67 | 20 61 73 20 61 6c 6c 20 | as long| as all |
|00000fc0| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|00000fd0| 73 0a 58 72 65 6d 61 69 | 6e 20 69 6e 74 61 63 74 |s.Xremai|n intact|
|00000fe0| 20 61 6e 64 20 61 6c 6c | 20 6f 74 68 65 72 20 69 | and all| other i|
|00000ff0| 64 65 6e 74 69 66 79 69 | 6e 67 20 6e 6f 74 69 63 |dentifyi|ng notic|
|00001000| 65 73 20 72 65 6d 61 69 | 6e 20 69 6e 20 74 68 65 |es remai|n in the|
|00001010| 20 63 6f 64 65 20 61 6e | 64 0a 58 69 6e 20 74 68 | code an|d.Xin th|
|00001020| 65 20 62 69 6e 61 72 79 | 2e 20 20 54 68 69 73 20 |e binary|. This |
|00001030| 69 6e 63 6c 75 64 65 73 | 20 6d 65 73 73 61 67 65 |includes| message|
|00001040| 20 68 65 61 64 65 72 73 | 20 6f 6e 20 6f 75 74 67 | headers| on outg|
|00001050| 6f 69 6e 67 20 6d 61 69 | 6c 20 61 6e 64 0a 58 74 |oing mai|l and.Xt|
|00001060| 68 65 20 73 74 61 72 74 | 75 70 20 6d 65 73 73 61 |he start|up messa|
|00001070| 67 65 2e 20 20 46 61 69 | 6c 69 6e 67 20 74 6f 20 |ge. Fai|ling to |
|00001080| 61 64 68 65 72 65 20 74 | 6f 20 74 68 69 73 20 72 |adhere t|o this r|
|00001090| 65 66 6c 65 63 74 73 20 | 6f 6e 20 79 6f 75 72 20 |eflects |on your |
|000010a0| 70 6f 6f 72 0a 58 73 65 | 6e 73 65 20 6f 66 20 66 |poor.Xse|nse of f|
|000010b0| 61 69 72 20 70 6c 61 79 | 20 61 6e 64 20 62 61 64 |air play| and bad|
|000010c0| 20 61 74 74 69 74 75 64 | 65 20 2d 2d 20 79 6f 75 | attitud|e -- you|
|000010d0| 20 77 69 6c 6c 20 70 72 | 6f 62 61 62 6c 79 20 66 | will pr|obably f|
|000010e0| 61 69 6c 20 69 6e 20 79 | 6f 75 72 0a 58 73 6f 63 |ail in y|our.Xsoc|
|000010f0| 69 61 6c 20 61 6e 64 20 | 62 75 73 69 6e 65 73 73 |ial and |business|
|00001100| 20 61 66 66 61 69 72 73 | 20 77 69 74 68 20 6c 69 | affairs| with li|
|00001110| 74 74 6c 65 20 68 6f 6e | 6f 72 20 61 6e 64 20 72 |ttle hon|or and r|
|00001120| 65 73 70 65 63 74 20 66 | 72 6f 6d 20 79 6f 75 72 |espect f|rom your|
|00001130| 20 70 65 65 72 73 2e 0a | 58 0a 58 57 69 74 68 20 | peers..|X.XWith |
|00001140| 74 68 61 74 20 6f 75 74 | 20 6f 66 20 74 68 65 20 |that out| of the |
|00001150| 77 61 79 2e 2e 2e 0a 58 | 0a 58 54 6f 20 69 6e 73 |way....X|.XTo ins|
|00001160| 74 61 6c 6c 20 4d 75 73 | 68 20 6f 6e 20 79 6f 75 |tall Mus|h on you|
|00001170| 72 20 73 79 73 74 65 6d | 2c 20 66 69 6e 64 20 74 |r system|, find t|
|00001180| 68 65 20 66 69 6c 65 20 | 74 68 61 74 20 6d 6f 73 |he file |that mos|
|00001190| 74 20 63 6c 6f 73 65 6c | 79 20 72 65 73 65 6d 62 |t closel|y resemb|
|000011a0| 6c 65 73 0a 58 22 63 6f | 6e 66 69 67 2e 68 22 20 |les.X"co|nfig.h" |
|000011b0| 28 70 72 6f 62 61 62 6c | 79 20 22 63 6f 6e 66 69 |(probabl|y "confi|
|000011c0| 67 2e 68 2d 64 69 73 74 | 22 29 20 43 4f 50 59 20 |g.h-dist|") COPY |
|000011d0| 69 74 20 74 6f 20 63 6f | 6e 66 69 67 2e 68 2c 20 |it to co|nfig.h, |
|000011e0| 65 64 69 74 20 69 74 20 | 74 6f 20 72 65 66 6c 65 |edit it |to refle|
|000011f0| 63 74 0a 58 74 68 65 20 | 73 79 73 74 65 6d 20 64 |ct.Xthe |system d|
|00001200| 65 70 65 6e 64 65 6e 63 | 69 6e 65 73 20 64 65 73 |ependenc|ines des|
|00001210| 63 72 69 62 65 64 20 74 | 68 65 72 65 2e 20 20 44 |cribed t|here. D|
|00001220| 65 63 69 64 65 20 77 68 | 69 63 68 20 6d 61 6b 65 |ecide wh|ich make|
|00001230| 66 69 6c 65 20 61 70 70 | 6c 69 65 73 0a 58 74 6f |file app|lies.Xto|
|00001240| 20 79 6f 75 2e 20 20 6d | 61 6b 65 66 69 6c 65 2e | you. m|akefile.|
|00001250| 73 75 6e 20 61 70 70 6c | 69 65 73 20 6f 6e 6c 79 |sun appl|ies only|
|00001260| 20 74 6f 20 73 75 6e 73 | 20 61 6e 64 20 63 72 65 | to suns| and cre|
|00001270| 61 74 65 73 20 61 20 62 | 69 6e 61 72 79 20 63 61 |ates a b|inary ca|
|00001280| 6c 6c 65 64 0a 58 22 6d | 75 73 68 2e 22 20 20 49 |lled.X"m|ush." I|
|00001290| 66 20 74 68 65 20 62 69 | 6e 61 72 79 20 65 6e 64 |f the bi|nary end|
|000012a0| 73 20 69 6e 20 22 74 6f | 6f 6c 22 2c 20 74 68 65 |s in "to|ol", the|
|000012b0| 6e 20 74 68 65 20 67 72 | 61 70 68 69 63 73 20 28 |n the gr|aphics (|
|000012c0| 74 6f 6f 6c 29 20 6d 6f | 64 65 20 77 69 6c 6c 0a |tool) mo|de will.|
|000012d0| 58 62 65 20 75 73 65 64 | 20 62 79 20 64 65 66 61 |Xbe used| by defa|
|000012e0| 75 6c 74 20 6f 6e 20 69 | 6e 76 6f 63 61 74 69 6f |ult on i|nvocatio|
|000012f0| 6e 2e 20 4f 74 68 65 72 | 77 69 73 65 2c 20 79 6f |n. Other|wise, yo|
|00001300| 75 20 6d 75 73 74 20 73 | 70 65 63 69 66 79 20 2d |u must s|pecify -|
|00001310| 74 20 66 6f 72 20 74 6f | 6f 6c 6d 6f 64 65 0a 58 |t for to|olmode.X|
|00001320| 6f 6e 20 73 75 6e 20 77 | 6f 72 6b 73 74 61 74 69 |on sun w|orkstati|
|00001330| 6f 6e 73 2e 20 20 54 68 | 65 20 53 55 4e 54 4f 4f |ons. Th|e SUNTOO|
|00001340| 4c 20 64 65 66 69 6e 65 | 20 6d 75 73 74 20 62 65 |L define| must be|
|00001350| 20 73 65 74 20 69 6e 20 | 74 68 65 20 6d 61 6b 65 | set in |the make|
|00001360| 66 69 6c 65 2e 73 75 6e | 0a 58 69 6e 20 6f 72 64 |file.sun|.Xin ord|
|00001370| 65 72 20 74 6f 20 63 6f | 6d 70 69 6c 65 20 74 68 |er to co|mpile th|
|00001380| 65 20 73 75 6e 74 6f 6f | 6c 73 20 76 65 72 73 69 |e suntoo|ls versi|
|00001390| 6f 6e 2e 20 20 59 6f 75 | 20 64 6f 6e 27 74 20 6e |on. You| don't n|
|000013a0| 65 65 64 20 74 6f 20 62 | 65 20 72 75 6e 6e 69 6e |eed to b|e runnin|
|000013b0| 67 0a 58 73 75 6e 76 69 | 65 77 3b 20 6f 6c 64 20 |g.Xsunvi|ew; old |
|000013c0| 73 75 6e 77 69 6e 64 6f | 77 73 20 28 32 2e 30 2b |sunwindo|ws (2.0+|
|000013d0| 29 20 6d 61 79 20 62 65 | 20 75 73 65 64 2e 0a 58 |) may be| used..X|
|000013e0| 0a 58 49 66 20 79 6f 75 | 27 72 65 20 6f 6e 20 61 |.XIf you|'re on a|
|000013f0| 20 42 53 44 20 73 79 73 | 74 65 6d 20 61 6e 64 20 | BSD sys|tem and |
|00001400| 69 74 27 73 20 6e 6f 74 | 20 61 20 73 75 6e 20 77 |it's not| a sun w|
|00001410| 6f 72 6b 73 74 61 74 69 | 6f 6e 2c 20 6f 72 20 69 |orkstati|on, or i|
|00001420| 66 20 79 6f 75 27 72 65 | 20 6f 6e 20 61 0a 58 73 |f you're| on a.Xs|
|00001430| 75 6e 20 77 6f 72 6b 73 | 74 61 74 69 6f 6e 20 61 |un works|tation a|
|00001440| 6e 64 20 6b 6e 6f 77 20 | 74 68 61 74 20 79 6f 75 |nd know |that you|
|00001450| 27 72 65 20 6e 6f 74 20 | 67 6f 69 6e 67 20 74 6f |'re not |going to|
|00001460| 20 75 73 65 20 74 68 65 | 20 73 75 6e 74 6f 6f 6c | use the| suntool|
|00001470| 73 20 6d 6f 64 65 20 74 | 68 65 6e 0a 58 79 6f 75 |s mode t|hen.Xyou|
|00001480| 20 73 68 6f 75 6c 64 20 | 75 73 65 20 6d 61 6b 65 | should |use make|
|00001490| 66 69 6c 65 2e 62 73 64 | 20 73 6f 20 74 68 61 74 |file.bsd| so that|
|000014a0| 20 53 55 4e 54 4f 4f 4c | 20 77 6f 6e 27 74 20 62 | SUNTOOL| won't b|
|000014b0| 65 20 64 65 66 69 6e 65 | 64 20 61 6e 64 20 75 6e |e define|d and un|
|000014c0| 6e 65 63 63 65 73 73 61 | 72 79 0a 58 66 69 6c 65 |neccessa|ry.Xfile|
|000014d0| 73 20 6e 6f 74 20 62 65 | 20 63 6f 6d 70 69 6c 65 |s not be| compile|
|000014e0| 64 20 73 6f 20 74 68 65 | 20 62 69 6e 61 72 79 20 |d so the| binary |
|000014f0| 77 69 6c 6c 20 62 65 20 | 6d 61 64 65 20 73 6d 61 |will be |made sma|
|00001500| 6c 6c 65 72 2e 0a 58 0a | 58 6d 61 6b 65 66 69 6c |ller..X.|Xmakefil|
|00001510| 65 2e 73 79 73 2e 76 20 | 69 73 20 66 6f 72 20 75 |e.sys.v |is for u|
|00001520| 6e 69 78 20 6d 61 63 68 | 69 6e 65 73 20 74 68 61 |nix mach|ines tha|
|00001530| 74 20 61 72 65 20 6e 6f | 74 20 72 75 6e 6e 69 6e |t are no|t runnin|
|00001540| 67 20 61 6e 79 20 66 6c | 61 76 6f 72 20 6f 66 0a |g any fl|avor of.|
|00001550| 58 42 53 44 20 61 6e 64 | 20 70 72 6f 62 61 62 6c |XBSD and| probabl|
|00001560| 79 20 72 75 6e 6e 69 6e | 67 20 61 20 73 79 73 74 |y runnin|g a syst|
|00001570| 65 6d 2d 76 20 66 6c 61 | 76 6f 72 20 6f 66 20 75 |em-v fla|vor of u|
|00001580| 6e 69 78 20 28 58 65 6e | 69 78 2c 20 66 6f 72 20 |nix (Xen|ix, for |
|00001590| 65 78 61 6d 70 6c 65 29 | 2e 0a 58 54 68 69 73 20 |example)|..XThis |
|000015a0| 6d 61 6b 65 66 69 6c 65 | 20 68 61 73 20 74 68 65 |makefile| has the|
|000015b0| 20 64 65 66 69 6e 65 2c | 20 53 59 53 56 20 74 6f | define,| SYSV to|
|000015c0| 20 69 6e 64 69 63 61 74 | 65 20 73 79 73 74 65 6d | indicat|e system|
|000015d0| 20 56 20 75 6e 69 78 2e | 20 20 53 6f 6d 65 20 6f | V unix.| Some o|
|000015e0| 6c 64 65 72 0a 58 75 6e | 69 78 20 73 79 73 74 65 |lder.Xun|ix syste|
|000015f0| 6d 73 20 68 61 76 65 20 | 53 59 53 56 20 64 65 66 |ms have |SYSV def|
|00001600| 69 6e 65 64 20 69 6e 20 | 2f 75 73 72 2f 69 6e 63 |ined in |/usr/inc|
|00001610| 6c 75 64 65 2f 63 75 72 | 73 65 73 2e 68 20 28 77 |lude/cur|ses.h (w|
|00001620| 68 69 63 68 20 69 73 20 | 75 73 65 64 20 69 66 0a |hich is |used if.|
|00001630| 58 79 6f 75 20 68 61 76 | 65 20 43 55 52 53 45 53 |Xyou hav|e CURSES|
|00001640| 20 64 65 66 69 6e 65 64 | 20 69 6e 20 74 68 65 20 | defined| in the |
|00001650| 6d 61 6b 65 66 69 6c 65 | 29 2e 20 20 49 6e 20 6d |makefile|). In m|
|00001660| 6f 73 74 20 63 61 73 65 | 73 2c 20 74 68 65 73 65 |ost case|s, these|
|00001670| 20 6f 6e 6c 79 0a 58 67 | 65 6e 65 72 61 74 65 20 | only.Xg|enerate |
|00001680| 61 6e 6e 6f 79 69 6e 67 | 20 77 61 72 6e 69 6e 67 |annoying| warning|
|00001690| 20 6d 65 73 73 61 67 65 | 73 20 61 6e 64 20 64 6f | message|s and do|
|000016a0| 65 73 20 6e 6f 74 20 65 | 66 66 65 63 74 20 74 68 |es not e|ffect th|
|000016b0| 65 20 63 6f 6d 70 69 6c | 61 74 69 6f 6e 0a 58 6f |e compil|ation.Xo|
|000016c0| 66 20 74 68 65 20 63 6f | 64 65 2e 0a 58 0a 58 4d |f the co|de..X.XM|
|000016d0| 75 73 68 20 77 61 73 20 | 64 65 73 69 67 6e 65 64 |ush was |designed|
|000016e0| 20 74 6f 20 75 73 65 20 | 73 65 6e 64 6d 61 69 6c | to use |sendmail|
|000016f0| 2e 20 48 6f 77 65 76 65 | 72 2c 20 6f 74 68 65 72 |. Howeve|r, other|
|00001700| 20 6d 61 69 6c 20 64 65 | 6c 69 76 65 72 79 20 73 | mail de|livery s|
|00001710| 75 62 73 79 73 74 65 6d | 20 68 61 76 65 0a 58 77 |ubsystem| have.Xw|
|00001720| 6f 72 6b 65 64 2e 20 20 | 54 68 65 20 6d 61 69 6c |orked. |The mail|
|00001730| 20 64 65 6c 69 76 65 72 | 79 20 73 75 62 73 79 73 | deliver|y subsys|
|00001740| 74 65 6d 20 79 6f 75 20 | 75 73 65 20 73 68 6f 75 |tem you |use shou|
|00001750| 6c 64 20 62 65 20 64 65 | 66 69 6e 65 64 20 69 6e |ld be de|fined in|
|00001760| 20 63 6f 6e 66 69 67 2e | 68 0a 58 75 6e 64 65 72 | config.|h.Xunder|
|00001770| 20 74 68 65 20 4d 41 49 | 4c 5f 44 45 4c 49 56 45 | the MAI|L_DELIVE|
|00001780| 52 59 20 6d 61 63 72 6f | 20 64 65 66 69 6e 65 2e |RY macro| define.|
|00001790| 20 42 79 20 64 65 66 61 | 75 6c 74 2c 20 2f 75 73 | By defa|ult, /us|
|000017a0| 72 2f 6c 69 62 2f 73 65 | 6e 64 6d 61 69 6c 20 2d |r/lib/se|ndmail -|
|000017b0| 69 0a 58 69 73 20 75 73 | 65 64 20 2d 2d 20 74 68 |i.Xis us|ed -- th|
|000017c0| 65 20 6f 70 74 69 6f 6e | 2c 20 2d 69 2c 20 74 65 |e option|, -i, te|
|000017d0| 6c 6c 73 20 73 65 6e 64 | 6d 61 69 6c 20 6e 6f 74 |lls send|mail not|
|000017e0| 20 74 6f 20 65 78 69 74 | 20 6f 6e 20 22 2e 22 20 | to exit| on "." |
|000017f0| 6f 6e 20 61 20 6c 69 6e | 65 0a 58 62 79 20 69 74 |on a lin|e.Xby it|
|00001800| 73 65 6c 66 2e 20 20 4d | 75 73 68 20 77 69 6c 6c |self. M|ush will|
|00001810| 20 70 69 63 6b 20 74 68 | 61 74 20 75 70 20 62 79 | pick th|at up by|
|00001820| 20 69 74 73 65 6c 66 20 | 69 66 20 79 6f 75 20 77 | itself |if you w|
|00001830| 61 6e 74 20 74 68 61 74 | 20 6f 70 74 69 6f 6e 0a |ant that| option.|
|00001840| 58 28 72 65 61 64 20 74 | 68 65 20 6d 61 6e 20 70 |X(read t|he man p|
|00001850| 61 67 65 29 2e 0a 58 0a | 58 49 66 20 79 6f 75 72 |age)..X.|XIf your|
|00001860| 20 6d 61 69 6c 65 72 20 | 64 6f 65 73 20 4e 4f 54 | mailer |does NOT|
|00001870| 20 68 61 76 65 20 61 20 | 76 65 72 62 6f 73 65 20 | have a |verbose |
|00001880| 6f 70 74 69 6f 6e 2c 20 | 74 68 65 6e 20 79 6f 75 |option, |then you|
|00001890| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 68 61 76 65 | should |not have|
|000018a0| 0a 58 56 45 52 42 4f 53 | 45 5f 41 52 47 20 64 65 |.XVERBOS|E_ARG de|
|000018b0| 66 69 6e 65 64 2e 20 20 | 4f 74 68 65 72 77 69 73 |fined. |Otherwis|
|000018c0| 65 2c 20 64 65 66 69 6e | 65 20 69 74 20 74 6f 20 |e, defin|e it to |
|000018d0| 62 65 20 77 68 61 74 65 | 76 65 72 20 74 68 65 0a |be whate|ver the.|
|000018e0| 58 76 65 72 62 6f 73 65 | 20 61 72 67 75 6d 65 6e |Xverbose| argumen|
|000018f0| 74 20 69 73 20 66 6f 72 | 20 79 6f 75 72 20 6d 61 |t is for| your ma|
|00001900| 69 6c 65 72 2e 0a 58 0a | 58 53 65 6e 64 6d 61 69 |iler..X.|XSendmai|
|00001910| 6c 20 75 73 65 73 20 74 | 68 65 20 2d 6d 20 61 72 |l uses t|he -m ar|
|00001920| 67 75 6d 65 6e 74 20 74 | 6f 20 73 61 79 2c 20 22 |gument t|o say, "|
|00001930| 6d 65 74 6f 6f 22 20 2d | 2d 20 77 68 65 6e 20 73 |metoo" -|- when s|
|00001940| 65 6e 64 69 6e 67 20 74 | 6f 20 6d 61 69 6c 69 6e |ending t|o mailin|
|00001950| 67 0a 58 6c 69 73 74 73 | 2c 20 6e 6f 72 6d 61 6c |g.Xlists|, normal|
|00001960| 6c 79 20 73 65 6e 64 6d | 61 69 6c 20 77 69 6c 6c |ly sendm|ail will|
|00001970| 20 73 65 6e 64 20 6d 61 | 69 6c 20 74 6f 20 6d 61 | send ma|il to ma|
|00001980| 69 6c 69 6e 67 20 6c 69 | 73 74 73 2c 20 62 75 74 |iling li|sts, but|
|00001990| 20 69 66 20 79 6f 75 27 | 72 65 0a 58 69 6e 20 74 | if you'|re.Xin t|
|000019a0| 68 61 74 20 6c 69 73 74 | 2c 20 79 6f 75 20 61 72 |hat list|, you ar|
|000019b0| 65 20 65 78 63 6c 75 64 | 65 64 20 66 72 6f 6d 20 |e exclud|ed from |
|000019c0| 67 65 74 74 69 6e 67 20 | 79 6f 75 72 20 6f 77 6e |getting |your own|
|000019d0| 20 6d 61 69 6c 2e 20 20 | 48 6f 77 65 76 65 72 2c | mail. |However,|
|000019e0| 20 69 66 0a 58 79 6f 75 | 20 68 61 76 65 20 74 68 | if.Xyou| have th|
|000019f0| 65 20 76 61 72 69 61 62 | 6c 65 20 6d 65 74 6f 6f |e variab|le metoo|
|00001a00| 20 73 65 74 20 77 69 74 | 68 20 79 6f 75 72 20 76 | set wit|h your v|
|00001a10| 61 72 69 61 62 6c 65 73 | 2c 20 74 68 65 6e 20 74 |ariables|, then t|
|00001a20| 68 65 20 4d 45 54 4f 4f | 20 61 72 67 75 6d 65 6e |he METOO| argumen|
|00001a30| 74 0a 58 69 73 20 70 61 | 73 73 65 64 20 74 6f 20 |t.Xis pa|ssed to |
|00001a40| 73 65 6e 64 6d 61 69 6c | 20 74 6f 20 73 61 79 2c |sendmail| to say,|
|00001a50| 20 22 49 20 6b 6e 6f 77 | 20 49 27 6d 20 6f 6e 20 | "I know| I'm on |
|00001a60| 74 68 69 73 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 |this mai|ling lis|
|00001a70| 74 2c 20 62 75 74 20 73 | 65 6e 64 0a 58 6d 65 20 |t, but s|end.Xme |
|00001a80| 61 20 63 6f 70 79 20 6f | 66 20 6d 79 20 6d 65 73 |a copy o|f my mes|
|00001a90| 73 61 67 65 20 65 76 65 | 6e 20 74 68 6f 20 49 20 |sage eve|n tho I |
|00001aa0| 73 65 6e 74 20 69 74 2e | 22 20 20 46 6f 72 20 73 |sent it.|" For s|
|00001ab0| 65 6e 64 6d 61 69 6c 2c | 20 74 68 69 73 20 69 73 |endmail,| this is|
|00001ac0| 20 2d 6d 2e 0a 58 49 66 | 20 79 6f 75 72 20 6d 61 | -m..XIf| your ma|
|00001ad0| 69 6c 65 72 20 75 73 65 | 73 20 73 6f 6d 65 74 68 |iler use|s someth|
|00001ae0| 69 6e 67 20 65 6c 73 65 | 2c 20 74 68 65 6e 20 64 |ing else|, then d|
|00001af0| 65 66 69 6e 65 20 4d 45 | 54 4f 4f 5f 41 52 47 20 |efine ME|TOO_ARG |
|00001b00| 69 6e 20 74 68 65 20 63 | 6f 6e 66 69 67 20 66 69 |in the c|onfig fi|
|00001b10| 6c 65 2e 0a 58 49 66 20 | 79 6f 75 20 64 6f 6e 27 |le..XIf |you don'|
|00001b20| 74 20 68 61 76 65 20 69 | 74 20 28 73 79 73 2d 76 |t have i|t (sys-v|
|00001b30| 29 2c 20 74 68 65 6e 20 | 64 6f 20 6e 6f 74 20 64 |), then |do not d|
|00001b40| 65 66 69 6e 65 20 74 68 | 69 73 20 6d 61 63 72 6f |efine th|is macro|
|00001b50| 2e 0a 58 0a 58 49 66 20 | 79 6f 75 20 75 73 65 20 |..X.XIf |you use |
|00001b60| 22 73 6d 61 69 6c 22 20 | 61 6e 64 20 79 6f 75 27 |"smail" |and you'|
|00001b70| 72 65 20 6f 6e 20 61 20 | 73 79 73 74 65 6d 2d 76 |re on a |system-v|
|00001b80| 20 73 6d 61 6c 6c 20 75 | 6e 69 78 20 62 6f 78 2c | small u|nix box,|
|00001b90| 20 79 6f 75 20 6d 69 67 | 68 74 20 68 61 76 65 0a | you mig|ht have.|
|00001ba0| 58 74 6f 20 69 6e 63 72 | 65 61 73 65 20 79 6f 75 |Xto incr|ease you|
|00001bb0| 72 20 73 74 61 63 6b 20 | 73 69 7a 65 20 28 73 65 |r stack |size (se|
|00001bc0| 65 20 6d 61 6b 65 66 69 | 6c 65 2e 73 79 73 2e 76 |e makefi|le.sys.v|
|00001bd0| 29 20 74 6f 20 70 72 65 | 76 65 6e 74 20 73 74 61 |) to pre|vent sta|
|00001be0| 63 6b 20 6f 76 65 72 66 | 6c 6f 77 2e 0a 58 59 6f |ck overf|low..XYo|
|00001bf0| 75 27 6c 6c 20 6b 6e 6f | 77 20 79 6f 75 20 68 61 |u'll kno|w you ha|
|00001c00| 76 65 20 74 6f 20 64 6f | 20 74 68 69 73 20 69 66 |ve to do| this if|
|00001c10| 20 79 6f 75 20 74 72 79 | 20 73 65 6e 64 69 6e 67 | you try| sending|
|00001c20| 20 6d 61 69 6c 20 28 75 | 73 69 6e 67 20 73 6d 61 | mail (u|sing sma|
|00001c30| 69 6c 20 61 73 0a 58 74 | 68 65 20 6d 61 69 6c 20 |il as.Xt|he mail |
|00001c40| 64 65 6c 69 76 65 72 79 | 20 73 75 62 73 79 73 74 |delivery| subsyst|
|00001c50| 65 6d 29 2c 20 6d 75 73 | 68 20 63 6f 72 65 20 64 |em), mus|h core d|
|00001c60| 75 6d 70 73 20 61 6e 64 | 20 61 64 62 20 64 6f 65 |umps and| adb doe|
|00001c70| 73 6e 27 74 20 6b 6e 6f | 77 20 77 68 65 72 65 0a |sn't kno|w where.|
|00001c80| 58 74 68 65 20 73 74 61 | 63 6b 20 70 6f 69 6e 74 |Xthe sta|ck point|
|00001c90| 65 72 20 69 73 2e 0a 58 | 0a 58 56 50 52 49 4e 54 |er is..X|.XVPRINT|
|00001ca0| 46 20 73 68 6f 75 6c 64 | 20 62 65 20 64 65 66 69 |F should| be defi|
|00001cb0| 6e 65 64 20 69 66 20 79 | 6f 75 72 20 73 79 73 74 |ned if y|our syst|
|00001cc0| 65 6d 20 68 61 73 20 74 | 68 65 20 76 70 72 69 6e |em has t|he vprin|
|00001cd0| 74 66 20 66 75 6e 63 74 | 69 6f 6e 73 2e 20 59 6f |tf funct|ions. Yo|
|00001ce0| 75 0a 58 2a 68 61 76 65 | 2a 20 74 68 65 73 65 20 |u.X*have|* these |
|00001cf0| 66 75 6e 63 74 69 6f 6e | 73 20 69 66 20 31 29 20 |function|s if 1) |
|00001d00| 79 6f 75 20 61 72 65 20 | 72 75 6e 6e 69 6e 67 20 |you are |running |
|00001d10| 73 79 73 74 65 6d 20 56 | 20 28 78 65 6e 69 78 29 |system V| (xenix)|
|00001d20| 20 6f 72 20 32 29 20 79 | 6f 75 0a 58 61 72 65 20 | or 2) y|ou.Xare |
|00001d30| 72 75 6e 6e 69 6e 67 20 | 61 20 53 75 6e 20 72 65 |running |a Sun re|
|00001d40| 6c 65 61 73 65 20 6f 6e | 20 6f 72 20 6c 61 74 65 |lease on| or late|
|00001d50| 72 20 74 68 61 6e 20 76 | 65 72 73 69 6f 6e 20 33 |r than v|ersion 3|
|00001d60| 2e 30 2e 20 20 49 66 20 | 79 6f 75 20 61 72 65 20 |.0. If |you are |
|00001d70| 73 74 69 6c 6c 20 6e 6f | 74 0a 58 73 75 72 65 2c |still no|t.Xsure,|
|00001d80| 20 74 72 79 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | try the| followi|
|00001d90| 6e 67 20 63 6f 6d 6d 61 | 6e 64 20 66 72 6f 6d 20 |ng comma|nd from |
|00001da0| 79 6f 75 72 20 73 68 65 | 6c 6c 3a 0a 58 0a 58 25 |your she|ll:.X.X%|
|00001db0| 20 61 72 20 74 20 2f 6c | 69 62 2f 6c 69 62 63 2e | ar t /l|ib/libc.|
|00001dc0| 61 20 7c 20 67 72 65 70 | 20 76 70 72 69 6e 74 66 |a | grep| vprintf|
|00001dd0| 0a 58 0a 58 49 66 20 79 | 6f 75 20 68 61 76 65 20 |.X.XIf y|ou have |
|00001de0| 69 74 2c 20 79 6f 75 27 | 6c 6c 20 70 72 6f 62 61 |it, you'|ll proba|
|00001df0| 62 6c 79 20 67 65 74 20 | 73 6f 6d 65 74 68 69 6e |bly get |somethin|
|00001e00| 67 20 6c 69 6b 65 0a 58 | 76 70 72 69 6e 74 66 2e |g like.X|vprintf.|
|00001e10| 6f 0a 58 76 73 70 72 69 | 6e 74 66 2e 6f 0a 58 61 |o.Xvspri|ntf.o.Xa|
|00001e20| 73 20 6f 75 74 70 75 74 | 2e 20 20 49 66 20 79 6f |s output|. If yo|
|00001e30| 75 20 64 6f 6e 27 74 20 | 68 61 76 65 20 69 74 2c |u don't |have it,|
|00001e40| 20 79 6f 75 20 77 6f 6e | 27 74 20 68 61 76 65 20 | you won|'t have |
|00001e50| 61 6e 79 20 6f 75 74 70 | 75 74 2e 20 20 49 66 20 |any outp|ut. If |
|00001e60| 79 6f 75 72 0a 58 6d 61 | 69 6e 20 43 2d 6c 69 62 |your.Xma|in C-lib|
|00001e70| 72 61 72 69 65 73 20 61 | 72 65 20 6e 6f 74 20 69 |raries a|re not i|
|00001e80| 6e 20 2f 6c 69 62 2f 6c | 69 62 63 2e 61 2c 20 74 |n /lib/l|ibc.a, t|
|00001e90| 68 65 6e 20 66 69 6e 64 | 20 77 68 65 72 65 20 74 |hen find| where t|
|00001ea0| 68 65 79 20 61 72 65 20 | 61 6e 64 0a 58 74 72 79 |hey are |and.Xtry|
|00001eb0| 20 74 68 65 20 73 61 6d | 65 20 63 6f 6d 6d 61 6e | the sam|e comman|
|00001ec0| 64 20 75 73 69 6e 67 20 | 74 68 61 74 20 66 69 6c |d using |that fil|
|00001ed0| 65 2e 0a 58 0a 58 41 20 | 64 65 66 61 75 6c 74 20 |e..X.XA |default |
|00001ee0| 6d 61 69 6c 72 63 20 73 | 68 6f 75 6c 64 20 62 65 |mailrc s|hould be|
|00001ef0| 20 69 6e 73 74 61 6c 6c | 65 64 20 66 6f 72 20 6e | install|ed for n|
|00001f00| 65 77 20 75 73 65 72 73 | 2e 20 20 55 43 42 20 6d |ew users|. UCB m|
|00001f10| 61 69 6c 27 73 20 64 65 | 66 61 75 6c 74 0a 58 4d |ail's de|fault.XM|
|00001f20| 61 69 6c 72 63 20 77 6f | 72 6b 73 20 62 75 74 20 |ailrc wo|rks but |
|00001f30| 6e 6f 20 6d 61 69 6c 72 | 63 20 77 6f 72 6b 73 20 |no mailr|c works |
|00001f40| 61 73 20 77 65 6c 6c 2e | 20 54 68 65 20 6c 6f 63 |as well.| The loc|
|00001f50| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 64 65 66 |ation of| the def|
|00001f60| 61 75 6c 74 0a 58 66 69 | 6c 65 20 73 68 6f 75 6c |ault.Xfi|le shoul|
|00001f70| 64 20 62 65 20 64 65 66 | 69 6e 65 64 20 69 6e 20 |d be def|ined in |
|00001f80| 63 6f 6e 66 69 67 2e 68 | 2e 20 20 54 6f 20 68 61 |config.h|. To ha|
|00001f90| 76 65 20 6e 6f 20 64 65 | 66 61 75 6c 74 20 6d 61 |ve no de|fault ma|
|00001fa0| 69 6c 72 63 2c 20 73 65 | 74 20 74 68 65 0a 58 64 |ilrc, se|t the.Xd|
|00001fb0| 65 66 61 75 6c 74 20 74 | 6f 20 2f 64 65 76 2f 6e |efault t|o /dev/n|
|00001fc0| 75 6c 6c 2e 20 20 46 6f | 72 20 73 75 6e 20 73 79 |ull. Fo|r sun sy|
|00001fd0| 73 74 65 6d 73 2c 20 74 | 68 65 20 64 65 66 61 75 |stems, t|he defau|
|00001fe0| 6c 74 20 2e 6d 61 69 6c | 72 63 20 28 2f 75 73 72 |lt .mail|rc (/usr|
|00001ff0| 2f 6c 69 62 2f 4d 61 69 | 6c 72 63 29 0a 58 64 6f |/lib/Mai|lrc).Xdo|
|00002000| 65 73 20 6e 6f 74 20 77 | 6f 72 6b 20 76 65 72 79 |es not w|ork very|
|00002010| 20 77 65 6c 6c 20 62 65 | 63 61 75 73 65 20 73 75 | well be|cause su|
|00002020| 6e 27 73 20 4d 61 69 6c | 20 69 73 20 6e 6f 74 20 |n's Mail| is not |
|00002030| 73 74 61 6e 64 61 72 64 | 20 2f 75 73 72 2f 75 63 |standard| /usr/uc|
|00002040| 62 2f 4d 61 69 6c 2e 0a | 58 46 6f 72 20 74 68 69 |b/Mail..|XFor thi|
|00002050| 73 20 72 65 61 73 6f 6e | 2c 20 73 75 6e 20 68 61 |s reason|, sun ha|
|00002060| 73 20 6e 6f 74 20 63 68 | 61 6e 67 65 64 20 74 68 |s not ch|anged th|
|00002070| 65 20 64 65 66 61 75 6c | 74 20 6d 61 69 6c 72 63 |e defaul|t mailrc|
|00002080| 20 66 69 6c 65 20 61 6e | 64 20 73 74 69 6c 6c 0a | file an|d still.|
|00002090| 58 72 65 73 69 64 65 73 | 20 69 6e 20 2f 75 73 72 |Xresides| in /usr|
|000020a0| 2f 6c 69 62 2f 4d 61 69 | 6c 2e 72 63 20 28 6e 6f |/lib/Mai|l.rc (no|
|000020b0| 74 65 20 74 68 69 73 20 | 68 61 73 20 74 68 65 20 |te this |has the |
|000020c0| 22 2e 22 20 77 68 65 72 | 65 61 73 20 74 68 65 20 |"." wher|eas the |
|000020d0| 6f 74 68 65 72 20 66 69 | 6c 65 0a 58 64 6f 65 73 |other fi|le.Xdoes|
|000020e0| 20 6e 6f 74 29 2e 20 20 | 54 68 65 20 64 65 66 61 | not). |The defa|
|000020f0| 75 6c 74 20 63 6f 6e 66 | 69 67 2e 68 2d 64 69 73 |ult conf|ig.h-dis|
|00002100| 74 20 72 65 66 6c 65 63 | 74 73 20 74 68 69 73 2e |t reflec|ts this.|
|00002110| 0a 58 0a 58 54 68 65 20 | 68 65 6c 70 20 66 69 6c |.X.XThe |help fil|
|00002120| 65 73 20 73 68 6f 75 6c | 64 20 62 65 20 70 6c 61 |es shoul|d be pla|
|00002130| 63 65 64 20 73 6f 6d 65 | 77 68 65 72 65 20 77 68 |ced some|where wh|
|00002140| 69 63 68 20 69 73 20 72 | 65 61 64 61 62 6c 65 20 |ich is r|eadable |
|00002150| 61 6e 64 20 61 63 63 65 | 73 73 69 62 6c 65 0a 58 |and acce|ssible.X|
|00002160| 62 79 20 61 6c 6c 2e 20 | 46 61 69 6c 69 6e 67 20 |by all. |Failing |
|00002170| 74 6f 20 64 6f 20 73 6f | 20 72 65 6d 6f 76 65 73 |to do so| removes|
|00002180| 20 76 69 72 74 75 61 6c | 6c 79 20 74 68 65 20 65 | virtual|ly the e|
|00002190| 6e 74 69 72 65 20 68 65 | 6c 70 20 66 61 63 69 6c |ntire he|lp facil|
|000021a0| 69 74 79 27 73 0a 58 61 | 62 69 6c 69 74 79 20 74 |ity's.Xa|bility t|
|000021b0| 6f 20 68 65 6c 70 20 61 | 6e 79 6f 6e 65 2e 20 20 |o help a|nyone. |
|000021c0| 54 68 65 72 65 20 69 73 | 20 61 20 68 65 6c 70 20 |There is| a help |
|000021d0| 66 69 6c 65 20 66 6f 72 | 20 63 6f 6d 6d 61 6e 64 |file for| command|
|000021e0| 20 68 65 6c 70 20 28 20 | 60 63 6f 6d 6d 61 6e 64 | help ( |`command|
|000021f0| 20 2d 3f 27 29 2c 0a 58 | 61 6e 64 20 74 68 65 20 | -?'),.X|and the |
|00002200| 6f 74 68 65 72 20 69 73 | 20 66 6f 72 20 74 68 65 |other is| for the|
|00002210| 20 67 72 61 70 68 69 63 | 73 20 6d 6f 64 65 20 28 | graphic|s mode (|
|00002220| 53 75 6e 20 77 6f 72 6b | 73 74 61 74 69 6f 6e 73 |Sun work|stations|
|00002230| 20 6f 6e 6c 79 29 2e 20 | 20 59 6f 75 20 73 68 6f | only). | You sho|
|00002240| 75 6c 64 0a 58 64 65 66 | 69 6e 65 20 77 68 65 72 |uld.Xdef|ine wher|
|00002250| 65 20 79 6f 75 20 77 61 | 6e 74 20 74 68 65 73 65 |e you wa|nt these|
|00002260| 20 66 69 6c 65 73 20 69 | 6e 20 22 63 6f 6e 66 69 | files i|n "confi|
|00002270| 67 2e 68 22 20 73 6f 20 | 61 74 20 72 75 6e 74 69 |g.h" so |at runti|
|00002280| 6d 65 2c 20 74 68 65 79 | 20 63 61 6e 20 62 65 0a |me, they| can be.|
|00002290| 58 61 63 63 65 73 73 65 | 64 20 77 69 74 68 6f 75 |Xaccesse|d withou|
|000022a0| 74 20 65 72 72 6f 72 2e | 0a 58 0a 58 54 68 65 20 |t error.|.X.XThe |
|000022b0| 64 65 66 61 75 6c 74 20 | 73 65 74 74 69 6e 67 73 |default |settings|
|000022c0| 20 69 6e 20 63 6f 6e 66 | 69 67 2e 68 20 6d 61 79 | in conf|ig.h may|
|000022d0| 20 62 65 20 64 6f 63 75 | 6d 65 6e 74 65 64 20 61 | be docu|mented a|
|000022e0| 73 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 76 61 |s the de|fault va|
|000022f0| 6c 75 65 73 0a 58 69 6e | 20 74 68 65 20 68 65 6c |lues.Xin| the hel|
|00002300| 70 20 66 69 6c 65 73 2e | 20 20 42 65 20 61 77 61 |p files.| Be awa|
|00002310| 72 65 20 74 68 61 74 20 | 63 68 61 6e 67 69 6e 67 |re that |changing|
|00002320| 20 73 6f 6d 65 20 64 65 | 66 61 75 6c 74 20 76 61 | some de|fault va|
|00002330| 6c 75 65 73 20 6d 61 79 | 20 63 61 75 73 65 0a 58 |lues may| cause.X|
|00002340| 69 6e 63 6f 6e 73 69 73 | 74 65 6e 63 69 65 73 20 |inconsis|tencies |
|00002350| 77 69 74 68 20 74 68 65 | 20 68 65 6c 70 20 66 69 |with the| help fi|
|00002360| 6c 65 73 20 61 6e 64 20 | 64 6f 63 75 6d 65 6e 74 |les and |document|
|00002370| 61 74 69 6f 6e 2e 0a 58 | 0a 58 49 66 20 79 6f 75 |ation..X|.XIf you|
|00002380| 72 20 73 79 73 74 65 6d | 20 68 61 73 20 2a 73 79 |r system| has *sy|
|00002390| 73 5f 73 69 67 6c 69 73 | 74 5b 5d 2c 20 73 6b 69 |s_siglis|t[], ski|
|000023a0| 70 20 74 68 69 73 20 70 | 61 72 61 67 72 61 70 68 |p this p|aragraph|
|000023b0| 2e 20 20 49 66 20 69 74 | 20 64 6f 65 73 6e 27 74 |. If it| doesn't|
|000023c0| 2c 0a 58 6f 72 20 69 66 | 20 79 6f 75 72 20 73 79 |,.Xor if| your sy|
|000023d0| 73 74 65 6d 20 68 61 73 | 20 61 20 6e 6f 6e 2d 73 |stem has| a non-s|
|000023e0| 74 61 6e 64 61 72 64 20 | 6c 69 73 74 2c 20 79 6f |tandard |list, yo|
|000023f0| 75 20 73 68 6f 75 6c 64 | 20 65 64 69 74 20 73 69 |u should| edit si|
|00002400| 67 6e 61 6c 73 2e 63 20 | 61 74 0a 58 74 68 65 20 |gnals.c |at.Xthe |
|00002410| 74 6f 70 20 61 6e 64 20 | 62 75 69 6c 64 20 74 68 |top and |build th|
|00002420| 65 20 74 61 62 6c 65 20 | 6d 61 6e 75 61 6c 6c 79 |e table |manually|
|00002430| 20 66 72 6f 6d 20 74 68 | 65 20 6f 6e 65 20 67 69 | from th|e one gi|
|00002440| 76 65 6e 20 66 6f 72 20 | 53 79 73 74 65 6d 2d 56 |ven for |System-V|
|00002450| 20 70 65 6f 70 6c 65 2e | 0a 58 4e 6f 74 65 20 74 | people.|.XNote t|
|00002460| 68 61 74 20 6d 6f 73 74 | 20 73 79 73 74 65 6d 2d |hat most| system-|
|00002470| 76 20 75 6e 69 78 20 73 | 79 73 74 65 6d 73 20 6e |v unix s|ystems n|
|00002480| 65 65 64 20 6e 6f 74 20 | 63 68 61 6e 67 65 20 61 |eed not |change a|
|00002490| 6e 79 74 68 69 6e 67 20 | 61 73 20 6c 6f 6e 67 20 |nything |as long |
|000024a0| 61 73 0a 58 53 59 53 56 | 20 69 73 20 64 65 66 69 |as.XSYSV| is defi|
|000024b0| 6e 65 64 2e 0a 58 0a 58 | 4d 61 69 6e 74 65 6e 61 |ned..X.X|Maintena|
|000024c0| 6e 63 65 3a 0a 58 0a 58 | 49 66 20 79 6f 75 20 77 |nce:.X.X|If you w|
|000024d0| 61 6e 74 20 74 6f 20 75 | 73 65 20 64 62 78 20 6f |ant to u|se dbx o|
|000024e0| 72 20 61 6e 79 20 6f 74 | 68 65 72 20 64 65 62 75 |r any ot|her debu|
|000024f0| 67 67 65 72 2c 20 74 68 | 65 20 75 6e 64 6f 63 75 |gger, th|e undocu|
|00002500| 6d 65 6e 74 65 64 20 66 | 6c 61 67 2c 20 2d 65 0a |mented f|lag, -e.|
|00002510| 58 73 68 6f 75 6c 64 20 | 62 65 20 75 73 65 64 20 |Xshould |be used |
|00002520| 61 73 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 20 |as comma|nd line |
|00002530| 61 72 67 75 6d 65 6e 74 | 20 77 68 65 6e 20 79 6f |argument| when yo|
|00002540| 75 20 72 75 6e 20 74 68 | 65 20 62 69 6e 61 72 79 |u run th|e binary|
|00002550| 20 75 6e 64 65 72 0a 58 | 74 68 65 20 64 65 62 75 | under.X|the debu|
|00002560| 67 67 65 72 2e 20 20 57 | 68 61 74 20 74 68 69 73 |gger. W|hat this|
|00002570| 20 66 6c 61 67 20 64 6f | 65 73 20 69 73 20 70 72 | flag do|es is pr|
|00002580| 65 76 65 6e 74 73 20 79 | 6f 75 72 20 65 63 68 6f |events y|our echo|
|00002590| 20 66 72 6f 6d 20 62 65 | 69 6e 67 0a 58 74 75 72 | from be|ing.Xtur|
|000025a0| 6e 65 64 20 6f 66 66 20 | 61 6e 64 20 6c 65 61 76 |ned off |and leav|
|000025b0| 69 6e 67 20 63 62 72 65 | 61 6b 20 6f 6e 2c 20 74 |ing cbre|ak on, t|
|000025c0| 68 75 73 2c 20 6b 65 65 | 70 69 6e 67 20 79 6f 75 |hus, kee|ping you|
|000025d0| 72 20 74 74 79 20 69 6e | 20 61 20 73 61 6e 65 20 |r tty in| a sane |
|000025e0| 73 74 61 74 65 2e 0a 58 | 42 65 77 61 72 65 20 6f |state..X|Beware o|
|000025f0| 66 20 63 75 72 73 65 73 | 20 6d 6f 64 65 20 74 68 |f curses| mode th|
|00002600| 6f 2c 20 73 69 6e 63 65 | 20 69 74 20 6d 75 73 74 |o, since| it must|
|00002610| 20 62 65 20 74 75 72 6e | 65 64 20 6f 66 66 20 66 | be turn|ed off f|
|00002620| 6f 72 20 74 68 61 74 20 | 2d 2d 20 65 2e 67 2e 0a |or that |-- e.g..|
|00002630| 58 74 68 65 20 2d 65 20 | 66 6c 61 67 20 69 73 20 |Xthe -e |flag is |
|00002640| 6f 76 65 72 72 69 64 64 | 65 6e 20 69 66 20 79 6f |overridd|en if yo|
|00002650| 75 20 65 6e 74 65 72 20 | 63 75 72 73 65 73 20 6d |u enter |curses m|
|00002660| 6f 64 65 2e 20 20 54 68 | 65 20 2d 65 20 66 6c 61 |ode. Th|e -e fla|
|00002670| 67 20 63 61 6e 20 62 65 | 0a 58 75 73 65 64 20 69 |g can be|.Xused i|
|00002680| 6e 20 67 65 6e 65 72 61 | 6c 20 75 73 61 67 65 20 |n genera|l usage |
|00002690| 61 6e 79 77 61 79 2c 20 | 62 75 74 20 74 68 65 72 |anyway, |but ther|
|000026a0| 65 27 73 20 6e 6f 20 64 | 69 66 66 65 72 65 6e 63 |e's no d|ifferenc|
|000026b0| 65 20 6b 6e 6f 77 6e 20 | 74 6f 20 74 68 65 20 75 |e known |to the u|
|000026c0| 73 65 72 0a 58 65 78 63 | 65 70 74 20 66 6f 72 20 |ser.Xexc|ept for |
|000026d0| 74 68 65 20 66 61 63 74 | 20 74 68 61 74 20 79 6f |the fact| that yo|
|000026e0| 75 20 63 61 6e 20 6e 6f | 74 20 74 79 70 65 20 63 |u can no|t type c|
|000026f0| 6f 6e 74 72 6f 6c 20 63 | 68 61 72 61 63 74 65 72 |ontrol c|haracter|
|00002700| 73 2e 0a 58 0a 58 49 66 | 20 79 6f 75 20 68 61 76 |s..X.XIf| you hav|
|00002710| 65 20 6d 65 6d 6f 72 79 | 20 61 6c 6c 6f 63 61 74 |e memory| allocat|
|00002720| 69 6f 6e 20 63 68 65 63 | 6b 69 6e 67 20 61 6e 64 |ion chec|king and|
|00002730| 20 76 61 6c 69 64 61 74 | 69 6f 6e 20 28 73 75 6e | validat|ion (sun|
|00002740| 20 33 2e 30 2b 20 3f 29 | 20 74 68 65 6e 0a 58 64 | 3.0+ ?)| then.Xd|
|00002750| 65 66 69 6e 65 20 4d 5f | 44 45 42 55 47 20 69 6e |efine M_|DEBUG in|
|00002760| 20 74 68 65 20 6d 61 6b | 65 66 69 6c 65 20 28 6d | the mak|efile (m|
|00002770| 61 69 6e 2e 63 29 20 61 | 6e 64 20 61 64 64 20 74 |ain.c) a|nd add t|
|00002780| 68 65 20 6c 69 62 72 61 | 72 79 0a 58 2f 75 73 72 |he libra|ry.X/usr|
|00002790| 2f 6c 69 62 2f 64 65 62 | 75 67 2f 6d 61 6c 6c 6f |/lib/deb|ug/mallo|
|000027a0| 63 2e 6f 20 74 6f 20 74 | 68 65 20 6c 69 62 72 61 |c.o to t|he libra|
|000027b0| 72 79 20 6c 69 73 74 2e | 20 44 6f 20 74 68 69 73 |ry list.| Do this|
|000027c0| 20 6f 6e 6c 79 20 69 66 | 20 79 6f 75 20 61 72 65 | only if| you are|
|000027d0| 0a 58 66 69 6e 64 20 62 | 75 67 73 20 69 6e 20 74 |.Xfind b|ugs in t|
|000027e0| 68 65 20 70 72 6f 67 72 | 61 6d 20 61 6e 64 20 73 |he progr|am and s|
|000027f0| 75 73 70 65 63 74 20 6d | 65 6d 6f 72 79 20 61 6c |uspect m|emory al|
|00002800| 6c 6f 63 61 74 69 6f 6e | 20 65 72 72 6f 72 73 2e |location| errors.|
|00002810| 20 6d 61 69 6e 2e 63 0a | 58 68 61 73 20 74 68 65 | main.c.|Xhas the|
|00002820| 20 63 6f 64 65 20 77 68 | 69 63 68 20 73 65 74 73 | code wh|ich sets|
|00002830| 20 74 68 65 20 64 65 62 | 75 67 67 69 6e 67 20 6c | the deb|ugging l|
|00002840| 65 76 65 6c 20 61 63 63 | 6f 72 64 69 6e 67 20 74 |evel acc|ording t|
|00002850| 6f 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 0a 58 |o the va|lue of.X|
|00002860| 61 6e 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 76 |an envir|onment v|
|00002870| 61 72 69 61 62 6c 65 2e | 20 20 42 65 63 61 75 73 |ariable.| Becaus|
|00002880| 65 20 6d 61 6c 6c 6f 63 | 2d 64 65 62 75 67 67 69 |e malloc|-debuggi|
|00002890| 6e 67 20 69 73 20 73 6f | 20 63 70 75 20 69 6e 74 |ng is so| cpu int|
|000028a0| 65 6e 73 69 76 65 2c 0a | 58 74 68 65 20 73 75 6e |ensive,.|Xthe sun|
|000028b0| 77 69 6e 64 6f 77 73 20 | 70 72 6f 67 72 61 6d 20 |windows |program |
|000028c0| 77 69 6c 6c 20 67 65 74 | 20 61 20 53 49 47 58 43 |will get| a SIGXC|
|000028d0| 50 55 20 28 63 70 75 20 | 74 69 6d 65 20 6c 69 6d |PU (cpu |time lim|
|000028e0| 69 74 20 65 78 63 65 65 | 64 65 64 29 0a 58 62 65 |it excee|ded).Xbe|
|000028f0| 63 61 75 73 65 20 6f 66 | 20 74 68 65 20 6c 61 72 |cause of| the lar|
|00002900| 67 65 20 61 6d 6f 75 6e | 74 20 6f 66 20 6f 70 65 |ge amoun|t of ope|
|00002910| 6e 69 6e 67 20 61 6e 64 | 20 63 6c 6f 73 69 6e 67 |ning and| closing|
|00002920| 20 6c 61 72 67 65 20 70 | 69 78 72 65 63 74 73 20 | large p|ixrects |
|00002930| 61 6e 64 0a 58 64 65 76 | 69 63 65 73 2e 20 20 46 |and.Xdev|ices. F|
|00002940| 6f 72 20 74 68 69 73 20 | 72 65 61 73 6f 6e 2c 20 |or this |reason, |
|00002950| 53 49 47 58 50 43 50 55 | 20 69 73 20 69 73 20 63 |SIGXPCPU| is is c|
|00002960| 61 75 67 68 74 20 69 6e | 20 6d 61 69 6e 2e 63 2e |aught in| main.c.|
|00002970| 0a 58 0a 58 49 66 20 79 | 6f 75 20 65 76 65 72 20 |.X.XIf y|ou ever |
|00002980| 67 65 74 20 22 4d 65 73 | 73 61 67 65 20 4e 20 68 |get "Mes|sage N h|
|00002990| 61 73 20 62 61 64 20 64 | 61 74 65 3a 20 3c 64 61 |as bad d|ate: <da|
|000029a0| 74 65 20 73 74 72 69 6e | 67 3e 22 20 74 68 65 6e |te strin|g>" then|
|000029b0| 20 6e 6f 74 65 0a 58 74 | 68 65 20 46 4f 52 4d 41 | note.Xt|he FORMA|
|000029c0| 54 20 6f 66 20 74 68 61 | 74 20 64 61 74 65 20 61 |T of tha|t date a|
|000029d0| 6e 64 20 65 64 69 74 20 | 64 61 74 65 73 2e 63 2e |nd edit |dates.c.|
|000029e0| 20 20 54 68 65 72 65 20 | 61 72 65 20 61 20 6e 75 | There |are a nu|
|000029f0| 6d 62 65 72 20 6f 66 0a | 58 22 73 73 63 61 6e 66 |mber of.|X"sscanf|
|00002a00| 22 73 20 77 68 69 63 68 | 20 79 6f 75 20 63 61 6e |"s which| you can|
|00002a10| 20 73 65 65 20 6d 61 74 | 63 68 20 6b 6e 6f 77 6e | see mat|ch known|
|00002a20| 20 64 61 74 65 20 66 6f | 72 6d 61 74 73 2e 20 20 | date fo|rmats. |
|00002a30| 55 73 65 20 74 68 65 6d | 20 61 73 0a 58 65 78 61 |Use them| as.Xexa|
|00002a40| 6d 70 6c 65 73 20 61 6e | 64 20 69 6e 73 65 72 74 |mples an|d insert|
|00002a50| 20 74 68 65 20 6e 65 77 | 20 64 61 74 65 20 66 6f | the new| date fo|
|00002a60| 72 6d 61 74 20 79 6f 75 | 20 68 61 76 65 2e 0a 58 |rmat you| have..X|
|00002a70| 0a 58 49 66 20 79 6f 75 | 20 65 76 65 72 20 61 64 |.XIf you| ever ad|
|00002a80| 64 20 6e 65 77 20 76 61 | 72 69 61 62 6c 65 73 2c |d new va|riables,|
|00002a90| 20 62 65 20 73 75 72 65 | 20 74 6f 20 61 64 64 20 | be sure| to add |
|00002aa0| 74 68 65 6d 20 69 6e 20 | 76 69 65 77 6f 70 74 73 |them in |viewopts|
|00002ab0| 2e 63 20 61 6e 64 20 74 | 68 65 0a 58 6d 61 6e 20 |.c and t|he.Xman |
|00002ac0| 70 61 67 65 2e 0a 58 0a | 58 49 66 20 4d 75 73 68 |page..X.|XIf Mush|
|00002ad0| 20 65 76 65 72 20 63 6f | 72 65 64 75 6d 70 73 20 | ever co|redumps |
|00002ae0| 61 6e 64 20 79 6f 75 20 | 61 72 65 20 73 75 73 70 |and you |are susp|
|00002af0| 69 63 69 6f 75 73 20 61 | 62 6f 75 74 20 77 68 65 |icious a|bout whe|
|00002b00| 74 68 65 72 20 6f 72 20 | 6e 6f 74 0a 58 79 6f 75 |ther or |not.Xyou|
|00002b10| 72 20 66 6f 6c 64 65 72 | 20 28 6f 72 20 73 70 6f |r folder| (or spo|
|00002b20| 6f 6c 20 64 69 72 65 63 | 74 6f 72 79 29 20 77 61 |ol direc|tory) wa|
|00002b30| 73 20 72 65 6d 6f 76 65 | 64 2e 20 20 4f 72 2c 20 |s remove|d. Or, |
|00002b40| 69 66 20 79 6f 75 20 77 | 65 72 65 20 65 64 69 74 |if you w|ere edit|
|00002b50| 69 6e 67 0a 58 61 20 6c | 65 74 74 65 72 2c 20 79 |ing.Xa l|etter, y|
|00002b60| 6f 75 20 73 68 6f 75 6c | 64 20 63 68 65 63 6b 20 |ou shoul|d check |
|00002b70| 66 6f 72 20 74 68 65 20 | 66 69 6c 65 73 20 2e 6d |for the |files .m|
|00002b80| 75 73 68 58 58 58 58 58 | 58 20 61 6e 64 20 2e 65 |ushXXXXX|X and .e|
|00002b90| 64 58 58 58 58 58 58 58 | 2e 0a 58 4d 75 73 68 20 |dXXXXXXX|..XMush |
|00002ba0| 77 6f 6e 27 74 20 64 69 | 65 20 77 69 74 68 6f 75 |won't di|e withou|
|00002bb0| 74 20 74 65 6c 6c 69 6e | 67 20 79 6f 75 20 74 68 |t tellin|g you th|
|00002bc0| 61 74 20 69 74 27 73 20 | 64 79 69 6e 67 20 61 6e |at it's |dying an|
|00002bd0| 64 20 69 74 20 77 69 6c | 6c 20 61 73 6b 20 69 66 |d it wil|l ask if|
|00002be0| 20 79 6f 75 0a 58 77 61 | 6e 74 20 74 6f 20 73 61 | you.Xwa|nt to sa|
|00002bf0| 76 65 20 74 68 65 20 2e | 6d 75 73 68 3f 3f 3f 3f |ve the .|mush????|
|00002c00| 3f 20 66 69 6c 65 20 61 | 6e 64 20 69 66 20 79 6f |? file a|nd if yo|
|00002c10| 75 20 61 63 74 75 61 6c | 6c 79 20 77 61 6e 74 20 |u actual|ly want |
|00002c20| 69 74 20 74 6f 20 64 75 | 6d 70 20 63 6f 72 65 2e |it to du|mp core.|
|00002c30| 0a 58 4e 6f 74 65 20 74 | 68 61 74 20 69 66 20 79 |.XNote t|hat if y|
|00002c40| 6f 75 20 72 75 6e 20 6d | 75 73 68 20 66 72 6f 6d |ou run m|ush from|
|00002c50| 20 2e 73 75 6e 74 6f 6f | 6c 73 20 61 6e 64 20 74 | .suntoo|ls and t|
|00002c60| 68 65 72 65 20 69 73 20 | 61 20 63 6f 72 65 20 64 |here is |a core d|
|00002c70| 75 6d 70 2c 20 69 74 0a | 58 70 72 6f 62 61 62 6c |ump, it.|Xprobabl|
|00002c80| 79 20 77 61 6e 74 73 20 | 74 6f 20 64 6f 20 73 6f |y wants |to do so|
|00002c90| 6d 65 20 49 4f 20 77 69 | 74 68 20 74 68 65 20 63 |me IO wi|th the c|
|00002ca0| 6f 6e 73 6f 6c 65 20 61 | 6e 64 20 6d 61 79 20 68 |onsole a|nd may h|
|00002cb0| 61 6e 67 20 28 6e 6f 74 | 20 65 78 69 74 29 0a 58 |ang (not| exit).X|
|00002cc0| 62 65 63 61 75 73 65 20 | 69 74 20 64 6f 65 73 6e |because |it doesn|
|00002cd0| 27 74 20 6b 6e 6f 77 20 | 69 74 20 63 61 6e 27 74 |'t know |it can't|
|00002ce0| 20 74 61 6c 6b 20 74 6f | 20 79 6f 75 2e 0a 58 0a | talk to| you..X.|
|00002cf0| 58 4c 61 73 74 20 61 74 | 74 65 6d 70 74 65 64 2c |XLast at|tempted,|
|00002d00| 20 6d 75 73 68 20 70 61 | 73 73 65 64 20 6c 69 6e | mush pa|ssed lin|
|00002d10| 74 20 77 69 74 68 20 61 | 20 73 6d 61 6c 6c 20 6e |t with a| small n|
|00002d20| 75 6d 62 65 72 20 6f 66 | 20 65 72 72 6f 72 73 20 |umber of| errors |
|00002d30| 69 6e 64 69 63 61 74 69 | 6e 67 0a 58 74 68 61 74 |indicati|ng.Xthat|
|00002d40| 20 66 66 6c 75 73 68 2c | 20 66 63 6c 6f 73 65 20 | fflush,| fclose |
|00002d50| 61 6e 64 20 6f 74 68 65 | 72 20 73 69 6d 69 6c 61 |and othe|r simila|
|00002d60| 72 20 66 75 6e 63 74 69 | 6f 6e 73 20 72 65 74 75 |r functi|ons retu|
|00002d70| 72 6e 65 64 20 76 61 6c | 75 65 73 20 77 68 69 63 |rned val|ues whic|
|00002d80| 68 0a 58 77 65 72 65 20 | 61 6c 77 61 79 73 20 69 |h.Xwere |always i|
|00002d90| 67 6e 6f 72 65 64 2e 20 | 20 53 6f 72 72 79 2e 20 |gnored. | Sorry. |
|00002da0| 20 49 20 64 69 64 20 6e | 6f 74 20 61 74 74 65 6d | I did n|ot attem|
|00002db0| 70 74 20 6c 69 6e 74 20 | 6f 6e 20 74 68 65 20 73 |pt lint |on the s|
|00002dc0| 75 6e 74 6f 6f 6c 73 20 | 6d 6f 64 65 2e 0a 58 43 |untools |mode..XC|
|00002dd0| 75 72 73 65 73 20 64 6f | 65 73 6e 27 74 20 6c 69 |urses do|esn't li|
|00002de0| 6e 74 20 76 65 72 79 20 | 77 65 6c 6c 2c 20 62 75 |nt very |well, bu|
|00002df0| 74 20 65 76 65 6e 20 77 | 68 65 6e 20 79 6f 75 20 |t even w|hen you |
|00002e00| 6c 69 6e 74 20 6d 75 73 | 68 20 77 69 74 68 20 43 |lint mus|h with C|
|00002e10| 55 52 53 45 53 0a 58 64 | 65 66 69 6e 65 64 2c 20 |URSES.Xd|efined, |
|00002e20| 69 74 20 6f 6e 6c 79 20 | 63 6f 6d 70 6c 61 69 6e |it only |complain|
|00002e30| 73 20 61 62 6f 75 74 20 | 74 68 65 20 75 6e 75 73 |s about |the unus|
|00002e40| 65 64 20 63 75 72 73 65 | 73 20 67 6c 6f 62 61 6c |ed curse|s global|
|00002e50| 73 20 69 6e 20 63 75 72 | 73 65 73 2e 68 3b 0a 58 |s in cur|ses.h;.X|
|00002e60| 64 6f 6e 27 74 20 6c 65 | 74 20 69 74 20 64 69 73 |don't le|t it dis|
|00002e70| 63 6f 75 72 61 67 65 20 | 79 6f 75 2e 0a 45 4e 44 |courage |you..END|
|00002e80| 5f 4f 46 5f 46 49 4c 45 | 0a 69 66 20 74 65 73 74 |_OF_FILE|.if test|
|00002e90| 20 38 30 38 35 20 2d 6e | 65 20 60 77 63 20 2d 63 | 8085 -n|e `wc -c|
|00002ea0| 20 3c 27 52 45 41 44 4d | 45 27 60 3b 20 74 68 65 | <'READM|E'`; the|
|00002eb0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00002ec0| 20 5c 22 27 52 45 41 44 | 4d 45 27 5c 22 20 75 6e | \"'READ|ME'\" un|
|00002ed0| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00002ee0| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00002ef0| 20 6f 66 20 27 52 45 41 | 44 4d 45 27 0a 66 69 0a | of 'REA|DME'.fi.|
|00002f00| 69 66 20 74 65 73 74 20 | 2d 66 20 27 62 69 6e 64 |if test |-f 'bind|
|00002f10| 69 6e 67 73 2e 68 27 20 | 2d 61 20 22 24 7b 31 7d |ings.h' |-a "${1}|
|00002f20| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00002f30| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00002f40| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00002f50| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00002f60| 27 62 69 6e 64 69 6e 67 | 73 2e 68 27 5c 22 0a 65 |'binding|s.h'\".e|
|00002f70| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00002f80| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 62 69 6e |xtractin|g \"'bin|
|00002f90| 64 69 6e 67 73 2e 68 27 | 5c 22 20 5c 28 31 34 39 |dings.h'|\" \(149|
|00002fa0| 32 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |2 charac|ters\).s|
|00002fb0| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 62 69 |ed "s/^X|//" >'bi|
|00002fc0| 6e 64 69 6e 67 73 2e 68 | 27 20 3c 3c 27 45 4e 44 |ndings.h|' <<'END|
|00002fd0| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 2f 2a 20 62 69 |_OF_FILE|'.X/* bi|
|00002fe0| 6e 64 69 6e 67 73 2e 68 | 20 20 2d 2d 20 63 6f 6d |ndings.h| -- com|
|00002ff0| 6d 61 6e 64 20 62 69 6e | 64 69 6e 67 73 20 2a 2f |mand bin|dings */|
|00003000| 0a 58 0a 58 2f 2a 20 74 | 6f 20 73 65 65 20 69 66 |.X.X/* t|o see if|
|00003010| 20 61 20 6b 65 79 20 73 | 65 71 75 65 63 65 20 6d | a key s|equece m|
|00003020| 61 74 63 68 65 73 2c 20 | 70 72 65 66 69 78 65 73 |atches, |prefixes|
|00003030| 20 6f 72 20 6d 69 73 73 | 65 73 20 61 20 73 65 74 | or miss|es a set|
|00003040| 20 62 69 6e 64 69 6e 67 | 20 2a 2f 0a 58 23 64 65 | binding| */.X#de|
|00003050| 66 69 6e 65 20 4e 4f 5f | 4d 41 54 43 48 09 30 0a |fine NO_|MATCH.0.|
|00003060| 58 23 64 65 66 69 6e 65 | 20 4d 41 54 43 48 09 09 |X#define| MATCH..|
|00003070| 31 0a 58 23 64 65 66 69 | 6e 65 20 41 5f 50 52 45 |1.X#defi|ne A_PRE|
|00003080| 46 49 58 5f 42 09 32 0a | 58 23 64 65 66 69 6e 65 |FIX_B.2.|X#define|
|00003090| 20 42 5f 50 52 45 46 49 | 58 5f 41 09 33 0a 58 0a | B_PREFI|X_A.3.X.|
|000030a0| 58 23 64 65 66 69 6e 65 | 20 4e 55 4c 4c 5f 4d 41 |X#define| NULL_MA|
|000030b0| 50 09 28 73 74 72 75 63 | 74 20 63 6d 64 5f 6d 61 |P.(struc|t cmd_ma|
|000030c0| 70 20 2a 29 30 0a 58 23 | 64 65 66 69 6e 65 20 43 |p *)0.X#|define C|
|000030d0| 5f 4e 55 4c 4c 09 09 30 | 0a 58 23 64 65 66 69 6e |_NULL..0|.X#defin|
|000030e0| 65 20 43 5f 47 4f 54 4f | 5f 4d 53 47 09 31 0a 58 |e C_GOTO|_MSG.1.X|
|000030f0| 23 64 65 66 69 6e 65 20 | 43 5f 57 52 49 54 45 5f |#define |C_WRITE_|
|00003100| 4d 53 47 09 32 0a 58 23 | 64 65 66 69 6e 65 20 43 |MSG.2.X#|define C|
|00003110| 5f 57 52 49 54 45 5f 4c | 49 53 54 09 33 0a 58 23 |_WRITE_L|IST.3.X#|
|00003120| 64 65 66 69 6e 65 20 43 | 5f 53 41 56 45 5f 4d 53 |define C|_SAVE_MS|
|00003130| 47 09 34 0a 58 23 64 65 | 66 69 6e 65 20 43 5f 53 |G.4.X#de|fine C_S|
|00003140| 41 56 45 5f 4c 49 53 54 | 09 35 0a 58 23 64 65 66 |AVE_LIST|.5.X#def|
|00003150| 69 6e 65 20 43 5f 43 4f | 50 59 5f 4d 53 47 09 36 |ine C_CO|PY_MSG.6|
|00003160| 0a 58 23 64 65 66 69 6e | 65 20 43 5f 43 4f 50 59 |.X#defin|e C_COPY|
|00003170| 5f 4c 49 53 54 09 37 0a | 58 23 64 65 66 69 6e 65 |_LIST.7.|X#define|
|00003180| 20 43 5f 44 45 4c 45 54 | 45 5f 4d 53 47 09 38 0a | C_DELET|E_MSG.8.|
|00003190| 58 23 64 65 66 69 6e 65 | 20 43 5f 44 45 4c 45 54 |X#define| C_DELET|
|000031a0| 45 5f 4c 49 53 54 09 39 | 0a 58 23 64 65 66 69 6e |E_LIST.9|.X#defin|
|000031b0| 65 20 43 5f 55 4e 44 45 | 4c 5f 4d 53 47 09 31 30 |e C_UNDE|L_MSG.10|
|000031c0| 0a 58 23 64 65 66 69 6e | 65 20 43 5f 55 4e 44 45 |.X#defin|e C_UNDE|
|000031d0| 4c 5f 4c 49 53 54 09 31 | 31 0a 58 23 64 65 66 69 |L_LIST.1|1.X#defi|
|000031e0| 6e 65 20 43 5f 52 45 56 | 45 52 53 45 09 31 32 0a |ne C_REV|ERSE.12.|
|000031f0| 58 23 64 65 66 69 6e 65 | 20 43 5f 52 45 44 52 41 |X#define| C_REDRA|
|00003200| 57 09 31 33 0a 58 23 64 | 65 66 69 6e 65 20 43 5f |W.13.X#d|efine C_|
|00003210| 4e 45 58 54 5f 4d 53 47 | 09 31 34 0a 58 23 64 65 |NEXT_MSG|.14.X#de|
|00003220| 66 69 6e 65 20 43 5f 50 | 52 45 56 5f 4d 53 47 09 |fine C_P|REV_MSG.|
|00003230| 31 35 0a 58 23 64 65 66 | 69 6e 65 20 43 5f 46 49 |15.X#def|ine C_FI|
|00003240| 52 53 54 5f 4d 53 47 09 | 31 36 0a 58 23 64 65 66 |RST_MSG.|16.X#def|
|00003250| 69 6e 65 20 43 5f 4c 41 | 53 54 5f 4d 53 47 09 31 |ine C_LA|ST_MSG.1|
|00003260| 37 0a 58 23 64 65 66 69 | 6e 65 20 43 5f 54 4f 50 |7.X#defi|ne C_TOP|
|00003270| 5f 50 41 47 45 09 31 38 | 0a 58 23 64 65 66 69 6e |_PAGE.18|.X#defin|
|00003280| 65 20 43 5f 42 4f 54 54 | 4f 4d 5f 50 41 47 45 09 |e C_BOTT|OM_PAGE.|
|00003290| 31 39 0a 58 23 64 65 66 | 69 6e 65 20 43 5f 4e 45 |19.X#def|ine C_NE|
|000032a0| 58 54 5f 53 43 52 45 45 | 4e 09 32 30 0a 58 23 64 |XT_SCREE|N.20.X#d|
|000032b0| 65 66 69 6e 65 20 43 5f | 50 52 45 56 5f 53 43 52 |efine C_|PREV_SCR|
|000032c0| 45 45 4e 09 32 31 0a 58 | 23 64 65 66 69 6e 65 20 |EEN.21.X|#define |
|000032d0| 43 5f 53 48 4f 57 5f 48 | 44 52 09 32 32 0a 58 23 |C_SHOW_H|DR.22.X#|
|000032e0| 64 65 66 69 6e 65 20 43 | 5f 53 4f 55 52 43 45 09 |define C|_SOURCE.|
|000032f0| 32 33 0a 58 23 64 65 66 | 69 6e 65 20 43 5f 53 41 |23.X#def|ine C_SA|
|00003300| 56 45 4f 50 54 53 09 32 | 34 0a 58 23 64 65 66 69 |VEOPTS.2|4.X#defi|
|00003310| 6e 65 20 43 5f 4e 45 58 | 54 5f 53 45 41 52 43 48 |ne C_NEX|T_SEARCH|
|00003320| 09 32 35 0a 58 23 64 65 | 66 69 6e 65 20 43 5f 50 |.25.X#de|fine C_P|
|00003330| 52 45 56 5f 53 45 41 52 | 43 48 09 32 36 0a 58 23 |REV_SEAR|CH.26.X#|
|00003340| 64 65 66 69 6e 65 20 43 | 5f 43 4f 4e 54 5f 53 45 |define C|_CONT_SE|
|00003350| 41 52 43 48 09 32 37 0a | 58 23 64 65 66 69 6e 65 |ARCH.27.|X#define|
|00003360| 20 43 5f 50 52 45 53 45 | 52 56 45 09 32 38 0a 58 | C_PRESE|RVE.28.X|
|00003370| 23 64 65 66 69 6e 65 20 | 43 5f 53 4f 52 54 09 09 |#define |C_SORT..|
|00003380| 32 39 0a 58 23 64 65 66 | 69 6e 65 20 43 5f 52 45 |29.X#def|ine C_RE|
|00003390| 56 5f 53 4f 52 54 09 33 | 30 0a 58 23 64 65 66 69 |V_SORT.3|0.X#defi|
|000033a0| 6e 65 20 43 5f 51 55 49 | 54 5f 48 41 52 44 09 33 |ne C_QUI|T_HARD.3|
|000033b0| 31 0a 58 23 64 65 66 69 | 6e 65 20 43 5f 51 55 49 |1.X#defi|ne C_QUI|
|000033c0| 54 09 09 33 32 0a 58 23 | 64 65 66 69 6e 65 20 43 |T..32.X#|define C|
|000033d0| 5f 45 58 49 54 5f 48 41 | 52 44 09 33 33 0a 58 23 |_EXIT_HA|RD.33.X#|
|000033e0| 64 65 66 69 6e 65 20 43 | 5f 45 58 49 54 09 09 33 |define C|_EXIT..3|
|000033f0| 34 0a 58 23 64 65 66 69 | 6e 65 20 43 5f 55 50 44 |4.X#defi|ne C_UPD|
|00003400| 41 54 45 09 33 35 0a 58 | 23 64 65 66 69 6e 65 20 |ATE.35.X|#define |
|00003410| 43 5f 46 4f 4c 44 45 52 | 09 33 36 0a 58 23 64 65 |C_FOLDER|.36.X#de|
|00003420| 66 69 6e 65 20 43 5f 53 | 48 45 4c 4c 5f 45 53 43 |fine C_S|HELL_ESC|
|00003430| 09 33 37 0a 58 23 64 65 | 66 69 6e 65 20 43 5f 43 |.37.X#de|fine C_C|
|00003440| 55 52 53 45 53 5f 45 53 | 43 09 33 38 0a 58 23 64 |URSES_ES|C.38.X#d|
|00003450| 65 66 69 6e 65 20 43 5f | 50 52 49 4e 54 5f 4d 53 |efine C_|PRINT_MS|
|00003460| 47 09 33 39 0a 58 23 64 | 65 66 69 6e 65 20 43 5f |G.39.X#d|efine C_|
|00003470| 43 48 44 49 52 09 09 34 | 30 0a 58 23 64 65 66 69 |CHDIR..4|0.X#defi|
|00003480| 6e 65 20 43 5f 56 41 52 | 5f 53 45 54 09 34 31 0a |ne C_VAR|_SET.41.|
|00003490| 58 23 64 65 66 69 6e 65 | 20 43 5f 49 47 4e 4f 52 |X#define| C_IGNOR|
|000034a0| 45 09 34 32 0a 58 23 64 | 65 66 69 6e 65 20 43 5f |E.42.X#d|efine C_|
|000034b0| 41 4c 49 41 53 09 09 34 | 33 0a 58 23 64 65 66 69 |ALIAS..4|3.X#defi|
|000034c0| 6e 65 20 43 5f 4f 57 4e | 5f 48 44 52 09 34 34 0a |ne C_OWN|_HDR.44.|
|000034d0| 58 23 64 65 66 69 6e 65 | 20 43 5f 56 45 52 53 49 |X#define| C_VERSI|
|000034e0| 4f 4e 09 34 35 0a 58 23 | 64 65 66 69 6e 65 20 43 |ON.45.X#|define C|
|000034f0| 5f 4d 41 49 4c 5f 46 4c | 41 47 53 09 34 36 0a 58 |_MAIL_FL|AGS.46.X|
|00003500| 23 64 65 66 69 6e 65 20 | 43 5f 4d 41 49 4c 09 09 |#define |C_MAIL..|
|00003510| 34 37 0a 58 23 64 65 66 | 69 6e 65 20 43 5f 52 45 |47.X#def|ine C_RE|
|00003520| 50 4c 59 5f 53 45 4e 44 | 45 52 09 34 38 0a 58 23 |PLY_SEND|ER.48.X#|
|00003530| 64 65 66 69 6e 65 20 43 | 5f 52 45 50 4c 59 5f 41 |define C|_REPLY_A|
|00003540| 4c 4c 09 34 39 0a 58 23 | 64 65 66 69 6e 65 20 43 |LL.49.X#|define C|
|00003550| 5f 44 49 53 50 4c 41 59 | 5f 4d 53 47 09 35 30 0a |_DISPLAY|_MSG.50.|
|00003560| 58 23 64 65 66 69 6e 65 | 20 43 5f 54 4f 50 5f 4d |X#define| C_TOP_M|
|00003570| 53 47 09 35 31 0a 58 23 | 64 65 66 69 6e 65 20 43 |SG.51.X#|define C|
|00003580| 5f 44 49 53 50 4c 41 59 | 5f 4e 45 58 54 09 35 32 |_DISPLAY|_NEXT.52|
|00003590| 0a 58 23 64 65 66 69 6e | 65 20 43 5f 42 49 4e 44 |.X#defin|e C_BIND|
|000035a0| 09 09 35 33 0a 58 23 64 | 65 66 69 6e 65 20 43 5f |..53.X#d|efine C_|
|000035b0| 55 4e 42 49 4e 44 09 35 | 34 0a 58 23 64 65 66 69 |UNBIND.5|4.X#defi|
|000035c0| 6e 65 20 43 5f 48 45 4c | 50 09 09 35 35 20 2f 2a |ne C_HEL|P..55 /*|
|000035d0| 20 54 48 49 53 20 4d 55 | 53 54 20 42 45 20 54 48 | THIS MU|ST BE TH|
|000035e0| 45 20 4c 41 53 54 20 49 | 54 45 4d 20 2a 2f 0a 45 |E LAST I|TEM */.E|
|000035f0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00003600| 73 74 20 31 34 39 32 20 | 2d 6e 65 20 60 77 63 20 |st 1492 |-ne `wc |
|00003610| 2d 63 20 3c 27 62 69 6e | 64 69 6e 67 73 2e 68 27 |-c <'bin|dings.h'|
|00003620| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00003630| 20 73 68 61 72 3a 20 5c | 22 27 62 69 6e 64 69 6e | shar: \|"'bindin|
|00003640| 67 73 2e 68 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |gs.h'\" |unpacked|
|00003650| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00003660| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 27 62 |!.fi.# e|nd of 'b|
|00003670| 69 6e 64 69 6e 67 73 2e | 68 27 0a 66 69 0a 69 66 |indings.|h'.fi.if|
|00003680| 20 74 65 73 74 20 2d 66 | 20 27 63 68 65 63 6b 2e | test -f| 'check.|
|00003690| 70 72 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |pr' -a "|${1}" !=|
|000036a0| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|000036b0| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|000036c0| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|000036d0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 63 68 65 |ting fil|e \"'che|
|000036e0| 63 6b 2e 70 72 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |ck.pr'\"|.else.ec|
|000036f0| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00003700| 69 6e 67 20 5c 22 27 63 | 68 65 63 6b 2e 70 72 27 |ing \"'c|heck.pr'|
|00003710| 5c 22 20 5c 28 32 34 30 | 20 63 68 61 72 61 63 74 |\" \(240| charact|
|00003720| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00003730| 2f 22 20 3e 27 63 68 65 | 63 6b 2e 70 72 27 20 3c |/" >'che|ck.pr' <|
|00003740| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00003750| 2f 2a 20 22 40 28 23 29 | 63 68 65 63 6b 2e 70 72 |/* "@(#)|check.pr|
|00003760| 09 32 2e 32 09 39 2f 33 | 2f 38 36 20 28 44 61 6e |.2.2.9/3|/86 (Dan|
|00003770| 20 48 65 6c 6c 65 72 29 | 22 3b 20 2a 2f 0a 58 0a | Heller)|"; */.X.|
|00003780| 58 2f 2a 20 46 6f 72 6d | 61 74 5f 76 65 72 73 69 |X/* Form|at_versi|
|00003790| 6f 6e 3d 31 2c 20 57 69 | 64 74 68 3d 31 36 2c 20 |on=1, Wi|dth=16, |
|000037a0| 48 65 69 67 68 74 3d 31 | 36 2c 20 44 65 70 74 68 |Height=1|6, Depth|
|000037b0| 3d 31 2c 20 56 61 6c 69 | 64 5f 62 69 74 73 5f 70 |=1, Vali|d_bits_p|
|000037c0| 65 72 5f 69 74 65 6d 3d | 31 36 0a 58 20 2a 2f 0a |er_item=|16.X */.|
|000037d0| 58 09 30 78 30 30 30 30 | 2c 30 78 30 30 30 30 2c |X.0x0000|,0x0000,|
|000037e0| 30 78 30 30 30 31 2c 30 | 78 30 30 30 33 2c 30 78 |0x0001,0|x0003,0x|
|000037f0| 30 30 30 37 2c 30 78 30 | 30 30 45 2c 30 78 30 30 |0007,0x0|00E,0x00|
|00003800| 31 43 2c 30 78 30 30 33 | 38 2c 0a 58 09 30 78 43 |1C,0x003|8,.X.0xC|
|00003810| 30 37 30 2c 30 78 45 30 | 45 30 2c 30 78 37 31 43 |070,0xE0|E0,0x71C|
|00003820| 30 2c 30 78 33 42 38 30 | 2c 30 78 31 46 30 30 2c |0,0x3B80|,0x1F00,|
|00003830| 30 78 30 45 30 30 2c 30 | 78 30 34 30 30 2c 30 78 |0x0E00,0|x0400,0x|
|00003840| 30 30 30 30 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |0000.END|_OF_FILE|
|00003850| 0a 69 66 20 74 65 73 74 | 20 32 34 30 20 2d 6e 65 |.if test| 240 -ne|
|00003860| 20 60 77 63 20 2d 63 20 | 3c 27 63 68 65 63 6b 2e | `wc -c |<'check.|
|00003870| 70 72 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |pr'`; th|en. e|
|00003880| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 63 68 65 |cho shar|: \"'che|
|00003890| 63 6b 2e 70 72 27 5c 22 | 20 75 6e 70 61 63 6b 65 |ck.pr'\"| unpacke|
|000038a0| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|000038b0| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|000038c0| 63 68 65 63 6b 2e 70 72 | 27 0a 66 69 0a 69 66 20 |check.pr|'.fi.if |
|000038d0| 74 65 73 74 20 2d 66 20 | 27 63 6f 66 66 65 65 2e |test -f |'coffee.|
|000038e0| 63 75 70 2e 70 72 27 20 | 2d 61 20 22 24 7b 31 7d |cup.pr' |-a "${1}|
|000038f0| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00003900| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00003910| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00003920| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00003930| 27 63 6f 66 66 65 65 2e | 63 75 70 2e 70 72 27 5c |'coffee.|cup.pr'\|
|00003940| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00003950| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00003960| 63 6f 66 66 65 65 2e 63 | 75 70 2e 70 72 27 5c 22 |coffee.c|up.pr'\"|
|00003970| 20 5c 28 31 39 33 20 63 | 68 61 72 61 63 74 65 72 | \(193 c|haracter|
|00003980| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00003990| 20 3e 27 63 6f 66 66 65 | 65 2e 63 75 70 2e 70 72 | >'coffe|e.cup.pr|
|000039a0| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|000039b0| 27 0a 58 2f 2a 20 46 6f | 72 6d 61 74 5f 76 65 72 |'.X/* Fo|rmat_ver|
|000039c0| 73 69 6f 6e 3d 31 2c 20 | 57 69 64 74 68 3d 31 36 |sion=1, |Width=16|
|000039d0| 2c 20 48 65 69 67 68 74 | 3d 31 36 2c 20 44 65 70 |, Height|=16, Dep|
|000039e0| 74 68 3d 31 2c 20 56 61 | 6c 69 64 5f 62 69 74 73 |th=1, Va|lid_bits|
|000039f0| 5f 70 65 72 5f 69 74 65 | 6d 3d 31 36 0a 58 20 2a |_per_ite|m=16.X *|
|00003a00| 2f 0a 58 09 30 78 30 32 | 30 30 2c 30 78 30 31 30 |/.X.0x02|00,0x010|
|00003a10| 30 2c 30 78 30 36 30 30 | 2c 30 78 30 38 30 30 2c |0,0x0600|,0x0800,|
|00003a20| 30 78 30 36 30 30 2c 30 | 78 30 31 30 30 2c 30 78 |0x0600,0|x0100,0x|
|00003a30| 46 46 46 38 2c 30 78 38 | 30 30 43 2c 0a 58 09 30 |FFF8,0x8|00C,.X.0|
|00003a40| 78 38 30 30 41 2c 30 78 | 34 30 31 32 2c 30 78 34 |x800A,0x|4012,0x4|
|00003a50| 30 31 43 2c 30 78 32 30 | 32 30 2c 30 78 39 30 34 |01C,0x20|20,0x904|
|00003a60| 38 2c 30 78 37 46 46 30 | 2c 30 78 33 46 45 30 2c |8,0x7FF0|,0x3FE0,|
|00003a70| 30 78 30 30 30 30 0a 45 | 4e 44 5f 4f 46 5f 46 49 |0x0000.E|ND_OF_FI|
|00003a80| 4c 45 0a 69 66 20 74 65 | 73 74 20 31 39 33 20 2d |LE.if te|st 193 -|
|00003a90| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 63 6f 66 66 |ne `wc -|c <'coff|
|00003aa0| 65 65 2e 63 75 70 2e 70 | 72 27 60 3b 20 74 68 65 |ee.cup.p|r'`; the|
|00003ab0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00003ac0| 20 5c 22 27 63 6f 66 66 | 65 65 2e 63 75 70 2e 70 | \"'coff|ee.cup.p|
|00003ad0| 72 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |r'\" unp|acked wi|
|00003ae0| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00003af0| 69 0a 23 20 65 6e 64 20 | 6f 66 20 27 63 6f 66 66 |i.# end |of 'coff|
|00003b00| 65 65 2e 63 75 70 2e 70 | 72 27 0a 66 69 0a 69 66 |ee.cup.p|r'.fi.if|
|00003b10| 20 74 65 73 74 20 2d 66 | 20 27 63 6f 6e 66 69 67 | test -f| 'config|
|00003b20| 2e 68 2d 64 69 73 74 27 | 20 2d 61 20 22 24 7b 31 |.h-dist'| -a "${1|
|00003b30| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00003b40| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00003b50| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00003b60| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00003b70| 22 27 63 6f 6e 66 69 67 | 2e 68 2d 64 69 73 74 27 |"'config|.h-dist'|
|00003b80| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00003b90| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00003ba0| 27 63 6f 6e 66 69 67 2e | 68 2d 64 69 73 74 27 5c |'config.|h-dist'\|
|00003bb0| 22 20 5c 28 31 36 33 34 | 20 63 68 61 72 61 63 74 |" \(1634| charact|
|00003bc0| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00003bd0| 2f 22 20 3e 27 63 6f 6e | 66 69 67 2e 68 2d 64 69 |/" >'con|fig.h-di|
|00003be0| 73 74 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |st' <<'E|ND_OF_FI|
|00003bf0| 4c 45 27 0a 58 2f 2a 20 | 63 6f 6e 66 69 67 2e 68 |LE'.X/* |config.h|
|00003c00| 20 31 2e 31 09 28 63 29 | 20 63 6f 70 79 72 69 67 | 1.1.(c)| copyrig|
|00003c10| 68 74 20 31 39 38 36 20 | 28 44 61 6e 20 48 65 6c |ht 1986 |(Dan Hel|
|00003c20| 6c 65 72 29 20 2a 2f 0a | 58 0a 58 23 64 65 66 69 |ler) */.|X.X#defi|
|00003c30| 6e 65 20 4d 41 49 4c 52 | 43 09 09 22 2e 6d 75 73 |ne MAILR|C..".mus|
|00003c40| 68 72 63 22 0a 58 23 64 | 65 66 69 6e 65 20 41 4c |hrc".X#d|efine AL|
|00003c50| 54 45 52 4e 41 54 45 5f | 52 43 09 22 2e 6d 61 69 |TERNATE_|RC.".mai|
|00003c60| 6c 72 63 22 0a 58 23 64 | 65 66 69 6e 65 20 4c 49 |lrc".X#d|efine LI|
|00003c70| 42 44 49 52 09 09 22 2f | 75 73 72 2f 6c 69 62 0a |BDIR.."/|usr/lib.|
|00003c80| 58 23 64 65 66 69 6e 65 | 20 44 45 46 41 55 4c 54 |X#define| DEFAULT|
|00003c90| 5f 52 43 09 4c 49 42 44 | 49 52 2f 4d 61 69 6c 2e |_RC.LIBD|IR/Mail.|
|00003ca0| 72 63 22 0a 58 23 64 65 | 66 69 6e 65 20 43 4f 4d |rc".X#de|fine COM|
|00003cb0| 4d 41 4e 44 5f 48 45 4c | 50 09 4c 49 42 44 49 52 |MAND_HEL|P.LIBDIR|
|00003cc0| 2f 63 6d 64 5f 68 65 6c | 70 22 0a 58 23 69 66 64 |/cmd_hel|p".X#ifd|
|00003cd0| 65 66 20 53 55 4e 54 4f | 4f 4c 0a 58 23 20 20 20 |ef SUNTO|OL.X# |
|00003ce0| 20 64 65 66 69 6e 65 20 | 54 4f 4f 4c 5f 48 45 4c | define |TOOL_HEL|
|00003cf0| 50 09 4c 49 42 44 49 52 | 2f 74 6f 6f 6c 5f 68 65 |P.LIBDIR|/tool_he|
|00003d00| 6c 70 22 0a 58 23 65 6e | 64 69 66 20 53 55 4e 54 |lp".X#en|dif SUNT|
|00003d10| 4f 4f 4c 0a 58 23 64 65 | 66 69 6e 65 20 41 4c 54 |OOL.X#de|fine ALT|
|00003d20| 45 52 4e 41 54 45 5f 48 | 4f 4d 45 09 22 2f 74 6d |ERNATE_H|OME."/tm|
|00003d30| 70 22 20 20 20 20 20 20 | 20 2f 2a 20 50 61 74 68 |p" | /* Path|
|00003d40| 20 6d 75 73 74 20 62 65 | 20 72 65 61 64 2f 77 72 | must be| read/wr|
|00003d50| 69 74 65 20 74 6f 20 45 | 56 45 52 59 4f 4e 45 20 |ite to E|VERYONE |
|00003d60| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 20 45 44 46 49 |*/.X#def|ine EDFI|
|00003d70| 4c 45 20 20 09 22 2e 65 | 64 58 58 58 58 58 58 22 |LE .".e|dXXXXXX"|
|00003d80| 20 20 2f 2a 20 66 69 6c | 65 2f 70 61 74 68 6e 61 | /* fil|e/pathna|
|00003d90| 6d 65 20 61 64 64 65 64 | 20 74 6f 20 75 73 65 72 |me added| to user|
|00003da0| 27 73 20 22 68 6f 6d 65 | 22 20 2a 2f 0a 58 0a 58 |'s "home|" */.X.X|
|00003db0| 2f 2a 20 6d 61 69 6c 20 | 64 65 6c 69 76 65 72 79 |/* mail |delivery|
|00003dc0| 20 73 79 73 74 65 6d 20 | 2a 2f 0a 58 23 64 65 66 | system |*/.X#def|
|00003dd0| 69 6e 65 20 4d 41 49 4c | 5f 44 45 4c 49 56 45 52 |ine MAIL|_DELIVER|
|00003de0| 59 09 22 2f 75 73 72 2f | 6c 69 62 2f 73 65 6e 64 |Y."/usr/|lib/send|
|00003df0| 6d 61 69 6c 20 2d 69 22 | 0a 58 23 64 65 66 69 6e |mail -i"|.X#defin|
|00003e00| 65 20 56 45 52 42 4f 53 | 45 5f 41 52 47 09 22 2d |e VERBOS|E_ARG."-|
|00003e10| 76 22 20 20 20 20 2f 2a | 20 75 6e 64 65 66 20 69 |v" /*| undef i|
|00003e20| 66 20 6e 6f 6e 65 20 65 | 78 69 73 74 73 20 2a 2f |f none e|xists */|
|00003e30| 0a 58 23 64 65 66 69 6e | 65 20 4d 45 54 4f 4f 5f |.X#defin|e METOO_|
|00003e40| 41 52 47 09 22 2d 6d 22 | 20 20 20 20 2f 2a 20 6d |ARG."-m"| /* m|
|00003e50| 61 6e 20 73 65 6e 64 6d | 61 69 6c 20 66 6f 72 20 |an sendm|ail for |
|00003e60| 6d 6f 72 65 20 69 6e 66 | 6f 2e 20 2a 2f 0a 58 0a |more inf|o. */.X.|
|00003e70| 58 23 64 65 66 69 6e 65 | 09 4d 41 58 4d 53 47 53 |X#define|.MAXMSGS|
|00003e80| 09 09 31 30 30 30 09 2f | 2a 20 6d 61 78 69 6d 75 |..1000./|* maximu|
|00003e90| 6d 20 6e 75 6d 62 65 72 | 20 6f 66 20 6d 65 73 73 |m number| of mess|
|00003ea0| 61 67 65 73 20 77 65 20 | 63 61 6e 20 72 65 61 64 |ages we |can read|
|00003eb0| 20 2a 2f 0a 58 23 69 66 | 6e 64 65 66 20 4d 41 58 | */.X#if|ndef MAX|
|00003ec0| 50 41 54 48 4c 45 4e 0a | 58 23 64 65 66 69 6e 65 |PATHLEN.|X#define|
|00003ed0| 20 4d 41 58 50 41 54 48 | 4c 45 4e 20 32 35 36 0a | MAXPATH|LEN 256.|
|00003ee0| 58 23 65 6e 64 69 66 0a | 58 0a 58 23 64 65 66 69 |X#endif.|X.X#defi|
|00003ef0| 6e 65 20 56 50 52 49 4e | 54 46 09 09 2f 2a 20 49 |ne VPRIN|TF../* I|
|00003f00| 66 20 79 6f 75 72 20 73 | 79 73 74 65 6d 20 73 75 |f your s|ystem su|
|00003f10| 70 70 6f 72 74 73 20 74 | 68 65 20 76 70 72 69 6e |pports t|he vprin|
|00003f20| 74 66 28 29 20 66 75 6e | 63 74 69 6f 6e 73 2c 0a |tf() fun|ctions,.|
|00003f30| 58 09 09 09 20 2a 20 54 | 72 75 65 20 66 6f 72 20 |X... * T|rue for |
|00003f40| 73 79 73 2d 76 20 61 6e | 64 20 6c 61 74 65 72 20 |sys-v an|d later |
|00003f50| 73 75 6e 20 76 65 72 73 | 69 6f 6e 73 20 28 33 2e |sun vers|ions (3.|
|00003f60| 30 2b 20 3f 29 2e 0a 58 | 09 09 09 20 2a 2f 0a 58 |0+ ?)..X|... */.X|
|00003f70| 0a 58 2f 2a 20 54 68 65 | 20 6d 61 78 69 6d 75 6d |.X/* The| maximum|
|00003f80| 20 6e 75 6d 62 65 72 20 | 6f 66 20 68 6f 73 74 6e | number |of hostn|
|00003f90| 61 6d 65 73 20 59 4f 55 | 52 20 68 6f 73 74 20 6d |ames YOU|R host m|
|00003fa0| 61 79 20 68 61 76 65 20 | 28 75 73 75 61 6c 6c 79 |ay have |(usually|
|00003fb0| 20 66 6f 75 6e 64 20 69 | 6e 0a 58 20 2a 20 2f 65 | found i|n.X * /e|
|00003fc0| 74 63 2f 68 6f 73 74 73 | 20 66 6f 72 20 42 53 44 |tc/hosts| for BSD|
|00003fd0| 20 73 79 73 74 65 6d 73 | 29 2e 20 20 53 79 73 74 | systems|). Syst|
|00003fe0| 65 6d 2d 56 2f 78 65 6e | 69 78 20 64 6f 65 73 6e |em-V/xen|ix doesn|
|00003ff0| 27 74 20 75 73 65 20 74 | 68 69 73 20 28 75 73 65 |'t use t|his (use|
|00004000| 20 31 29 2e 0a 58 20 2a | 2f 0a 58 23 64 65 66 69 | 1)..X *|/.X#defi|
|00004010| 6e 65 20 4d 41 58 5f 48 | 4f 53 54 5f 4e 41 4d 45 |ne MAX_H|OST_NAME|
|00004020| 53 20 20 31 0a 58 0a 58 | 23 64 65 66 69 6e 65 20 |S 1.X.X|#define |
|00004030| 4c 53 5f 43 4f 4d 4d 41 | 4e 44 09 22 6c 73 22 0a |LS_COMMA|ND."ls".|
|00004040| 58 23 64 65 66 69 6e 65 | 20 46 4f 52 54 55 4e 45 |X#define| FORTUNE|
|00004050| 09 09 22 2f 75 73 72 2f | 67 61 6d 65 73 2f 66 6f |.."/usr/|games/fo|
|00004060| 72 74 75 6e 65 22 0a 58 | 23 64 65 66 69 6e 65 20 |rtune".X|#define |
|00004070| 4c 50 52 09 09 22 6c 70 | 72 22 0a 58 23 64 65 66 |LPR.."lp|r".X#def|
|00004080| 69 6e 65 20 53 49 47 4e | 41 54 55 52 45 09 22 2e |ine SIGN|ATURE.".|
|00004090| 73 69 67 6e 61 74 75 72 | 65 22 0a 58 23 64 65 66 |signatur|e".X#def|
|000040a0| 69 6e 65 20 4d 41 49 4c | 44 49 52 09 09 22 2f 75 |ine MAIL|DIR.."/u|
|000040b0| 73 72 2f 73 70 6f 6f 6c | 2f 6d 61 69 6c 22 0a 58 |sr/spool|/mail".X|
|000040c0| 0a 58 2f 2a 20 64 65 66 | 61 75 6c 74 20 73 65 74 |.X/* def|ault set|
|000040d0| 74 69 6e 67 73 20 66 6f | 72 20 73 6f 6d 65 20 76 |tings fo|r some v|
|000040e0| 61 72 69 61 62 6c 65 20 | 73 74 72 69 6e 67 73 20 |ariable |strings |
|000040f0| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 20 44 45 46 5f |*/.X#def|ine DEF_|
|00004100| 50 52 4f 4d 50 54 09 22 | 4d 73 67 20 25 6d 20 6f |PROMPT."|Msg %m o|
|00004110| 66 20 25 74 3a 20 22 0a | 58 23 64 65 66 69 6e 65 |f %t: ".|X#define|
|00004120| 20 44 45 46 5f 50 41 47 | 45 52 09 22 6d 6f 72 65 | DEF_PAG|ER."more|
|00004130| 22 0a 58 23 64 65 66 69 | 6e 65 20 44 45 46 5f 53 |".X#defi|ne DEF_S|
|00004140| 48 45 4c 4c 09 22 63 73 | 68 22 0a 58 23 64 65 66 |HELL."cs|h".X#def|
|00004150| 69 6e 65 20 44 45 46 5f | 45 44 49 54 4f 52 09 22 |ine DEF_|EDITOR."|
|00004160| 76 69 22 0a 58 23 64 65 | 66 69 6e 65 20 44 45 46 |vi".X#de|fine DEF|
|00004170| 5f 46 4f 4c 44 45 52 09 | 22 7e 2f 4d 61 69 6c 22 |_FOLDER.|"~/Mail"|
|00004180| 20 20 20 20 20 20 20 20 | 2f 2a 20 64 65 66 61 75 | |/* defau|
|00004190| 6c 74 20 4d 61 69 6c 20 | 66 6f 6c 64 65 72 20 2a |lt Mail |folder *|
|000041a0| 2f 0a 58 23 64 65 66 69 | 6e 65 20 44 45 46 5f 4d |/.X#defi|ne DEF_M|
|000041b0| 42 4f 58 09 22 7e 2f 6d | 62 6f 78 22 09 2f 2a 20 |BOX."~/m|box"./* |
|000041c0| 64 65 66 61 75 6c 74 20 | 6d 62 6f 78 20 2a 2f 0a |default |mbox */.|
|000041d0| 58 23 64 65 66 69 6e 65 | 20 44 45 46 5f 49 4e 44 |X#define| DEF_IND|
|000041e0| 45 4e 54 5f 53 54 52 09 | 22 3e 20 22 09 09 2f 2a |ENT_STR.|"> "../*|
|000041f0| 20 69 6e 64 65 6e 74 20 | 69 6e 63 6c 75 64 65 64 | indent |included|
|00004200| 20 6d 61 69 6c 20 2a 2f | 0a 58 23 64 65 66 69 6e | mail */|.X#defin|
|00004210| 65 20 44 45 46 5f 50 52 | 49 4e 54 45 52 09 22 6c |e DEF_PR|INTER."l|
|00004220| 70 22 0a 58 23 64 65 66 | 69 6e 65 20 44 45 46 5f |p".X#def|ine DEF_|
|00004230| 45 53 43 41 50 45 09 22 | 7e 22 0a 58 23 64 65 66 |ESCAPE."|~".X#def|
|00004240| 69 6e 65 20 44 45 46 5f | 48 44 52 5f 46 4d 54 09 |ine DEF_|HDR_FMT.|
|00004250| 22 25 53 20 25 32 35 66 | 20 25 37 64 20 28 25 6c |"%S %25f| %7d (%l|
|00004260| 2f 25 63 29 20 25 32 35 | 73 22 20 2f 2a 20 68 65 |/%c) %25|s" /* he|
|00004270| 61 64 65 72 73 20 66 6f | 72 6d 61 74 20 73 74 72 |aders fo|rmat str|
|00004280| 69 6e 67 20 2a 2f 0a 45 | 4e 44 5f 4f 46 5f 46 49 |ing */.E|ND_OF_FI|
|00004290| 4c 45 0a 69 66 20 74 65 | 73 74 20 31 36 33 34 20 |LE.if te|st 1634 |
|000042a0| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 63 6f 6e |-ne `wc |-c <'con|
|000042b0| 66 69 67 2e 68 2d 64 69 | 73 74 27 60 3b 20 74 68 |fig.h-di|st'`; th|
|000042c0| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|000042d0| 3a 20 5c 22 27 63 6f 6e | 66 69 67 2e 68 2d 64 69 |: \"'con|fig.h-di|
|000042e0| 73 74 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |st'\" un|packed w|
|000042f0| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00004300| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 63 6f 6e |fi.# end| of 'con|
|00004310| 66 69 67 2e 68 2d 64 69 | 73 74 27 0a 66 69 0a 69 |fig.h-di|st'.fi.i|
|00004320| 66 20 74 65 73 74 20 2d | 66 20 27 63 79 63 6c 65 |f test -|f 'cycle|
|00004330| 2e 70 72 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |.pr' -a |"${1}" !|
|00004340| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00004350| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00004360| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00004370| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 63 79 |sting fi|le \"'cy|
|00004380| 63 6c 65 2e 70 72 27 5c | 22 0a 65 6c 73 65 0a 65 |cle.pr'\|".else.e|
|00004390| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|000043a0| 74 69 6e 67 20 5c 22 27 | 63 79 63 6c 65 2e 70 72 |ting \"'|cycle.pr|
|000043b0| 27 5c 22 20 5c 28 32 34 | 31 20 63 68 61 72 61 63 |'\" \(24|1 charac|
|000043c0| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|000043d0| 2f 2f 22 20 3e 27 63 79 | 63 6c 65 2e 70 72 27 20 |//" >'cy|cle.pr' |
|000043e0| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|000043f0| 58 2f 2a 20 22 40 28 23 | 29 63 79 63 6c 65 2e 70 |X/* "@(#|)cycle.p|
|00004400| 72 09 32 2e 32 09 39 2f | 33 2f 38 36 20 28 44 61 |r.2.2.9/|3/86 (Da|
|00004410| 6e 20 48 65 6c 6c 65 72 | 29 22 3b 20 2a 2f 0a 58 |n Heller|)"; */.X|
|00004420| 0a 58 2f 2a 20 46 6f 72 | 6d 61 74 5f 76 65 72 73 |.X/* For|mat_vers|
|00004430| 69 6f 6e 3d 31 2c 20 57 | 69 64 74 68 3d 31 36 2c |ion=1, W|idth=16,|
|00004440| 20 48 65 69 67 68 74 3d | 31 36 2c 20 44 65 70 74 | Height=|16, Dept|
|00004450| 68 3d 31 2c 20 56 61 6c | 69 64 5f 62 69 74 73 5f |h=1, Val|id_bits_|
|00004460| 70 65 72 5f 69 74 65 6d | 3d 31 36 0a 58 20 2a 2f |per_item|=16.X */|
|00004470| 0a 58 09 30 78 30 37 43 | 30 2c 30 78 30 46 45 30 |.X.0x07C|0,0x0FE0|
|00004480| 2c 30 78 31 38 33 34 2c | 30 78 33 30 31 43 2c 30 |,0x1834,|0x301C,0|
|00004490| 78 36 30 31 43 2c 30 78 | 32 30 33 43 2c 30 78 30 |x601C,0x|203C,0x0|
|000044a0| 30 30 30 2c 30 78 30 30 | 30 30 2c 0a 58 09 30 78 |000,0x00|00,.X.0x|
|000044b0| 37 38 30 38 2c 30 78 37 | 30 30 43 2c 30 78 37 30 |7808,0x7|00C,0x70|
|000044c0| 31 38 2c 30 78 35 38 33 | 30 2c 30 78 30 46 45 30 |18,0x583|0,0x0FE0|
|000044d0| 2c 30 78 30 37 43 30 2c | 30 78 30 30 30 30 2c 30 |,0x07C0,|0x0000,0|
|000044e0| 78 30 30 30 30 0a 58 0a | 45 4e 44 5f 4f 46 5f 46 |x0000.X.|END_OF_F|
|000044f0| 49 4c 45 0a 69 66 20 74 | 65 73 74 20 32 34 31 20 |ILE.if t|est 241 |
|00004500| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 63 79 63 |-ne `wc |-c <'cyc|
|00004510| 6c 65 2e 70 72 27 60 3b | 20 74 68 65 6e 0a 20 20 |le.pr'`;| then. |
|00004520| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00004530| 63 79 63 6c 65 2e 70 72 | 27 5c 22 20 75 6e 70 61 |cycle.pr|'\" unpa|
|00004540| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00004550| 73 69 7a 65 21 0a 66 69 | 0a 23 20 65 6e 64 20 6f |size!.fi|.# end o|
|00004560| 66 20 27 63 79 63 6c 65 | 2e 70 72 27 0a 66 69 0a |f 'cycle|.pr'.fi.|
|00004570| 69 66 20 74 65 73 74 20 | 2d 66 20 27 64 6e 2e 61 |if test |-f 'dn.a|
|00004580| 72 72 6f 77 2e 70 72 27 | 20 2d 61 20 22 24 7b 31 |rrow.pr'| -a "${1|
|00004590| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|000045a0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|000045b0| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|000045c0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|000045d0| 22 27 64 6e 2e 61 72 72 | 6f 77 2e 70 72 27 5c 22 |"'dn.arr|ow.pr'\"|
|000045e0| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 73 68 61 72 3a |.else.ec|ho shar:|
|000045f0| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 64 | Extract|ing \"'d|
|00004600| 6e 2e 61 72 72 6f 77 2e | 70 72 27 5c 22 20 5c 28 |n.arrow.|pr'\" \(|
|00004610| 32 34 33 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |243 char|acters\)|
|00004620| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00004630| 64 6e 2e 61 72 72 6f 77 | 2e 70 72 27 20 3c 3c 27 |dn.arrow|.pr' <<'|
|00004640| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 2f 2a |END_OF_F|ILE'.X/*|
|00004650| 20 22 40 28 23 29 64 6e | 2e 61 72 72 6f 77 2e 70 | "@(#)dn|.arrow.p|
|00004660| 72 09 32 2e 32 09 39 2f | 33 2f 38 36 20 28 44 61 |r.2.2.9/|3/86 (Da|
|00004670| 6e 20 48 65 6c 6c 65 72 | 29 22 3b 20 2a 2f 0a 58 |n Heller|)"; */.X|
|00004680| 0a 58 2f 2a 20 46 6f 72 | 6d 61 74 5f 76 65 72 73 |.X/* For|mat_vers|
|00004690| 69 6f 6e 3d 31 2c 20 57 | 69 64 74 68 3d 31 36 2c |ion=1, W|idth=16,|
|000046a0| 20 48 65 69 67 68 74 3d | 31 36 2c 20 44 65 70 74 | Height=|16, Dept|
|000046b0| 68 3d 31 2c 20 56 61 6c | 69 64 5f 62 69 74 73 5f |h=1, Val|id_bits_|
|000046c0| 70 65 72 5f 69 74 65 6d | 3d 31 36 0a 58 20 2a 2f |per_item|=16.X */|
|000046d0| 0a 58 09 30 78 46 46 46 | 46 2c 30 78 38 30 30 31 |.X.0xFFF|F,0x8001|
|000046e0| 2c 30 78 42 46 46 44 2c | 30 78 42 46 46 44 2c 30 |,0xBFFD,|0xBFFD,0|
|000046f0| 78 42 46 46 44 2c 30 78 | 39 46 46 39 2c 30 78 38 |xBFFD,0x|9FF9,0x8|
|00004700| 46 46 31 2c 30 78 38 37 | 45 31 2c 0a 58 09 30 78 |FF1,0x87|E1,.X.0x|
|00004710| 38 33 43 31 2c 30 78 38 | 31 38 31 2c 30 78 42 38 |83C1,0x8|181,0xB8|
|00004720| 32 35 2c 30 78 41 34 33 | 35 2c 30 78 41 34 32 44 |25,0xA43|5,0xA42D|
|00004730| 2c 30 78 42 38 32 35 2c | 30 78 38 30 30 31 2c 30 |,0xB825,|0x8001,0|
|00004740| 78 46 46 46 46 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |xFFFF.EN|D_OF_FIL|
|00004750| 45 0a 69 66 20 74 65 73 | 74 20 32 34 33 20 2d 6e |E.if tes|t 243 -n|
|00004760| 65 20 60 77 63 20 2d 63 | 20 3c 27 64 6e 2e 61 72 |e `wc -c| <'dn.ar|
|00004770| 72 6f 77 2e 70 72 27 60 | 3b 20 74 68 65 6e 0a 20 |row.pr'`|; then. |
|00004780| 20 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 5c 22 | echo |shar: \"|
|00004790| 27 64 6e 2e 61 72 72 6f | 77 2e 70 72 27 5c 22 20 |'dn.arro|w.pr'\" |
|000047a0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|000047b0| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|000047c0| 6e 64 20 6f 66 20 27 64 | 6e 2e 61 72 72 6f 77 2e |nd of 'd|n.arrow.|
|000047d0| 70 72 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |pr'.fi.i|f test -|
|000047e0| 66 20 27 65 64 69 74 5f | 6d 65 6e 75 2e 63 27 20 |f 'edit_|menu.c' |
|000047f0| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00004800| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00004810| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00004820| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00004830| 20 66 69 6c 65 20 5c 22 | 27 65 64 69 74 5f 6d 65 | file \"|'edit_me|
|00004840| 6e 75 2e 63 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |nu.c'\".|else.ech|
|00004850| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00004860| 6e 67 20 5c 22 27 65 64 | 69 74 5f 6d 65 6e 75 2e |ng \"'ed|it_menu.|
|00004870| 63 27 5c 22 20 5c 28 33 | 33 33 34 20 63 68 61 72 |c'\" \(3|334 char|
|00004880| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00004890| 5e 58 2f 2f 22 20 3e 27 | 65 64 69 74 5f 6d 65 6e |^X//" >'|edit_men|
|000048a0| 75 2e 63 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |u.c' <<'|END_OF_F|
|000048b0| 49 4c 45 27 0a 58 2f 2a | 20 40 28 23 29 65 64 69 |ILE'.X/*| @(#)edi|
|000048c0| 74 5f 6d 65 6e 75 2e 63 | 09 28 63 29 20 63 6f 70 |t_menu.c|.(c) cop|
|000048d0| 79 72 69 67 68 74 09 31 | 30 2f 31 38 2f 38 36 20 |yright.1|0/18/86 |
|000048e0| 28 44 61 6e 20 48 65 6c | 6c 65 72 29 20 2a 2f 0a |(Dan Hel|ler) */.|
|000048f0| 58 0a 58 2f 2a 20 65 64 | 69 74 5f 6d 65 6e 75 2e |X.X/* ed|it_menu.|
|00004900| 63 0a 58 20 2a 20 0a 58 | 20 2a 20 52 6f 75 74 69 |c.X * .X| * Routi|
|00004910| 6e 65 20 77 68 69 63 68 | 20 68 61 6e 64 6c 65 73 |ne which| handles|
|00004920| 20 74 68 65 20 6d 65 6e | 75 20 79 6f 75 20 67 65 | the men|u you ge|
|00004930| 74 20 77 68 65 6e 20 69 | 6e 20 74 68 65 20 6d 73 |t when i|n the ms|
|00004940| 67 5f 77 69 6e 20 77 68 | 69 6c 65 20 65 64 69 74 |g_win wh|ile edit|
|00004950| 69 6e 67 0a 58 20 2a 20 | 61 20 6c 65 74 74 65 72 |ing.X * |a letter|
|00004960| 2e 20 20 54 68 69 73 20 | 69 73 20 6a 75 73 74 20 |. This |is just |
|00004970| 61 20 66 61 6e 63 79 20 | 66 72 6f 6e 74 20 65 6e |a fancy |front en|
|00004980| 64 20 66 6f 72 20 7e 20 | 63 6f 6d 6d 61 6e 64 73 |d for ~ |commands|
|00004990| 20 28 6e 79 75 6b 2c 20 | 6e 79 75 6b 29 2e 0a 58 | (nyuk, |nyuk)..X|
|000049a0| 20 2a 2f 0a 58 23 69 6e | 63 6c 75 64 65 20 22 6d | */.X#in|clude "m|
|000049b0| 75 73 68 2e 68 22 0a 58 | 0a 58 23 64 65 66 69 6e |ush.h".X|.X#defin|
|000049c0| 65 20 45 44 49 54 5f 49 | 54 20 20 20 20 20 09 28 |e EDIT_I|T .(|
|000049d0| 63 68 61 72 20 2a 29 27 | 65 27 0a 58 23 64 65 66 |char *)'|e'.X#def|
|000049e0| 69 6e 65 20 50 41 47 45 | 20 20 20 20 20 09 28 63 |ine PAGE| .(c|
|000049f0| 68 61 72 20 2a 29 27 70 | 27 0a 58 23 64 65 66 69 |har *)'p|'.X#defi|
|00004a00| 6e 65 20 49 4e 43 20 09 | 20 09 28 63 68 61 72 20 |ne INC .| .(char |
|00004a10| 2a 29 27 69 27 0a 58 23 | 64 65 66 69 6e 65 20 49 |*)'i'.X#|define I|
|00004a20| 4e 43 5f 48 44 52 09 09 | 28 63 68 61 72 20 2a 29 |NC_HDR..|(char *)|
|00004a30| 27 48 27 0a 58 23 64 65 | 66 69 6e 65 20 46 57 44 |'H'.X#de|fine FWD|
|00004a40| 5f 4d 53 47 09 09 28 63 | 68 61 72 20 2a 29 27 66 |_MSG..(c|har *)'f|
|00004a50| 27 0a 58 23 64 65 66 69 | 6e 65 20 54 4f 5f 4c 49 |'.X#defi|ne TO_LI|
|00004a60| 53 54 09 09 28 63 68 61 | 72 20 2a 29 27 74 27 0a |ST..(cha|r *)'t'.|
|00004a70| 58 23 64 65 66 69 6e 65 | 20 53 55 42 4a 45 43 54 |X#define| SUBJECT|
|00004a80| 09 09 28 63 68 61 72 20 | 2a 29 27 73 27 0a 58 23 |..(char |*)'s'.X#|
|00004a90| 64 65 66 69 6e 65 20 43 | 43 5f 4c 49 53 54 09 09 |define C|C_LIST..|
|00004aa0| 28 63 68 61 72 20 2a 29 | 27 63 27 0a 58 23 64 65 |(char *)|'c'.X#de|
|00004ab0| 66 69 6e 65 20 42 43 5f | 4c 49 53 54 09 09 28 63 |fine BC_|LIST..(c|
|00004ac0| 68 61 72 20 2a 29 27 62 | 27 0a 58 23 64 65 66 69 |har *)'b|'.X#defi|
|00004ad0| 6e 65 20 41 4c 4c 5f 48 | 44 52 09 09 28 63 68 61 |ne ALL_H|DR..(cha|
|00004ae0| 72 20 2a 29 27 68 27 0a | 58 23 64 65 66 69 6e 65 |r *)'h'.|X#define|
|00004af0| 20 53 49 47 4e 5f 49 54 | 09 09 28 63 68 61 72 20 | SIGN_IT|..(char |
|00004b00| 2a 29 27 53 27 0a 58 23 | 64 65 66 69 6e 65 20 4e |*)'S'.X#|define N|
|00004b10| 4f 5f 53 49 47 4e 09 09 | 28 63 68 61 72 20 2a 29 |O_SIGN..|(char *)|
|00004b20| 27 6e 27 0a 58 23 64 65 | 66 69 6e 65 20 46 4f 52 |'n'.X#de|fine FOR|
|00004b30| 54 09 09 28 63 68 61 72 | 20 2a 29 27 46 27 0a 58 |T..(char| *)'F'.X|
|00004b40| 23 64 65 66 69 6e 65 20 | 4e 4f 5f 46 4f 52 54 09 |#define |NO_FORT.|
|00004b50| 09 28 63 68 61 72 20 2a | 29 27 4e 27 0a 58 23 64 |.(char *|)'N'.X#d|
|00004b60| 65 66 69 6e 65 20 45 52 | 41 53 45 20 20 20 09 28 |efine ER|ASE .(|
|00004b70| 63 68 61 72 20 2a 29 27 | 45 27 0a 58 23 64 65 66 |char *)'|E'.X#def|
|00004b80| 69 6e 65 20 53 45 4e 44 | 09 20 20 20 09 28 63 68 |ine SEND|. .(ch|
|00004b90| 61 72 20 2a 29 27 58 27 | 0a 58 23 64 65 66 69 6e |ar *)'X'|.X#defin|
|00004ba0| 65 20 41 42 4f 52 54 20 | 20 20 09 28 63 68 61 72 |e ABORT | .(char|
|00004bb0| 20 2a 29 27 71 27 0a 58 | 23 64 65 66 69 6e 65 20 | *)'q'.X|#define |
|00004bc0| 4d 45 4e 55 5f 48 45 4c | 50 09 28 63 68 61 72 20 |MENU_HEL|P.(char |
|00004bd0| 2a 29 27 3f 27 0a 58 0a | 58 73 74 61 74 69 63 20 |*)'?'.X.|Xstatic |
|00004be0| 73 74 72 75 63 74 20 6d | 65 6e 75 69 74 65 6d 20 |struct m|enuitem |
|00004bf0| 65 64 69 74 5f 69 74 65 | 6d 73 5b 5d 20 3d 20 7b |edit_ite|ms[] = {|
|00004c00| 0a 58 20 20 20 20 7b 20 | 4d 45 4e 55 5f 49 4d 41 |.X { |MENU_IMA|
|00004c10| 47 45 53 54 52 49 4e 47 | 2c 20 20 22 45 6e 74 65 |GESTRING|, "Ente|
|00004c20| 72 20 45 64 69 74 6f 72 | 22 2c 09 45 44 49 54 5f |r Editor|",.EDIT_|
|00004c30| 49 54 20 20 7d 2c 0a 58 | 20 20 20 20 7b 20 4d 45 |IT },.X| { ME|
|00004c40| 4e 55 5f 49 4d 41 47 45 | 53 54 52 49 4e 47 2c 20 |NU_IMAGE|STRING, |
|00004c50| 20 22 53 65 6e 64 20 4c | 65 74 74 65 72 22 2c 09 | "Send L|etter",.|
|00004c60| 09 53 45 4e 44 20 20 20 | 20 20 7d 2c 0a 58 20 20 |.SEND | },.X |
|00004c70| 20 20 7b 20 4d 45 4e 55 | 5f 49 4d 41 47 45 53 54 | { MENU|_IMAGEST|
|00004c80| 52 49 4e 47 2c 20 20 22 | 41 62 6f 72 74 20 4c 65 |RING, "|Abort Le|
|00004c90| 74 74 65 72 22 2c 09 41 | 42 4f 52 54 20 20 20 20 |tter",.A|BORT |
|00004ca0| 7d 2c 0a 58 20 20 20 20 | 7b 20 4d 45 4e 55 5f 49 |},.X |{ MENU_I|
|00004cb0| 4d 41 47 45 53 54 52 49 | 4e 47 2c 20 20 22 52 65 |MAGESTRI|NG, "Re|
|00004cc0| 76 69 65 77 20 4c 65 74 | 74 65 72 22 2c 09 50 41 |view Let|ter",.PA|
|00004cd0| 47 45 20 20 20 20 20 7d | 2c 0a 58 20 20 20 20 7b |GE }|,.X {|
|00004ce0| 20 4d 45 4e 55 5f 49 4d | 41 47 45 53 54 52 49 4e | MENU_IM|AGESTRIN|
|00004cf0| 47 2c 20 20 22 49 6e 63 | 6c 75 64 65 20 4d 65 73 |G, "Inc|lude Mes|
|00004d00| 73 61 67 65 22 2c 09 49 | 4e 43 20 20 20 20 20 20 |sage",.I|NC |
|00004d10| 7d 2c 0a 58 20 20 20 20 | 7b 20 4d 45 4e 55 5f 49 |},.X |{ MENU_I|
|00004d20| 4d 41 47 45 53 54 52 49 | 4e 47 2c 20 20 22 49 6e |MAGESTRI|NG, "In|
|00004d30| 63 2e 20 6d 73 67 20 77 | 2f 68 64 72 22 2c 09 49 |c. msg w|/hdr",.I|
|00004d40| 4e 43 5f 48 44 52 20 20 | 7d 2c 0a 58 20 20 20 20 |NC_HDR |},.X |
|00004d50| 7b 20 4d 45 4e 55 5f 49 | 4d 41 47 45 53 54 52 49 |{ MENU_I|MAGESTRI|
|00004d60| 4e 47 2c 20 20 22 46 6f | 72 77 61 72 64 20 6d 65 |NG, "Fo|rward me|
|00004d70| 73 73 61 67 65 22 2c 09 | 46 57 44 5f 4d 53 47 20 |ssage",.|FWD_MSG |
|00004d80| 20 7d 2c 0a 58 20 20 20 | 20 7b 20 4d 45 4e 55 5f | },.X | { MENU_|
|00004d90| 49 4d 41 47 45 53 54 52 | 49 4e 47 2c 20 20 22 43 |IMAGESTR|ING, "C|
|00004da0| 68 61 6e 67 65 20 54 6f | 20 6c 69 6e 65 22 2c 09 |hange To| line",.|
|00004db0| 54 4f 5f 4c 49 53 54 20 | 20 7d 2c 0a 58 20 20 20 |TO_LIST | },.X |
|00004dc0| 20 7b 20 4d 45 4e 55 5f | 49 4d 41 47 45 53 54 52 | { MENU_|IMAGESTR|
|00004dd0| 49 4e 47 2c 20 20 22 43 | 68 61 6e 67 65 20 53 75 |ING, "C|hange Su|
|00004de0| 62 6a 65 63 74 22 2c 09 | 53 55 42 4a 45 43 54 20 |bject",.|SUBJECT |
|00004df0| 20 7d 2c 0a 58 20 20 20 | 20 7b 20 4d 45 4e 55 5f | },.X | { MENU_|
|00004e00| 49 4d 41 47 45 53 54 52 | 49 4e 47 2c 20 20 22 43 |IMAGESTR|ING, "C|
|00004e10| 68 61 6e 67 65 20 43 63 | 20 6c 69 73 74 22 2c 09 |hange Cc| list",.|
|00004e20| 43 43 5f 4c 49 53 54 20 | 20 7d 2c 0a 58 20 20 20 |CC_LIST | },.X |
|00004e30| 20 7b 20 4d 45 4e 55 5f | 49 4d 41 47 45 53 54 52 | { MENU_|IMAGESTR|
|00004e40| 49 4e 47 2c 20 20 22 43 | 68 61 6e 67 65 20 42 63 |ING, "C|hange Bc|
|00004e50| 63 20 6c 69 73 74 22 2c | 09 42 43 5f 4c 49 53 54 |c list",|.BC_LIST|
|00004e60| 20 20 7d 2c 0a 58 20 20 | 20 20 7b 20 4d 45 4e 55 | },.X | { MENU|
|00004e70| 5f 49 4d 41 47 45 53 54 | 52 49 4e 47 2c 20 20 22 |_IMAGEST|RING, "|
|00004e80| 43 68 61 6e 67 65 20 41 | 6c 6c 20 68 64 72 73 22 |Change A|ll hdrs"|
|00004e90| 2c 09 41 4c 4c 5f 48 44 | 52 20 20 7d 2c 0a 58 20 |,.ALL_HD|R },.X |
|00004ea0| 20 20 20 7b 20 4d 45 4e | 55 5f 49 4d 41 47 45 53 | { MEN|U_IMAGES|
|00004eb0| 54 52 49 4e 47 2c 20 20 | 22 41 64 64 20 2e 73 69 |TRING, |"Add .si|
|00004ec0| 67 6e 61 74 75 72 65 22 | 2c 09 53 49 47 4e 5f 49 |gnature"|,.SIGN_I|
|00004ed0| 54 20 20 7d 2c 0a 58 20 | 20 20 20 7b 20 4d 45 4e |T },.X | { MEN|
|00004ee0| 55 5f 49 4d 41 47 45 53 | 54 52 49 4e 47 2c 20 20 |U_IMAGES|TRING, |
|00004ef0| 22 4e 6f 20 2e 73 69 67 | 6e 61 74 75 72 65 22 2c |"No .sig|nature",|
|00004f00| 09 4e 4f 5f 53 49 47 4e | 20 20 7d 2c 0a 58 20 20 |.NO_SIGN| },.X |
|00004f10| 20 20 7b 20 4d 45 4e 55 | 5f 49 4d 41 47 45 53 54 | { MENU|_IMAGEST|
|00004f20| 52 49 4e 47 2c 20 20 22 | 41 64 64 20 61 20 66 6f |RING, "|Add a fo|
|00004f30| 72 74 75 6e 65 22 2c 09 | 46 4f 52 54 20 20 20 20 |rtune",.|FORT |
|00004f40| 20 7d 2c 0a 58 20 20 20 | 20 7b 20 4d 45 4e 55 5f | },.X | { MENU_|
|00004f50| 49 4d 41 47 45 53 54 52 | 49 4e 47 2c 20 20 22 4e |IMAGESTR|ING, "N|
|00004f60| 6f 20 66 6f 72 74 75 6e | 65 22 2c 09 09 4e 4f 5f |o fortun|e",..NO_|
|00004f70| 46 4f 52 54 20 20 7d 2c | 0a 58 20 20 20 20 7b 20 |FORT },|.X { |
|00004f80| 4d 45 4e 55 5f 49 4d 41 | 47 45 53 54 52 49 4e 47 |MENU_IMA|GESTRING|
|00004f90| 2c 20 20 22 45 72 61 73 | 65 20 4d 65 73 73 61 67 |, "Eras|e Messag|
|00004fa0| 65 22 2c 09 45 52 41 53 | 45 20 20 20 20 7d 2c 0a |e",.ERAS|E },.|
|00004fb0| 58 20 20 20 20 7b 20 4d | 45 4e 55 5f 49 4d 41 47 |X { M|ENU_IMAG|
|00004fc0| 45 53 54 52 49 4e 47 2c | 20 20 22 48 65 6c 70 22 |ESTRING,| "Help"|
|00004fd0| 2c 09 09 4d 45 4e 55 5f | 48 45 4c 50 20 20 7d 0a |,..MENU_|HELP }.|
|00004fe0| 58 7d 3b 0a 58 0a 58 73 | 74 61 74 69 63 20 73 74 |X};.X.Xs|tatic st|
|00004ff0| 72 75 63 74 20 6d 65 6e | 75 20 6d 65 6e 75 20 3d |ruct men|u menu =|
|00005000| 20 7b 0a 58 20 20 20 20 | 4d 45 4e 55 5f 49 4d 41 | {.X |MENU_IMA|
|00005010| 47 45 53 54 52 49 4e 47 | 2c 20 22 45 64 69 74 69 |GESTRING|, "Editi|
|00005020| 6e 67 20 6f 70 74 69 6f | 6e 73 22 2c 0a 58 20 20 |ng optio|ns",.X |
|00005030| 20 20 73 69 7a 65 6f 66 | 20 28 65 64 69 74 5f 69 | sizeof| (edit_i|
|00005040| 74 65 6d 73 29 20 2f 20 | 73 69 7a 65 6f 66 20 28 |tems) / |sizeof (|
|00005050| 73 74 72 75 63 74 20 6d | 65 6e 75 69 74 65 6d 29 |struct m|enuitem)|
|00005060| 2c 20 65 64 69 74 5f 69 | 74 65 6d 73 2c 0a 58 20 |, edit_i|tems,.X |
|00005070| 20 20 20 28 73 74 72 75 | 63 74 20 6d 65 6e 75 20 | (stru|ct menu |
|00005080| 2a 29 4e 55 4c 4c 2c 0a | 58 20 20 20 20 4e 55 4c |*)NULL,.|X NUL|
|00005090| 4c 0a 58 7d 3b 0a 58 0a | 58 65 64 69 74 5f 6d 65 |L.X};.X.|Xedit_me|
|000050a0| 6e 75 28 65 76 65 6e 74 | 2c 20 66 64 29 0a 58 73 |nu(event|, fd).Xs|
|000050b0| 74 72 75 63 74 20 69 6e | 70 75 74 65 76 65 6e 74 |truct in|putevent|
|000050c0| 20 2a 65 76 65 6e 74 3b | 0a 58 7b 0a 58 20 20 20 | *event;|.X{.X |
|000050d0| 20 73 74 61 74 69 63 20 | 63 68 61 72 20 62 75 66 | static |char buf|
|000050e0| 5b 35 5d 3b 0a 58 20 20 | 20 20 73 74 72 75 63 74 |[5];.X | struct|
|000050f0| 20 6d 65 6e 75 69 74 65 | 6d 20 2a 6d 5f 69 74 65 | menuite|m *m_ite|
|00005100| 6d 3b 0a 58 20 20 20 20 | 72 65 67 69 73 74 65 72 |m;.X |register|
|00005110| 20 63 68 61 72 20 2a 61 | 63 74 69 6f 6e 2c 20 2a | char *a|ction, *|
|00005120| 70 20 3d 20 62 75 66 2b | 31 3b 0a 58 20 20 20 20 |p = buf+|1;.X |
|00005130| 73 74 72 75 63 74 20 6d | 65 6e 75 20 2a 6d 65 6e |struct m|enu *men|
|00005140| 75 5f 70 74 72 20 3d 20 | 26 6d 65 6e 75 3b 0a 58 |u_ptr = |&menu;.X|
|00005150| 0a 58 20 20 20 20 69 66 | 20 28 21 28 6d 5f 69 74 |.X if| (!(m_it|
|00005160| 65 6d 20 3d 20 6d 65 6e | 75 5f 64 69 73 70 6c 61 |em = men|u_displa|
|00005170| 79 28 26 6d 65 6e 75 5f | 70 74 72 2c 20 65 76 65 |y(&menu_|ptr, eve|
|00005180| 6e 74 2c 20 66 64 29 29 | 20 7c 7c 20 67 65 74 5f |nt, fd))| || get_|
|00005190| 68 64 72 5f 66 69 65 6c | 64 29 20 7b 0a 58 09 69 |hdr_fiel|d) {.X.i|
|000051a0| 66 20 28 67 65 74 5f 68 | 64 72 5f 66 69 65 6c 64 |f (get_h|dr_field|
|000051b0| 29 0a 58 09 20 20 20 20 | 70 72 69 6e 74 28 22 46 |).X. |print("F|
|000051c0| 69 6e 69 73 68 20 74 68 | 65 20 6d 65 73 73 61 67 |inish th|e messag|
|000051d0| 65 20 68 65 61 64 65 72 | 20 66 69 72 73 74 2e 22 |e header| first."|
|000051e0| 29 3b 0a 58 09 72 65 74 | 75 72 6e 3b 0a 58 20 20 |);.X.ret|urn;.X |
|000051f0| 20 20 7d 0a 58 20 20 20 | 20 61 63 74 69 6f 6e 20 | }.X | action |
|00005200| 3d 20 6d 5f 69 74 65 6d | 2d 3e 6d 69 5f 64 61 74 |= m_item|->mi_dat|
|00005210| 61 3b 0a 58 20 20 20 20 | 69 66 20 28 74 78 74 2e |a;.X |if (txt.|
|00005220| 78 20 3e 20 35 29 0a 58 | 09 61 64 64 5f 74 6f 5f |x > 5).X|.add_to_|
|00005230| 6c 65 74 74 65 72 28 72 | 69 74 65 28 27 5c 6e 27 |letter(r|ite('\n'|
|00005240| 29 29 3b 20 20 2f 2a 20 | 66 6c 75 73 68 20 6c 69 |)); /* |flush li|
|00005250| 6e 65 20 66 6f 72 20 68 | 69 6d 20 2a 2f 0a 58 0a |ne for h|im */.X.|
|00005260| 58 20 20 20 20 69 66 20 | 28 21 6d 73 67 5f 63 6e |X if |(!msg_cn|
|00005270| 74 20 26 26 20 28 61 63 | 74 69 6f 6e 20 3d 3d 20 |t && (ac|tion == |
|00005280| 49 4e 43 20 7c 7c 20 61 | 63 74 69 6f 6e 20 3d 3d |INC || a|ction ==|
|00005290| 20 49 4e 43 5f 48 44 52 | 20 7c 7c 20 61 63 74 69 | INC_HDR| || acti|
|000052a0| 6f 6e 20 3d 3d 20 46 57 | 44 5f 4d 53 47 29 29 20 |on == FW|D_MSG)) |
|000052b0| 7b 0a 58 09 70 72 69 6e | 74 28 22 4e 6f 20 6d 65 |{.X.prin|t("No me|
|000052c0| 73 73 61 67 65 73 20 74 | 6f 20 69 6e 63 6c 75 64 |ssages t|o includ|
|000052d0| 65 22 29 3b 0a 58 09 72 | 65 74 75 72 6e 3b 0a 58 |e");.X.r|eturn;.X|
|000052e0| 20 20 20 20 7d 0a 58 20 | 20 20 20 62 75 66 5b 30 | }.X | buf[0|
|000052f0| 5d 20 3d 20 2a 65 73 63 | 61 70 65 3b 0a 58 20 20 |] = *esc|ape;.X |
|00005300| 20 20 73 77 69 74 63 68 | 28 61 63 74 69 6f 6e 29 | switch|(action)|
|00005310| 20 7b 0a 58 09 63 61 73 | 65 20 45 44 49 54 5f 49 | {.X.cas|e EDIT_I|
|00005320| 54 20 20 3a 20 28 76 6f | 69 64 29 20 73 74 72 63 |T : (vo|id) strc|
|00005330| 70 79 28 70 2c 20 22 76 | 22 29 3b 0a 58 09 77 68 |py(p, "v|");.X.wh|
|00005340| 65 6e 20 50 41 47 45 20 | 20 20 20 20 3a 20 28 76 |en PAGE | : (v|
|00005350| 6f 69 64 29 20 73 74 72 | 63 70 79 28 70 2c 20 22 |oid) str|cpy(p, "|
|00005360| 70 22 29 3b 0a 58 09 77 | 68 65 6e 20 49 4e 43 20 |p");.X.w|hen INC |
|00005370| 20 20 20 20 20 3a 20 28 | 76 6f 69 64 29 20 73 74 | : (|void) st|
|00005380| 72 63 70 79 28 70 2c 20 | 22 69 22 29 3b 0a 58 09 |rcpy(p, |"i");.X.|
|00005390| 77 68 65 6e 20 49 4e 43 | 5f 48 44 52 20 20 3a 20 |when INC|_HDR : |
|000053a0| 28 76 6f 69 64 29 20 73 | 74 72 63 70 79 28 70 2c |(void) s|trcpy(p,|
|000053b0| 20 22 48 22 29 3b 0a 58 | 09 77 68 65 6e 20 41 4c | "H");.X|.when AL|
|000053c0| 4c 5f 48 44 52 20 20 3a | 20 28 76 6f 69 64 29 20 |L_HDR :| (void) |
|000053d0| 73 74 72 63 70 79 28 70 | 2c 20 22 68 22 29 3b 0a |strcpy(p|, "h");.|
|000053e0| 58 09 77 68 65 6e 20 53 | 55 42 4a 45 43 54 20 20 |X.when S|UBJECT |
|000053f0| 3a 20 28 76 6f 69 64 29 | 20 73 74 72 63 70 79 28 |: (void)| strcpy(|
|00005400| 70 2c 20 22 73 22 29 3b | 0a 58 09 77 68 65 6e 20 |p, "s");|.X.when |
|00005410| 54 4f 5f 4c 49 53 54 20 | 20 3a 20 28 76 6f 69 64 |TO_LIST | : (void|
|00005420| 29 20 73 74 72 63 70 79 | 28 70 2c 20 22 74 22 29 |) strcpy|(p, "t")|
|00005430| 3b 0a 58 09 77 68 65 6e | 20 43 43 5f 4c 49 53 54 |;.X.when| CC_LIST|
|00005440| 20 20 3a 20 28 76 6f 69 | 64 29 20 73 74 72 63 70 | : (voi|d) strcp|
|00005450| 79 28 70 2c 20 22 63 22 | 29 3b 0a 58 09 77 68 65 |y(p, "c"|);.X.whe|
|00005460| 6e 20 42 43 5f 4c 49 53 | 54 20 20 3a 20 28 76 6f |n BC_LIS|T : (vo|
|00005470| 69 64 29 20 73 74 72 63 | 70 79 28 70 2c 20 22 62 |id) strc|py(p, "b|
|00005480| 22 29 3b 0a 58 09 77 68 | 65 6e 20 46 57 44 5f 4d |");.X.wh|en FWD_M|
|00005490| 53 47 20 20 3a 20 28 76 | 6f 69 64 29 20 73 74 72 |SG : (v|oid) str|
|000054a0| 63 70 79 28 70 2c 20 22 | 66 22 29 3b 0a 58 09 77 |cpy(p, "|f");.X.w|
|000054b0| 68 65 6e 20 53 49 47 4e | 5f 49 54 20 20 3a 20 28 |hen SIGN|_IT : (|
|000054c0| 76 6f 69 64 29 20 73 74 | 72 63 70 79 28 70 2c 20 |void) st|rcpy(p, |
|000054d0| 22 53 22 29 3b 0a 58 09 | 77 68 65 6e 20 4e 4f 5f |"S");.X.|when NO_|
|000054e0| 53 49 47 4e 20 20 3a 20 | 28 76 6f 69 64 29 20 73 |SIGN : |(void) s|
|000054f0| 74 72 63 70 79 28 70 2c | 20 22 53 21 22 29 3b 0a |trcpy(p,| "S!");.|
|00005500| 58 09 77 68 65 6e 20 46 | 4f 52 54 20 20 20 20 20 |X.when F|ORT |
|00005510| 3a 20 28 76 6f 69 64 29 | 20 73 74 72 63 70 79 28 |: (void)| strcpy(|
|00005520| 70 2c 20 22 46 22 29 3b | 0a 58 09 77 68 65 6e 20 |p, "F");|.X.when |
|00005530| 4e 4f 5f 46 4f 52 54 20 | 20 3a 20 28 76 6f 69 64 |NO_FORT | : (void|
|00005540| 29 20 73 74 72 63 70 79 | 28 70 2c 20 22 46 21 22 |) strcpy|(p, "F!"|
|00005550| 29 3b 0a 58 09 77 68 65 | 6e 20 45 52 41 53 45 20 |);.X.whe|n ERASE |
|00005560| 20 20 20 3a 20 28 76 6f | 69 64 29 20 73 74 72 63 | : (vo|id) strc|
|00005570| 70 79 28 70 2c 20 22 45 | 22 29 3b 0a 58 09 77 68 |py(p, "E|");.X.wh|
|00005580| 65 6e 20 41 42 4f 52 54 | 20 20 20 20 3a 20 28 76 |en ABORT| : (v|
|00005590| 6f 69 64 29 20 73 74 72 | 63 70 79 28 70 2c 20 22 |oid) str|cpy(p, "|
|000055a0| 71 22 29 3b 0a 58 09 77 | 68 65 6e 20 53 45 4e 44 |q");.X.w|hen SEND|
|000055b0| 20 20 20 20 20 3a 20 66 | 69 6e 69 73 68 5f 75 70 | : f|inish_up|
|000055c0| 5f 6c 65 74 74 65 72 28 | 29 3b 20 72 65 74 75 72 |_letter(|); retur|
|000055d0| 6e 3b 0a 58 09 6f 74 68 | 65 72 77 69 73 65 20 20 |n;.X.oth|erwise |
|000055e0| 20 20 20 3a 20 28 76 6f | 69 64 29 20 73 74 72 63 | : (vo|id) strc|
|000055f0| 70 79 28 70 2c 20 22 3f | 22 29 3b 0a 58 20 20 20 |py(p, "?|");.X |
|00005600| 20 7d 0a 58 20 20 20 20 | 61 64 64 5f 74 6f 5f 6c | }.X |add_to_l|
|00005610| 65 74 74 65 72 28 62 75 | 66 29 3b 0a 58 7d 0a 45 |etter(bu|f);.X}.E|
|00005620| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00005630| 73 74 20 33 33 33 34 20 | 2d 6e 65 20 60 77 63 20 |st 3334 |-ne `wc |
|00005640| 2d 63 20 3c 27 65 64 69 | 74 5f 6d 65 6e 75 2e 63 |-c <'edi|t_menu.c|
|00005650| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00005660| 6f 20 73 68 61 72 3a 20 | 5c 22 27 65 64 69 74 5f |o shar: |\"'edit_|
|00005670| 6d 65 6e 75 2e 63 27 5c | 22 20 75 6e 70 61 63 6b |menu.c'\|" unpack|
|00005680| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00005690| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|000056a0| 27 65 64 69 74 5f 6d 65 | 6e 75 2e 63 27 0a 66 69 |'edit_me|nu.c'.fi|
|000056b0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 65 6e 76 |.if test| -f 'env|
|000056c0| 65 6c 6f 70 65 2e 70 72 | 27 20 2d 61 20 22 24 7b |elope.pr|' -a "${|
|000056d0| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|000056e0| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|000056f0| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00005700| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00005710| 5c 22 27 65 6e 76 65 6c | 6f 70 65 2e 70 72 27 5c |\"'envel|ope.pr'\|
|00005720| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00005730| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00005740| 65 6e 76 65 6c 6f 70 65 | 2e 70 72 27 5c 22 20 5c |envelope|.pr'\" \|
|00005750| 28 32 34 37 20 63 68 61 | 72 61 63 74 65 72 73 5c |(247 cha|racters\|
|00005760| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00005770| 27 65 6e 76 65 6c 6f 70 | 65 2e 70 72 27 20 3c 3c |'envelop|e.pr' <<|
|00005780| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 2f |'END_OF_|FILE'.X/|
|00005790| 2a 20 22 40 28 23 29 65 | 6e 76 65 6c 6f 70 65 2e |* "@(#)e|nvelope.|
|000057a0| 63 75 72 73 6f 72 09 32 | 2e 32 09 39 2f 33 2f 38 |cursor.2|.2.9/3/8|
|000057b0| 36 20 28 44 61 6e 20 48 | 65 6c 6c 65 72 29 22 3b |6 (Dan H|eller)";|
|000057c0| 20 2a 2f 0a 58 0a 58 2f | 2a 20 46 6f 72 6d 61 74 | */.X.X/|* Format|
|000057d0| 5f 76 65 72 73 69 6f 6e | 3d 31 2c 20 57 69 64 74 |_version|=1, Widt|
|000057e0| 68 3d 31 36 2c 20 48 65 | 69 67 68 74 3d 31 36 2c |h=16, He|ight=16,|
|000057f0| 20 44 65 70 74 68 3d 31 | 2c 20 56 61 6c 69 64 5f | Depth=1|, Valid_|
|00005800| 62 69 74 73 5f 70 65 72 | 5f 69 74 65 6d 3d 31 36 |bits_per|_item=16|
|00005810| 0a 58 20 2a 2f 0a 58 09 | 30 78 30 30 30 30 2c 30 |.X */.X.|0x0000,0|
|00005820| 78 30 30 30 30 2c 30 78 | 46 46 46 46 2c 30 78 43 |x0000,0x|FFFF,0xC|
|00005830| 30 30 33 2c 30 78 41 30 | 30 35 2c 30 78 39 30 30 |003,0xA0|05,0x900|
|00005840| 39 2c 30 78 38 38 31 31 | 2c 30 78 38 34 32 31 2c |9,0x8811|,0x8421,|
|00005850| 0a 58 09 30 78 38 32 34 | 31 2c 30 78 38 31 38 31 |.X.0x824|1,0x8181|
|00005860| 2c 30 78 38 30 30 31 2c | 30 78 38 30 30 31 2c 30 |,0x8001,|0x8001,0|
|00005870| 78 38 30 30 31 2c 30 78 | 46 46 46 46 2c 30 78 30 |x8001,0x|FFFF,0x0|
|00005880| 30 30 30 2c 30 78 30 30 | 30 30 0a 45 4e 44 5f 4f |000,0x00|00.END_O|
|00005890| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 32 |F_FILE.i|f test 2|
|000058a0| 34 37 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |47 -ne `|wc -c <'|
|000058b0| 65 6e 76 65 6c 6f 70 65 | 2e 70 72 27 60 3b 20 74 |envelope|.pr'`; t|
|000058c0| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|000058d0| 72 3a 20 5c 22 27 65 6e | 76 65 6c 6f 70 65 2e 70 |r: \"'en|velope.p|
|000058e0| 72 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |r'\" unp|acked wi|
|000058f0| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00005900| 69 0a 23 20 65 6e 64 20 | 6f 66 20 27 65 6e 76 65 |i.# end |of 'enve|
|00005910| 6c 6f 70 65 2e 70 72 27 | 0a 66 69 0a 69 66 20 74 |lope.pr'|.fi.if t|
|00005920| 65 73 74 20 2d 66 20 27 | 65 78 70 72 2e 63 27 20 |est -f '|expr.c' |
|00005930| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00005940| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00005950| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00005960| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00005970| 20 66 69 6c 65 20 5c 22 | 27 65 78 70 72 2e 63 27 | file \"|'expr.c'|
|00005980| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00005990| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|000059a0| 27 65 78 70 72 2e 63 27 | 5c 22 20 5c 28 34 30 35 |'expr.c'|\" \(405|
|000059b0| 34 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |4 charac|ters\).s|
|000059c0| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 65 78 |ed "s/^X|//" >'ex|
|000059d0| 70 72 2e 63 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |pr.c' <<|'END_OF_|
|000059e0| 46 49 4c 45 27 0a 58 2f | 2a 20 40 28 23 29 65 78 |FILE'.X/|* @(#)ex|
|000059f0| 70 72 2e 63 09 32 2e 33 | 09 28 63 29 20 63 6f 70 |pr.c.2.3|.(c) cop|
|00005a00| 79 72 69 67 68 74 20 31 | 30 2f 31 35 2f 38 36 20 |yright 1|0/15/86 |
|00005a10| 28 44 61 6e 20 48 65 6c | 6c 65 72 29 20 2a 2f 0a |(Dan Hel|ler) */.|
|00005a20| 58 0a 58 23 69 6e 63 6c | 75 64 65 20 22 6d 75 73 |X.X#incl|ude "mus|
|00005a30| 68 2e 68 22 0a 58 0a 58 | 63 68 61 72 20 2a 65 76 |h.h".X.X|char *ev|
|00005a40| 61 6c 5f 65 78 70 72 28 | 29 3b 0a 58 0a 58 2f 2a |al_expr(|);.X.X/*|
|00005a50| 20 50 61 72 73 65 20 61 | 20 73 74 72 69 6e 67 20 | Parse a| string |
|00005a60| 28 70 29 20 74 6f 20 69 | 6e 74 65 72 70 72 65 74 |(p) to i|nterpret|
|00005a70| 20 6e 75 6d 62 65 72 73 | 20 61 6e 64 20 72 61 6e | numbers| and ran|
|00005a80| 67 65 73 20 6f 66 20 6e | 75 6d 62 65 72 73 20 28 |ges of n|umbers (|
|00005a90| 6e 2d 6d 29 0a 58 20 2a | 20 64 65 6c 69 6d 69 74 |n-m).X *| delimit|
|00005aa0| 65 64 20 62 79 20 77 68 | 69 74 65 73 70 61 63 65 |ed by wh|itespace|
|00005ab0| 20 6f 72 20 63 6f 6d 6d | 61 27 73 2e 20 53 65 74 | or comm|a's. Set|
|00005ac0| 20 6d 73 67 5f 6c 69 73 | 74 20 62 69 74 66 69 65 | msg_lis|t bitfie|
|00005ad0| 6c 64 73 20 75 73 69 6e | 67 0a 58 20 2a 20 6d 61 |lds usin|g.X * ma|
|00005ae0| 63 72 6f 73 20 69 6e 20 | 6d 75 73 68 2e 68 2e 0a |cros in |mush.h..|
|00005af0| 58 20 2a 20 52 65 74 75 | 72 6e 20 74 68 65 20 61 |X * Retu|rn the a|
|00005b00| 64 64 72 65 73 73 20 6f | 66 20 74 68 65 20 65 6e |ddress o|f the en|
|00005b10| 64 20 6f 66 20 77 68 61 | 74 65 76 65 72 20 77 65 |d of wha|tever we|
|00005b20| 20 70 61 72 73 65 64 20 | 28 69 6e 20 63 61 73 65 | parsed |(in case|
|00005b30| 20 74 68 65 72 65 27 73 | 0a 58 20 2a 20 6d 6f 72 | there's|.X * mor|
|00005b40| 65 20 74 68 61 74 20 74 | 68 65 20 63 61 6c 6c 69 |e that t|he calli|
|00005b50| 6e 67 20 72 6f 75 74 69 | 6e 65 20 63 61 72 65 73 |ng routi|ne cares|
|00005b60| 20 74 6f 20 64 65 61 6c | 20 77 69 74 68 29 2e 0a | to deal| with)..|
|00005b70| 58 20 2a 20 46 69 6e 61 | 6c 6c 79 2c 20 72 65 6d |X * Fina|lly, rem|
|00005b80| 65 6d 62 65 72 20 74 68 | 61 74 20 75 73 65 72 20 |ember th|at user |
|00005b90| 73 70 65 63 69 66 69 65 | 73 20 6f 6e 65 20 6d 6f |specifie|s one mo|
|00005ba0| 72 65 20 74 68 61 6e 20 | 61 63 74 75 61 6c 20 6d |re than |actual m|
|00005bb0| 65 73 73 61 67 65 20 6e | 75 6d 62 65 72 0a 58 20 |essage n|umber.X |
|00005bc0| 2a 2f 0a 58 63 68 61 72 | 20 2a 0a 58 64 6f 5f 72 |*/.Xchar| *.Xdo_r|
|00005bd0| 61 6e 67 65 28 70 2c 20 | 6c 69 73 74 31 29 0a 58 |ange(p, |list1).X|
|00005be0| 72 65 67 69 73 74 65 72 | 20 63 68 61 72 20 2a 70 |register| char *p|
|00005bf0| 2c 20 2a 6c 69 73 74 31 | 3b 0a 58 7b 0a 58 20 20 |, *list1|;.X{.X |
|00005c00| 20 20 72 65 67 69 73 74 | 65 72 20 69 6e 74 20 6e | regist|er int n|
|00005c10| 75 6d 31 20 3d 20 2d 31 | 2c 20 6e 75 6d 32 20 3d |um1 = -1|, num2 =|
|00005c20| 20 2d 31 2c 20 65 78 63 | 65 70 74 20 3d 20 30 3b | -1, exc|ept = 0;|
|00005c30| 0a 58 20 20 20 20 72 65 | 67 69 73 74 65 72 20 63 |.X re|gister c|
|00005c40| 68 61 72 20 2a 70 32 3b | 0a 58 20 20 20 20 63 68 |har *p2;|.X ch|
|00005c50| 61 72 20 6c 69 73 74 32 | 5b 4d 41 58 4d 53 47 53 |ar list2|[MAXMSGS|
|00005c60| 5f 42 49 54 53 5d 3b 0a | 58 0a 58 20 20 20 20 69 |_BITS];.|X.X i|
|00005c70| 66 20 28 21 70 29 0a 58 | 09 72 65 74 75 72 6e 20 |f (!p).X|.return |
|00005c80| 22 22 3b 0a 58 20 20 20 | 20 77 68 69 6c 65 20 28 |"";.X | while (|
|00005c90| 2a 70 29 20 7b 0a 58 09 | 69 66 20 28 69 73 64 69 |*p) {.X.|if (isdi|
|00005ca0| 67 69 74 28 2a 70 29 20 | 7c 7c 20 2a 70 20 3d 3d |git(*p) ||| *p ==|
|00005cb0| 20 27 24 27 20 7c 7c 20 | 2a 70 20 3d 3d 20 27 2e | '$' || |*p == '.|
|00005cc0| 27 20 7c 7c 20 2a 70 20 | 3d 3d 20 27 5e 27 29 20 |' || *p |== '^') |
|00005cd0| 7b 0a 58 09 20 20 20 20 | 69 66 20 28 69 73 64 69 |{.X. |if (isdi|
|00005ce0| 67 69 74 28 2a 70 29 29 | 20 7b 0a 58 09 09 63 68 |git(*p))| {.X..ch|
|00005cf0| 61 72 20 63 3b 0a 58 09 | 09 70 32 20 3d 20 70 3b |ar c;.X.|.p2 = p;|
|00005d00| 0a 58 09 09 73 6b 69 70 | 64 69 67 69 74 73 28 30 |.X..skip|digits(0|
|00005d10| 29 3b 20 20 2f 2a 20 66 | 69 6e 64 20 74 68 65 20 |); /* f|ind the |
|00005d20| 65 6e 64 20 6f 66 20 74 | 68 65 20 64 69 67 69 74 |end of t|he digit|
|00005d30| 73 20 2a 2f 0a 58 09 09 | 63 20 3d 20 2a 70 2c 20 |s */.X..|c = *p, |
|00005d40| 2a 70 20 3d 20 30 3b 20 | 2f 2a 20 74 65 6d 70 6f |*p = 0; |/* tempo|
|00005d50| 72 61 72 69 6c 79 20 70 | 6c 75 67 20 61 20 6e 75 |rarily p|lug a nu|
|00005d60| 6c 6c 20 2a 2f 0a 58 09 | 09 69 66 20 28 21 28 6e |ll */.X.|.if (!(n|
|00005d70| 75 6d 32 20 3d 20 63 68 | 6b 5f 6d 73 67 28 70 32 |um2 = ch|k_msg(p2|
|00005d80| 29 29 29 20 7b 0a 58 09 | 09 20 20 20 20 63 6c 65 |))) {.X.|. cle|
|00005d90| 61 72 5f 6d 73 67 5f 6c | 69 73 74 28 6c 69 73 74 |ar_msg_l|ist(list|
|00005da0| 31 29 3b 0a 58 09 09 20 | 20 20 20 72 65 74 75 72 |1);.X.. | retur|
|00005db0| 6e 20 4e 55 4c 4c 3b 0a | 58 09 09 7d 0a 58 09 09 |n NULL;.|X..}.X..|
|00005dc0| 2a 70 20 3d 20 63 3b 0a | 58 09 20 20 20 20 7d 20 |*p = c;.|X. } |
|00005dd0| 65 6c 73 65 20 69 66 20 | 28 2a 70 20 3d 3d 20 27 |else if |(*p == '|
|00005de0| 24 27 29 0a 58 09 09 6e | 75 6d 32 20 3d 20 6d 73 |$').X..n|um2 = ms|
|00005df0| 67 5f 63 6e 74 3b 0a 58 | 09 20 20 20 20 65 6c 73 |g_cnt;.X|. els|
|00005e00| 65 20 69 66 20 28 2a 70 | 20 3d 3d 20 27 2e 27 29 |e if (*p| == '.')|
|00005e10| 0a 58 09 09 70 2b 2b 2c | 20 6e 75 6d 32 20 3d 20 |.X..p++,| num2 = |
|00005e20| 63 75 72 72 65 6e 74 5f | 6d 73 67 2b 31 3b 0a 58 |current_|msg+1;.X|
|00005e30| 09 20 20 20 20 65 6c 73 | 65 20 69 66 20 28 2a 70 |. els|e if (*p|
|00005e40| 20 3d 3d 20 27 5e 27 29 | 0a 58 09 09 70 2b 2b 2c | == '^')|.X..p++,|
|00005e50| 20 6e 75 6d 32 20 3d 20 | 31 3b 0a 58 09 20 20 20 | num2 = |1;.X. |
|00005e60| 20 69 66 20 28 65 78 63 | 65 70 74 29 0a 58 09 09 | if (exc|ept).X..|
|00005e70| 75 6e 73 65 74 5f 6d 73 | 67 5f 62 69 74 28 6c 69 |unset_ms|g_bit(li|
|00005e80| 73 74 31 2c 20 6e 75 6d | 32 2d 31 29 3b 0a 58 09 |st1, num|2-1);.X.|
|00005e90| 20 20 20 20 65 6c 73 65 | 0a 58 09 09 73 65 74 5f | else|.X..set_|
|00005ea0| 6d 73 67 5f 62 69 74 28 | 6c 69 73 74 31 2c 20 6e |msg_bit(|list1, n|
|00005eb0| 75 6d 32 2d 31 29 3b 0a | 58 09 20 20 20 20 69 66 |um2-1);.|X. if|
|00005ec0| 20 28 6e 75 6d 31 20 3e | 3d 20 30 29 20 7b 0a 58 | (num1 >|= 0) {.X|
|00005ed0| 09 09 69 66 20 28 6e 75 | 6d 31 20 3e 20 6e 75 6d |..if (nu|m1 > num|
|00005ee0| 32 29 20 7b 0a 58 09 09 | 20 20 20 20 70 72 69 6e |2) {.X..| prin|
|00005ef0| 74 28 22 73 79 6e 74 61 | 78 20 65 72 72 6f 72 3a |t("synta|x error:|
|00005f00| 20 72 61 6e 67 65 20 73 | 65 71 75 65 6e 63 65 20 | range s|equence |
|00005f10| 6f 72 64 65 72 20 72 65 | 76 65 72 73 65 64 2e 5c |order re|versed.\|
|00005f20| 6e 22 29 3b 0a 58 09 09 | 20 20 20 20 63 6c 65 61 |n");.X..| clea|
|00005f30| 72 5f 6d 73 67 5f 6c 69 | 73 74 28 6c 69 73 74 31 |r_msg_li|st(list1|
|00005f40| 29 3b 0a 58 09 09 20 20 | 20 20 72 65 74 75 72 6e |);.X.. | return|
|00005f50| 20 4e 55 4c 4c 3b 0a 58 | 09 09 7d 0a 58 09 09 77 | NULL;.X|..}.X..w|
|00005f60| 68 69 6c 65 20 28 2b 2b | 6e 75 6d 31 20 3c 20 6e |hile (++|num1 < n|
|00005f70| 75 6d 32 29 0a 58 09 09 | 20 20 20 20 69 66 20 28 |um2).X..| if (|
|00005f80| 65 78 63 65 70 74 29 0a | 58 09 09 09 75 6e 73 65 |except).|X...unse|
|00005f90| 74 5f 6d 73 67 5f 62 69 | 74 28 6c 69 73 74 31 2c |t_msg_bi|t(list1,|
|00005fa0| 20 6e 75 6d 31 2d 31 29 | 3b 0a 58 09 09 20 20 20 | num1-1)|;.X.. |
|00005fb0| 20 65 6c 73 65 0a 58 09 | 09 09 73 65 74 5f 6d 73 | else.X.|..set_ms|
|00005fc0| 67 5f 62 69 74 28 6c 69 | 73 74 31 2c 20 6e 75 6d |g_bit(li|st1, num|
|00005fd0| 31 2d 31 29 3b 0a 58 09 | 09 6e 75 6d 31 20 3d 20 |1-1);.X.|.num1 = |
|00005fe0| 6e 75 6d 32 20 3d 20 2d | 31 3b 0a 58 09 20 20 20 |num2 = -|1;.X. |
|00005ff0| 20 7d 0a 58 09 7d 0a 58 | 09 2f 2a 20 65 78 70 72 | }.X.}.X|./* expr|
|00006000| 65 73 73 69 6f 6e 73 20 | 74 6f 20 65 76 61 6c 75 |essions |to evalu|
|00006010| 61 74 65 20 73 74 61 72 | 74 20 77 69 74 68 20 61 |ate star|t with a|
|00006020| 20 60 0a 58 09 20 2a 20 | 70 32 20 70 6f 69 6e 74 | `.X. * |p2 point|
|00006030| 73 20 74 6f 20 66 69 72 | 73 74 20 63 68 61 72 20 |s to fir|st char |
|00006040| 70 61 73 73 65 64 20 74 | 68 65 20 6c 61 73 74 20 |passed t|he last |
|00006050| 63 68 61 72 20 70 61 72 | 73 65 64 2e 0a 58 09 20 |char par|sed..X. |
|00006060| 2a 2f 0a 58 09 69 66 20 | 28 2a 70 20 3d 3d 20 27 |*/.X.if |(*p == '|
|00006070| 60 27 29 20 7b 0a 58 09 | 20 20 20 20 63 6c 65 61 |`') {.X.| clea|
|00006080| 72 5f 6d 73 67 5f 6c 69 | 73 74 28 6c 69 73 74 32 |r_msg_li|st(list2|
|00006090| 29 3b 0a 58 09 20 20 20 | 20 69 66 20 28 21 28 70 |);.X. | if (!(p|
|000060a0| 20 3d 20 65 76 61 6c 5f | 65 78 70 72 28 70 2c 20 | = eval_|expr(p, |
|000060b0| 6c 69 73 74 32 29 29 29 | 20 7b 0a 58 09 09 63 6c |list2)))| {.X..cl|
|000060c0| 65 61 72 5f 6d 73 67 5f | 6c 69 73 74 28 6c 69 73 |ear_msg_|list(lis|
|000060d0| 74 31 29 3b 0a 58 09 09 | 72 65 74 75 72 6e 20 4e |t1);.X..|return N|
|000060e0| 55 4c 4c 3b 0a 58 09 20 | 20 20 20 7d 20 65 6c 73 |ULL;.X. | } els|
|000060f0| 65 20 7b 0a 58 09 09 69 | 66 20 28 65 78 63 65 70 |e {.X..i|f (excep|
|00006100| 74 29 0a 58 09 09 20 20 | 20 20 62 69 74 70 75 74 |t).X.. | bitput|
|00006110| 28 6c 69 73 74 32 2c 20 | 6c 69 73 74 31 2c 20 6d |(list2, |list1, m|
|00006120| 73 67 5f 63 6e 74 2c 20 | 26 3d 7e 29 20 2f 2a 20 |sg_cnt, |&=~) /* |
|00006130| 4d 41 43 52 4f 20 2a 2f | 0a 58 09 09 65 6c 73 65 |MACRO */|.X..else|
|00006140| 0a 58 09 09 20 20 20 20 | 62 69 74 70 75 74 28 6c |.X.. |bitput(l|
|00006150| 69 73 74 32 2c 20 6c 69 | 73 74 31 2c 20 6d 73 67 |ist2, li|st1, msg|
|00006160| 5f 63 6e 74 2c 20 7c 3d | 29 20 2f 2a 20 4d 41 43 |_cnt, |=|) /* MAC|
|00006170| 52 4f 20 2a 2f 0a 58 09 | 20 20 20 20 7d 0a 58 09 |RO */.X.| }.X.|
|00006180| 7d 0a 58 09 2f 2a 20 4e | 4f 54 20 6f 70 65 72 61 |}.X./* N|OT opera|
|00006190| 74 6f 72 3a 20 60 2a 20 | 7b 35 7d 27 20 28 65 76 |tor: `* |{5}' (ev|
|000061a0| 65 72 79 74 68 69 6e 67 | 20 65 78 63 65 70 74 20 |erything| except |
|000061b0| 66 6f 72 20 35 29 0a 58 | 09 20 2a 20 60 34 2d 31 |for 5).X|. * `4-1|
|000061c0| 36 20 7b 38 2d 31 30 7d | 27 20 20 28 34 20 74 68 |6 {8-10}|' (4 th|
|000061d0| 72 75 20 31 36 20 65 78 | 63 65 70 74 20 66 6f 72 |ru 16 ex|cept for|
|000061e0| 20 38 2c 39 2c 31 30 29 | 0a 58 09 20 2a 2f 0a 58 | 8,9,10)|.X. */.X|
|000061f0| 09 69 66 20 28 2a 70 20 | 3d 3d 20 27 7b 27 20 7c |.if (*p |== '{' ||
|00006200| 7c 20 2a 70 20 3d 3d 20 | 27 7d 27 29 20 7b 0a 58 || *p == |'}') {.X|
|00006210| 09 20 20 20 20 69 66 20 | 28 2a 70 20 3d 3d 20 27 |. if |(*p == '|
|00006220| 7b 27 20 26 26 20 28 65 | 78 63 65 70 74 20 7c 7c |{' && (e|xcept |||
|00006230| 20 6e 75 6d 31 20 3e 3d | 20 30 29 29 0a 58 09 09 | num1 >=| 0)).X..|
|00006240| 62 72 65 61 6b 3b 0a 58 | 09 20 20 20 20 69 66 20 |break;.X|. if |
|00006250| 28 2a 70 20 3d 3d 20 27 | 7d 27 20 26 26 20 21 65 |(*p == '|}' && !e|
|00006260| 78 63 65 70 74 29 20 7b | 0a 58 09 09 70 72 69 6e |xcept) {|.X..prin|
|00006270| 74 28 22 73 79 6e 74 61 | 78 20 65 72 72 6f 72 3a |t("synta|x error:|
|00006280| 20 6d 69 73 73 69 6e 67 | 20 7b 5c 6e 22 29 3b 20 | missing| {\n"); |
|00006290| 2f 2a 20 7d 20 2a 2f 0a | 58 09 09 62 72 65 61 6b |/* } */.|X..break|
|000062a0| 3b 0a 58 09 20 20 20 20 | 7d 0a 58 09 20 20 20 20 |;.X. |}.X. |
|000062b0| 65 78 63 65 70 74 20 3d | 20 21 65 78 63 65 70 74 |except =| !except|
|000062c0| 3b 0a 58 09 7d 20 65 6c | 73 65 20 69 66 20 28 2a |;.X.} el|se if (*|
|000062d0| 70 20 3d 3d 20 27 2d 27 | 29 0a 58 09 20 20 20 20 |p == '-'|).X. |
|000062e0| 69 66 20 28 6e 75 6d 31 | 20 3e 3d 20 30 20 7c 7c |if (num1| >= 0 |||
|000062f0| 20 21 69 6e 64 65 78 28 | 22 20 5c 74 7b 7d 2c 2e | !index(|" \t{},.|
|00006300| 2a 60 24 22 2c 20 2a 28 | 70 2b 31 29 29 20 26 26 |*`$", *(|p+1)) &&|
|00006310| 20 21 69 73 64 69 67 69 | 74 28 2a 28 70 2b 31 29 | !isdigi|t(*(p+1)|
|00006320| 29 29 0a 58 09 09 62 72 | 65 61 6b 3b 0a 58 09 20 |)).X..br|eak;.X. |
|00006330| 20 20 20 65 6c 73 65 0a | 58 09 09 6e 75 6d 31 20 | else.|X..num1 |
|00006340| 3d 20 6e 75 6d 32 3b 0a | 58 09 65 6c 73 65 20 69 |= num2;.|X.else i|
|00006350| 66 20 28 2a 70 20 3d 3d | 20 27 2c 27 20 7c 7c 20 |f (*p ==| ',' || |
|00006360| 2a 70 20 3d 3d 20 27 2a | 27 29 20 7b 0a 58 09 20 |*p == '*|') {.X. |
|00006370| 20 20 20 69 66 20 28 6e | 75 6d 31 20 3e 3d 20 30 | if (n|um1 >= 0|
|00006380| 29 0a 58 09 09 62 72 65 | 61 6b 3b 0a 58 09 20 20 |).X..bre|ak;.X. |
|00006390| 20 20 65 6c 73 65 20 69 | 66 20 28 2a 70 20 3d 3d | else i|f (*p ==|
|000063a0| 20 27 2a 27 29 20 7b 0a | 58 09 09 69 66 20 28 65 | '*') {.|X..if (e|
|000063b0| 78 63 65 70 74 29 0a 58 | 09 09 20 20 20 20 63 6c |xcept).X|.. cl|
|000063c0| 65 61 72 5f 6d 73 67 5f | 6c 69 73 74 28 6c 69 73 |ear_msg_|list(lis|
|000063d0| 74 31 29 3b 0a 58 09 09 | 65 6c 73 65 0a 58 09 09 |t1);.X..|else.X..|
|000063e0| 20 20 20 20 66 6f 72 20 | 28 6e 75 6d 31 20 3d 20 | for |(num1 = |
|000063f0| 30 3b 20 6e 75 6d 31 20 | 3c 20 6d 73 67 5f 63 6e |0; num1 |< msg_cn|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.