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: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: Plain text[LF]
| default
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 2d 2a 2d 20 4c 61 | 54 65 58 20 2d 2a 2d 0a |% -*- La|TeX -*-.|
|00000010| 0a 5c 63 68 61 70 74 65 | 72 7b 4c 6f 63 61 6c 20 |.\chapte|r{Local |
|00000020| 64 65 6c 69 76 65 72 79 | 20 69 6e 20 50 50 7d 0a |delivery| in PP}.|
|00000030| 0a 54 68 65 20 6c 6f 63 | 61 6c 20 63 68 61 6e 6e |.The loc|al chann|
|00000040| 65 6c 20 69 73 20 74 68 | 65 20 6d 65 63 68 61 6e |el is th|e mechan|
|00000050| 69 73 6d 20 62 79 20 77 | 68 69 63 68 20 50 50 20 |ism by w|hich PP |
|00000060| 64 65 6c 69 76 65 72 73 | 20 6d 61 69 6c 20 74 6f |delivers| mail to|
|00000070| 20 75 73 65 72 73 2e 0a | 54 68 65 72 65 20 6d 61 | users..|There ma|
|00000080| 79 20 62 65 20 73 65 76 | 65 72 61 6c 20 6f 66 20 |y be sev|eral of |
|00000090| 74 68 65 73 65 20 63 68 | 61 6e 6e 65 6c 73 20 74 |these ch|annels t|
|000000a0| 61 69 6c 6f 72 65 64 20 | 74 6f 20 73 70 65 63 69 |ailored |to speci|
|000000b0| 66 69 63 20 6d 61 69 6c | 62 6f 78 0a 66 6f 72 6d |fic mail|box.form|
|000000c0| 61 74 73 2e 20 41 20 75 | 73 65 72 20 6d 61 79 20 |ats. A u|ser may |
|000000d0| 68 61 76 65 20 6d 6f 72 | 65 20 74 68 61 6e 20 6f |have mor|e than o|
|000000e0| 6e 65 20 6c 6f 63 61 6c | 20 63 68 61 6e 6e 65 6c |ne local| channel|
|000000f0| 20 61 73 73 6f 63 69 61 | 74 65 64 20 77 69 74 68 | associa|ted with|
|00000100| 0a 68 69 6d 2f 68 65 72 | 20 77 68 65 72 65 20 74 |.him/her| where t|
|00000110| 68 69 73 20 69 73 20 75 | 73 65 66 75 6c 2c 20 73 |his is u|seful, s|
|00000120| 75 63 68 20 61 73 20 68 | 61 76 69 6e 67 20 74 77 |uch as h|aving tw|
|00000130| 6f 20 66 6f 72 6d 61 74 | 73 20 6f 66 20 6d 61 69 |o format|s of mai|
|00000140| 6c 20 28 65 2e 67 2e 2c | 0a 58 2e 34 30 30 20 61 |l (e.g.,|.X.400 a|
|00000150| 6e 64 20 52 46 43 7e 38 | 32 32 29 20 64 65 6c 69 |nd RFC~8|22) deli|
|00000160| 76 65 72 65 64 20 69 6e | 20 64 69 66 66 65 72 65 |vered in| differe|
|00000170| 6e 74 20 77 61 79 73 2e | 0a 0a 0a 5c 73 65 63 74 |nt ways.|...\sect|
|00000180| 69 6f 6e 7b 4c 6f 63 61 | 6c 20 52 46 43 7e 38 32 |ion{Loca|l RFC~82|
|00000190| 32 2d 62 61 73 65 64 20 | 43 68 61 6e 6e 65 6c 7d |2-based |Channel}|
|000001a0| 0a 0a 54 68 65 20 52 46 | 43 7e 38 32 32 20 6c 6f |..The RF|C~822 lo|
|000001b0| 63 61 6c 20 63 68 61 6e | 6e 65 6c 20 68 61 73 20 |cal chan|nel has |
|000001c0| 63 6f 6e 73 69 64 65 72 | 61 62 6c 65 20 63 6f 6e |consider|able con|
|000001d0| 74 72 6f 6c 20 6f 76 65 | 72 20 74 68 65 20 64 65 |trol ove|r the de|
|000001e0| 6c 69 76 65 72 79 0a 6f | 66 20 74 68 65 20 6d 65 |livery.o|f the me|
|000001f0| 73 73 61 67 65 2e 20 49 | 6e 20 70 61 72 74 69 63 |ssage. I|n partic|
|00000200| 75 6c 61 72 2c 20 74 68 | 65 20 63 68 61 6e 6e 65 |ular, th|e channe|
|00000210| 6c 20 68 61 73 20 61 20 | 70 61 72 74 69 63 75 6c |l has a |particul|
|00000220| 61 72 20 73 65 61 72 63 | 68 0a 70 61 74 68 20 77 |ar searc|h.path w|
|00000230| 68 69 63 68 20 69 73 20 | 66 6f 6c 6c 6f 77 65 64 |hich is |followed|
|00000240| 20 77 68 65 6e 20 74 68 | 65 20 6d 65 73 73 61 67 | when th|e messag|
|00000250| 65 20 69 73 20 61 74 74 | 65 6d 70 74 65 64 20 74 |e is att|empted t|
|00000260| 6f 20 62 65 20 64 65 6c | 69 76 65 72 65 64 2e 0a |o be del|ivered..|
|00000270| 49 66 20 74 68 65 20 6d | 65 73 73 61 67 65 20 69 |If the m|essage i|
|00000280| 73 20 63 6f 6e 73 69 64 | 65 72 65 64 20 64 65 6c |s consid|ered del|
|00000290| 69 76 65 72 65 64 2c 20 | 6f 72 20 72 65 6a 65 63 |ivered, |or rejec|
|000002a0| 74 65 64 20 62 79 20 61 | 6e 79 20 6f 6e 65 20 6f |ted by a|ny one o|
|000002b0| 66 20 74 68 65 73 65 0a | 6d 65 74 68 6f 64 73 2c |f these.|methods,|
|000002c0| 20 74 68 65 6e 20 74 68 | 65 20 66 75 72 74 68 65 | then th|e furthe|
|000002d0| 72 20 6d 65 74 68 6f 64 | 73 20 6f 66 20 64 65 6c |r method|s of del|
|000002e0| 69 76 65 72 79 20 61 72 | 65 20 61 74 74 65 6d 70 |ivery ar|e attemp|
|000002f0| 74 65 64 2e 20 54 68 65 | 20 6c 61 74 65 72 0a 6d |ted. The| later.m|
|00000300| 65 74 68 6f 64 73 20 6f | 66 20 64 65 6c 69 76 65 |ethods o|f delive|
|00000310| 72 79 20 61 72 65 20 6f | 6e 6c 79 20 61 74 74 65 |ry are o|nly atte|
|00000320| 6d 70 74 65 64 20 69 66 | 20 74 68 65 20 65 61 72 |mpted if| the ear|
|00000330| 6c 69 65 72 20 6f 6e 65 | 73 20 61 72 65 0a 69 6e |lier one|s are.in|
|00000340| 63 6f 6e 63 6c 75 73 69 | 76 65 2e 20 28 54 68 69 |conclusi|ve. (Thi|
|00000350| 73 20 64 6f 65 73 20 6e | 6f 74 20 61 70 70 6c 79 |s does n|ot apply|
|00000360| 20 74 6f 20 74 68 65 20 | 5c 66 69 6c 65 7b 2e 6d | to the |\file{.m|
|00000370| 61 69 6c 66 69 6c 74 65 | 72 7d 0a 70 72 6f 63 65 |ailfilte|r}.proce|
|00000380| 73 73 69 6e 67 20 77 68 | 69 63 68 20 6e 6f 72 6d |ssing wh|ich norm|
|00000390| 61 6c 6c 79 20 70 72 6f | 63 65 73 73 65 73 20 74 |ally pro|cesses t|
|000003a0| 68 65 20 65 6e 74 69 72 | 65 20 66 69 6c 65 2e 29 |he entir|e file.)|
|000003b0| 0a 0a 5c 62 65 67 69 6e | 7b 65 6e 75 6d 65 72 61 |..\begin|{enumera|
|000003c0| 74 65 7d 0a 5c 69 74 65 | 6d 09 49 66 20 74 68 65 |te}.\ite|m.If the|
|000003d0| 20 75 73 65 72 20 68 61 | 73 20 61 20 5c 66 69 6c | user ha|s a \fil|
|000003e0| 65 7b 2e 6d 61 69 6c 66 | 69 6c 74 65 72 7d 5c 69 |e{.mailf|ilter}\i|
|000003f0| 6e 64 65 78 7b 2e 6d 61 | 69 6c 66 69 6c 74 65 72 |ndex{.ma|ilfilter|
|00000400| 7d 0a 66 69 6c 65 20 69 | 6e 20 68 69 73 2f 68 65 |}.file i|n his/he|
|00000410| 72 20 68 6f 6d 65 20 64 | 69 72 65 63 74 6f 72 79 |r home d|irectory|
|00000420| 20 61 6e 64 20 74 68 65 | 20 66 69 6c 65 20 69 73 | and the| file is|
|00000430| 20 6f 77 6e 65 64 20 62 | 79 20 74 68 61 74 20 75 | owned b|y that u|
|00000440| 73 65 72 20 61 6e 64 0a | 6e 6f 74 20 77 72 69 74 |ser and.|not writ|
|00000450| 61 62 6c 65 20 62 79 20 | 61 6e 79 6f 6e 65 20 6f |able by |anyone o|
|00000460| 74 68 65 72 20 74 68 61 | 6e 20 74 68 61 74 20 75 |ther tha|n that u|
|00000470| 73 65 72 2c 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |ser, the| command|
|00000480| 73 20 77 69 74 68 69 6e | 20 74 68 61 74 0a 66 69 |s within| that.fi|
|00000490| 6c 65 20 61 72 65 20 6f | 62 65 79 65 64 2e 20 20 |le are o|beyed. |
|000004a0| 54 68 65 20 73 79 6e 74 | 61 78 20 69 73 20 64 65 |The synt|ax is de|
|000004b0| 66 69 6e 65 64 20 69 6e | 20 53 65 63 74 69 6f 6e |fined in| Section|
|000004c0| 7e 5c 72 65 66 7b 6d 61 | 69 6c 66 69 6c 74 65 72 |~\ref{ma|ilfilter|
|000004d0| 7d 2e 0a 49 66 20 74 68 | 65 20 75 73 65 72 20 64 |}..If th|e user d|
|000004e0| 6f 65 73 20 6e 6f 74 20 | 68 61 76 65 20 61 20 5c |oes not |have a \|
|000004f0| 66 69 6c 65 7b 2e 6d 61 | 69 6c 66 69 6c 74 65 72 |file{.ma|ilfilter|
|00000500| 7d 20 6f 72 20 74 68 65 | 20 61 63 74 69 6f 6e 73 |} or the| actions|
|00000510| 20 69 6e 20 69 74 20 64 | 6f 0a 6e 6f 74 20 64 65 | in it d|o.not de|
|00000520| 6c 69 76 65 72 2c 20 72 | 65 6a 65 63 74 2c 20 6f |liver, r|eject, o|
|00000530| 72 20 74 65 6d 70 6f 72 | 61 72 69 6c 79 20 66 61 |r tempor|arily fa|
|00000540| 69 6c 20 74 68 65 20 6d | 65 73 73 61 67 65 2c 20 |il the m|essage, |
|00000550| 74 68 65 20 6e 65 78 74 | 20 6d 65 74 68 6f 64 20 |the next| method |
|00000560| 69 73 0a 61 74 74 65 6d | 70 74 65 64 2e 20 0a 0a |is.attem|pted. ..|
|00000570| 5c 69 74 65 6d 20 49 66 | 20 74 68 65 72 65 20 69 |\item If| there i|
|00000580| 73 20 61 20 73 79 73 74 | 65 6d 20 64 65 66 69 6e |s a syst|em defin|
|00000590| 65 64 20 5c 66 69 6c 65 | 7b 2e 6d 61 69 6c 66 69 |ed \file|{.mailfi|
|000005a0| 6c 74 65 72 7d 20 74 68 | 65 6e 20 74 68 65 0a 63 |lter} th|en the.c|
|000005b0| 6f 6d 6d 61 6e 64 73 20 | 69 6e 20 74 68 61 74 20 |ommands |in that |
|000005c0| 61 72 65 20 6f 62 65 79 | 65 64 2e 20 41 67 61 69 |are obey|ed. Agai|
|000005d0| 6e 20 69 66 20 74 68 69 | 73 20 64 6f 65 73 20 6e |n if thi|s does n|
|000005e0| 6f 74 20 65 78 69 73 74 | 73 2c 20 6f 72 20 74 68 |ot exist|s, or th|
|000005f0| 65 0a 61 63 74 69 6f 6e | 73 20 61 72 65 20 6e 6f |e.action|s are no|
|00000600| 74 20 63 6f 6e 63 6c 75 | 73 69 76 65 2c 20 74 68 |t conclu|sive, th|
|00000610| 65 20 6e 65 78 74 20 6d | 65 74 68 6f 64 20 69 73 |e next m|ethod is|
|00000620| 20 74 72 69 65 64 2e 0a | 0a 5c 69 74 65 6d 09 49 | tried..|.\item.I|
|00000630| 66 20 74 68 65 20 61 62 | 6f 76 65 20 74 77 6f 20 |f the ab|ove two |
|00000640| 6d 65 74 68 6f 64 73 20 | 61 70 70 65 61 72 20 69 |methods |appear i|
|00000650| 6e 63 6f 6e 63 6c 75 73 | 69 76 65 2c 20 74 68 65 |nconclus|ive, the|
|00000660| 20 6d 65 73 73 61 67 65 | 20 69 73 0a 77 72 69 74 | message| is.writ|
|00000670| 74 65 6e 20 74 6f 20 61 | 20 66 69 6c 65 20 69 6e |ten to a| file in|
|00000680| 20 61 20 77 65 6c 6c 2d | 64 65 66 69 6e 65 64 20 | a well-|defined |
|00000690| 70 6c 61 63 65 20 28 73 | 79 73 74 65 6d 20 63 6f |place (s|ystem co|
|000006a0| 6e 66 69 67 75 72 65 64 | 29 0a 73 75 72 72 6f 75 |nfigured|).surrou|
|000006b0| 6e 64 65 64 20 62 79 20 | 64 65 6c 69 6d 69 74 65 |nded by |delimite|
|000006c0| 72 73 2e 0a 0a 5c 65 6e | 64 7b 65 6e 75 6d 65 72 |rs...\en|d{enumer|
|000006d0| 61 74 65 7d 0a 0a 5c 73 | 75 62 73 65 63 74 69 6f |ate}..\s|ubsectio|
|000006e0| 6e 7b 46 6f 72 6d 61 74 | 20 6f 66 20 74 68 65 20 |n{Format| of the |
|000006f0| 2e 6d 61 69 6c 66 69 6c | 74 65 72 20 46 69 6c 65 |.mailfil|ter File|
|00000700| 7d 5c 6c 61 62 65 6c 7b | 6d 61 69 6c 66 69 6c 74 |}\label{|mailfilt|
|00000710| 65 72 7d 0a 0a 54 68 65 | 20 5c 66 69 6c 65 7b 2e |er}..The| \file{.|
|00000720| 6d 61 69 6c 66 69 6c 74 | 65 72 7d 20 66 69 6c 65 |mailfilt|er} file|
|00000730| 20 61 6c 6c 6f 77 73 20 | 71 75 69 74 65 20 63 6f | allows |quite co|
|00000740| 6d 70 6c 65 78 20 70 72 | 6f 63 65 73 73 69 6e 67 |mplex pr|ocessing|
|00000750| 20 6f 66 0a 69 6e 63 6f | 6d 69 6e 67 20 6d 65 73 | of.inco|ming mes|
|00000760| 73 61 67 65 73 20 74 6f | 20 62 65 20 70 65 72 66 |sages to| be perf|
|00000770| 6f 72 6d 65 64 2e 20 54 | 68 65 20 66 6f 72 6d 61 |ormed. T|he forma|
|00000780| 74 20 74 61 6b 65 73 20 | 74 68 65 20 66 6f 72 6d |t takes |the form|
|00000790| 20 6f 66 20 61 0a 73 6d | 61 6c 6c 20 69 6e 74 65 | of a.sm|all inte|
|000007a0| 72 70 72 65 74 65 64 20 | 6c 61 6e 67 75 61 67 65 |rpreted |language|
|000007b0| 20 69 6e 20 77 68 69 63 | 68 20 65 78 70 72 65 73 | in whic|h expres|
|000007c0| 73 69 6f 6e 73 20 63 61 | 6e 20 62 65 20 74 65 73 |sions ca|n be tes|
|000007d0| 74 65 64 20 61 6e 64 0a | 65 76 61 6c 75 61 74 65 |ted and.|evaluate|
|000007e0| 64 20 70 72 69 6f 72 20 | 74 6f 20 70 65 72 66 6f |d prior |to perfo|
|000007f0| 72 6d 69 6e 67 20 61 63 | 74 69 6f 6e 73 2e 20 49 |rming ac|tions. I|
|00000800| 6e 20 70 61 72 74 69 63 | 75 6c 61 72 20 63 6f 6e |n partic|ular con|
|00000810| 64 69 74 69 6f 6e 61 6c | 0a 61 63 74 69 6f 6e 73 |ditional|.actions|
|00000820| 20 61 72 65 20 74 68 65 | 20 6d 6f 73 74 20 75 73 | are the| most us|
|00000830| 65 66 75 6c 2e 0a 0a 54 | 68 65 20 6c 61 6e 67 75 |eful...T|he langu|
|00000840| 61 67 65 20 69 73 20 64 | 65 66 69 6e 65 64 20 6d |age is d|efined m|
|00000850| 6f 72 65 20 66 6f 72 6d | 61 6c 6c 79 20 69 6e 20 |ore form|ally in |
|00000860| 74 68 65 20 67 72 61 6d | 6d 61 72 20 67 69 76 65 |the gram|mar give|
|00000870| 6e 20 69 6e 0a 46 69 67 | 75 72 65 7e 5c 72 65 66 |n in.Fig|ure~\ref|
|00000880| 7b 6d 61 69 6c 66 3a 67 | 72 61 6d 6d 65 72 7d 2e |{mailf:g|rammer}.|
|00000890| 20 48 6f 77 65 76 65 72 | 2c 20 61 20 6d 6f 72 65 | However|, a more|
|000008a0| 20 67 65 6e 74 6c 65 20 | 69 6e 74 72 6f 64 75 63 | gentle |introduc|
|000008b0| 74 69 6f 6e 20 69 73 0a | 67 69 76 65 6e 20 68 65 |tion is.|given he|
|000008c0| 72 65 20 77 69 74 68 20 | 73 6f 6d 65 20 65 78 61 |re with |some exa|
|000008d0| 6d 70 6c 65 73 20 6f 66 | 20 75 73 61 67 65 2e 0a |mples of| usage..|
|000008e0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 7b |.\subsub|section{|
|000008f0| 43 6f 6d 6d 61 6e 64 73 | 7d 0a 0a 54 68 65 72 65 |Commands|}..There|
|00000900| 20 61 72 65 20 74 77 6f | 20 62 61 73 69 63 20 63 | are two| basic c|
|00000910| 6f 6d 6d 61 6e 64 73 20 | 74 68 61 74 20 63 61 6e |ommands |that can|
|00000920| 20 62 65 20 70 65 72 66 | 6f 72 6d 65 64 20 6f 6e | be perf|ormed on|
|00000930| 20 61 20 6d 65 73 73 61 | 67 65 2e 20 54 68 65 73 | a messa|ge. Thes|
|00000940| 65 0a 63 6f 6d 6d 61 6e | 64 73 20 63 61 6e 20 62 |e.comman|ds can b|
|00000950| 65 20 70 65 72 66 6f 72 | 6d 65 64 20 61 6e 79 20 |e perfor|med any |
|00000960| 6e 75 6d 62 65 72 20 6f | 66 20 74 69 6d 65 73 20 |number o|f times |
|00000970| 73 6f 20 74 68 65 20 6d | 65 73 73 61 67 65 20 63 |so the m|essage c|
|00000980| 61 6e 20 62 65 0a 64 65 | 6c 69 76 65 72 65 64 20 |an be.de|livered |
|00000990| 69 6e 20 73 65 76 65 72 | 61 6c 20 70 6c 61 63 65 |in sever|al place|
|000009a0| 73 20 61 6e 64 2f 6f 72 | 20 74 6f 20 73 65 76 65 |s and/or| to seve|
|000009b0| 72 61 6c 20 70 72 6f 63 | 65 73 73 65 73 2e 0a 0a |ral proc|esses...|
|000009c0| 54 68 65 20 66 69 72 73 | 74 20 63 6f 6d 6d 61 6e |The firs|t comman|
|000009d0| 64 20 69 73 20 5c 76 65 | 72 62 7c 66 69 6c 65 7c |d is \ve|rb|file||
|000009e0| 5c 69 6e 64 65 78 7b 66 | 69 6c 65 7d 2e 20 54 68 |\index{f|ile}. Th|
|000009f0| 69 73 20 63 6f 6d 6d 61 | 6e 64 20 74 61 6b 65 73 |is comma|nd takes|
|00000a00| 20 61 6e 0a 61 72 67 75 | 6d 65 6e 74 20 77 68 69 | an.argu|ment whi|
|00000a10| 63 68 20 69 73 20 61 20 | 73 74 72 69 6e 67 20 61 |ch is a |string a|
|00000a20| 6e 64 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |nd the r|esult is|
|00000a30| 20 74 6f 20 61 74 74 65 | 6d 70 74 20 74 6f 20 63 | to atte|mpt to c|
|00000a40| 6f 70 79 20 74 68 65 0a | 6d 65 73 73 61 67 65 20 |opy the.|message |
|00000a50| 73 75 72 72 6f 75 6e 64 | 65 64 20 62 79 20 64 65 |surround|ed by de|
|00000a60| 6c 69 6d 69 74 65 72 73 | 20 69 6e 74 6f 20 74 68 |limiters| into th|
|00000a70| 65 20 67 69 76 65 6e 20 | 66 69 6c 65 2e 20 54 68 |e given |file. Th|
|00000a80| 69 73 20 6d 69 67 68 74 | 20 62 65 0a 61 73 20 69 |is might| be.as i|
|00000a90| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |n one of| the fol|
|00000aa0| 6c 6f 77 69 6e 67 20 65 | 78 61 6d 70 6c 65 73 3a |lowing e|xamples:|
|00000ab0| 0a 0a 5c 62 65 67 69 6e | 7b 71 75 6f 74 65 7d 5c |..\begin|{quote}\|
|00000ac0| 73 6d 61 6c 6c 5c 62 65 | 67 69 6e 7b 76 65 72 62 |small\be|gin{verb|
|00000ad0| 61 74 69 6d 7d 0a 66 69 | 6c 65 20 22 6d 61 69 6c |atim}.fi|le "mail|
|00000ae0| 62 6f 78 22 3b 0a 66 69 | 6c 65 20 22 2f 61 72 63 |box";.fi|le "/arc|
|00000af0| 68 69 76 65 2f 6d 61 69 | 6c 62 6f 78 22 3b 0a 5c |hive/mai|lbox";.\|
|00000b00| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 5c 65 6e |end{verb|atim}\en|
|00000b10| 64 7b 71 75 6f 74 65 7d | 0a 0a 41 20 76 61 72 69 |d{quote}|..A vari|
|00000b20| 61 6e 74 20 6f 66 20 74 | 68 69 73 20 69 73 20 74 |ant of t|his is t|
|00000b30| 68 65 20 5c 76 65 72 62 | 7c 75 6e 69 78 66 69 6c |he \verb||unixfil|
|00000b40| 65 7c 5c 69 6e 64 65 78 | 7b 75 6e 69 78 66 69 6c |e|\index|{unixfil|
|00000b50| 65 7d 2e 20 54 68 69 73 | 20 77 72 69 74 65 73 0a |e}. This| writes.|
|00000b60| 69 6e 74 6f 20 74 68 65 | 20 67 69 76 65 6e 20 66 |into the| given f|
|00000b70| 69 6c 65 2c 20 62 75 74 | 20 69 6e 20 73 65 6e 64 |ile, but| in send|
|00000b80| 6d 61 69 6c 20 6f 72 20 | 74 72 61 64 69 74 69 6f |mail or |traditio|
|00000b90| 6e 61 6c 20 55 4e 49 58 | 2d 73 74 79 6c 65 20 66 |nal UNIX|-style f|
|00000ba0| 6f 72 6d 61 74 3b 0a 69 | 2e 65 2e 2c 20 77 69 74 |ormat;.i|.e., wit|
|00000bb0| 68 20 61 20 68 65 61 64 | 65 72 20 6c 69 6e 65 20 |h a head|er line |
|00000bc0| 73 74 61 74 69 6e 67 20 | 5c 76 65 72 62 2a 7c 46 |stating |\verb*|F|
|00000bd0| 72 6f 6d 7c 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |rom|...\|begin{qu|
|00000be0| 6f 74 65 7d 5c 73 6d 61 | 6c 6c 5c 62 65 67 69 6e |ote}\sma|ll\begin|
|00000bf0| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 75 6e 69 78 66 |{verbati|m}.unixf|
|00000c00| 69 6c 65 20 22 2e 6d 61 | 69 6c 22 3b 0a 5c 65 6e |ile ".ma|il";.\en|
|00000c10| 64 7b 76 65 72 62 61 74 | 69 6d 7d 5c 65 6e 64 7b |d{verbat|im}\end{|
|00000c20| 71 75 6f 74 65 7d 0a 0a | 4e 6f 74 65 20 74 68 61 |quote}..|Note tha|
|00000c30| 74 20 61 6c 6c 20 73 74 | 61 74 65 6d 65 6e 74 73 |t all st|atements|
|00000c40| 20 69 6e 20 74 68 65 20 | 5c 66 69 6c 65 7b 2e 6d | in the |\file{.m|
|00000c50| 61 69 6c 66 69 6c 74 65 | 72 7d 20 66 69 6c 65 20 |ailfilte|r} file |
|00000c60| 6d 75 73 74 20 62 65 0a | 74 65 72 6d 69 6e 61 74 |must be.|terminat|
|00000c70| 65 64 20 77 69 74 68 20 | 61 20 73 65 6d 69 2d 63 |ed with |a semi-c|
|00000c80| 6f 6c 6f 6e 20 28 60 60 | 5c 76 65 72 62 2b 3b 2b |olon (``|\verb+;+|
|00000c90| 27 27 29 2e 0a 0a 54 68 | 65 20 73 65 63 6f 6e 64 |'')...Th|e second|
|00000ca0| 20 62 61 73 69 63 20 63 | 6f 6d 6d 61 6e 64 20 69 | basic c|ommand i|
|00000cb0| 73 20 5c 76 65 72 62 7c | 70 69 70 65 7c 5c 69 6e |s \verb||pipe|\in|
|00000cc0| 64 65 78 7b 70 69 70 65 | 7d 2e 20 54 68 69 73 20 |dex{pipe|}. This |
|00000cd0| 63 6f 6d 6d 61 6e 64 0a | 73 74 61 72 74 73 20 75 |command.|starts u|
|00000ce0| 70 20 61 20 70 72 6f 63 | 65 73 73 20 61 6e 64 20 |p a proc|ess and |
|00000cf0| 77 72 69 74 65 73 20 74 | 68 65 20 6d 65 73 73 61 |writes t|he messa|
|00000d00| 67 65 20 69 6e 74 6f 20 | 69 74 20 61 73 20 73 74 |ge into |it as st|
|00000d10| 61 6e 64 61 72 64 0a 69 | 6e 70 75 74 2e 20 54 68 |andard.i|nput. Th|
|00000d20| 69 73 20 69 73 20 73 68 | 6f 77 6e 20 69 6e 20 74 |is is sh|own in t|
|00000d30| 68 65 20 6e 65 78 74 20 | 65 78 61 6d 70 6c 65 2e |he next |example.|
|00000d40| 0a 0a 5c 62 65 67 69 6e | 7b 71 75 6f 74 65 7d 5c |..\begin|{quote}\|
|00000d50| 73 6d 61 6c 6c 5c 62 65 | 67 69 6e 7b 76 65 72 62 |small\be|gin{verb|
|00000d60| 61 74 69 6d 7d 0a 70 69 | 70 65 20 22 72 63 76 73 |atim}.pi|pe "rcvs|
|00000d70| 74 6f 72 65 20 2b 69 6e | 62 6f 78 22 3b 0a 70 69 |tore +in|box";.pi|
|00000d80| 70 65 20 22 6c 70 72 20 | 2d 70 20 2d 50 70 6f 73 |pe "lpr |-p -Ppos|
|00000d90| 74 73 63 72 69 70 74 22 | 3b 0a 5c 65 6e 64 7b 76 |tscript"|;.\end{v|
|00000da0| 65 72 62 61 74 69 6d 7d | 5c 65 6e 64 7b 71 75 6f |erbatim}|\end{quo|
|00000db0| 74 65 7d 0a 0a 54 68 65 | 20 73 79 73 74 65 6d 20 |te}..The| system |
|00000dc0| 63 61 6e 20 74 65 6c 6c | 20 69 66 20 74 68 65 73 |can tell| if thes|
|00000dd0| 65 20 63 6f 6d 6d 61 6e | 64 73 20 68 61 76 65 20 |e comman|ds have |
|00000de0| 73 75 63 63 65 65 64 65 | 64 20 62 79 20 74 68 65 |succeede|d by the|
|00000df0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 0a 6d 65 74 68 6f | followi|ng.metho|
|00000e00| 64 73 2e 20 20 49 66 20 | 74 68 65 20 66 69 6c 65 |ds. If |the file|
|00000e10| 20 77 72 69 74 69 6e 67 | 20 77 6f 72 6b 73 20 74 | writing| works t|
|00000e20| 68 65 6e 20 61 20 66 6c | 61 67 0a 5c 76 65 72 62 |hen a fl|ag.\verb|
|00000e30| 7c 64 65 6c 69 76 65 72 | 65 64 7c 5c 69 6e 64 65 ||deliver|ed|\inde|
|00000e40| 78 7b 64 65 6c 69 76 65 | 72 65 64 7d 20 69 73 20 |x{delive|red} is |
|00000e50| 73 65 74 20 74 6f 20 69 | 6e 64 69 63 61 74 65 20 |set to i|ndicate |
|00000e60| 73 75 63 63 65 73 73 2e | 0a 53 69 6d 69 6c 61 72 |success.|.Similar|
|00000e70| 6c 79 2c 20 69 66 20 74 | 68 65 20 65 78 69 74 20 |ly, if t|he exit |
|00000e80| 73 74 61 74 75 73 20 66 | 72 6f 6d 20 61 20 5c 76 |status f|rom a \v|
|00000e90| 65 72 62 7c 70 69 70 65 | 7c 20 69 73 20 7a 65 72 |erb|pipe|| is zer|
|00000ea0| 6f 2c 20 74 68 65 20 64 | 65 6c 69 76 65 72 79 0a |o, the d|elivery.|
|00000eb0| 69 73 20 63 6f 6e 73 69 | 64 65 72 65 64 20 61 20 |is consi|dered a |
|00000ec0| 73 75 63 63 65 73 73 20 | 61 6e 64 20 74 68 65 20 |success |and the |
|00000ed0| 66 6c 61 67 20 75 70 64 | 61 74 65 64 2e 20 20 41 |flag upd|ated. A|
|00000ee0| 64 64 69 74 69 6f 6e 61 | 6c 6c 79 2c 20 61 73 0a |dditiona|lly, as.|
|00000ef0| 70 72 6f 67 72 61 6d 73 | 20 6d 61 79 20 72 65 70 |programs| may rep|
|00000f00| 6f 72 74 20 74 65 6d 70 | 6f 72 61 72 79 20 66 61 |ort temp|orary fa|
|00000f10| 69 6c 75 72 65 2c 20 74 | 68 69 73 20 69 73 20 73 |ilure, t|his is s|
|00000f20| 75 70 70 6f 72 74 65 64 | 2e 20 41 20 70 72 6f 67 |upported|. A prog|
|00000f30| 72 61 6d 0a 6d 61 79 20 | 72 65 74 75 72 6e 20 61 |ram.may |return a|
|00000f40| 20 74 65 6d 70 6f 72 61 | 72 79 20 66 61 69 6c 75 | tempora|ry failu|
|00000f50| 72 65 20 62 79 20 65 78 | 69 74 69 6e 67 20 77 69 |re by ex|iting wi|
|00000f60| 74 68 20 61 20 76 61 6c | 75 65 20 62 65 74 77 65 |th a val|ue betwe|
|00000f70| 65 6e 20 31 20 61 6e 64 | 0a 31 32 37 2c 20 69 6e |en 1 and|.127, in|
|00000f80| 20 77 68 69 63 68 20 63 | 61 73 65 20 74 68 65 20 | which c|ase the |
|00000f90| 64 65 6c 69 76 65 72 79 | 20 61 74 74 65 6d 70 74 |delivery| attempt|
|00000fa0| 20 69 73 20 61 62 6f 72 | 74 65 64 20 61 6e 64 20 | is abor|ted and |
|00000fb0| 72 65 74 72 69 65 64 20 | 61 74 20 61 0a 6c 61 74 |retried |at a.lat|
|00000fc0| 65 72 20 64 61 74 65 2e | 20 41 6e 20 65 78 69 74 |er date.| An exit|
|00000fd0| 20 73 74 61 74 75 73 20 | 67 72 65 61 74 65 72 20 | status |greater |
|00000fe0| 74 68 61 6e 20 31 32 37 | 20 69 73 20 74 61 6b 65 |than 127| is take|
|00000ff0| 6e 20 61 73 20 70 65 72 | 6d 61 6e 65 6e 74 20 66 |n as per|manent f|
|00001000| 61 69 6c 75 72 65 2e 0a | 0a 53 6f 6d 65 74 69 6d |ailure..|.Sometim|
|00001010| 65 73 2c 20 74 68 6f 75 | 67 68 2c 20 79 6f 75 20 |es, thou|gh, you |
|00001020| 6d 61 79 20 77 69 73 68 | 20 74 6f 20 72 75 6e 20 |may wish| to run |
|00001030| 61 20 63 6f 6d 6d 61 6e | 64 20 61 6e 64 20 69 67 |a comman|d and ig|
|00001040| 6e 6f 72 65 20 74 68 65 | 0a 72 65 73 75 6c 74 73 |nore the|.results|
|00001050| 3b 20 74 68 61 74 20 69 | 73 2c 20 74 6f 20 68 61 |; that i|s, to ha|
|00001060| 76 65 20 74 68 65 20 73 | 79 73 74 65 6d 20 6e 6f |ve the s|ystem no|
|00001070| 74 20 75 70 64 61 74 65 | 20 74 68 65 20 73 74 61 |t update| the sta|
|00001080| 74 75 73 20 6f 66 20 74 | 68 65 20 64 65 6c 69 76 |tus of t|he deliv|
|00001090| 65 72 79 2e 0a 54 68 69 | 73 20 63 61 6e 20 62 65 |ery..Thi|s can be|
|000010a0| 20 61 63 68 69 65 76 65 | 64 20 62 79 20 73 65 74 | achieve|d by set|
|000010b0| 74 69 6e 67 20 61 20 76 | 61 72 69 61 62 6c 65 20 |ting a v|ariable |
|000010c0| 61 73 20 64 65 73 63 72 | 69 62 65 64 20 6c 61 74 |as descr|ibed lat|
|000010d0| 65 72 2c 20 62 75 74 20 | 66 6f 72 0a 73 69 6d 70 |er, but |for.simp|
|000010e0| 6c 69 63 69 74 79 2c 20 | 69 66 20 79 6f 75 20 70 |licity, |if you p|
|000010f0| 72 65 63 65 64 65 20 74 | 68 65 20 63 6f 6d 6d 61 |recede t|he comma|
|00001100| 6e 64 20 77 69 74 68 20 | 74 68 65 20 6b 65 79 77 |nd with |the keyw|
|00001110| 6f 72 64 0a 5c 76 65 72 | 62 2b 69 67 6e 6f 72 65 |ord.\ver|b+ignore|
|00001120| 2b 5c 69 6e 64 65 78 7b | 69 67 6e 6f 72 65 7d 2c |+\index{|ignore},|
|00001130| 20 74 68 65 6e 20 6e 6f | 20 6e 6f 74 69 63 65 20 | then no| notice |
|00001140| 77 69 6c 6c 20 62 65 20 | 74 61 6b 65 6e 20 6f 66 |will be |taken of|
|00001150| 20 74 68 65 20 72 65 74 | 75 72 6e 0a 73 74 61 74 | the ret|urn.stat|
|00001160| 75 73 2e 0a 0a 5c 62 65 | 67 69 6e 7b 71 75 6f 74 |us...\be|gin{quot|
|00001170| 65 7d 5c 73 6d 61 6c 6c | 5c 62 65 67 69 6e 7b 76 |e}\small|\begin{v|
|00001180| 65 72 62 61 74 69 6d 7d | 0a 69 67 6e 6f 72 65 20 |erbatim}|.ignore |
|00001190| 70 69 70 65 20 22 65 63 | 68 6f 20 68 65 6c 6c 6f |pipe "ec|ho hello|
|000011a0| 22 3b 0a 69 67 6e 6f 72 | 65 20 66 69 6c 65 20 22 |";.ignor|e file "|
|000011b0| 2f 64 65 76 2f 6e 75 6c | 6c 22 3b 0a 69 67 6e 6f |/dev/nul|l";.igno|
|000011c0| 72 65 20 70 69 70 65 20 | 22 72 63 76 61 6c 65 72 |re pipe |"rcvaler|
|000011d0| 74 20 27 79 6f 75 20 68 | 61 76 65 20 6e 65 77 20 |t 'you h|ave new |
|000011e0| 6d 61 69 6c 27 22 3b 0a | 5c 65 6e 64 7b 76 65 72 |mail'";.|\end{ver|
|000011f0| 62 61 74 69 6d 7d 5c 65 | 6e 64 7b 71 75 6f 74 65 |batim}\e|nd{quote|
|00001200| 7d 0a 0a 4f 6e 65 20 6c | 61 73 74 20 66 65 61 74 |}..One l|ast feat|
|00001210| 75 72 65 20 6f 66 20 74 | 68 65 73 65 20 63 6f 6d |ure of t|hese com|
|00001220| 6d 61 6e 64 73 2c 20 68 | 65 61 64 65 72 20 76 61 |mands, h|eader va|
|00001230| 72 69 61 62 6c 65 73 20 | 28 64 65 73 63 72 69 62 |riables |(describ|
|00001240| 65 64 20 62 65 6c 6f 77 | 29 0a 6d 61 79 20 62 65 |ed below|).may be|
|00001250| 20 73 75 62 73 74 69 74 | 75 74 65 64 20 69 6e 20 | substit|uted in |
|00001260| 74 68 65 20 73 74 72 69 | 6e 67 73 20 61 73 73 6f |the stri|ngs asso|
|00001270| 63 69 61 74 65 64 20 77 | 69 74 68 20 74 68 65 73 |ciated w|ith thes|
|00001280| 65 20 63 6f 6d 6d 61 6e | 64 73 2e 20 54 68 65 73 |e comman|ds. Thes|
|00001290| 65 0a 61 72 65 20 6e 6f | 74 20 74 6f 6f 20 75 73 |e.are no|t too us|
|000012a0| 65 66 75 6c 20 66 6f 72 | 20 5c 76 65 72 62 7c 66 |eful for| \verb|f|
|000012b0| 69 6c 65 7c 20 63 6f 6d | 6d 61 6e 64 73 2c 20 62 |ile| com|mands, b|
|000012c0| 75 74 20 63 61 6e 20 62 | 65 20 75 73 65 66 75 6c |ut can b|e useful|
|000012d0| 20 61 73 0a 61 72 67 75 | 6d 65 6e 74 73 20 66 6f | as.argu|ments fo|
|000012e0| 72 20 70 72 6f 63 65 73 | 73 65 73 2e 20 43 61 72 |r proces|ses. Car|
|000012f0| 65 20 6d 75 73 74 20 62 | 65 20 74 61 6b 65 6e 20 |e must b|e taken |
|00001300| 74 68 61 74 20 61 70 70 | 72 6f 70 72 69 61 74 65 |that app|ropriate|
|00001310| 20 71 75 6f 74 69 6e 67 | 0a 6f 66 20 74 68 65 73 | quoting|.of thes|
|00001320| 65 20 69 73 20 64 6f 6e | 65 20 69 6e 20 63 61 73 |e is don|e in cas|
|00001330| 65 20 74 68 65 79 20 63 | 6f 6e 74 61 69 6e 20 73 |e they c|ontain s|
|00001340| 70 65 63 69 61 6c 20 63 | 68 61 72 61 63 74 65 72 |pecial c|haracter|
|00001350| 73 2e 20 41 73 20 61 6e | 79 0a 73 74 72 69 6e 67 |s. As an|y.string|
|00001360| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 61 20 60 60 | contain|ing a ``|
|00001370| 5c 76 65 72 62 7c 24 7c | 27 27 20 69 73 20 73 75 |\verb|$||'' is su|
|00001380| 62 73 74 69 74 75 74 65 | 64 2c 20 61 20 5c 24 20 |bstitute|d, a \$ |
|00001390| 6d 75 73 74 20 62 65 20 | 69 6e 73 65 72 74 65 64 |must be |inserted|
|000013a0| 0a 62 79 20 64 6f 75 62 | 6c 69 6e 67 20 69 74 2c |.by doub|ling it,|
|000013b0| 20 65 2e 67 2e 2c 20 60 | 60 5c 76 65 72 62 7c 24 | e.g., `|`\verb|$|
|000013c0| 24 7c 27 27 2e 20 49 66 | 20 79 6f 75 20 72 65 71 |$|''. If| you req|
|000013d0| 75 69 72 65 20 61 0a 71 | 75 6f 74 65 20 60 60 5c |uire a.q|uote ``\|
|000013e0| 76 65 72 62 7c 22 7c 27 | 27 20 63 68 61 72 61 63 |verb|"|'|' charac|
|000013f0| 74 65 72 20 69 6e 20 74 | 68 65 20 73 74 72 69 6e |ter in t|he strin|
|00001400| 67 2c 20 69 74 20 6d 75 | 73 74 20 62 65 20 70 72 |g, it mu|st be pr|
|00001410| 65 63 65 65 64 65 64 20 | 62 79 20 61 0a 62 61 63 |eceeded |by a.bac|
|00001420| 6b 73 6c 61 73 68 20 63 | 68 61 72 61 63 74 65 72 |kslash c|haracter|
|00001430| 3a 20 60 60 24 5c 62 61 | 63 6b 73 6c 61 73 68 24 |: ``$\ba|ckslash$|
|00001440| 27 27 2e 0a 25 25 25 20 | 4e 6f 6e 20 70 72 69 6e |''..%%% |Non prin|
|00001450| 74 69 6e 67 20 63 68 61 | 72 61 63 74 65 72 73 20 |ting cha|racters |
|00001460| 6d 61 79 0a 25 25 25 20 | 61 6c 73 6f 20 62 65 20 |may.%%% |also be |
|00001470| 69 6e 63 6c 75 64 65 64 | 20 62 79 20 75 73 65 20 |included| by use |
|00001480| 6f 66 20 74 68 65 20 65 | 73 63 61 70 65 20 6d 65 |of the e|scape me|
|00001490| 63 68 61 6e 69 73 6d 0a | 25 25 25 20 60 60 24 5c |chanism.|%%% ``$\|
|000014a0| 62 61 63 6b 73 6c 61 73 | 68 24 5c 76 65 72 62 7c |backslas|h$\verb||
|000014b0| 6e 6e 6e 7c 27 27 20 77 | 68 65 72 65 20 5c 76 65 |nnn|'' w|here \ve|
|000014c0| 72 62 7c 6e 6e 6e 7c 20 | 69 73 20 61 6e 20 6f 63 |rb|nnn| |is an oc|
|000014d0| 74 61 6c 20 6e 75 6d 62 | 65 72 2e 0a 0a 4e 6f 72 |tal numb|er...Nor|
|000014e0| 6d 61 6c 6c 79 2c 20 74 | 68 65 20 63 6f 6d 6d 61 |mally, t|he comma|
|000014f0| 6e 64 73 20 61 72 65 20 | 69 6e 74 65 72 70 72 65 |nds are |interpre|
|00001500| 74 65 64 20 62 79 0a 5c | 76 65 72 62 7c 2f 62 69 |ted by.\|verb|/bi|
|00001510| 6e 2f 73 68 20 2d 63 20 | 3c 63 6f 6d 6d 61 6e 64 |n/sh -c |<command|
|00001520| 3e 7c 20 62 75 74 20 69 | 66 20 74 68 65 20 5c 70 |>| but i|f the \p|
|00001530| 67 6d 7b 38 32 32 2d 6c | 6f 63 61 6c 7d 20 63 68 |gm{822-l|ocal} ch|
|00001540| 61 6e 6e 65 6c 20 69 73 | 0a 72 75 6e 6e 69 6e 67 |annel is|.running|
|00001550| 20 69 6e 20 72 65 73 74 | 72 69 63 74 65 64 20 6d | in rest|ricted m|
|00001560| 6f 64 65 2c 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |ode, the| command|
|00001570| 20 69 73 20 64 69 72 65 | 63 74 6c 79 20 65 78 65 | is dire|ctly exe|
|00001580| 63 75 74 65 64 2e 0a 0a | 5c 73 75 62 73 75 62 73 |cuted...|\subsubs|
|00001590| 65 63 74 69 6f 6e 7b 43 | 6f 6e 64 69 74 69 6f 6e |ection{C|ondition|
|000015a0| 61 6c 20 45 78 70 72 65 | 73 73 69 6f 6e 73 7d 5c |al Expre|ssions}\|
|000015b0| 69 6e 64 65 78 7b 63 6f | 6e 64 69 74 69 6f 6e 61 |index{co|nditiona|
|000015c0| 6c 73 7d 0a 0a 54 68 65 | 20 72 65 61 6c 20 70 6f |ls}..The| real po|
|000015d0| 77 65 72 20 6f 66 20 74 | 68 65 20 5c 66 69 6c 65 |wer of t|he \file|
|000015e0| 7b 2e 6d 61 69 6c 66 69 | 6c 74 65 72 7d 20 63 6f |{.mailfi|lter} co|
|000015f0| 6d 65 73 20 77 69 74 68 | 20 63 6f 6e 64 69 74 69 |mes with| conditi|
|00001600| 6f 6e 61 6c 0a 65 78 70 | 72 65 73 73 73 69 6f 6e |onal.exp|resssion|
|00001610| 73 2e 20 54 68 65 73 65 | 20 61 6c 6c 6f 77 20 74 |s. These| allow t|
|00001620| 68 65 20 75 73 65 72 20 | 74 6f 20 73 65 6c 65 63 |he user |to selec|
|00001630| 74 20 70 61 72 74 69 63 | 75 6c 61 72 20 72 75 6c |t partic|ular rul|
|00001640| 65 73 0a 64 65 70 65 6e | 64 69 6e 67 2c 20 66 6f |es.depen|ding, fo|
|00001650| 72 20 69 6e 73 74 61 6e | 63 65 2c 20 6f 6e 20 63 |r instan|ce, on c|
|00001660| 65 72 74 61 69 6e 20 61 | 74 74 72 69 62 75 74 65 |ertain a|ttribute|
|00001670| 73 20 6f 66 20 74 68 65 | 20 6d 65 73 73 61 67 65 |s of the| message|
|00001680| 2e 0a 0a 54 68 65 20 6d | 6f 73 74 20 62 61 73 69 |...The m|ost basi|
|00001690| 63 20 66 6f 72 6d 20 6f | 66 20 63 6f 6e 64 69 74 |c form o|f condit|
|000016a0| 69 6f 6e 20 69 73 20 61 | 6e 20 5c 76 65 72 62 2b |ion is a|n \verb+|
|000016b0| 69 66 2b 5c 69 6e 64 65 | 78 7b 69 66 7d 5c 69 6e |if+\inde|x{if}\in|
|000016c0| 64 65 78 7b 65 6c 73 65 | 7d 0a 73 74 61 74 65 6d |dex{else|}.statem|
|000016d0| 65 6e 74 20 77 69 74 68 | 20 61 20 73 69 6d 70 6c |ent with| a simpl|
|000016e0| 65 20 63 6f 6d 70 61 72 | 69 73 6f 6e 2e 20 54 68 |e compar|ison. Th|
|000016f0| 69 73 20 61 6c 6c 6f 77 | 73 20 79 6f 75 20 74 6f |is allow|s you to|
|00001700| 20 63 6f 6d 70 61 72 65 | 20 74 77 6f 0a 73 74 72 | compare| two.str|
|00001710| 69 6e 67 73 20 66 6f 72 | 20 65 71 75 61 6c 69 74 |ings for| equalit|
|00001720| 79 2e 20 54 68 69 73 20 | 74 61 6b 65 73 20 74 68 |y. This |takes th|
|00001730| 65 20 66 6f 72 6d 20 6f | 66 20 6f 6e 65 20 6f 66 |e form o|f one of|
|00001740| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 3a 0a | the fol|lowing:.|
|00001750| 0a 5c 62 65 67 69 6e 7b | 71 75 6f 74 65 7d 5c 73 |.\begin{|quote}\s|
|00001760| 6d 61 6c 6c 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |mall\beg|in{verba|
|00001770| 74 69 6d 7d 0a 69 66 20 | 28 20 3c 73 74 72 69 6e |tim}.if |( <strin|
|00001780| 67 31 3e 20 3d 3d 20 3c | 73 74 72 69 6e 67 32 3e |g1> == <|string2>|
|00001790| 20 29 0a 20 20 20 20 3c | 65 78 70 72 65 73 73 69 | ). <|expressi|
|000017a0| 6f 6e 3e 20 3b 0a 0a 69 | 66 20 28 20 3c 73 74 72 |on> ;..i|f ( <str|
|000017b0| 69 6e 67 31 3e 20 3d 3d | 20 3c 73 74 72 69 6e 67 |ing1> ==| <string|
|000017c0| 32 3e 20 29 20 7b 0a 20 | 20 20 20 3c 65 78 70 72 |2> ) {. | <expr|
|000017d0| 65 73 73 69 6f 6e 31 3e | 20 3b 0a 20 20 20 20 3c |ession1>| ;. <|
|000017e0| 65 78 70 72 65 73 73 69 | 6f 6e 32 3e 20 3b 0a 7d |expressi|on2> ;.}|
|000017f0| 0a 0a 69 66 20 28 20 3c | 73 74 72 69 6e 67 31 3e |..if ( <|string1>|
|00001800| 20 3d 3d 20 3c 73 74 72 | 69 6e 67 32 3e 20 29 0a | == <str|ing2> ).|
|00001810| 20 20 20 20 3c 65 78 70 | 72 65 73 73 69 6f 6e 3e | <exp|ression>|
|00001820| 20 3b 0a 65 6c 73 65 20 | 69 66 20 28 20 3c 73 74 | ;.else |if ( <st|
|00001830| 72 69 6e 67 31 3e 20 3d | 3d 20 3c 73 74 72 69 6e |ring1> =|= <strin|
|00001840| 67 33 3e 20 29 0a 20 20 | 20 20 3c 65 78 70 72 65 |g3> ). | <expre|
|00001850| 73 73 69 6f 6e 3e 20 3b | 0a 65 6c 73 65 0a 20 20 |ssion> ;|.else. |
|00001860| 20 20 3c 65 78 70 72 65 | 73 73 69 6f 6e 3e 20 3b | <expre|ssion> ;|
|00001870| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 5c |.\end{ve|rbatim}\|
|00001880| 65 6e 64 7b 71 75 6f 74 | 65 7d 0a 0a 54 68 65 73 |end{quot|e}..Thes|
|00001890| 65 20 65 78 61 6d 70 6c | 65 73 20 73 68 6f 77 20 |e exampl|es show |
|000018a0| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 69 6e |a number| of thin|
|000018b0| 67 73 2e 20 46 69 72 73 | 74 2c 20 77 68 65 72 65 |gs. Firs|t, where|
|000018c0| 20 79 6f 75 20 63 61 6e | 20 68 61 76 65 20 61 0a | you can| have a.|
|000018d0| 73 69 6e 67 6c 65 20 65 | 78 70 72 65 73 73 69 6f |single e|xpressio|
|000018e0| 6e 2c 20 79 6f 75 20 6d | 61 79 20 68 61 76 65 20 |n, you m|ay have |
|000018f0| 73 65 76 65 72 61 6c 20 | 65 78 70 72 65 73 73 69 |several |expressi|
|00001900| 6f 6e 73 20 62 79 20 65 | 6e 63 6c 6f 73 69 6e 67 |ons by e|nclosing|
|00001910| 20 74 68 65 6d 0a 69 6e | 20 62 72 61 63 65 73 5c | them.in| braces\|
|00001920| 66 6f 6f 74 6e 6f 74 65 | 7b 41 6e 79 20 72 65 73 |footnote|{Any res|
|00001930| 65 6d 62 6c 61 6e 63 65 | 20 74 6f 20 74 68 65 20 |emblance| to the |
|00001940| 7b 5c 65 6d 20 43 7d 20 | 70 72 6f 67 72 61 6d 6d |{\em C} |programm|
|00001950| 69 6e 67 0a 6c 61 6e 67 | 75 61 67 65 20 69 73 20 |ing.lang|uage is |
|00001960| 65 6e 74 69 72 65 6c 79 | 20 69 6e 74 65 6e 74 69 |entirely| intenti|
|00001970| 6f 6e 61 6c 21 7d 3b 20 | 74 68 69 73 20 69 73 20 |onal!}; |this is |
|00001980| 61 6e 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 61 20 |an examp|le of a |
|00001990| 63 6f 6d 70 6f 75 6e 64 | 0a 65 78 70 72 65 73 73 |compound|.express|
|000019a0| 69 6f 6e 5c 69 6e 64 65 | 78 7b 63 6f 6d 70 6f 75 |ion\inde|x{compou|
|000019b0| 6e 64 20 73 74 61 74 65 | 6d 65 6e 74 7d 2e 0a 0a |nd state|ment}...|
|000019c0| 53 65 63 6f 6e 64 2c 20 | 62 79 20 75 73 65 20 6f |Second, |by use o|
|000019d0| 66 20 74 68 65 20 65 6c | 73 65 20 73 74 61 74 65 |f the el|se state|
|000019e0| 6d 65 6e 74 2c 20 64 65 | 66 61 75 6c 74 20 61 63 |ment, de|fault ac|
|000019f0| 74 69 6f 6e 73 20 63 61 | 6e 20 62 65 20 74 61 6b |tions ca|n be tak|
|00001a00| 65 6e 2e 0a 46 69 6e 61 | 6c 6c 79 2c 20 74 68 65 |en..Fina|lly, the|
|00001a10| 20 5c 76 65 72 62 2b 65 | 6c 73 65 20 69 66 2b 5c | \verb+e|lse if+\|
|00001a20| 69 6e 64 65 78 7b 65 6c | 73 65 20 69 66 7d 20 61 |index{el|se if} a|
|00001a30| 6c 6c 6f 77 73 20 61 20 | 6d 75 6c 74 69 20 77 61 |llows a |multi wa|
|00001a40| 79 0a 62 72 61 6e 63 68 | 69 6e 67 20 63 6f 6e 73 |y.branch|ing cons|
|00001a50| 74 72 75 63 74 2e 0a 0a | 43 6f 6e 64 69 74 69 6f |truct...|Conditio|
|00001a60| 6e 61 6c 20 65 78 70 72 | 65 73 73 69 6f 6e 73 20 |nal expr|essions |
|00001a70| 6d 61 79 20 61 6c 73 6f | 20 63 6f 6e 74 61 69 6e |may also| contain|
|00001a80| 20 42 6f 6f 6c 65 61 6e | 20 6f 70 65 72 61 74 6f | Boolean| operato|
|00001a90| 72 73 2e 20 54 68 65 20 | 6c 69 73 74 0a 69 73 20 |rs. The |list.is |
|00001aa0| 64 65 73 63 72 69 62 65 | 64 20 62 65 6c 6f 77 5c |describe|d below\|
|00001ab0| 69 6e 64 65 78 7b 42 6f | 6f 6c 65 61 6e 20 6f 70 |index{Bo|olean op|
|00001ac0| 65 72 61 74 6f 72 73 7d | 2e 0a 0a 5c 5b 5c 62 65 |erators}|...\[\be|
|00001ad0| 67 69 6e 7b 74 61 62 75 | 6c 61 72 7d 7b 7c 6c 20 |gin{tabu|lar}{|l |
|00001ae0| 7c 20 6c 7c 7d 0a 5c 68 | 6c 69 6e 65 0a 09 5c 6d || l|}.\h|line..\m|
|00001af0| 75 6c 74 69 63 6f 6c 75 | 6d 6e 7b 31 7d 7b 7c 63 |ulticolu|mn{1}{|c|
|00001b00| 7c 7d 7b 5c 62 66 20 4f | 70 65 72 61 74 6f 72 7d ||}{\bf O|perator}|
|00001b10| 20 26 0a 09 09 5c 6d 75 | 6c 74 69 63 6f 6c 75 6d | &...\mu|lticolum|
|00001b20| 6e 7b 31 7d 7b 7c 63 7c | 7d 7b 5c 62 66 20 4d 65 |n{1}{|c||}{\bf Me|
|00001b30| 61 6e 69 6e 67 7d 20 5c | 5c 0a 5c 68 6c 69 6e 65 |aning} \|\.\hline|
|00001b40| 0a 09 5c 74 74 20 3d 3d | 20 26 09 49 73 20 65 71 |..\tt ==| &.Is eq|
|00001b50| 75 61 6c 20 74 6f 5c 5c | 0a 09 5c 74 74 20 21 3d |ual to\\|..\tt !=|
|00001b60| 20 26 09 49 73 20 6e 6f | 74 20 65 71 75 61 6c 20 | &.Is no|t equal |
|00001b70| 74 6f 5c 5c 0a 09 5c 74 | 74 20 5c 26 5c 26 20 26 |to\\..\t|t \&\& &|
|00001b80| 09 4c 6f 67 69 63 61 6c | 20 61 6e 64 20 5c 5c 0a |.Logical| and \\.|
|00001b90| 09 5c 74 74 20 7c 7c 20 | 26 09 4c 6f 67 69 63 61 |.\tt || |&.Logica|
|00001ba0| 6c 20 6f 72 5c 5c 0a 09 | 5c 74 74 20 21 20 26 09 |l or\\..|\tt ! &.|
|00001bb0| 09 4c 6f 67 69 63 61 6c | 20 6e 6f 74 20 5c 5c 0a |.Logical| not \\.|
|00001bc0| 5c 68 6c 69 6e 65 0a 5c | 65 6e 64 7b 74 61 62 75 |\hline.\|end{tabu|
|00001bd0| 6c 61 72 7d 5c 5d 0a 0a | 54 68 65 20 63 6f 6e 64 |lar}\]..|The cond|
|00001be0| 69 74 69 6f 6e 61 6c 20 | 63 6f 6e 73 74 72 75 63 |itional |construc|
|00001bf0| 74 20 62 65 67 73 20 74 | 68 65 20 71 75 65 73 74 |t begs t|he quest|
|00001c00| 69 6f 6e 20 60 60 77 68 | 61 74 20 63 6f 6e 64 69 |ion ``wh|at condi|
|00001c10| 74 69 6f 6e 73 20 63 61 | 6e 20 62 65 0a 74 65 73 |tions ca|n be.tes|
|00001c20| 74 65 64 3f 27 27 20 54 | 68 65 73 65 20 61 72 65 |ted?'' T|hese are|
|00001c30| 20 64 69 73 63 75 73 73 | 65 64 20 69 6e 20 74 68 | discuss|ed in th|
|00001c40| 65 20 6e 65 78 74 20 73 | 65 63 74 69 6f 6e 2e 0a |e next s|ection..|
|00001c50| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 7b |.\subsub|section{|
|00001c60| 56 61 72 69 61 62 6c 65 | 73 7d 5c 69 6e 64 65 78 |Variable|s}\index|
|00001c70| 7b 76 61 72 69 61 62 6c | 65 73 7d 0a 0a 54 68 65 |{variabl|es}..The|
|00001c80| 72 65 20 61 72 65 20 74 | 77 6f 20 62 61 73 69 63 |re are t|wo basic|
|00001c90| 20 74 79 70 65 73 20 6f | 66 20 76 61 72 69 61 62 | types o|f variab|
|00001ca0| 6c 65 73 20 74 68 61 74 | 20 63 61 6e 20 62 65 20 |les that| can be |
|00001cb0| 61 63 63 65 73 73 65 64 | 3a 0a 0a 5c 62 65 67 69 |accessed|:..\begi|
|00001cc0| 6e 7b 65 6e 75 6d 65 72 | 61 74 65 7d 0a 5c 69 74 |n{enumer|ate}.\it|
|00001cd0| 65 6d 09 53 79 73 74 65 | 6d 20 76 61 72 69 61 62 |em.Syste|m variab|
|00001ce0| 6c 65 73 5c 69 6e 64 65 | 78 7b 76 61 72 69 61 62 |les\inde|x{variab|
|00001cf0| 6c 65 73 2c 20 73 79 73 | 74 65 6d 7d 5c 69 6e 64 |les, sys|tem}\ind|
|00001d00| 65 78 7b 73 79 73 74 65 | 6d 0a 76 61 72 69 61 62 |ex{syste|m.variab|
|00001d10| 6c 65 73 7d 2e 20 54 68 | 65 73 65 20 61 72 65 20 |les}. Th|ese are |
|00001d20| 76 61 72 69 61 62 6c 65 | 73 20 6d 61 69 6e 74 61 |variable|s mainta|
|00001d30| 69 6e 65 64 20 62 79 20 | 74 68 65 20 5c 70 67 6d |ined by |the \pgm|
|00001d40| 7b 38 32 32 2d 6c 6f 63 | 61 6c 7d 20 63 68 61 6e |{822-loc|al} chan|
|00001d50| 6e 65 6c 0a 61 6e 64 20 | 6d 61 79 20 62 65 20 75 |nel.and |may be u|
|00001d60| 70 64 61 74 65 64 20 61 | 66 74 65 72 20 61 63 74 |pdated a|fter act|
|00001d70| 69 6f 6e 73 20 61 72 65 | 20 74 61 6b 65 6e 2e 0a |ions are| taken..|
|00001d80| 0a 5c 69 74 65 6d 09 48 | 65 61 64 65 72 20 66 69 |.\item.H|eader fi|
|00001d90| 65 6c 64 73 5c 69 6e 64 | 65 78 7b 68 65 61 64 65 |elds\ind|ex{heade|
|00001da0| 72 20 66 69 65 6c 64 73 | 7d 2e 20 57 68 65 6e 20 |r fields|}. When |
|00001db0| 64 65 6c 69 76 65 72 69 | 6e 67 20 61 20 6d 65 73 |deliveri|ng a mes|
|00001dc0| 73 61 67 65 2c 0a 61 6c | 6c 20 74 68 65 20 63 75 |sage,.al|l the cu|
|00001dd0| 72 72 65 6e 74 20 68 65 | 61 64 65 72 20 66 69 65 |rrent he|ader fie|
|00001de0| 6c 64 73 20 61 72 65 20 | 61 76 61 69 6c 61 62 6c |lds are |availabl|
|00001df0| 65 20 66 6f 72 20 65 78 | 61 6d 69 6e 61 74 69 6f |e for ex|aminatio|
|00001e00| 6e 2e 0a 5c 65 6e 64 7b | 65 6e 75 6d 65 72 61 74 |n..\end{|enumerat|
|00001e10| 65 7d 0a 0a 54 68 65 20 | 73 79 73 74 65 6d 20 76 |e}..The |system v|
|00001e20| 61 72 69 61 62 6c 65 73 | 20 61 72 65 20 74 68 65 |ariables| are the|
|00001e30| 20 73 69 6d 70 6c 65 73 | 74 20 61 6e 64 20 74 68 | simples|t and th|
|00001e40| 65 72 65 20 61 72 65 20 | 76 65 72 79 20 66 65 77 |ere are |very few|
|00001e50| 20 6f 66 20 74 68 65 73 | 65 2e 0a 54 68 65 20 6d | of thes|e..The m|
|00001e60| 6f 73 74 20 75 73 65 64 | 20 73 79 73 74 65 6d 20 |ost used| system |
|00001e70| 76 61 72 69 61 62 6c 65 | 20 69 73 20 5c 76 65 72 |variable| is \ver|
|00001e80| 62 2b 64 65 6c 69 76 65 | 72 65 64 2b 5c 69 6e 64 |b+delive|red+\ind|
|00001e90| 65 78 7b 64 65 6c 69 76 | 65 72 65 64 7d 2e 0a 54 |ex{deliv|ered}..T|
|00001ea0| 68 69 73 20 76 61 72 69 | 61 62 6c 65 20 6e 6f 72 |his vari|able nor|
|00001eb0| 6d 61 6c 6c 79 20 63 6f | 6e 74 61 69 6e 73 20 74 |mally co|ntains t|
|00001ec0| 68 65 20 73 74 61 74 75 | 73 20 6f 66 20 74 68 65 |he statu|s of the|
|00001ed0| 20 64 65 6c 69 76 65 72 | 79 20 61 74 74 65 6d 70 | deliver|y attemp|
|00001ee0| 74 2e 0a 54 68 69 73 20 | 69 73 20 77 68 61 74 20 |t..This |is what |
|00001ef0| 74 68 65 20 73 79 73 74 | 65 6d 20 74 68 69 6e 6b |the syst|em think|
|00001f00| 73 20 74 68 65 20 73 74 | 61 74 65 20 6f 66 20 79 |s the st|ate of y|
|00001f10| 6f 75 72 20 6d 65 73 73 | 61 67 65 20 69 73 2e 20 |our mess|age is. |
|00001f20| 54 68 69 73 20 6d 61 79 | 0a 62 65 20 6f 6e 65 20 |This may|.be one |
|00001f30| 6f 66 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |of the f|ollowing|
|00001f40| 20 76 61 6c 75 65 73 5c | 69 6e 64 65 78 7b 64 65 | values\|index{de|
|00001f50| 6c 69 76 65 72 79 20 73 | 74 61 74 65 73 7d 2e 0a |livery s|tates}..|
|00001f60| 0a 5c 5b 5c 62 65 67 69 | 6e 7b 74 61 62 75 6c 61 |.\[\begi|n{tabula|
|00001f70| 72 7d 7b 7c 6c 20 7c 20 | 70 7b 30 2e 36 5c 6c 69 |r}{|l | |p{0.6\li|
|00001f80| 6e 65 77 69 64 74 68 7d | 20 7c 7d 0a 5c 68 6c 69 |newidth}| |}.\hli|
|00001f90| 6e 65 0a 09 5c 6d 75 6c | 74 69 63 6f 6c 75 6d 6e |ne..\mul|ticolumn|
|00001fa0| 7b 31 7d 7b 7c 63 7c 7d | 7b 5c 62 66 20 56 61 6c |{1}{|c|}|{\bf Val|
|00001fb0| 75 65 7d 20 26 0a 09 09 | 5c 6d 75 6c 74 69 63 6f |ue} &...|\multico|
|00001fc0| 6c 75 6d 6e 7b 31 7d 7b | 7c 63 7c 7d 7b 5c 62 66 |lumn{1}{||c|}{\bf|
|00001fd0| 20 4d 65 61 6e 69 6e 67 | 7d 20 5c 5c 0a 5c 68 6c | Meaning|} \\.\hl|
|00001fe0| 69 6e 65 0a 09 5c 74 74 | 20 54 52 55 45 20 26 09 |ine..\tt| TRUE &.|
|00001ff0| 54 68 65 20 6d 65 73 73 | 61 67 65 20 68 61 73 20 |The mess|age has |
|00002000| 62 65 65 6e 20 64 65 6c | 69 76 65 72 65 64 20 5c |been del|ivered \|
|00002010| 5c 0a 09 5c 74 74 20 4f | 4b 20 26 09 54 68 65 20 |\..\tt O|K &.The |
|00002020| 73 61 6d 65 20 61 73 20 | 61 62 6f 76 65 20 5c 5c |same as |above \\|
|00002030| 0a 09 5c 74 74 20 46 41 | 4c 53 45 20 26 09 54 68 |..\tt FA|LSE &.Th|
|00002040| 65 20 6d 65 73 73 61 67 | 65 20 68 61 73 20 6e 6f |e messag|e has no|
|00002050| 74 20 62 65 65 6e 20 64 | 65 6c 69 76 65 72 65 64 |t been d|elivered|
|00002060| 20 5c 5c 0a 09 5c 74 74 | 20 50 45 52 4d 46 41 49 | \\..\tt| PERMFAI|
|00002070| 4c 20 26 09 54 68 65 20 | 6d 65 73 73 61 67 65 20 |L &.The |message |
|00002080| 68 61 73 20 70 65 72 6d | 61 6e 65 6e 74 6c 79 20 |has perm|anently |
|00002090| 66 61 69 6c 65 64 20 74 | 6f 20 62 65 20 64 65 6c |failed t|o be del|
|000020a0| 69 76 65 72 65 64 2e 0a | 09 09 09 41 20 64 65 6c |ivered..|...A del|
|000020b0| 69 76 65 72 79 20 72 65 | 70 6f 72 74 20 73 68 6f |ivery re|port sho|
|000020c0| 75 6c 64 20 62 65 20 73 | 65 6e 74 20 62 61 63 6b |uld be s|ent back|
|000020d0| 20 69 66 20 72 65 71 75 | 69 72 65 64 2e 5c 5c 0a | if requ|ired.\\.|
|000020e0| 09 5c 74 74 20 54 45 4d | 50 46 41 49 4c 20 26 09 |.\tt TEM|PFAIL &.|
|000020f0| 54 68 65 20 6d 65 73 73 | 61 67 65 20 68 61 73 20 |The mess|age has |
|00002100| 66 61 69 6c 65 64 20 74 | 6f 20 62 65 20 64 65 6c |failed t|o be del|
|00002110| 69 76 65 72 65 64 20 66 | 6f 72 0a 09 09 09 73 6f |ivered f|or....so|
|00002120| 6d 65 20 74 65 6d 70 6f | 72 61 72 79 20 72 65 61 |me tempo|rary rea|
|00002130| 73 6f 6e 2e 20 41 6e 6f | 74 68 65 72 20 61 74 74 |son. Ano|ther att|
|00002140| 65 6d 70 74 20 6d 61 79 | 0a 09 09 09 73 75 63 63 |empt may|....succ|
|00002150| 65 65 64 2e 20 5c 5c 0a | 5c 68 6c 69 6e 65 0a 5c |eed. \\.|\hline.\|
|00002160| 65 6e 64 7b 74 61 62 75 | 6c 61 72 7d 5c 5d 09 0a |end{tabu|lar}\]..|
|00002170| 0a 54 68 69 73 20 6d 61 | 79 20 62 65 20 75 73 65 |.This ma|y be use|
|00002180| 64 20 69 6e 20 63 6f 6e | 64 69 74 69 6f 6e 61 6c |d in con|ditional|
|00002190| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 20 74 6f 20 | express|ions to |
|000021a0| 74 65 73 74 20 66 6f 72 | 20 64 65 6c 69 76 65 72 |test for| deliver|
|000021b0| 79 2c 20 6f 72 0a 69 6e | 20 65 78 70 72 65 73 73 |y, or.in| express|
|000021c0| 69 6f 6e 73 20 74 6f 20 | 72 65 73 65 74 20 74 68 |ions to |reset th|
|000021d0| 65 20 64 65 6c 69 76 65 | 72 79 20 73 74 61 74 65 |e delive|ry state|
|000021e0| 2e 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 3a 0a 0a |. For ex|ample:..|
|000021f0| 5c 62 65 67 69 6e 7b 71 | 75 6f 74 65 7d 5c 73 6d |\begin{q|uote}\sm|
|00002200| 61 6c 6c 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |all\begi|n{verbat|
|00002210| 69 6d 7d 0a 69 66 20 28 | 20 64 65 6c 69 76 65 72 |im}.if (| deliver|
|00002220| 65 64 20 3d 3d 20 46 41 | 4c 53 45 29 20 66 69 6c |ed == FA|LSE) fil|
|00002230| 65 20 22 66 6f 6f 22 3b | 0a 0a 69 66 20 28 20 64 |e "foo";|..if ( d|
|00002240| 65 6c 69 76 65 72 65 64 | 20 21 3d 20 54 52 55 45 |elivered| != TRUE|
|00002250| 20 29 20 66 69 6c 65 20 | 22 62 61 72 22 3b 0a 0a | ) file |"bar";..|
|00002260| 23 20 49 66 20 6e 6f 74 | 20 64 65 6c 69 76 65 72 |# If not| deliver|
|00002270| 65 64 20 2d 20 72 65 6a | 65 63 74 20 74 68 65 20 |ed - rej|ect the |
|00002280| 6d 65 73 73 61 67 65 0a | 69 66 20 28 20 64 65 6c |message.|if ( del|
|00002290| 69 76 65 72 65 64 20 3d | 3d 20 46 41 4c 53 45 29 |ivered =|= FALSE)|
|000022a0| 20 64 65 6c 69 76 65 72 | 65 64 20 3d 20 50 45 52 | deliver|ed = PER|
|000022b0| 4d 46 41 49 4c 3b 0a 5c | 65 6e 64 7b 76 65 72 62 |MFAIL;.\|end{verb|
|000022c0| 61 74 69 6d 7d 5c 65 6e | 64 7b 71 75 6f 74 65 7d |atim}\en|d{quote}|
|000022d0| 0a 0a 41 6e 6f 74 68 65 | 72 20 73 79 73 74 65 6d |..Anothe|r system|
|000022e0| 20 74 79 70 65 20 76 61 | 72 69 61 62 6c 65 20 69 | type va|riable i|
|000022f0| 73 20 5c 76 65 72 62 2b | 50 41 54 48 2b 5c 69 6e |s \verb+|PATH+\in|
|00002300| 64 65 78 7b 50 41 54 48 | 7d 2e 20 49 66 20 74 68 |dex{PATH|}. If th|
|00002310| 69 73 0a 76 61 72 69 61 | 62 6c 65 20 69 73 20 61 |is.varia|ble is a|
|00002320| 73 73 69 67 6e 65 64 20 | 61 20 76 61 6c 75 65 2c |ssigned |a value,|
|00002330| 20 74 68 65 6e 20 69 74 | 20 69 73 20 70 6c 61 63 | then it| is plac|
|00002340| 65 64 20 69 6e 20 74 68 | 65 20 65 6e 76 69 72 6f |ed in th|e enviro|
|00002350| 6e 6d 65 6e 74 20 61 73 | 20 74 68 65 0a 64 65 66 |nment as| the.def|
|00002360| 61 75 6c 74 20 70 61 74 | 68 2e 20 54 68 69 73 20 |ault pat|h. This |
|00002370| 69 73 20 75 73 65 64 20 | 74 6f 20 73 65 61 72 63 |is used |to searc|
|00002380| 68 20 66 6f 72 20 63 6f | 6d 6d 61 6e 64 73 20 77 |h for co|mmands w|
|00002390| 68 65 6e 20 65 78 65 63 | 75 74 69 6e 67 0a 5c 76 |hen exec|uting.\v|
|000023a0| 65 72 62 7c 70 69 70 65 | 7c 20 63 6f 6d 6d 61 6e |erb|pipe|| comman|
|000023b0| 64 73 2e 20 49 74 20 69 | 73 20 69 6e 69 74 69 61 |ds. It i|s initia|
|000023c0| 6c 6c 79 20 73 65 74 20 | 74 6f 20 6e 6f 74 68 69 |lly set |to nothi|
|000023d0| 6e 67 20 61 6e 64 20 74 | 68 65 20 75 73 65 72 27 |ng and t|he user'|
|000023e0| 73 20 73 68 65 6c 6c 0a | 64 65 66 61 75 6c 74 20 |s shell.|default |
|000023f0| 73 65 61 72 63 68 20 70 | 61 74 68 20 69 73 20 75 |search p|ath is u|
|00002400| 73 65 64 2e 20 0a 0a 4e | 6f 74 65 3a 20 54 68 69 |sed. ..N|ote: Thi|
|00002410| 73 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 6e 6f |s variab|le is no|
|00002420| 74 20 75 73 65 64 20 69 | 66 20 74 68 65 20 38 32 |t used i|f the 82|
|00002430| 32 2d 6c 6f 63 61 6c 20 | 63 68 61 6e 6e 65 6c 20 |2-local |channel |
|00002440| 69 73 20 63 6f 6e 66 69 | 67 75 72 65 64 0a 69 6e |is confi|gured.in|
|00002450| 20 72 65 73 74 72 69 63 | 74 65 64 20 6d 6f 64 65 | restric|ted mode|
|00002460| 2e 0a 0a 54 68 65 20 73 | 65 63 6f 6e 64 20 63 6c |...The s|econd cl|
|00002470| 61 73 73 20 6f 66 20 76 | 61 72 69 61 62 6c 65 73 |ass of v|ariables|
|00002480| 2c 20 77 68 69 63 68 20 | 61 72 65 20 6d 6f 72 65 |, which |are more|
|00002490| 20 75 73 65 66 75 6c 20 | 66 6f 72 20 61 75 74 6f | useful |for auto|
|000024a0| 6d 61 74 69 63 0a 66 69 | 6c 69 6e 67 20 61 6e 64 |matic.fi|ling and|
|000024b0| 20 64 65 6c 69 76 65 72 | 79 2c 20 61 72 65 20 74 | deliver|y, are t|
|000024c0| 68 65 20 76 61 72 69 61 | 62 6c 65 73 20 64 65 72 |he varia|bles der|
|000024d0| 69 76 65 64 20 66 72 6f | 6d 20 74 68 65 20 6d 65 |ived fro|m the me|
|000024e0| 73 73 61 67 65 73 0a 68 | 65 61 64 65 72 2e 20 54 |ssages.h|eader. T|
|000024f0| 68 65 73 65 20 76 61 72 | 69 61 62 6c 65 73 20 65 |hese var|iables e|
|00002500| 76 61 6c 75 61 74 65 20 | 74 6f 20 74 68 65 20 63 |valuate |to the c|
|00002510| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 65 20 70 |ontents |of the p|
|00002520| 61 72 74 69 63 75 6c 61 | 72 0a 66 69 65 6c 64 2c |articula|r.field,|
|00002530| 20 6f 72 20 74 6f 20 74 | 68 65 20 6e 75 6c 6c 20 | or to t|he null |
|00002540| 73 74 72 69 6e 67 20 69 | 66 20 74 68 65 72 65 20 |string i|f there |
|00002550| 69 73 20 6e 6f 20 73 75 | 63 68 20 76 61 72 69 61 |is no su|ch varia|
|00002560| 62 6c 65 2e 20 20 54 68 | 65 73 65 0a 76 61 72 69 |ble. Th|ese.vari|
|00002570| 61 62 6c 65 73 20 63 61 | 6e 20 62 65 20 63 6f 6d |ables ca|n be com|
|00002580| 70 61 72 65 64 20 61 67 | 61 69 6e 73 74 20 71 75 |pared ag|ainst qu|
|00002590| 6f 74 65 64 20 73 74 72 | 69 6e 67 73 2c 20 62 75 |oted str|ings, bu|
|000025a0| 74 20 73 75 63 68 20 75 | 73 61 67 65 20 69 73 0a |t such u|sage is.|
|000025b0| 6e 6f 74 20 67 65 6e 65 | 72 61 6c 6c 79 20 75 73 |not gene|rally us|
|000025c0| 65 66 75 6c 2e 20 53 75 | 63 68 20 63 6f 6d 70 61 |eful. Su|ch compa|
|000025d0| 72 69 73 6f 6e 73 20 72 | 65 71 75 69 72 65 20 65 |risons r|equire e|
|000025e0| 78 61 63 74 20 6d 61 74 | 63 68 65 73 20 69 6e 63 |xact mat|ches inc|
|000025f0| 6c 75 64 69 6e 67 0a 77 | 68 69 74 65 20 73 70 61 |luding.w|hite spa|
|00002600| 63 65 20 77 69 74 68 20 | 74 68 65 20 65 78 63 65 |ce with |the exce|
|00002610| 70 74 69 6f 6e 20 6f 66 | 20 6c 65 74 74 65 72 20 |ption of| letter |
|00002620| 63 61 73 65 20 20 6e 6f | 74 20 62 65 69 6e 67 20 |case no|t being |
|00002630| 20 73 69 67 6e 69 66 69 | 63 61 6e 74 2e 0a 54 68 | signifi|cant..Th|
|00002640| 65 73 65 20 76 61 72 69 | 61 62 6c 65 73 20 61 72 |ese vari|ables ar|
|00002650| 65 20 64 69 73 74 69 6e | 67 75 69 73 68 65 64 20 |e distin|guished |
|00002660| 62 79 20 61 6c 77 61 79 | 73 20 73 74 61 72 74 69 |by alway|s starti|
|00002670| 6e 67 20 77 69 74 68 20 | 61 20 64 6f 6c 6c 61 72 |ng with |a dollar|
|00002680| 0a 73 79 6d 62 6f 6c 20 | 28 60 60 5c 76 65 72 62 |.symbol |(``\verb|
|00002690| 2b 24 2b 27 27 29 20 66 | 6f 6c 6c 6f 77 65 64 20 |+$+'') f|ollowed |
|000026a0| 62 79 20 74 68 65 20 66 | 69 65 6c 64 20 6e 61 6d |by the f|ield nam|
|000026b0| 65 20 69 6e 20 70 61 72 | 65 6e 74 68 65 73 65 73 |e in par|entheses|
|000026c0| 2e 20 28 65 2e 67 2e 2c | 0a 5c 76 65 72 62 2b 24 |. (e.g.,|.\verb+$|
|000026d0| 28 74 6f 29 2b 20 6f 72 | 20 5c 76 65 72 62 2b 24 |(to)+ or| \verb+$|
|000026e0| 28 66 72 6f 6d 29 2b 29 | 2e 0a 0a 4d 75 63 68 20 |(from)+)|...Much |
|000026f0| 6d 6f 72 65 20 75 73 65 | 66 75 6c 20 69 73 20 63 |more use|ful is c|
|00002700| 6f 6d 70 61 72 69 73 6f | 6e 20 61 67 61 69 6e 73 |ompariso|n agains|
|00002710| 74 20 61 20 72 65 67 75 | 6c 61 72 0a 65 78 70 72 |t a regu|lar.expr|
|00002720| 65 73 73 69 6f 6e 5c 69 | 6e 64 65 78 7b 72 65 67 |ession\i|ndex{reg|
|00002730| 75 6c 61 72 20 65 78 70 | 72 65 73 73 69 6f 6e 73 |ular exp|ressions|
|00002740| 7d 2e 20 54 68 65 20 72 | 65 67 75 6c 61 72 0a 5c |}. The r|egular.\|
|00002750| 6c 69 6e 65 62 72 65 61 | 6b 5b 33 5d 65 78 70 72 |linebrea|k[3]expr|
|00002760| 65 73 73 69 6f 6e 73 20 | 75 73 65 64 0a 61 72 65 |essions |used.are|
|00002770| 20 74 68 6f 73 65 20 69 | 6e 20 5c 6d 61 6e 20 72 | those i|n \man r|
|00002780| 65 67 65 78 70 20 28 33 | 29 2e 20 54 68 65 73 65 |egexp (3|). These|
|00002790| 20 6d 61 74 63 68 20 61 | 67 61 69 6e 73 74 20 73 | match a|gainst s|
|000027a0| 75 62 73 74 72 69 6e 67 | 73 0a 6f 66 20 74 68 65 |ubstring|s.of the|
|000027b0| 20 66 69 65 6c 64 73 20 | 62 79 20 64 65 66 61 75 | fields |by defau|
|000027c0| 6c 74 20 61 6e 64 20 6d | 6f 72 65 20 63 6f 6d 70 |lt and m|ore comp|
|000027d0| 6c 65 78 20 70 61 74 74 | 65 72 6e 73 20 63 61 6e |lex patt|erns can|
|000027e0| 20 62 65 20 62 75 69 6c | 74 20 75 70 2e 0a 52 65 | be buil|t up..Re|
|000027f0| 67 75 6c 61 72 20 65 78 | 70 72 65 73 73 69 6f 6e |gular ex|pression|
|00002800| 73 20 6d 75 73 74 20 61 | 6c 77 61 79 73 20 61 70 |s must a|lways ap|
|00002810| 70 65 61 72 20 6f 6e 20 | 74 68 65 20 72 69 67 68 |pear on |the righ|
|00002820| 74 20 68 61 6e 64 20 73 | 69 64 65 20 6f 66 20 74 |t hand s|ide of t|
|00002830| 68 65 0a 65 78 70 72 65 | 73 73 69 6f 6e 20 61 6e |he.expre|ssion an|
|00002840| 64 20 61 72 65 20 64 65 | 6c 69 6d 69 74 65 64 20 |d are de|limited |
|00002850| 62 79 20 73 6c 61 73 68 | 20 6d 61 72 6b 73 20 28 |by slash| marks (|
|00002860| 60 60 5c 76 65 72 62 2b | 2f 2b 27 27 29 2e 20 41 |``\verb+|/+''). A|
|00002870| 6e 20 65 78 61 6d 70 6c | 65 0a 6f 66 20 73 75 63 |n exampl|e.of suc|
|00002880| 68 20 75 73 61 67 65 20 | 73 68 6f 77 73 20 74 68 |h usage |shows th|
|00002890| 65 20 72 65 61 6c 20 70 | 6f 77 65 72 20 6f 66 20 |e real p|ower of |
|000028a0| 74 68 65 20 5c 66 69 6c | 65 7b 2e 6d 61 69 6c 66 |the \fil|e{.mailf|
|000028b0| 69 6c 74 65 72 7d 20 66 | 69 6c 65 3a 0a 0a 5c 62 |ilter} f|ile:..\b|
|000028c0| 65 67 69 6e 7b 71 75 6f | 74 65 7d 5c 73 6d 61 6c |egin{quo|te}\smal|
|000028d0| 6c 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |l\begin{|verbatim|
|000028e0| 7d 0a 69 66 20 28 20 24 | 28 66 72 6f 6d 29 20 3d |}.if ( $|(from) =|
|000028f0| 3d 20 2f 6e 61 6d 65 64 | 72 6f 70 70 65 72 73 2f |= /named|roppers/|
|00002900| 20 7c 7c 0a 20 20 20 20 | 20 24 28 66 72 6f 6d 29 | ||. | $(from)|
|00002910| 20 3d 3d 20 2f 62 69 6e | 64 2f 29 20 70 69 70 65 | == /bin|d/) pipe|
|00002920| 20 22 72 63 76 73 74 6f | 72 65 20 2b 6d 61 69 6c | "rcvsto|re +mail|
|00002930| 61 64 6d 69 6e 22 3b 0a | 65 6c 73 65 20 70 69 70 |admin";.|else pip|
|00002940| 65 20 22 72 63 76 73 74 | 6f 72 65 20 2b 69 6e 62 |e "rcvst|ore +inb|
|00002950| 6f 78 22 3b 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |ox";.\en|d{verbat|
|00002960| 69 6d 7d 5c 65 6e 64 7b | 71 75 6f 74 65 7d 0a 0a |im}\end{|quote}..|
|00002970| 46 69 6e 61 6c 6c 79 2c | 20 74 68 65 72 65 20 61 |Finally,| there a|
|00002980| 72 65 20 73 6f 6d 65 20 | 76 61 72 69 61 62 6c 65 |re some |variable|
|00002990| 73 20 74 68 61 74 20 6d | 61 79 20 61 70 70 65 61 |s that m|ay appea|
|000029a0| 72 20 74 6f 20 62 65 20 | 68 65 61 64 65 72 20 66 |r to be |header f|
|000029b0| 69 65 6c 64 73 0a 62 75 | 74 20 77 68 69 63 68 20 |ields.bu|t which |
|000029c0| 61 72 65 20 61 63 74 75 | 61 6c 6c 79 20 64 65 72 |are actu|ally der|
|000029d0| 69 76 65 64 20 66 72 6f | 6d 20 6f 74 68 65 72 20 |ived fro|m other |
|000029e0| 73 6f 75 72 63 65 73 2e | 20 54 68 65 73 65 20 61 |sources.| These a|
|000029f0| 72 65 3a 0a 5c 5b 5c 62 | 65 67 69 6e 7b 74 61 62 |re:.\[\b|egin{tab|
|00002a00| 75 6c 61 72 7d 7b 6c 20 | 6c 7d 0a 09 5c 74 74 20 |ular}{l |l}..\tt |
|00002a10| 73 69 7a 65 09 26 20 54 | 68 65 20 73 69 7a 65 20 |size.& T|he size |
|00002a20| 6f 66 20 74 68 65 20 6d | 65 73 73 61 67 65 20 69 |of the m|essage i|
|00002a30| 6e 20 62 79 74 65 73 20 | 61 73 20 61 20 73 74 72 |n bytes |as a str|
|00002a40| 69 6e 67 2e 5c 5c 0a 09 | 5c 74 74 20 72 65 74 75 |ing.\\..|\tt retu|
|00002a50| 72 6e 2d 70 61 74 68 09 | 26 20 54 68 65 20 6f 72 |rn-path.|& The or|
|00002a60| 69 67 69 6e 61 6c 20 73 | 65 6e 64 65 72 20 6f 66 |iginal s|ender of|
|00002a70| 20 74 68 65 20 6d 65 73 | 73 61 67 65 2e 5c 5c 0a | the mes|sage.\\.|
|00002a80| 09 5c 74 74 20 6d 61 69 | 6c 62 6f 78 09 26 20 54 |.\tt mai|lbox.& T|
|00002a90| 68 65 20 6d 61 69 6c 62 | 6f 78 20 66 69 6c 65 20 |he mailb|ox file |
|00002aa0| 61 73 73 6f 63 69 61 74 | 65 64 20 77 69 74 68 20 |associat|ed with |
|00002ab0| 74 68 69 73 20 75 73 65 | 72 2e 5c 5c 0a 09 5c 74 |this use|r.\\..\t|
|00002ac0| 74 20 72 65 63 69 70 69 | 65 6e 74 09 26 20 54 68 |t recipi|ent.& Th|
|00002ad0| 65 20 61 64 64 72 65 73 | 73 20 6f 66 20 74 68 69 |e addres|s of thi|
|00002ae0| 73 20 72 65 63 69 70 69 | 65 6e 74 2e 5c 5c 0a 09 |s recipi|ent.\\..|
|00002af0| 5c 74 74 20 75 73 65 72 | 69 64 09 26 20 45 69 74 |\tt user|id.& Eit|
|00002b00| 68 65 72 20 74 68 65 20 | 75 73 65 72 6e 61 6d 65 |her the |username|
|00002b10| 20 6f 72 20 75 73 65 72 | 69 64 20 6f 66 20 74 68 | or user|id of th|
|00002b20| 69 73 0a 72 65 63 69 70 | 69 65 6e 74 2e 5c 5c 0a |is.recip|ient.\\.|
|00002b30| 09 5c 74 74 20 67 72 6f | 75 70 69 64 09 26 20 54 |.\tt gro|upid.& T|
|00002b40| 68 65 20 67 72 6f 75 70 | 20 69 64 20 6f 66 20 74 |he group| id of t|
|00002b50| 68 69 73 20 72 65 63 69 | 70 69 65 6e 74 2e 5c 5c |his reci|pient.\\|
|00002b60| 0a 09 5c 74 74 20 63 68 | 61 6e 6e 65 6c 6e 61 6d |..\tt ch|annelnam|
|00002b70| 65 09 26 20 54 68 65 20 | 6e 61 6d 65 20 6f 66 20 |e.& The |name of |
|00002b80| 74 68 69 73 20 64 65 6c | 69 76 65 72 79 20 63 68 |this del|ivery ch|
|00002b90| 61 6e 6e 65 6c 2e 5c 5c | 0a 09 5c 74 74 20 68 6f |annel.\\|..\tt ho|
|00002ba0| 73 74 6e 61 6d 65 09 26 | 20 54 68 65 20 6e 61 6d |stname.&| The nam|
|00002bb0| 65 20 6f 66 20 74 68 65 | 20 68 6f 73 74 2e 5c 5c |e of the| host.\\|
|00002bc0| 0a 5c 65 6e 64 7b 74 61 | 62 75 6c 61 72 7d 5c 5d |.\end{ta|bular}\]|
|00002bd0| 09 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |...\subs|ubsectio|
|00002be0| 6e 7b 4f 74 68 65 72 20 | 46 65 61 74 75 72 65 73 |n{Other |Features|
|00002bf0| 7d 0a 0a 54 68 65 72 65 | 20 61 72 65 20 61 20 66 |}..There| are a f|
|00002c00| 65 77 20 6f 74 68 65 72 | 20 66 65 61 74 75 72 65 |ew other| feature|
|00002c10| 73 20 74 68 61 74 20 63 | 61 6e 20 62 65 20 75 73 |s that c|an be us|
|00002c20| 65 64 20 69 6e 20 74 68 | 65 0a 5c 66 69 6c 65 7b |ed in th|e.\file{|
|00002c30| 2e 6d 61 69 6c 66 69 6c | 74 65 72 7d 20 66 69 6c |.mailfil|ter} fil|
|00002c40| 65 2e 20 54 68 65 73 65 | 20 61 72 65 20 73 75 6d |e. These| are sum|
|00002c50| 6d 61 72 69 73 65 64 20 | 62 65 6c 6f 77 3a 0a 0a |marised |below:..|
|00002c60| 5c 62 65 67 69 6e 7b 64 | 65 73 63 72 69 62 65 7d |\begin{d|escribe}|
|00002c70| 0a 5c 69 74 65 6d 5b 5c | 76 65 72 62 7c 65 78 69 |.\item[\|verb|exi|
|00002c80| 74 7c 3a 5d 09 54 68 69 | 73 5c 69 6e 64 65 78 7b |t|:].Thi|s\index{|
|00002c90| 65 78 69 74 7d 20 73 74 | 61 74 65 6d 65 6e 74 20 |exit} st|atement |
|00002ca0| 65 78 69 74 73 20 74 68 | 65 0a 70 72 6f 63 65 73 |exits th|e.proces|
|00002cb0| 73 69 6e 67 20 6f 66 20 | 74 68 65 20 5c 66 69 6c |sing of |the \fil|
|00002cc0| 65 7b 2e 6d 61 69 6c 66 | 69 6c 74 65 72 7d 20 66 |e{.mailf|ilter} f|
|00002cd0| 69 6c 65 2e 20 57 69 74 | 68 20 6e 6f 20 61 72 67 |ile. Wit|h no arg|
|00002ce0| 75 6d 65 6e 74 20 69 74 | 20 65 78 69 74 73 0a 77 |ument it| exits.w|
|00002cf0| 69 74 68 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ith the |current |
|00002d00| 76 61 6c 75 65 20 6f 66 | 20 74 68 65 20 5c 76 65 |value of| the \ve|
|00002d10| 72 62 7c 64 65 6c 69 76 | 65 72 65 64 7c 20 76 61 |rb|deliv|ered| va|
|00002d20| 72 69 61 62 6c 65 2e 20 | 49 66 20 61 6e 0a 61 72 |riable. |If an.ar|
|00002d30| 67 75 6d 65 6e 74 20 69 | 73 20 67 69 76 65 6e 2c |gument i|s given,|
|00002d40| 20 74 68 65 6e 20 74 68 | 61 74 20 69 73 20 74 61 | then th|at is ta|
|00002d50| 6b 65 6e 20 61 73 20 74 | 68 65 20 73 75 63 63 65 |ken as t|he succe|
|00002d60| 73 73 20 6f 72 20 66 61 | 69 6c 75 72 65 20 6f 66 |ss or fa|ilure of|
|00002d70| 20 74 68 65 0a 5c 6c 69 | 6e 65 62 72 65 61 6b 5b | the.\li|nebreak[|
|00002d80| 33 5d 64 65 6c 69 76 65 | 72 79 20 61 74 74 65 6d |3]delive|ry attem|
|00002d90| 70 74 2e 20 54 68 65 20 | 61 72 67 75 6d 65 6e 74 |pt. The |argument|
|00002da0| 20 73 68 6f 75 6c 64 20 | 62 65 20 6f 6e 65 20 6f | should |be one o|
|00002db0| 66 20 5c 76 65 72 62 7c | 4f 4b 7c 2c 0a 5c 76 65 |f \verb||OK|,.\ve|
|00002dc0| 72 62 7c 54 45 4d 50 46 | 41 49 4c 7c 2c 20 5c 76 |rb|TEMPF|AIL|, \v|
|00002dd0| 65 72 62 7c 50 45 52 4d | 46 41 49 4c 7c 20 6f 72 |erb|PERM|FAIL| or|
|00002de0| 20 61 20 76 61 72 69 61 | 62 6c 65 20 74 68 61 74 | a varia|ble that|
|00002df0| 20 65 76 61 6c 75 61 74 | 65 73 20 74 6f 20 6f 6e | evaluat|es to on|
|00002e00| 65 0a 6f 66 20 74 68 65 | 73 65 2e 0a 0a 5c 69 74 |e.of the|se...\it|
|00002e10| 65 6d 5b 5c 76 65 72 62 | 7c 70 72 69 6e 74 7c 3a |em[\verb||print|:|
|00002e20| 5d 09 4e 6f 72 6d 61 6c | 6c 79 2c 20 74 68 69 73 |].Normal|ly, this|
|00002e30| 5c 69 6e 64 65 78 7b 70 | 72 69 6e 74 7d 20 73 74 |\index{p|rint} st|
|00002e40| 61 74 65 6d 65 6e 74 20 | 64 6f 65 73 20 6e 6f 74 |atement |does not|
|00002e50| 68 69 6e 67 0a 61 6e 64 | 20 69 73 20 69 67 6e 6f |hing.and| is igno|
|00002e60| 72 65 64 2e 20 48 6f 77 | 65 76 65 72 20 77 68 65 |red. How|ever whe|
|00002e70| 6e 20 72 75 6e 6e 69 6e | 67 20 74 68 65 20 63 68 |n runnin|g the ch|
|00002e80| 65 63 6b 69 6e 67 20 70 | 72 6f 67 72 61 6d 2c 20 |ecking p|rogram, |
|00002e90| 69 74 0a 77 69 6c 6c 20 | 65 63 68 6f 20 69 74 73 |it.will |echo its|
|00002ea0| 20 61 72 67 75 6d 65 6e | 74 73 20 6f 6e 20 74 68 | argumen|ts on th|
|00002eb0| 65 20 73 74 61 6e 64 61 | 72 64 20 6f 75 74 70 75 |e standa|rd outpu|
|00002ec0| 74 2e 20 54 68 69 73 20 | 6d 61 79 20 62 65 20 75 |t. This |may be u|
|00002ed0| 73 65 66 75 6c 20 69 6e | 0a 64 65 62 75 67 67 69 |seful in|.debuggi|
|00002ee0| 6e 67 2e 0a 0a 5c 69 74 | 65 6d 5b 5c 76 65 72 62 |ng...\it|em[\verb|
|00002ef0| 7c 5c 23 7c 3a 5d 09 54 | 68 69 73 5c 69 6e 64 65 ||\#|:].T|his\inde|
|00002f00| 78 7b 5c 23 7d 5c 69 6e | 64 65 78 7b 63 6f 6d 6d |x{\#}\in|dex{comm|
|00002f10| 65 6e 74 7d 20 73 79 6d | 62 6f 6c 20 73 74 61 72 |ent} sym|bol star|
|00002f20| 74 73 20 61 0a 63 6f 6d | 6d 65 6e 74 2c 20 77 68 |ts a.com|ment, wh|
|00002f30| 69 63 68 20 66 69 6e 69 | 73 68 65 73 20 61 74 20 |ich fini|shes at |
|00002f40| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 6c |the end |of the l|
|00002f50| 69 6e 65 2e 0a 0a 5c 65 | 6e 64 7b 64 65 73 63 72 |ine...\e|nd{descr|
|00002f60| 69 62 65 7d 0a 0a 5c 73 | 75 62 73 65 63 74 69 6f |ibe}..\s|ubsectio|
|00002f70| 6e 7b 45 78 61 6d 70 6c | 65 73 7d 0a 0a 54 68 65 |n{Exampl|es}..The|
|00002f80| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 61 72 65 20 73 | followi|ng are s|
|00002f90| 6f 6d 65 20 73 69 6d 70 | 6c 65 20 65 78 61 6d 70 |ome simp|le examp|
|00002fa0| 6c 65 73 20 6f 66 20 5c | 66 69 6c 65 7b 2e 6d 61 |les of \|file{.ma|
|00002fb0| 69 6c 66 69 6c 74 65 72 | 7d 20 66 69 6c 65 73 2e |ilfilter|} files.|
|00002fc0| 0a 0a 54 68 69 73 20 66 | 69 72 73 74 20 65 78 61 |..This f|irst exa|
|00002fd0| 6d 70 6c 65 20 73 68 6f | 77 73 20 6a 75 73 74 20 |mple sho|ws just |
|00002fe0| 61 20 73 69 6d 70 6c 65 | 20 64 65 6c 69 76 65 72 |a simple| deliver|
|00002ff0| 79 20 6d 61 6b 69 6e 67 | 20 75 73 65 20 6f 66 20 |y making| use of |
|00003000| 74 68 65 20 4d 48 0a 5c | 6d 61 6e 20 72 63 76 73 |the MH.\|man rcvs|
|00003010| 74 6f 72 65 20 28 31 29 | 20 75 74 69 6c 69 74 79 |tore (1)| utility|
|00003020| 3a 0a 0a 5c 62 65 67 69 | 6e 7b 71 75 6f 74 65 7d |:..\begi|n{quote}|
|00003030| 5c 73 6d 61 6c 6c 5c 62 | 65 67 69 6e 7b 76 65 72 |\small\b|egin{ver|
|00003040| 62 61 74 69 6d 7d 0a 70 | 69 70 65 20 22 72 63 76 |batim}.p|ipe "rcv|
|00003050| 73 74 6f 72 65 20 2b 69 | 6e 62 6f 78 22 3b 0a 5c |store +i|nbox";.\|
|00003060| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 5c 65 6e |end{verb|atim}\en|
|00003070| 64 7b 71 75 6f 74 65 7d | 0a 0a 54 68 65 20 6e 65 |d{quote}|..The ne|
|00003080| 78 74 20 65 78 61 6d 70 | 6c 65 20 73 68 6f 77 73 |xt examp|le shows|
|00003090| 20 73 6c 69 67 68 74 6c | 79 20 6d 6f 72 65 20 63 | slightl|y more c|
|000030a0| 6f 6d 70 6c 65 78 20 62 | 65 68 61 76 69 6f 75 72 |omplex b|ehaviour|
|000030b0| 2c 20 77 68 65 72 65 62 | 79 20 73 6f 6d 65 0a 6d |, whereb|y some.m|
|000030c0| 61 69 6c 66 69 6c 74 65 | 72 69 6e 67 20 6f 63 63 |ailfilte|ring occ|
|000030d0| 75 72 73 2c 20 61 6e 64 | 20 61 6e 20 61 6c 65 72 |urs, and| an aler|
|000030e0| 74 20 69 73 20 70 6f 73 | 74 65 64 3a 0a 5c 62 65 |t is pos|ted:.\be|
|000030f0| 67 69 6e 7b 71 75 6f 74 | 65 7d 5c 73 6d 61 6c 6c |gin{quot|e}\small|
|00003100| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00003110| 0a 69 66 20 28 24 28 74 | 6f 29 20 3d 3d 20 2f 6a |.if ($(t|o) == /j|
|00003120| 70 6f 2f 29 0a 09 70 69 | 70 65 20 22 72 63 76 73 |po/)..pi|pe "rcvs|
|00003130| 74 6f 72 65 20 2b 74 6f | 22 3b 0a 65 6c 73 65 0a |tore +to|";.else.|
|00003140| 09 70 69 70 65 20 22 72 | 63 76 73 74 6f 72 65 20 |.pipe "r|cvstore |
|00003150| 2b 69 6e 62 6f 78 22 3b | 0a 69 67 6e 6f 72 65 20 |+inbox";|.ignore |
|00003160| 70 69 70 65 20 22 66 6c | 61 67 6d 61 69 6c 20 2d |pipe "fl|agmail -|
|00003170| 73 20 24 28 73 69 7a 65 | 29 22 3b 0a 5c 65 6e 64 |s $(size|)";.\end|
|00003180| 7b 76 65 72 62 61 74 69 | 6d 7d 5c 65 6e 64 7b 71 |{verbati|m}\end{q|
|00003190| 75 6f 74 65 7d 0a 0a 41 | 20 6d 6f 72 65 20 63 6f |uote}..A| more co|
|000031a0| 6d 70 6c 65 78 20 65 78 | 61 6d 70 6c 65 20 6f 66 |mplex ex|ample of|
|000031b0| 20 61 20 5c 66 69 6c 65 | 7b 2e 6d 61 69 6c 66 69 | a \file|{.mailfi|
|000031c0| 6c 74 65 72 7d 20 66 69 | 6c 65 20 69 73 20 73 68 |lter} fi|le is sh|
|000031d0| 6f 77 6e 20 69 6e 0a 46 | 69 67 75 72 65 7e 5c 72 |own in.F|igure~\r|
|000031e0| 65 66 7b 6c 6f 63 61 6c | 3a 65 78 61 6d 70 7d 2e |ef{local|:examp}.|
|000031f0| 0a 0a 5c 74 61 67 72 69 | 6e 64 7b 6c 6f 63 61 6c |..\tagri|nd{local|
|00003200| 2d 65 78 61 6d 70 7d 7b | 45 78 61 6d 70 6c 65 20 |-examp}{|Example |
|00003210| 2e 6d 61 69 6c 66 69 6c | 74 65 72 20 46 69 6c 65 |.mailfil|ter File|
|00003220| 7d 7b 6c 6f 63 61 6c 3a | 65 78 61 6d 70 7d 0a 0a |}{local:|examp}..|
|00003230| 54 68 65 20 67 72 61 6d | 6d 61 72 20 69 73 20 73 |The gram|mar is s|
|00003240| 70 65 63 69 66 69 65 64 | 20 69 6e 20 46 69 67 75 |pecified| in Figu|
|00003250| 72 65 7e 5c 72 65 66 7b | 6d 61 69 6c 66 3a 67 72 |re~\ref{|mailf:gr|
|00003260| 61 6d 6d 65 72 7d 20 6f | 6e 0a 70 61 67 65 7e 5c |ammer} o|n.page~\|
|00003270| 70 61 67 65 72 65 66 7b | 6d 61 69 6c 66 3a 67 72 |pageref{|mailf:gr|
|00003280| 61 6d 6d 65 72 7d 2e 0a | 0a 5c 74 61 67 72 69 6e |ammer}..|.\tagrin|
|00003290| 64 7b 6c 6f 63 61 6c 2d | 62 6e 66 7d 7b 47 72 61 |d{local-|bnf}{Gra|
|000032a0| 6d 6d 61 72 20 66 6f 72 | 20 74 68 65 20 2e 6d 61 |mmar for| the .ma|
|000032b0| 69 6c 66 69 6c 74 65 72 | 20 46 69 6c 65 7d 7b 6d |ilfilter| File}{m|
|000032c0| 61 69 6c 66 3a 67 72 61 | 6d 6d 65 72 7d 0a 0a 5c |ailf:gra|mmer}..\|
|000032d0| 73 65 63 74 69 6f 6e 7b | 4d 61 69 6c 66 69 6c 74 |section{|Mailfilt|
|000032e0| 65 72 20 43 68 65 63 6b | 75 70 20 54 6f 6f 6c 7d |er Check|up Tool}|
|000032f0| 5c 69 6e 64 65 78 7b 63 | 68 65 63 6b 69 6e 67 20 |\index{c|hecking |
|00003300| 2e 6d 61 69 6c 66 69 6c | 74 65 72 7d 0a 0a 41 73 |.mailfil|ter}..As|
|00003310| 20 77 72 69 74 69 6e 67 | 20 5c 66 69 6c 65 7b 2e | writing| \file{.|
|00003320| 6d 61 69 6c 66 69 6c 74 | 65 72 7d 20 66 69 6c 65 |mailfilt|er} file|
|00003330| 73 20 63 61 6e 20 62 65 | 20 65 72 72 6f 72 20 70 |s can be| error p|
|00003340| 72 6f 6e 65 2c 20 61 20 | 74 6f 6f 6c 20 74 6f 0a |rone, a |tool to.|
|00003350| 63 68 65 63 6b 20 74 68 | 61 74 20 74 68 65 20 63 |check th|at the c|
|00003360| 6f 6e 74 65 6e 74 73 20 | 63 6f 6e 66 6f 72 6d 20 |ontents |conform |
|00003370| 74 6f 20 74 68 65 20 6c | 61 6e 67 75 61 67 65 20 |to the l|anguage |
|00003380| 69 73 20 70 72 6f 76 69 | 64 65 64 2e 20 54 68 69 |is provi|ded. Thi|
|00003390| 73 20 69 73 0a 69 6e 76 | 6f 6b 65 64 20 77 69 74 |s is.inv|oked wit|
|000033a0| 68 20 61 20 67 69 76 65 | 6e 20 66 69 6c 65 6e 61 |h a give|n filena|
|000033b0| 6d 65 20 61 6e 64 20 61 | 20 6d 65 73 73 61 67 65 |me and a| message|
|000033c0| 20 6f 6e 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | on the |standard|
|000033d0| 20 69 6e 70 75 74 2e 20 | 54 68 65 0a 66 69 6c 65 | input. |The.file|
|000033e0| 20 69 73 20 70 61 72 73 | 65 64 20 61 6e 64 20 74 | is pars|ed and t|
|000033f0| 68 65 6e 20 69 6e 74 65 | 72 70 72 65 74 65 64 20 |hen inte|rpreted |
|00003400| 61 6e 64 20 74 68 65 20 | 61 63 74 69 6f 6e 73 20 |and the |actions |
|00003410| 61 70 70 72 6f 70 72 69 | 61 74 65 20 66 6f 72 0a |appropri|ate for.|
|00003420| 74 68 65 20 67 69 76 65 | 6e 20 6d 65 73 73 61 67 |the give|n messag|
|00003430| 65 20 61 72 65 20 69 6e | 64 69 63 61 74 65 64 2e |e are in|dicated.|
|00003440| 0a 0a 5c 62 65 67 69 6e | 7b 71 75 6f 74 65 7d 5c |..\begin|{quote}\|
|00003450| 73 6d 61 6c 6c 5c 62 65 | 67 69 6e 7b 76 65 72 62 |small\be|gin{verb|
|00003460| 61 74 69 6d 7d 0a 63 6b | 6d 66 20 7e 2f 2e 6d 61 |atim}.ck|mf ~/.ma|
|00003470| 69 6c 66 69 6c 74 65 72 | 20 3c 20 6d 73 67 0a 5c |ilfilter| < msg.\|
|00003480| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 5c 65 6e |end{verb|atim}\en|
|00003490| 64 7b 71 75 6f 74 65 7d | 0a 0a 49 74 20 69 73 20 |d{quote}|..It is |
|000034a0| 7b 5c 65 6d 20 73 74 72 | 6f 6e 67 6c 79 7d 20 72 |{\em str|ongly} r|
|000034b0| 65 63 6f 6d 6d 65 6e 64 | 65 64 20 74 68 61 74 20 |ecommend|ed that |
|000034c0| 79 6f 75 20 63 68 65 63 | 6b 20 79 6f 75 72 0a 5c |you chec|k your.\|
|000034d0| 66 69 6c 65 7b 2e 6d 61 | 69 6c 66 69 6c 74 65 72 |file{.ma|ilfilter|
|000034e0| 7d 20 66 69 6c 65 20 65 | 61 63 68 20 74 69 6d 65 |} file e|ach time|
|000034f0| 20 69 74 20 69 73 20 6d | 6f 64 69 66 69 65 64 2e | it is m|odified.|
|00003500| 0a 54 68 69 73 20 77 69 | 6c 6c 20 63 65 72 74 61 |.This wi|ll certa|
|00003510| 69 6e 6c 79 20 70 69 63 | 6b 20 6f 75 74 20 73 79 |inly pic|k out sy|
|00003520| 6e 74 61 78 20 65 72 72 | 6f 72 73 20 61 6e 64 20 |ntax err|ors and |
|00003530| 74 68 65 20 6c 69 6b 65 | 2c 20 68 6f 77 65 76 65 |the like|, howeve|
|00003540| 72 20 69 74 0a 77 69 6c | 6c 20 6e 6f 74 20 64 69 |r it.wil|l not di|
|00003550| 73 63 6f 76 65 72 20 65 | 72 72 6f 72 73 20 73 75 |scover e|rrors su|
|00003560| 63 68 20 61 73 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ch as th|e follow|
|00003570| 69 6e 67 20 77 68 69 63 | 68 20 6d 61 79 20 62 65 |ing whic|h may be|
|00003580| 20 63 6f 6d 6d 6f 6e 0a | 63 61 75 73 65 73 20 6f | common.|causes o|
|00003590| 66 20 70 72 6f 62 6c 65 | 6d 73 3a 0a 5c 62 65 67 |f proble|ms:.\beg|
|000035a0| 69 6e 7b 69 74 65 6d 69 | 7a 65 7d 0a 5c 70 61 67 |in{itemi|ze}.\pag|
|000035b0| 65 62 72 65 61 6b 5b 33 | 5d 0a 5c 69 74 65 6d 09 |ebreak[3|].\item.|
|000035c0| 55 6e 61 62 6c 65 20 74 | 6f 20 66 69 6e 64 20 74 |Unable t|o find t|
|000035d0| 68 65 20 70 72 6f 67 72 | 61 6d 20 74 6f 20 62 65 |he progr|am to be|
|000035e0| 20 72 75 6e 20 28 6e 6f | 74 20 69 6e 20 73 65 61 | run (no|t in sea|
|000035f0| 72 63 68 20 70 61 74 68 | 29 2e 0a 5c 69 74 65 6d |rch path|)..\item|
|00003600| 09 54 68 65 20 70 72 6f | 63 65 73 73 20 74 68 61 |.The pro|cess tha|
|00003610| 74 20 69 73 20 65 78 65 | 63 75 74 65 64 20 61 62 |t is exe|cuted ab|
|00003620| 6f 72 74 73 2e 20 54 68 | 69 73 20 6d 61 79 20 62 |orts. Th|is may b|
|00003630| 65 20 62 65 63 61 75 73 | 65 20 73 6f 6d 65 0a 74 |e becaus|e some.t|
|00003640| 68 69 6e 67 73 20 69 6e | 20 74 68 65 20 65 6e 76 |hings in| the env|
|00003650| 69 72 6f 6e 6d 65 6e 74 | 20 61 72 65 20 6d 69 73 |ironment| are mis|
|00003660| 73 69 6e 67 2e 20 49 66 | 20 74 68 69 73 20 69 73 |sing. If| this is|
|00003670| 20 74 68 65 20 63 61 73 | 65 20 69 74 20 69 73 20 | the cas|e it is |
|00003680| 62 65 73 74 0a 74 6f 20 | 77 72 61 70 20 74 68 65 |best.to |wrap the|
|00003690| 20 70 72 6f 63 65 73 73 | 20 69 6e 20 61 20 73 68 | process| in a sh|
|000036a0| 65 6c 6c 20 73 63 72 69 | 70 74 2e 20 41 6c 74 65 |ell scri|pt. Alte|
|000036b0| 72 6e 61 74 69 76 65 6c | 79 2c 20 74 68 65 20 70 |rnativel|y, the p|
|000036c0| 72 6f 63 65 73 73 20 6d | 61 79 0a 65 78 70 65 63 |rocess m|ay.expec|
|000036d0| 74 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 69 |t the st|andard i|
|000036e0| 6e 70 75 74 2f 6f 75 70 | 75 74 20 62 65 20 63 6f |nput/oup|ut be co|
|000036f0| 6e 6e 65 63 74 65 64 20 | 74 6f 20 61 20 74 65 72 |nnected |to a ter|
|00003700| 6d 69 6e 61 6c 2e 20 54 | 68 69 73 20 69 73 0a 64 |minal. T|his is.d|
|00003710| 69 66 66 69 63 75 6c 74 | 20 74 6f 20 67 65 74 20 |ifficult| to get |
|00003720| 61 72 6f 75 6e 64 2e 0a | 5c 65 6e 64 7b 69 74 65 |around..|\end{ite|
|00003730| 6d 69 7a 65 7d 0a 0a 41 | 6e 20 65 78 61 6d 70 6c |mize}..A|n exampl|
|00003740| 65 20 72 75 6e 20 6f 66 | 20 5c 70 67 6d 7b 63 6b |e run of| \pgm{ck|
|00003750| 6d 66 7d 20 6d 69 67 68 | 74 20 6c 6f 6f 6b 20 6c |mf} migh|t look l|
|00003760| 69 6b 65 20 74 68 69 73 | 3a 0a 5c 62 65 67 69 6e |ike this|:.\begin|
|00003770| 7b 71 75 6f 74 65 7d 5c | 73 6d 61 6c 6c 5c 62 65 |{quote}\|small\be|
|00003780| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0a 6a 6f |gin{verb|atim}.jo|
|00003790| 68 6e 25 20 63 6b 6d 66 | 20 7e 6a 70 6f 2f 2e 6d |hn% ckmf| ~jpo/.m|
|000037a0| 61 69 6c 66 69 6c 74 65 | 72 20 3c 20 2f 64 65 76 |ailfilte|r < /dev|
|000037b0| 2f 6e 75 6c 6c 0a 70 69 | 70 65 20 69 6e 74 6f 20 |/null.pi|pe into |
|000037c0| 70 72 6f 63 65 73 73 20 | 27 72 63 76 73 74 6f 72 |process |'rcvstor|
|000037d0| 65 20 2b 69 6e 62 6f 78 | 27 0a 70 69 70 65 20 69 |e +inbox|'.pipe i|
|000037e0| 6e 74 6f 20 70 72 6f 63 | 65 73 73 20 27 66 6c 61 |nto proc|ess 'fla|
|000037f0| 67 6d 61 69 6c 20 2d 73 | 20 30 20 2d 65 20 27 69 |gmail -s| 0 -e 'i|
|00003800| 6e 62 6f 78 3a 20 27 27 | 0a 52 65 73 75 6c 74 3a |nbox: ''|.Result:|
|00003810| 20 64 65 6c 69 76 65 72 | 65 64 20 4f 4b 0a 6a 6f | deliver|ed OK.jo|
|00003820| 68 6e 25 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |hn%.\end|{verbati|
|00003830| 6d 7d 5c 65 6e 64 7b 71 | 75 6f 74 65 7d 0a 0a 5c |m}\end{q|uote}..\|
|00003840| 73 65 63 74 69 6f 6e 7b | 4e 65 77 20 4d 65 73 73 |section{|New Mess|
|00003850| 61 67 65 20 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |age Noti|fication|
|00003860| 7d 0a 0a 50 50 20 70 72 | 6f 76 69 64 65 73 20 61 |}..PP pr|ovides a|
|00003870| 20 63 6f 75 70 6c 65 20 | 6f 66 20 73 69 6d 70 6c | couple |of simpl|
|00003880| 65 20 74 6f 6f 6c 73 20 | 66 6f 72 20 61 6c 65 72 |e tools |for aler|
|00003890| 74 69 6e 67 20 74 68 65 | 20 75 73 65 72 20 6f 66 |ting the| user of|
|000038a0| 20 6e 65 77 0a 6d 65 73 | 73 61 67 65 73 20 61 72 | new.mes|sages ar|
|000038b0| 72 69 76 69 6e 67 2e 20 | 42 6f 74 68 20 6d 65 74 |riving. |Both met|
|000038c0| 68 6f 64 73 20 73 68 61 | 72 65 20 61 20 6c 6f 74 |hods sha|re a lot|
|000038d0| 20 6f 66 20 63 6f 6d 6d | 6f 6e 20 66 65 61 74 75 | of comm|on featu|
|000038e0| 72 65 73 20 28 61 6e 64 | 0a 63 6f 64 65 2c 20 66 |res (and|.code, f|
|000038f0| 6f 72 20 74 68 61 74 20 | 6d 61 74 74 65 72 29 2e |or that |matter).|
|00003900| 0a 0a 54 68 65 20 62 61 | 73 69 63 20 69 64 65 61 |..The ba|sic idea|
|00003910| 20 6f 66 20 74 68 65 20 | 6e 6f 74 69 66 69 63 61 | of the |notifica|
|00003920| 74 69 6f 6e 20 69 73 20 | 74 6f 20 72 75 6e 20 61 |tion is |to run a|
|00003930| 20 70 72 6f 63 65 73 73 | 20 66 72 6f 6d 20 74 68 | process| from th|
|00003940| 65 0a 64 65 6c 69 76 65 | 72 79 20 70 72 6f 63 65 |e.delive|ry proce|
|00003950| 73 73 20 77 68 69 63 68 | 20 72 65 61 64 73 20 74 |ss which| reads t|
|00003960| 68 65 20 6d 65 73 73 61 | 67 65 2c 20 65 78 74 72 |he messa|ge, extr|
|00003970| 61 63 74 73 20 73 6f 6d | 65 20 69 6e 66 6f 72 6d |acts som|e inform|
|00003980| 61 74 69 6f 6e 2c 0a 66 | 6f 72 6d 61 74 73 20 69 |ation,.f|ormats i|
|00003990| 74 2c 20 61 6e 64 20 74 | 68 65 6e 20 67 69 76 65 |t, and t|hen give|
|000039a0| 73 20 69 74 20 74 6f 20 | 74 68 65 20 75 73 65 72 |s it to |the user|
|000039b0| 2e 20 54 68 69 73 20 6d | 61 79 20 62 65 20 65 69 |. This m|ay be ei|
|000039c0| 74 68 65 72 20 62 79 0a | 64 69 73 70 6c 61 79 69 |ther by.|displayi|
|000039d0| 6e 67 20 74 68 69 73 20 | 66 6f 72 6d 61 74 74 65 |ng this |formatte|
|000039e0| 64 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6f 6e |d inform|ation on|
|000039f0| 20 74 68 65 20 75 73 65 | 72 27 73 20 74 65 72 6d | the use|r's term|
|00003a00| 69 6e 61 6c 2c 20 6f 72 | 20 6f 6e 20 61 0a 63 6c |inal, or| on a.cl|
|00003a10| 69 65 6e 74 20 6f 66 20 | 61 6e 20 5c 78 77 69 6e |ient of |an \xwin|
|00003a20| 64 6f 77 73 2f 0a 64 69 | 73 70 6c 61 79 2e 0a 0a |dows/.di|splay...|
|00003a30| 54 68 65 72 65 20 61 72 | 65 20 66 6f 75 72 20 70 |There ar|e four p|
|00003a40| 72 6f 63 65 73 73 65 73 | 20 69 6e 76 6f 6c 76 65 |rocesses| involve|
|00003a50| 64 2e 20 54 68 65 79 20 | 61 72 65 3a 0a 5c 62 65 |d. They |are:.\be|
|00003a60| 67 69 6e 7b 64 65 73 63 | 72 69 62 65 7d 0a 0a 5c |gin{desc|ribe}..\|
|00003a70| 69 74 65 6d 5b 5c 76 65 | 72 62 7c 78 61 6c 65 72 |item[\ve|rb|xaler|
|00003a80| 74 7c 3a 5d 09 54 68 69 | 73 20 70 72 6f 63 65 73 |t|:].Thi|s proces|
|00003a90| 73 20 72 75 6e 73 20 61 | 73 20 61 20 63 6c 69 65 |s runs a|s a clie|
|00003aa0| 6e 74 20 6f 66 20 61 6e | 20 58 0a 77 69 6e 64 6f |nt of an| X.windo|
|00003ab0| 77 69 6e 67 20 73 79 73 | 74 65 6d 20 73 65 72 76 |wing sys|tem serv|
|00003ac0| 65 72 2e 20 49 74 20 64 | 69 73 70 6c 61 79 73 20 |er. It d|isplays |
|00003ad0| 6d 65 73 73 61 67 65 73 | 20 73 65 6e 74 20 74 6f |messages| sent to|
|00003ae0| 20 69 74 20 62 79 0a 5c | 70 67 6d 7b 66 6c 61 67 | it by.\|pgm{flag|
|00003af0| 6d 61 69 6c 7d 2e 20 49 | 66 20 69 74 20 64 65 74 |mail}. I|f it det|
|00003b00| 65 63 74 73 20 74 68 61 | 74 20 74 68 65 20 58 20 |ects tha|t the X |
|00003b10| 77 69 6e 64 6f 77 69 6e | 67 20 73 79 73 74 65 6d |windowin|g system|
|00003b20| 20 69 73 20 6e 6f 74 20 | 69 6e 0a 75 73 65 2c 20 | is not |in.use, |
|00003b30| 69 74 20 63 61 70 74 75 | 72 65 73 20 6d 65 73 73 |it captu|res mess|
|00003b40| 61 67 65 73 20 61 6e 64 | 20 64 69 73 70 6c 61 79 |ages and| display|
|00003b50| 73 20 74 68 65 6d 20 6f | 6e 20 74 68 65 20 74 65 |s them o|n the te|
|00003b60| 72 6d 69 6e 61 6c 2e 0a | 0a 5c 69 74 65 6d 5b 5c |rminal..|.\item[\|
|00003b70| 76 65 72 62 7c 66 6c 61 | 67 6d 61 69 6c 7c 3a 5d |verb|fla|gmail|:]|
|00003b80| 09 54 68 69 73 20 70 72 | 6f 63 65 73 73 20 67 61 |.This pr|ocess ga|
|00003b90| 74 68 65 72 73 20 74 68 | 65 20 64 61 74 61 20 66 |thers th|e data f|
|00003ba0| 72 6f 6d 20 74 68 65 0a | 6d 65 73 73 61 67 65 2c |rom the.|message,|
|00003bb0| 20 66 6f 72 6d 61 74 73 | 20 69 74 20 61 6e 64 20 | formats| it and |
|00003bc0| 5c 6c 69 6e 65 62 72 65 | 61 6b 5b 33 5d 20 61 74 |\linebre|ak[3] at|
|00003bd0| 74 65 6d 70 74 73 20 74 | 6f 20 70 61 73 73 20 69 |tempts t|o pass i|
|00003be0| 74 20 74 6f 0a 5c 70 67 | 6d 7b 78 61 6c 65 72 74 |t to.\pg|m{xalert|
|00003bf0| 7d 20 28 6f 72 20 61 20 | 73 69 6d 69 6c 61 72 20 |} (or a |similar |
|00003c00| 70 72 6f 63 65 73 73 20 | 6f 62 65 79 69 6e 67 20 |process |obeying |
|00003c10| 74 68 65 20 73 61 6d 65 | 20 70 72 6f 74 6f 63 6f |the same| protoco|
|00003c20| 6c 29 2e 20 49 66 20 69 | 74 0a 66 61 69 6c 73 20 |l). If i|t.fails |
|00003c30| 69 74 20 65 6d 75 6c 61 | 74 65 73 20 74 68 65 20 |it emula|tes the |
|00003c40| 5c 70 67 6d 7b 74 74 79 | 61 6c 65 72 74 7d 20 70 |\pgm{tty|alert} p|
|00003c50| 72 6f 67 72 61 6d 2e 0a | 0a 5c 69 74 65 6d 5b 5c |rogram..|.\item[\|
|00003c60| 76 65 72 62 7c 74 74 79 | 61 6c 65 72 74 7c 3a 5d |verb|tty|alert|:]|
|00003c70| 09 54 68 69 73 20 70 72 | 6f 63 65 73 73 20 67 61 |.This pr|ocess ga|
|00003c80| 74 68 65 72 73 20 64 61 | 74 61 20 66 72 6f 6d 20 |thers da|ta from |
|00003c90| 61 0a 6d 65 73 73 61 67 | 65 20 61 6e 64 20 73 69 |a.messag|e and si|
|00003ca0| 6d 70 6c 79 20 64 69 73 | 70 6c 61 79 73 20 69 74 |mply dis|plays it|
|00003cb0| 20 6f 6e 20 74 68 65 20 | 75 73 65 72 27 73 20 74 | on the |user's t|
|00003cc0| 65 72 6d 69 6e 61 6c 20 | 69 66 20 6c 6f 67 67 65 |erminal |if logge|
|00003cd0| 64 20 69 6e 2e 0a 49 74 | 20 69 73 20 6f 6e 6c 79 |d in..It| is only|
|00003ce0| 20 69 6e 74 65 6e 64 65 | 64 20 66 6f 72 20 6c 61 | intende|d for la|
|00003cf0| 72 67 65 20 73 69 74 65 | 73 20 77 68 65 72 65 20 |rge site|s where |
|00003d00| 61 6c 6c 20 70 65 6f 70 | 6c 65 20 75 73 65 20 74 |all peop|le use t|
|00003d10| 68 65 20 73 61 6d 65 0a | 68 6f 73 74 2e 20 0a 0a |he same.|host. ..|
|00003d20| 5c 69 74 65 6d 5b 5c 76 | 65 72 62 7c 74 74 79 62 |\item[\v|erb|ttyb|
|00003d30| 69 66 66 7c 3a 5d 09 54 | 68 69 73 20 70 72 6f 63 |iff|:].T|his proc|
|00003d40| 65 73 73 20 72 75 6e 73 | 20 69 6e 20 74 68 65 20 |ess runs| in the |
|00003d50| 62 61 63 6b 67 72 6f 75 | 6e 64 20 6e 6f 72 6d 61 |backgrou|nd norma|
|00003d60| 6c 6c 79 2e 0a 49 74 20 | 64 69 73 70 6c 61 79 73 |lly..It |displays|
|00003d70| 20 6d 65 73 73 61 67 65 | 73 20 73 65 6e 74 20 74 | message|s sent t|
|00003d80| 6f 20 69 74 20 62 79 20 | 5c 70 67 6d 7b 66 6c 61 |o it by |\pgm{fla|
|00003d90| 67 6d 61 69 6c 7d 2e 20 | 0a 0a 54 68 69 73 20 70 |gmail}. |..This p|
|00003da0| 72 6f 67 72 61 6d 27 73 | 20 75 73 65 20 69 73 20 |rogram's| use is |
|00003db0| 64 65 70 72 65 63 61 74 | 65 64 20 61 73 20 74 68 |deprecat|ed as th|
|00003dc0| 65 20 66 75 6e 63 74 69 | 6f 6e 61 6c 69 74 79 20 |e functi|onality |
|00003dd0| 69 73 20 73 75 62 73 75 | 6d 65 64 20 62 79 0a 5c |is subsu|med by.\|
|00003de0| 70 67 6d 7b 78 61 6c 65 | 72 74 7d 2e 20 49 74 20 |pgm{xale|rt}. It |
|00003df0| 77 69 6c 6c 20 70 72 6f | 62 61 62 6c 79 20 6e 6f |will pro|bably no|
|00003e00| 74 20 61 70 70 65 61 72 | 20 69 6e 20 66 75 74 75 |t appear| in futu|
|00003e10| 72 65 20 72 65 6c 65 61 | 73 65 73 2e 0a 0a 5c 65 |re relea|ses...\e|
|00003e20| 6e 64 7b 64 65 73 63 72 | 69 62 65 7d 0a 0a 42 6f |nd{descr|ibe}..Bo|
|00003e30| 74 68 20 5c 70 67 6d 7b | 66 6c 61 67 6d 61 69 6c |th \pgm{|flagmail|
|00003e40| 7d 20 61 6e 64 20 5c 70 | 67 6d 7b 74 74 79 61 6c |} and \p|gm{ttyal|
|00003e50| 65 72 74 7d 20 75 73 65 | 20 74 68 65 20 73 61 6d |ert} use| the sam|
|00003e60| 65 20 6d 65 74 68 6f 64 | 20 6f 66 20 70 72 65 70 |e method| of prep|
|00003e70| 61 72 69 6e 67 0a 61 6e | 64 20 66 6f 72 6d 61 74 |aring.an|d format|
|00003e80| 74 69 6e 67 20 74 68 65 | 20 64 61 74 61 20 74 6f |ting the| data to|
|00003e90| 20 62 65 20 64 69 73 70 | 6c 61 79 65 64 2e 20 54 | be disp|layed. T|
|00003ea0| 68 69 73 20 69 73 20 64 | 6f 6e 65 20 62 79 20 75 |his is d|one by u|
|00003eb0| 73 69 6e 67 20 61 0a 66 | 6f 72 6d 61 74 20 73 74 |sing a.f|ormat st|
|00003ec0| 72 69 6e 67 20 74 6f 20 | 69 6e 64 69 63 61 74 65 |ring to |indicate|
|00003ed0| 20 68 6f 77 20 74 68 65 | 20 69 6e 66 6f 72 6d 61 | how the| informa|
|00003ee0| 74 69 6f 6e 20 73 68 6f | 75 6c 64 20 62 65 20 6c |tion sho|uld be l|
|00003ef0| 61 69 64 20 6f 75 74 2e | 20 54 68 65 0a 66 6f 72 |aid out.| The.for|
|00003f00| 6d 61 74 20 73 74 72 69 | 6e 67 20 63 61 6e 20 63 |mat stri|ng can c|
|00003f10| 6f 6e 74 61 69 6e 20 76 | 65 72 62 61 74 69 6d 20 |ontain v|erbatim |
|00003f20| 74 65 78 74 2c 20 20 68 | 65 61 64 65 72 20 66 69 |text, h|eader fi|
|00003f30| 65 6c 64 73 2c 20 61 6e | 64 20 6f 74 68 65 72 0a |elds, an|d other.|
|00003f40| 61 74 74 72 69 62 75 74 | 65 73 20 6f 66 20 74 68 |attribut|es of th|
|00003f50| 65 20 6d 65 73 73 61 67 | 65 2e 0a 0a 46 69 65 6c |e messag|e...Fiel|
|00003f60| 64 73 20 77 69 74 68 69 | 6e 20 74 68 65 20 66 6f |ds withi|n the fo|
|00003f70| 72 6d 61 74 20 73 74 72 | 69 6e 67 20 61 72 65 20 |rmat str|ing are |
|00003f80| 69 6e 64 69 63 61 74 65 | 64 20 62 79 20 70 65 72 |indicate|d by per|
|00003f90| 63 65 6e 74 20 28 5c 76 | 65 72 62 7c 25 7c 29 0a |cent (\v|erb|%|).|
|00003fa0| 73 79 6d 62 6f 6c 73 2e | 20 54 68 65 20 67 65 6e |symbols.| The gen|
|00003fb0| 65 72 61 6c 20 66 6f 72 | 6d 61 74 20 62 61 72 65 |eral for|mat bare|
|00003fc0| 73 20 73 6f 6d 65 20 72 | 65 6c 61 74 69 6f 6e 73 |s some r|elations|
|00003fd0| 68 69 70 20 74 6f 20 74 | 68 65 20 5c 6d 61 6e 0a |hip to t|he \man.|
|00003fe0| 70 72 69 6e 74 66 20 28 | 33 29 20 66 6f 72 6d 61 |printf (|3) forma|
|00003ff0| 74 3a 0a 0a 5c 62 65 67 | 69 6e 7b 71 75 6f 74 65 |t:..\beg|in{quote|
|00004000| 7d 5c 73 6d 61 6c 6c 5c | 62 65 67 69 6e 7b 76 65 |}\small\|begin{ve|
|00004010| 72 62 61 74 69 6d 7d 0a | 25 5b 64 69 67 69 74 73 |rbatim}.|%[digits|
|00004020| 5d 73 74 72 69 6e 67 0a | 5c 65 6e 64 7b 76 65 72 |]string.|\end{ver|
|00004030| 62 61 74 69 6d 7d 5c 65 | 6e 64 7b 71 75 6f 74 65 |batim}\e|nd{quote|
|00004040| 7d 0a 0a 54 68 65 20 64 | 69 67 69 74 73 20 61 72 |}..The d|igits ar|
|00004050| 65 20 6f 70 74 69 6f 6e | 61 6c 20 61 6e 64 20 69 |e option|al and i|
|00004060| 6e 64 69 63 61 74 65 20 | 68 6f 77 20 6c 61 72 67 |ndicate |how larg|
|00004070| 65 20 74 68 65 20 66 69 | 65 6c 64 20 73 68 6f 75 |e the fi|eld shou|
|00004080| 6c 64 20 62 65 0a 70 61 | 64 64 65 64 20 6f 75 74 |ld be.pa|dded out|
|00004090| 20 74 6f 20 6f 72 20 74 | 72 75 6e 63 61 74 65 64 | to or t|runcated|
|000040a0| 20 74 6f 2e 20 54 68 65 | 20 73 74 72 69 6e 67 20 | to. The| string |
|000040b0| 69 73 20 61 6e 79 20 6d | 65 73 73 61 67 65 20 66 |is any m|essage f|
|000040c0| 69 65 6c 64 2c 20 6f 72 | 0a 6f 6e 65 20 6f 66 20 |ield, or|.one of |
|000040d0| 61 20 73 65 74 20 6f 66 | 20 73 70 65 63 69 61 6c |a set of| special|
|000040e0| 20 66 69 65 6c 64 73 2e | 20 54 68 65 20 63 61 73 | fields.| The cas|
|000040f0| 65 20 6f 66 20 74 68 65 | 20 73 74 72 69 6e 67 20 |e of the| string |
|00004100| 69 73 20 6e 6f 74 20 73 | 65 6e 73 69 74 69 76 65 |is not s|ensitive|
|00004110| 2e 0a 0a 54 68 65 20 73 | 70 65 63 69 61 6c 20 66 |...The s|pecial f|
|00004120| 69 65 6c 64 73 20 61 72 | 65 3a 0a 5c 5b 5c 62 65 |ields ar|e:.\[\be|
|00004130| 67 69 6e 7b 74 61 62 75 | 6c 61 72 7d 7b 6c 20 70 |gin{tabu|lar}{l p|
|00004140| 7b 30 2e 37 5c 6c 69 6e | 65 77 69 64 74 68 7d 7d |{0.7\lin|ewidth}}|
|00004150| 0a 09 5c 6d 75 6c 74 69 | 63 6f 6c 75 6d 6e 7b 31 |..\multi|column{1|
|00004160| 7d 7b 63 7d 7b 5c 62 66 | 20 46 69 65 6c 64 7d 20 |}{c}{\bf| Field} |
|00004170| 26 0a 09 09 5c 6d 75 6c | 74 69 63 6f 6c 75 6d 6e |&...\mul|ticolumn|
|00004180| 7b 31 7d 7b 63 7d 7b 5c | 62 66 20 4d 65 61 6e 69 |{1}{c}{\|bf Meani|
|00004190| 6e 67 7d 20 5c 5c 0a 09 | 5c 74 74 20 62 6f 64 79 |ng} \\..|\tt body|
|000041a0| 26 09 54 68 65 20 66 69 | 72 73 74 20 66 65 77 20 |&.The fi|rst few |
|000041b0| 63 68 61 72 61 63 74 65 | 72 73 20 6f 66 20 74 68 |characte|rs of th|
|000041c0| 65 20 62 6f 64 79 20 6f | 66 20 74 68 65 20 6d 65 |e body o|f the me|
|000041d0| 73 73 61 67 65 5c 5c 0a | 09 5c 74 74 20 73 69 7a |ssage\\.|.\tt siz|
|000041e0| 65 26 09 54 68 65 20 73 | 69 7a 65 20 69 6e 20 62 |e&.The s|ize in b|
|000041f0| 79 74 65 73 20 6f 66 20 | 74 68 65 20 6d 65 73 73 |ytes of |the mess|
|00004200| 61 67 65 5c 5c 0a 09 5c | 74 74 20 65 78 74 72 61 |age\\..\|tt extra|
|00004210| 26 09 41 20 73 70 65 63 | 69 61 6c 20 66 69 65 6c |&.A spec|ial fiel|
|00004220| 64 20 73 65 74 20 6f 6e | 20 74 68 65 20 63 6f 6d |d set on| the com|
|00004230| 6d 61 6e 64 20 6c 69 6e | 65 5c 5c 0a 09 5c 74 74 |mand lin|e\\..\tt|
|00004240| 20 66 72 6f 6d 26 09 74 | 68 65 20 66 72 6f 6d 20 | from&.t|he from |
|00004250| 66 69 65 6c 64 20 69 73 | 20 74 72 65 61 74 65 64 |field is| treated|
|00004260| 20 69 6e 20 61 20 73 70 | 65 63 69 61 6c 20 77 61 | in a sp|ecial wa|
|00004270| 79 5c 5c 0a 5c 65 6e 64 | 7b 74 61 62 75 6c 61 72 |y\\.\end|{tabular|
|00004280| 7d 5c 5d 0a 0a 54 68 65 | 20 5c 76 65 72 62 7c 62 |}\]..The| \verb|b|
|00004290| 6f 64 79 7c 5c 69 6e 64 | 65 78 7b 62 6f 64 79 7d |ody|\ind|ex{body}|
|000042a0| 20 66 69 65 6c 64 20 69 | 73 20 74 68 65 20 66 69 | field i|s the fi|
|000042b0| 72 73 74 20 66 65 77 20 | 63 68 61 72 61 63 74 65 |rst few |characte|
|000042c0| 72 73 20 6f 66 20 74 68 | 65 0a 62 6f 64 79 20 77 |rs of th|e.body w|
|000042d0| 69 74 68 20 61 6c 6c 20 | 6e 65 77 20 6c 69 6e 65 |ith all |new line|
|000042e0| 73 20 72 65 6d 6f 76 65 | 64 20 61 6e 64 20 6d 75 |s remove|d and mu|
|000042f0| 6c 74 69 70 6c 65 20 77 | 68 69 74 65 20 73 70 61 |ltiple w|hite spa|
|00004300| 63 65 20 63 6f 6d 70 72 | 65 73 73 65 64 20 74 6f |ce compr|essed to|
|00004310| 0a 73 69 6e 67 6c 65 20 | 73 70 61 63 65 73 2e 0a |.single |spaces..|
|00004320| 0a 54 68 65 20 5c 76 65 | 72 62 7c 73 69 7a 65 7c |.The \ve|rb|size||
|00004330| 5c 69 6e 64 65 78 7b 73 | 69 7a 65 7d 20 69 73 20 |\index{s|ize} is |
|00004340| 73 65 74 20 6f 6e 20 74 | 68 65 20 63 6f 6d 6d 61 |set on t|he comma|
|00004350| 6e 64 20 6c 69 6e 65 20 | 62 79 20 74 68 65 20 75 |nd line |by the u|
|00004360| 73 65 20 6f 66 0a 61 6e | 20 6f 70 74 69 6f 6e 61 |se of.an| optiona|
|00004370| 6c 20 66 6c 61 67 2e 20 | 54 68 69 73 20 69 73 20 |l flag. |This is |
|00004380| 75 73 75 61 6c 6c 79 20 | 64 6f 6e 65 20 69 6e 20 |usually |done in |
|00004390| 74 68 65 20 5c 66 69 6c | 65 7b 2e 6d 61 69 6c 66 |the \fil|e{.mailf|
|000043a0| 69 6c 74 65 72 7d 20 66 | 69 6c 65 0a 62 79 20 75 |ilter} f|ile.by u|
|000043b0| 73 65 20 6f 66 20 74 68 | 65 20 5c 76 65 72 62 7c |se of th|e \verb||
|000043c0| 24 28 73 69 7a 65 29 7c | 20 76 61 72 69 61 62 6c |$(size)|| variabl|
|000043d0| 65 2e 0a 0a 54 68 65 20 | 5c 76 65 72 62 7c 65 78 |e...The |\verb|ex|
|000043e0| 74 72 61 7c 5c 69 6e 64 | 65 78 7b 65 78 74 72 61 |tra|\ind|ex{extra|
|000043f0| 7d 20 66 69 65 6c 64 20 | 69 73 20 75 73 65 64 20 |} field |is used |
|00004400| 74 6f 20 61 6c 6c 6f 77 | 20 73 69 6d 70 6c 65 20 |to allow| simple |
|00004410| 63 68 61 6e 67 65 73 20 | 74 6f 0a 74 68 65 20 64 |changes |to.the d|
|00004420| 65 66 61 75 6c 74 20 66 | 6f 72 6d 61 74 20 73 74 |efault f|ormat st|
|00004430| 72 69 6e 67 2e 20 54 68 | 69 73 20 6a 75 73 74 20 |ring. Th|is just |
|00004440| 61 6c 6c 6f 77 73 20 61 | 20 73 69 6d 70 6c 65 20 |allows a| simple |
|00004450| 66 6c 61 67 20 74 6f 20 | 61 64 6a 75 73 74 0a 74 |flag to |adjust.t|
|00004460| 68 65 20 6f 75 74 70 75 | 74 20 66 72 6f 6d 20 74 |he outpu|t from t|
|00004470| 68 65 20 64 65 66 61 75 | 6c 74 20 66 6f 72 6d 61 |he defau|lt forma|
|00004480| 74 20 73 74 72 69 6e 67 | 20 72 61 74 68 65 72 20 |t string| rather |
|00004490| 74 68 61 6e 20 72 65 77 | 72 69 74 69 6e 67 20 74 |than rew|riting t|
|000044a0| 68 65 0a 66 6f 72 6d 61 | 74 20 73 74 72 69 6e 67 |he.forma|t string|
|000044b0| 2e 20 49 66 20 6e 6f 74 | 20 73 65 74 2c 20 69 74 |. If not| set, it|
|000044c0| 20 64 65 66 61 75 6c 74 | 73 20 74 6f 20 74 68 65 | default|s to the|
|000044d0| 20 76 61 6c 75 65 20 5c | 76 65 72 62 2a 7c 4e 45 | value \|verb*|NE|
|000044e0| 57 3a 20 7c 2e 0a 0a 54 | 68 65 20 5c 76 65 72 62 |W: |...T|he \verb|
|000044f0| 7c 46 72 6f 6d 7c 5c 69 | 6e 64 65 78 7b 46 72 6f ||From|\i|ndex{Fro|
|00004500| 6d 7d 20 66 69 65 6c 64 | 20 69 73 20 74 72 65 61 |m} field| is trea|
|00004510| 74 65 64 20 73 6c 69 67 | 68 74 6c 79 20 73 70 65 |ted slig|htly spe|
|00004520| 63 69 61 6c 6c 79 2c 20 | 69 6e 0a 74 68 61 74 20 |cially, |in.that |
|00004530| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6e 61 |if there| is a na|
|00004540| 6d 65 20 63 6f 6d 70 6f | 6e 65 6e 74 20 69 6e 20 |me compo|nent in |
|00004550| 66 72 6f 6e 74 20 6f 66 | 20 74 68 65 20 6f 70 65 |front of| the ope|
|00004560| 6e 69 6e 67 20 61 6e 67 | 6c 65 0a 62 72 61 63 6b |ning ang|le.brack|
|00004570| 65 74 2c 20 74 68 65 6e | 20 74 68 65 20 72 65 73 |et, then| the res|
|00004580| 74 20 6f 66 20 74 68 65 | 20 66 69 65 6c 64 20 69 |t of the| field i|
|00004590| 73 20 69 67 6e 6f 72 65 | 64 2e 0a 0a 54 68 65 20 |s ignore|d...The |
|000045a0| 64 65 66 61 75 6c 74 20 | 66 6f 72 6d 61 74 20 73 |default |format s|
|000045b0| 74 72 69 6e 67 20 69 73 | 20 74 68 65 20 66 6f 6c |tring is| the fol|
|000045c0| 6c 6f 77 69 6e 67 3a 0a | 5c 62 65 67 69 6e 7b 71 |lowing:.|\begin{q|
|000045d0| 75 6f 74 65 7d 5c 73 6d | 61 6c 6c 5c 62 65 67 69 |uote}\sm|all\begi|
|000045e0| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 25 65 78 74 |n{verbat|im}.%ext|
|000045f0| 72 61 28 25 73 69 7a 65 | 29 20 25 32 30 66 72 6f |ra(%size|) %20fro|
|00004600| 6d 20 25 73 75 62 6a 65 | 63 74 20 3c 3c 20 25 35 |m %subje|ct << %5|
|00004610| 30 62 6f 64 79 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |0body.\e|nd{verba|
|00004620| 74 69 6d 7d 5c 65 6e 64 | 7b 71 75 6f 74 65 7d 0a |tim}\end|{quote}.|
|00004630| 0a 54 68 69 73 20 67 69 | 76 65 73 20 6f 75 74 70 |.This gi|ves outp|
|00004640| 75 74 20 73 6f 6d 65 74 | 68 69 6e 67 20 6c 69 6b |ut somet|hing lik|
|00004650| 65 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 0a |e the fo|llowing.|
|00004660| 5c 62 65 67 69 6e 7b 71 | 75 6f 74 65 7d 5c 73 6d |\begin{q|uote}\sm|
|00004670| 61 6c 6c 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |all\begi|n{verbat|
|00004680| 69 6d 7d 0a 4e 45 57 3a | 20 28 33 34 30 32 29 20 |im}.NEW:| (3402) |
|00004690| 53 74 65 76 65 20 4b 69 | 6c 6c 65 20 20 52 65 3a |Steve Ki|lle Re:|
|000046a0| 20 73 74 61 74 65 20 6f | 66 20 75 6e 69 78 2d 6e | state o|f unix-n|
|000046b0| 69 66 74 70 3f 20 3c 3c | 20 49 0a 5c 65 6e 64 7b |iftp? <<| I.\end{|
|000046c0| 76 65 72 62 61 74 69 6d | 7d 5c 65 6e 64 7b 71 75 |verbatim|}\end{qu|
|000046d0| 6f 74 65 7d 0a 0a 54 68 | 65 20 77 68 6f 6c 65 20 |ote}..Th|e whole |
|000046e0| 6f 75 74 70 75 74 20 6c | 69 6e 65 20 69 73 20 74 |output l|ine is t|
|000046f0| 72 75 6e 63 61 74 65 64 | 20 74 6f 20 74 68 65 20 |runcated| to the |
|00004700| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 61 63 |number o|f charac|
|00004710| 74 65 72 73 20 73 65 74 | 20 6f 6e 0a 74 68 65 20 |ters set| on.the |
|00004720| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 20 28 64 65 |command |line (de|
|00004730| 66 61 75 6c 74 69 6e 67 | 20 74 6f 20 38 30 29 2e |faulting| to 80).|
|00004740| 20 54 68 69 73 20 61 6c | 6c 6f 77 73 20 74 68 65 | This al|lows the|
|00004750| 20 6c 61 74 65 72 20 70 | 61 72 74 73 20 6f 66 0a | later p|arts of.|
|00004760| 74 68 65 20 73 74 72 69 | 6e 67 20 74 6f 20 62 65 |the stri|ng to be|
|00004770| 20 6c 61 72 67 65 2c 20 | 69 6e 20 74 68 65 20 61 | large, |in the a|
|00004780| 73 73 75 72 61 6e 63 65 | 20 74 68 61 74 20 74 68 |ssurance| that th|
|00004790| 65 79 20 77 69 6c 6c 20 | 67 65 74 20 63 68 6f 70 |ey will |get chop|
|000047a0| 70 65 64 20 6f 66 66 20 | 69 66 0a 74 68 65 79 20 |ped off |if.they |
|000047b0| 65 78 63 65 65 64 20 74 | 68 65 20 67 69 76 65 6e |exceed t|he given|
|000047c0| 20 73 69 7a 65 2e 0a 0a | 41 6e 20 65 78 61 6d 70 | size...|An examp|
|000047d0| 6c 65 20 75 73 61 67 65 | 20 69 6e 20 61 20 5c 66 |le usage| in a \f|
|000047e0| 69 6c 65 7b 2e 6d 61 69 | 6c 66 69 6c 74 65 72 7d |ile{.mai|lfilter}|
|000047f0| 5c 69 6e 64 65 78 7b 2e | 6d 61 69 6c 66 69 6c 74 |\index{.|mailfilt|
|00004800| 65 72 7d 20 66 69 6c 65 | 20 6d 69 67 68 74 0a 6c |er} file| might.l|
|00004810| 6f 6f 6b 20 6c 69 6b 65 | 20 74 68 65 20 66 6f 6c |ook like| the fol|
|00004820| 6c 6f 77 69 6e 67 3a 0a | 5c 62 65 67 69 6e 7b 71 |lowing:.|\begin{q|
|00004830| 75 6f 74 65 7d 5c 73 6d | 61 6c 6c 5c 62 65 67 69 |uote}\sm|all\begi|
|00004840| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 69 66 20 28 |n{verbat|im}.if (|
|00004850| 64 65 6c 69 76 65 72 65 | 64 29 0a 20 20 20 20 69 |delivere|d). i|
|00004860| 67 6e 6f 72 65 20 70 69 | 70 65 20 22 66 6c 61 67 |gnore pi|pe "flag|
|00004870| 6d 61 69 6c 20 2d 73 20 | 24 28 73 69 7a 65 29 22 |mail -s |$(size)"|
|00004880| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 5c |.\end{ve|rbatim}\|
|00004890| 65 6e 64 7b 71 75 6f 74 | 65 7d 0a 53 65 65 20 74 |end{quot|e}.See t|
|000048a0| 68 65 20 65 78 61 6d 70 | 6c 65 20 69 6e 20 46 69 |he examp|le in Fi|
|000048b0| 67 75 72 65 7e 5c 72 65 | 66 7b 6c 6f 63 61 6c 3a |gure~\re|f{local:|
|000048c0| 65 78 61 6d 70 7d 20 6f | 6e 0a 70 61 67 65 7e 5c |examp} o|n.page~\|
|000048d0| 70 61 67 65 72 65 66 7b | 6c 6f 63 61 6c 3a 65 78 |pageref{|local:ex|
|000048e0| 61 6d 70 7d 20 66 6f 72 | 20 61 20 6d 6f 72 65 20 |amp} for| a more |
|000048f0| 63 6f 6d 70 6c 65 78 20 | 65 78 61 6d 70 6c 65 20 |complex |example |
|00004900| 6f 66 20 75 73 61 67 65 | 2e 0a 0a 5c 73 75 62 73 |of usage|...\subs|
|00004910| 75 62 73 65 63 74 69 6f | 6e 7b 46 6c 61 67 73 7d |ubsectio|n{Flags}|
|00004920| 0a 0a 42 6f 74 68 20 5c | 70 67 6d 7b 66 6c 61 67 |..Both \|pgm{flag|
|00004930| 6d 61 69 6c 7d 20 61 6e | 64 20 5c 70 67 6d 7b 74 |mail} an|d \pgm{t|
|00004940| 74 79 61 6c 65 72 74 7d | 20 72 65 73 70 6f 6e 64 |tyalert}| respond|
|00004950| 20 74 6f 20 61 20 6e 75 | 6d 62 65 72 20 6f 66 20 | to a nu|mber of |
|00004960| 63 6f 6d 6d 61 6e 64 0a | 6c 69 6e 65 20 6f 70 74 |command.|line opt|
|00004970| 69 6f 6e 73 20 74 6f 20 | 63 68 61 6e 67 65 20 74 |ions to |change t|
|00004980| 68 65 20 62 65 68 61 76 | 69 6f 75 72 2e 20 54 68 |he behav|iour. Th|
|00004990| 65 73 65 20 61 72 65 3a | 0a 5c 62 65 67 69 6e 7b |ese are:|.\begin{|
|000049a0| 64 65 73 63 72 69 62 65 | 7d 0a 5c 69 74 65 6d 5b |describe|}.\item[|
|000049b0| 5c 76 65 72 62 7c 2d 64 | 7c 3a 5d 09 52 75 6e 73 |\verb|-d||:].Runs|
|000049c0| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 69 6e 20 | the pro|gram in |
|000049d0| 61 20 64 65 62 75 67 67 | 69 6e 67 20 6d 6f 64 65 |a debugg|ing mode|
|000049e0| 2e 20 54 68 69 73 0a 73 | 74 6f 70 73 20 74 68 65 |. This.s|tops the|
|000049f0| 20 70 72 6f 67 72 61 6d | 20 66 72 6f 6d 20 72 75 | program| from ru|
|00004a00| 6e 6e 69 6e 67 20 69 6e | 20 74 68 65 20 62 61 63 |nning in| the bac|
|00004a10| 6b 67 72 6f 75 6e 64 2e | 20 4f 6e 6c 79 20 75 73 |kground.| Only us|
|00004a20| 65 66 75 6c 20 69 66 20 | 79 6f 75 20 61 72 65 0a |eful if |you are.|
|00004a30| 74 72 79 69 6e 67 20 74 | 6f 20 64 65 62 75 67 20 |trying t|o debug |
|00004a40| 74 68 65 20 70 72 6f 67 | 72 61 6d 2e 0a 0a 5c 69 |the prog|ram...\i|
|00004a50| 74 65 6d 5b 5c 76 65 72 | 62 7c 2d 65 20 73 74 72 |tem[\ver|b|-e str|
|00004a60| 69 6e 67 7c 3a 5d 20 53 | 65 74 73 20 74 68 65 20 |ing|:] S|ets the |
|00004a70| 5c 76 65 72 62 7c 65 78 | 74 72 61 7c 20 76 61 72 |\verb|ex|tra| var|
|00004a80| 69 61 62 6c 65 2e 20 54 | 68 69 73 20 69 73 20 75 |iable. T|his is u|
|00004a90| 73 65 64 0a 74 6f 20 6f | 76 65 72 72 69 64 65 20 |sed.to o|verride |
|00004aa0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 65 78 74 72 |the defa|ult extr|
|00004ab0| 61 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 77 68 |a inform|ation wh|
|00004ac0| 69 63 68 20 69 73 20 6e | 6f 72 6d 61 6c 6c 79 20 |ich is n|ormally |
|00004ad0| 5c 76 65 72 62 7c 4e 45 | 57 3a 7c 2e 0a 0a 5c 69 |\verb|NE|W:|...\i|
|00004ae0| 74 65 6d 5b 5c 76 65 72 | 62 7c 2d 66 20 66 6f 72 |tem[\ver|b|-f for|
|00004af0| 6d 61 74 7c 3a 5d 20 53 | 65 74 73 20 74 68 65 20 |mat|:] S|ets the |
|00004b00| 65 6e 74 69 72 65 20 66 | 6f 72 6d 61 74 20 73 74 |entire f|ormat st|
|00004b10| 72 69 6e 67 20 74 6f 20 | 74 68 65 20 67 69 76 65 |ring to |the give|
|00004b20| 6e 0a 73 74 72 69 6e 67 | 2e 20 54 68 69 73 20 69 |n.string|. This i|
|00004b30| 73 20 68 6f 77 20 79 6f | 75 20 6f 76 65 72 72 69 |s how yo|u overri|
|00004b40| 64 65 20 74 68 65 20 69 | 6e 74 65 72 6e 61 6c 20 |de the i|nternal |
|00004b50| 66 6f 72 6d 61 74 20 73 | 74 72 69 6e 67 20 77 69 |format s|tring wi|
|00004b60| 74 68 0a 73 6f 6d 65 74 | 68 69 6e 67 20 65 6e 74 |th.somet|hing ent|
|00004b70| 69 72 65 6c 79 20 64 69 | 66 66 65 72 65 6e 74 2e |irely di|fferent.|
|00004b80| 0a 0a 5c 69 74 65 6d 5b | 5c 76 65 72 62 7c 2d 73 |..\item[|\verb|-s|
|00004b90| 20 73 69 7a 65 7c 3a 5d | 20 53 65 74 73 20 74 68 | size|:]| Sets th|
|00004ba0| 65 20 6d 65 73 73 61 67 | 65 20 73 69 7a 65 20 70 |e messag|e size p|
|00004bb0| 61 72 61 6d 65 74 65 72 | 2e 0a 0a 5c 69 74 65 6d |arameter|...\item|
|00004bc0| 5b 5c 76 65 72 62 7c 2d | 77 20 77 69 64 74 68 7c |[\verb|-|w width||
|00004bd0| 3a 5d 09 53 65 74 73 20 | 74 68 65 20 64 65 66 61 |:].Sets |the defa|
|00004be0| 75 6c 74 20 6f 75 74 70 | 75 74 20 6c 69 6e 65 20 |ult outp|ut line |
|00004bf0| 77 69 64 74 68 2e 20 54 | 68 65 20 6c 69 6e 65 0a |width. T|he line.|
|00004c00| 70 72 6f 64 75 63 65 64 | 20 77 69 6c 6c 20 62 65 |produced| will be|
|00004c10| 20 74 72 75 6e 63 61 74 | 65 64 20 74 6f 20 74 68 | truncat|ed to th|
|00004c20| 69 73 20 77 69 64 74 68 | 20 28 64 65 66 61 75 6c |is width| (defaul|
|00004c30| 74 20 38 30 20 63 68 61 | 72 61 63 74 65 72 73 29 |t 80 cha|racters)|
|00004c40| 2e 0a 0a 5c 69 74 65 6d | 5b 5c 76 65 72 62 7c 2d |...\item|[\verb|-|
|00004c50| 78 7c 3a 5d 20 46 6f 72 | 63 65 73 20 74 68 65 20 |x|:] For|ces the |
|00004c60| 75 73 65 20 6f 66 20 70 | 72 6f 74 6f 63 6f 6c 2e |use of p|rotocol.|
|00004c70| 20 49 6e 20 74 68 69 73 | 20 6d 6f 64 65 20 69 74 | In this| mode it|
|00004c80| 20 77 69 6c 6c 20 6e 6f | 74 0a 74 72 79 20 61 6e | will no|t.try an|
|00004c90| 64 20 64 6f 20 69 74 73 | 20 6f 77 6e 20 6e 6f 74 |d do its| own not|
|00004ca0| 69 66 69 63 61 74 69 6f | 6e 20 69 66 20 69 74 20 |ificatio|n if it |
|00004cb0| 66 61 69 6c 73 20 74 6f | 20 6e 6f 74 69 66 79 20 |fails to| notify |
|00004cc0| 61 20 73 65 72 76 65 72 | 2e 0a 5c 65 6e 64 7b 64 |a server|..\end{d|
|00004cd0| 65 73 63 72 69 62 65 7d | 0a 0a 49 6e 20 61 64 64 |escribe}|..In add|
|00004ce0| 69 74 69 6f 6e 20 74 68 | 65 20 5c 70 67 6d 7b 66 |ition th|e \pgm{f|
|00004cf0| 6c 61 67 6d 61 69 6c 7d | 20 70 72 6f 67 72 61 6d |lagmail}| program|
|00004d00| 20 68 61 73 20 74 77 6f | 20 6f 74 68 65 72 20 6f | has two| other o|
|00004d10| 70 74 69 6f 6e 73 20 74 | 6f 20 74 61 69 6c 6f 72 |ptions t|o tailor|
|00004d20| 0a 74 68 65 20 69 6e 74 | 65 72 61 63 74 69 6f 6e |.the int|eraction|
|00004d30| 20 77 69 74 68 20 5c 70 | 67 6d 7b 78 61 6c 65 72 | with \p|gm{xaler|
|00004d40| 74 7d 20 6f 72 20 6f 74 | 68 65 72 20 73 65 72 76 |t} or ot|her serv|
|00004d50| 65 72 73 2e 0a 0a 5c 62 | 65 67 69 6e 7b 64 65 73 |ers...\b|egin{des|
|00004d60| 63 72 69 62 65 7d 0a 5c | 69 74 65 6d 5b 5c 76 65 |cribe}.\|item[\ve|
|00004d70| 72 62 7c 2d 68 20 68 6f | 73 74 66 69 6c 65 7c 3a |rb|-h ho|stfile|:|
|00004d80| 5d 20 55 73 65 20 74 68 | 65 20 67 69 76 65 6e 20 |] Use th|e given |
|00004d90| 66 69 6c 65 20 74 6f 20 | 72 65 61 64 20 74 68 65 |file to |read the|
|00004da0| 20 68 6f 73 74 20 61 6e | 64 0a 70 6f 72 74 20 74 | host an|d.port t|
|00004db0| 6f 20 63 6f 6d 6d 75 6e | 69 63 61 74 65 20 77 69 |o commun|icate wi|
|00004dc0| 74 68 2e 20 54 68 69 73 | 20 6f 76 65 72 72 69 64 |th. This| overrid|
|00004dd0| 65 73 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 6f |es the d|efault o|
|00004de0| 66 20 5c 66 69 6c 65 7b | 2e 61 6c 65 72 74 7d 0a |f \file{|.alert}.|
|00004df0| 69 6e 20 74 68 65 20 68 | 6f 6d 65 20 64 69 72 65 |in the h|ome dire|
|00004e00| 63 74 6f 72 79 2e 0a 0a | 5c 69 74 65 6d 5b 5c 76 |ctory...|\item[\v|
|00004e10| 65 72 62 7c 2d 70 20 6e | 75 6d 62 65 72 7c 3a 5d |erb|-p n|umber|:]|
|00004e20| 20 55 73 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | Use the| followi|
|00004e30| 6e 67 20 6e 75 6d 62 65 | 72 20 74 6f 20 6f 76 65 |ng numbe|r to ove|
|00004e40| 72 72 69 64 65 20 74 68 | 65 20 55 44 50 0a 70 6f |rride th|e UDP.po|
|00004e50| 72 74 20 66 6f 75 6e 64 | 20 69 6e 20 74 68 65 20 |rt found| in the |
|00004e60| 66 69 6c 65 2e 0a 5c 65 | 6e 64 7b 64 65 73 63 72 |file..\e|nd{descr|
|00004e70| 69 62 65 7d 0a 0a 5c 70 | 67 6d 7b 78 61 6c 65 72 |ibe}..\p|gm{xaler|
|00004e80| 74 7d 20 68 61 73 20 6f | 6e 6c 79 20 73 6f 6d 65 |t} has o|nly some|
|00004e90| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 20 73 77 | command| line sw|
|00004ea0| 69 74 63 68 65 73 2e 0a | 54 68 65 73 65 20 61 72 |itches..|These ar|
|00004eb0| 65 3a 0a 5c 62 65 67 69 | 6e 7b 64 65 73 63 72 69 |e:.\begi|n{descri|
|00004ec0| 62 65 7d 0a 5c 69 74 65 | 6d 5b 5c 76 65 72 62 7c |be}.\ite|m[\verb||
|00004ed0| 2d 66 69 6c 65 6e 61 6d | 65 20 68 6f 73 74 66 69 |-filenam|e hostfi|
|00004ee0| 6c 65 7c 3a 5d 20 75 73 | 65 20 74 68 65 20 67 69 |le|:] us|e the gi|
|00004ef0| 76 65 6e 20 66 69 6c 65 | 20 74 6f 20 77 72 69 74 |ven file| to writ|
|00004f00| 65 20 74 68 65 20 68 6f | 73 74 20 61 6e 64 0a 70 |e the ho|st and.p|
|00004f10| 6f 72 74 20 6e 75 6d 62 | 65 72 20 69 6e 20 69 6e |ort numb|er in in|
|00004f20| 73 74 65 61 64 20 6f 66 | 20 74 68 65 20 64 65 66 |stead of| the def|
|00004f30| 61 75 6c 74 20 28 5c 66 | 69 6c 65 7b 2e 61 6c 65 |ault (\f|ile{.ale|
|00004f40| 72 74 7d 29 2e 0a 5c 69 | 74 65 6d 5b 5c 76 65 72 |rt})..\i|tem[\ver|
|00004f50| 62 7c 2d 75 73 65 72 20 | 75 73 65 72 6e 61 6d 65 |b|-user |username|
|00004f60| 7c 3a 5d 20 5c 70 67 6d | 7b 78 61 6c 65 72 74 7d ||:] \pgm|{xalert}|
|00004f70| 20 66 69 6c 74 65 72 73 | 20 6f 75 74 20 72 65 71 | filters| out req|
|00004f80| 75 65 73 74 73 0a 64 65 | 73 74 69 6e 65 64 20 66 |uests.de|stined f|
|00004f90| 6f 72 20 74 68 65 20 67 | 69 76 65 6e 20 75 73 65 |or the g|iven use|
|00004fa0| 72 2e 20 4e 6f 72 6d 61 | 6c 6c 79 20 69 74 20 77 |r. Norma|lly it w|
|00004fb0| 69 6c 6c 20 6e 6f 74 20 | 72 65 63 65 69 76 65 20 |ill not |receive |
|00004fc0| 6d 65 73 73 61 67 65 73 | 0a 64 65 73 74 69 6e 65 |messages|.destine|
|00004fd0| 64 20 66 6f 72 20 61 6e | 6f 74 68 65 72 20 75 73 |d for an|other us|
|00004fe0| 65 72 2c 20 62 75 74 20 | 74 68 69 73 20 77 69 6c |er, but |this wil|
|00004ff0| 6c 20 63 68 61 6e 67 65 | 20 5c 70 67 6d 7b 78 61 |l change| \pgm{xa|
|00005000| 6c 65 72 74 7d 27 73 20 | 69 64 65 61 20 6f 66 0a |lert}'s |idea of.|
|00005010| 74 68 65 20 63 75 72 72 | 65 6e 74 20 75 73 65 72 |the curr|ent user|
|00005020| 20 61 6e 79 77 61 79 2e | 0a 0a 5c 69 74 65 6d 5b | anyway.|..\item[|
|00005030| 5c 76 65 72 62 7c 2d 70 | 6f 72 74 20 6e 75 6d 62 |\verb|-p|ort numb|
|00005040| 65 72 7c 3a 5d 09 53 65 | 74 20 74 68 65 20 55 44 |er|:].Se|t the UD|
|00005050| 50 20 70 6f 72 74 20 6e | 75 6d 62 65 72 20 74 6f |P port n|umber to|
|00005060| 20 74 68 65 20 67 69 76 | 65 6e 0a 6e 75 6d 62 65 | the giv|en.numbe|
|00005070| 72 2e 20 54 68 65 20 64 | 65 66 61 75 6c 74 20 69 |r. The d|efault i|
|00005080| 73 20 74 6f 20 63 68 6f | 6f 73 65 20 61 20 72 61 |s to cho|ose a ra|
|00005090| 6e 64 6f 6d 20 75 6e 75 | 73 65 64 20 55 44 50 20 |ndom unu|sed UDP |
|000050a0| 70 6f 72 74 2e 0a 0a 5c | 69 74 65 6d 5b 5c 76 65 |port...\|item[\ve|
|000050b0| 72 62 7c 2d 73 7c 3a 5d | 20 4f 6e 6c 79 20 70 72 |rb|-s|:]| Only pr|
|000050c0| 69 6e 74 20 74 6f 20 74 | 68 65 20 73 74 61 6e 64 |int to t|he stand|
|000050d0| 61 72 64 20 6f 75 74 70 | 75 74 3b 20 64 6f 20 6e |ard outp|ut; do n|
|000050e0| 6f 74 20 64 69 73 70 6c | 61 79 0a 6f 6e 20 61 6c |ot displ|ay.on al|
|000050f0| 6c 20 74 68 69 73 20 75 | 73 65 72 27 73 20 6c 6f |l this u|ser's lo|
|00005100| 67 69 6e 20 73 65 73 73 | 69 6f 6e 73 2e 0a 5c 69 |gin sess|ions..\i|
|00005110| 74 65 6d 5b 5c 76 65 72 | 62 7c 2d 74 7c 3a 5d 20 |tem[\ver|b|-t|:] |
|00005120| 44 6f 20 6e 6f 74 20 61 | 74 74 65 6d 70 74 20 74 |Do not a|ttempt t|
|00005130| 6f 20 75 73 65 20 74 68 | 65 20 58 20 73 79 73 74 |o use th|e X syst|
|00005140| 65 6d 2e 0a 5c 69 74 65 | 6d 5b 5c 76 65 72 62 7c |em..\ite|m[\verb||
|00005150| 2d 78 7c 3a 5d 20 41 6c | 6c 6f 77 20 75 73 65 20 |-x|:] Al|low use |
|00005160| 6f 66 20 58 20 28 64 65 | 66 61 75 6c 74 29 2e 0a |of X (de|fault)..|
|00005170| 5c 69 74 65 6d 5b 5c 76 | 65 72 62 7c 2d 77 20 77 |\item[\v|erb|-w w|
|00005180| 69 64 74 68 7c 3a 5d 20 | 55 73 65 20 74 68 69 73 |idth|:] |Use this|
|00005190| 20 77 69 64 74 68 20 77 | 68 65 6e 20 64 69 73 70 | width w|hen disp|
|000051a0| 6c 61 79 69 6e 67 20 6d | 65 73 73 61 67 65 73 20 |laying m|essages |
|000051b0| 6f 6e 20 74 68 65 0a 74 | 65 72 6d 69 6e 61 6c 2e |on the.t|erminal.|
|000051c0| 20 0a 5c 69 74 65 6d 5b | 5c 76 65 72 62 7c 2d 62 | .\item[|\verb|-b|
|000051d0| 65 6c 6c 2f 2d 6e 6f 62 | 65 6c 6c 7c 3a 5d 20 4e |ell/-nob|ell|:] N|
|000051e0| 6f 74 69 66 79 20 28 6f | 72 20 6e 6f 74 29 20 6e |otify (o|r not) n|
|000051f0| 65 77 20 6d 65 73 73 61 | 67 65 20 77 69 74 68 20 |ew messa|ge with |
|00005200| 61 0a 62 65 6c 6c 20 6e | 6f 69 73 65 20 28 74 68 |a.bell n|oise (th|
|00005210| 65 20 64 65 66 61 75 6c | 74 20 69 73 20 5c 76 65 |e defaul|t is \ve|
|00005220| 72 62 7c 2d 62 65 6c 6c | 7c 29 2e 0a 0a 5c 69 74 |rb|-bell||)...\it|
|00005230| 65 6d 5b 5c 76 65 72 62 | 7c 2d 61 75 74 6f 72 61 |em[\verb||-autora|
|00005240| 69 73 65 2f 2d 6e 6f 61 | 75 74 6f 72 61 69 73 65 |ise/-noa|utoraise|
|00005250| 7c 3a 5d 20 52 61 69 73 | 65 20 28 6f 72 20 6e 6f ||:] Rais|e (or no|
|00005260| 74 29 20 74 68 65 20 77 | 69 6e 64 6f 77 20 74 6f |t) the w|indow to|
|00005270| 0a 74 68 65 20 74 6f 70 | 20 6f 66 20 74 68 65 20 |.the top| of the |
|00005280| 73 74 61 63 6b 20 77 68 | 65 6e 20 6e 65 77 20 6d |stack wh|en new m|
|00005290| 65 73 73 61 67 65 73 20 | 61 72 72 69 76 65 2e 20 |essages |arrive. |
|000052a0| 54 68 65 20 64 65 66 61 | 75 6c 74 20 69 73 20 6e |The defa|ult is n|
|000052b0| 6f 74 20 74 6f 0a 72 61 | 69 73 65 20 74 68 65 20 |ot to.ra|ise the |
|000052c0| 77 69 6e 64 6f 77 2e 0a | 5c 69 74 65 6d 5b 5c 76 |window..|\item[\v|
|000052d0| 65 72 62 7c 2d 70 68 6f | 74 6f 73 2f 2d 6e 6f 70 |erb|-pho|tos/-nop|
|000052e0| 68 6f 74 6f 73 7c 3a 5d | 20 44 69 73 70 6c 61 79 |hotos|:]| Display|
|000052f0| 20 61 20 70 68 6f 74 6f | 67 72 61 70 68 20 6f 66 | a photo|graph of|
|00005300| 20 74 68 65 20 73 65 6e | 64 65 72 20 6f 66 0a 74 | the sen|der of.t|
|00005310| 68 65 20 6d 61 69 6c 20 | 6f 6e 20 72 65 63 65 70 |he mail |on recep|
|00005320| 74 69 6f 6e 2e 20 54 68 | 69 73 20 64 65 70 65 6e |tion. Th|is depen|
|00005330| 64 73 20 6f 6e 20 69 66 | 20 74 68 65 20 63 6f 64 |ds on if| the cod|
|00005340| 65 20 69 73 20 63 6f 6d | 70 69 6c 65 64 20 74 6f |e is com|piled to|
|00005350| 20 6c 6f 6f 6b 0a 75 70 | 20 74 68 65 20 65 6e 74 | look.up| the ent|
|00005360| 72 79 20 69 6e 20 74 68 | 65 20 64 69 72 65 63 74 |ry in th|e direct|
|00005370| 6f 72 79 2e 0a 5c 65 6e | 64 7b 64 65 73 63 72 69 |ory..\en|d{descri|
|00005380| 62 65 7d 0a 49 6e 20 61 | 64 64 69 74 69 6f 6e 20 |be}.In a|ddition |
|00005390| 69 74 20 74 61 6b 65 73 | 0a 61 6c 6c 20 74 68 65 |it takes|.all the|
|000053a0| 20 73 74 61 6e 64 61 72 | 64 20 58 20 63 6f 6d 6d | standar|d X comm|
|000053b0| 61 6e 64 20 6c 69 6e 65 | 20 61 72 67 75 6d 65 6e |and line| argumen|
|000053c0| 74 73 2e 0a 0a 5c 70 67 | 6d 7b 74 74 79 62 69 66 |ts...\pg|m{ttybif|
|000053d0| 66 7d 20 73 75 70 70 6f | 72 74 73 20 74 68 65 20 |f} suppo|rts the |
|000053e0| 66 6f 6c 6c 6f 77 69 6e | 67 20 66 6c 61 67 73 20 |followin|g flags |
|000053f0| 73 69 6d 69 6c 61 72 20 | 74 6f 20 5c 70 67 6d 7b |similar |to \pgm{|
|00005400| 78 61 6c 65 72 74 7d 3a | 0a 5c 62 65 67 69 6e 7b |xalert}:|.\begin{|
|00005410| 64 65 73 63 72 69 62 65 | 7d 0a 5c 69 74 65 6d 5b |describe|}.\item[|
|00005420| 5c 76 65 72 62 7c 2d 66 | 20 68 6f 73 74 66 69 6c |\verb|-f| hostfil|
|00005430| 65 7c 3a 5d 20 75 73 65 | 20 74 68 65 20 67 69 76 |e|:] use| the giv|
|00005440| 65 6e 20 66 69 6c 65 20 | 74 6f 20 77 72 69 74 65 |en file |to write|
|00005450| 20 74 68 65 20 68 6f 73 | 74 20 61 6e 64 20 70 6f | the hos|t and po|
|00005460| 72 74 0a 6e 75 6d 62 65 | 72 20 69 6e 20 69 6e 73 |rt.numbe|r in ins|
|00005470| 74 65 61 64 20 6f 66 20 | 74 68 65 20 64 65 66 61 |tead of |the defa|
|00005480| 75 6c 74 2e 0a 5c 69 74 | 65 6d 5b 5c 76 65 72 62 |ult..\it|em[\verb|
|00005490| 7c 2d 75 20 75 73 65 72 | 6e 61 6d 65 7c 3a 5d 20 ||-u user|name|:] |
|000054a0| 61 73 20 66 6f 72 20 5c | 70 67 6d 7b 78 61 6c 65 |as for \|pgm{xale|
|000054b0| 72 74 7d 27 73 20 5c 76 | 65 72 62 7c 2d 75 73 65 |rt}'s \v|erb|-use|
|000054c0| 72 6e 61 6d 65 7c 20 73 | 77 69 74 63 68 2e 0a 5c |rname| s|witch..\|
|000054d0| 69 74 65 6d 5b 5c 76 65 | 72 62 7c 2d 70 20 70 6f |item[\ve|rb|-p po|
|000054e0| 72 74 7c 3a 5d 20 61 73 | 20 66 6f 72 20 5c 70 67 |rt|:] as| for \pg|
|000054f0| 6d 7b 78 61 6c 65 72 74 | 7d 27 73 20 5c 76 65 72 |m{xalert|}'s \ver|
|00005500| 62 7c 2d 70 6f 72 74 7c | 20 73 77 69 74 63 68 2e |b|-port|| switch.|
|00005510| 0a 5c 69 74 65 6d 5b 5c | 76 65 72 62 7c 2d 73 7c |.\item[\|verb|-s||
|00005520| 3a 5d 20 6f 6e 6c 79 20 | 64 69 73 70 6c 61 79 20 |:] only |display |
|00005530| 6f 6e 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |on the s|tandard |
|00005540| 6f 75 74 70 75 74 2c 20 | 6e 6f 74 20 6f 6e 20 6f |output, |not on o|
|00005550| 74 68 65 72 0a 74 65 72 | 6d 69 6e 61 6c 73 20 77 |ther.ter|minals w|
|00005560| 68 65 72 65 20 74 68 65 | 20 75 73 65 72 20 69 73 |here the| user is|
|00005570| 20 6c 6f 67 67 65 64 20 | 6f 6e 2e 0a 5c 65 6e 64 | logged |on..\end|
|00005580| 7b 64 65 73 63 72 69 62 | 65 7d 0a 0a 0a 5c 73 75 |{describ|e}...\su|
|00005590| 62 73 65 63 74 69 6f 6e | 7b 55 73 65 20 6f 66 20 |bsection|{Use of |
|000055a0| 66 6c 61 67 6d 61 69 6c | 20 77 69 74 68 20 78 61 |flagmail| with xa|
|000055b0| 6c 65 72 74 20 61 6e 64 | 20 74 74 79 62 69 66 66 |lert and| ttybiff|
|000055c0| 7d 0a 0a 5c 70 67 6d 7b | 58 61 6c 65 72 74 7d 20 |}..\pgm{|Xalert} |
|000055d0| 77 6f 72 6b 73 20 77 69 | 74 68 20 5c 70 67 6d 7b |works wi|th \pgm{|
|000055e0| 66 6c 61 67 6d 61 69 6c | 7d 20 6f 72 20 5c 70 67 |flagmail|} or \pg|
|000055f0| 6d 7b 74 74 79 62 69 66 | 66 7d 20 74 6f 20 70 72 |m{ttybif|f} to pr|
|00005600| 6f 76 69 64 65 20 74 68 | 65 0a 6e 6f 74 69 66 69 |ovide th|e.notifi|
|00005610| 63 61 74 69 6f 6e 2e 20 | 5c 70 67 6d 7b 46 6c 61 |cation. |\pgm{Fla|
|00005620| 67 6d 61 69 6c 7d 20 69 | 73 20 72 65 73 70 6f 6e |gmail} i|s respon|
|00005630| 73 69 62 6c 65 20 66 6f | 72 20 62 75 69 6c 64 69 |sible fo|r buildi|
|00005640| 6e 67 20 75 70 20 74 68 | 65 0a 66 6f 72 6d 61 74 |ng up th|e.format|
|00005650| 20 73 74 72 69 6e 67 20 | 61 6e 64 20 73 65 6e 64 | string |and send|
|00005660| 69 6e 67 20 69 74 20 74 | 6f 20 65 69 74 68 65 72 |ing it t|o either|
|00005670| 20 5c 70 67 6d 7b 78 61 | 6c 65 72 74 7d 20 6f 72 | \pgm{xa|lert} or|
|00005680| 20 5c 70 67 6d 7b 74 74 | 79 62 69 66 66 7d 2e 0a | \pgm{tt|ybiff}..|
|00005690| 54 68 69 73 20 69 73 20 | 61 63 68 69 65 76 65 64 |This is |achieved|
|000056a0| 20 75 73 69 6e 67 20 61 | 20 55 44 50 20 63 6f 6e | using a| UDP con|
|000056b0| 6e 65 63 74 69 6f 6e 2e | 20 5c 70 67 6d 7b 66 6c |nection.| \pgm{fl|
|000056c0| 61 67 6d 61 69 6c 7d 20 | 63 6f 6e 74 61 63 74 73 |agmail} |contacts|
|000056d0| 20 74 68 65 0a 73 65 72 | 76 65 72 20 70 72 6f 67 | the.ser|ver prog|
|000056e0| 72 61 6d 20 62 79 20 6c | 6f 6f 6b 69 6e 67 20 66 |ram by l|ooking f|
|000056f0| 6f 72 20 61 20 66 69 6c | 65 20 77 69 74 68 20 61 |or a fil|e with a|
|00005700| 20 68 6f 73 74 6e 61 6d | 65 20 61 6e 64 20 55 44 | hostnam|e and UD|
|00005710| 50 20 70 6f 72 74 20 69 | 6e 0a 28 62 79 20 64 65 |P port i|n.(by de|
|00005720| 66 61 75 6c 74 20 5c 66 | 69 6c 65 7b 2e 61 6c 65 |fault \f|ile{.ale|
|00005730| 72 74 7d 5c 69 6e 64 65 | 78 7b 2e 61 6c 65 72 74 |rt}\inde|x{.alert|
|00005740| 7d 29 2e 20 49 66 20 74 | 68 69 73 20 65 78 69 73 |}). If t|his exis|
|00005750| 74 73 20 74 68 65 6e 20 | 69 74 0a 61 74 74 65 6d |ts then |it.attem|
|00005760| 70 74 73 20 74 6f 20 63 | 6f 6e 74 61 63 74 20 61 |pts to c|ontact a|
|00005770| 20 73 65 72 76 65 72 20 | 6f 6e 20 74 68 61 74 20 | server |on that |
|00005780| 68 6f 73 74 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |host to |display |
|00005790| 74 68 65 20 6d 65 73 73 | 61 67 65 2e 20 49 66 0a |the mess|age. If.|
|000057a0| 65 69 74 68 65 72 20 6f | 66 20 74 68 65 73 65 20 |either o|f these |
|000057b0| 73 74 65 70 73 20 66 61 | 69 6c 73 2c 20 74 68 65 |steps fa|ils, the|
|000057c0| 6e 20 69 74 20 72 65 76 | 65 72 74 73 20 74 6f 20 |n it rev|erts to |
|000057d0| 74 68 65 20 62 65 68 61 | 76 69 6f 75 72 20 6f 66 |the beha|viour of|
|000057e0| 0a 5c 70 67 6d 7b 74 74 | 79 61 6c 65 72 74 7d 20 |.\pgm{tt|yalert} |
|000057f0| 65 78 63 65 70 74 20 74 | 68 61 74 20 74 68 65 72 |except t|hat ther|
|00005800| 65 20 69 73 20 61 20 64 | 65 6c 61 79 20 77 68 69 |e is a d|elay whi|
|00005810| 6c 65 20 69 74 20 77 61 | 69 74 73 20 66 6f 72 20 |le it wa|its for |
|00005820| 55 44 50 0a 74 69 6d 65 | 6f 75 74 73 20 74 6f 20 |UDP.time|outs to |
|00005830| 6f 63 63 75 72 2e 0a 0a | 54 68 65 20 5c 66 69 6c |occur...|The \fil|
|00005840| 65 7b 2e 61 6c 65 72 74 | 7d 20 68 61 73 20 74 68 |e{.alert|} has th|
|00005850| 65 20 66 6f 72 6d 61 74 | 0a 5c 62 65 67 69 6e 7b |e format|.\begin{|
|00005860| 71 75 6f 74 65 7d 5c 73 | 6d 61 6c 6c 5c 62 65 67 |quote}\s|mall\beg|
|00005870| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 3c 68 6f |in{verba|tim}.<ho|
|00005880| 73 74 6e 61 6d 65 3e 20 | 3c 75 64 70 2d 70 6f 72 |stname> |<udp-por|
|00005890| 74 2d 6e 6f 3e 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |t-no>.\e|nd{verba|
|000058a0| 74 69 6d 7d 5c 65 6e 64 | 7b 71 75 6f 74 65 7d 0a |tim}\end|{quote}.|
|000058b0| 0a 5c 70 67 6d 7b 66 6c | 61 67 6d 61 69 6c 7d 20 |.\pgm{fl|agmail} |
|000058c0| 77 69 6c 6c 20 75 73 65 | 20 74 68 69 73 20 69 6e |will use| this in|
|000058d0| 66 6f 72 6d 61 74 69 6f | 6e 20 74 6f 20 63 6f 6e |formatio|n to con|
|000058e0| 74 61 63 74 20 74 68 65 | 20 72 65 6d 6f 74 65 0a |tact the| remote.|
|000058f0| 70 72 6f 63 65 73 73 2c | 20 77 68 69 63 68 20 63 |process,| which c|
|00005900| 61 6e 20 62 65 20 61 6e | 79 20 70 72 6f 63 65 73 |an be an|y proces|
|00005910| 73 20 77 68 69 63 68 20 | 75 6e 64 65 72 73 74 61 |s which |understa|
|00005920| 6e 64 73 20 74 68 65 20 | 5c 70 67 6d 7b 66 6c 61 |nds the |\pgm{fla|
|00005930| 67 6d 61 69 6c 7d 0a 70 | 72 6f 74 6f 63 6f 6c 2e |gmail}.p|rotocol.|
|00005940| 0a 0a 54 68 65 20 5c 70 | 67 6d 7b 78 61 6c 65 72 |..The \p|gm{xaler|
|00005950| 74 7d 20 70 72 6f 67 72 | 61 6d 20 69 73 20 6a 75 |t} progr|am is ju|
|00005960| 73 74 20 61 20 64 69 73 | 70 6c 61 79 20 70 72 6f |st a dis|play pro|
|00005970| 63 65 73 73 20 74 68 61 | 74 0a 64 69 73 70 6c 61 |cess tha|t.displa|
|00005980| 79 73 20 74 68 65 20 6d | 65 73 73 61 67 65 73 20 |ys the m|essages |
|00005990| 73 65 6e 74 20 62 79 20 | 5c 70 67 6d 7b 66 6c 61 |sent by |\pgm{fla|
|000059a0| 67 6d 61 69 6c 7d 2e 20 | 49 74 20 64 69 73 70 6c |gmail}. |It displ|
|000059b0| 61 79 73 20 74 68 65 73 | 65 20 6d 65 73 73 61 67 |ays thes|e messag|
|000059c0| 65 0a 69 6e 20 61 20 74 | 65 78 74 20 77 69 64 67 |e.in a t|ext widg|
|000059d0| 65 74 20 77 68 69 63 68 | 20 69 73 20 73 63 72 6f |et which| is scro|
|000059e0| 6c 6c 61 62 6c 65 2e 20 | 54 68 65 72 65 20 61 72 |llable. |There ar|
|000059f0| 65 20 74 68 72 65 65 20 | 62 75 74 74 6f 6e 73 3a |e three |buttons:|
|00005a00| 0a 5c 62 65 67 69 6e 7b | 64 65 73 63 72 69 62 65 |.\begin{|describe|
|00005a10| 7d 0a 5c 69 74 65 6d 5b | 5c 76 65 72 62 7c 51 75 |}.\item[|\verb|Qu|
|00005a20| 69 74 7c 3a 5d 20 77 68 | 69 63 68 20 64 6f 65 73 |it|:] wh|ich does|
|00005a30| 20 74 68 65 20 6f 62 76 | 69 6f 75 73 20 74 68 69 | the obv|ious thi|
|00005a40| 6e 67 2e 0a 5c 69 74 65 | 6d 5b 5c 76 65 72 62 7c |ng..\ite|m[\verb||
|00005a50| 43 6c 65 61 72 7c 3a 5d | 20 77 68 69 63 68 20 63 |Clear|:]| which c|
|00005a60| 6c 65 61 72 73 20 74 68 | 65 20 6d 65 73 73 61 67 |lears th|e messag|
|00005a70| 65 20 77 69 6e 64 6f 77 | 2e 0a 5c 69 74 65 6d 5b |e window|..\item[|
|00005a80| 5c 76 65 72 62 7c 4f 70 | 74 69 6f 6e 73 7c 3a 5d |\verb|Op|tions|:]|
|00005a90| 20 77 68 69 63 68 20 70 | 6f 70 73 20 75 70 20 61 | which p|ops up a|
|00005aa0| 20 6d 65 6e 75 20 77 69 | 74 68 20 61 20 6e 75 6d | menu wi|th a num|
|00005ab0| 62 65 72 20 6f 66 0a 73 | 75 62 2d 6f 70 74 69 6f |ber of.s|ub-optio|
|00005ac0| 6e 73 2e 20 54 68 65 73 | 65 20 61 72 65 3a 0a 20 |ns. Thes|e are:. |
|00005ad0| 20 20 20 5c 62 65 67 69 | 6e 7b 64 65 73 63 72 69 | \begi|n{descri|
|00005ae0| 62 65 7d 0a 20 20 20 20 | 5c 69 74 65 6d 5b 5c 76 |be}. |\item[\v|
|00005af0| 65 72 62 7c 52 65 73 65 | 74 7c 3a 5d 20 72 65 77 |erb|Rese|t|:] rew|
|00005b00| 72 69 74 65 73 20 74 68 | 65 20 5c 66 69 6c 65 7b |rites th|e \file{|
|00005b10| 2e 61 6c 65 72 74 7d 20 | 66 69 6c 65 3b 20 69 74 |.alert} |file; it|
|00005b20| 20 69 73 20 75 73 65 64 | 20 69 66 0a 20 20 20 20 | is used| if. |
|00005b30| 74 77 6f 20 78 61 6c 65 | 72 74 73 20 61 72 65 20 |two xale|rts are |
|00005b40| 73 74 61 72 74 65 64 20 | 6f 72 20 74 68 65 20 5c |started |or the \|
|00005b50| 66 69 6c 65 7b 2e 61 6c | 65 72 74 7d 20 66 69 6c |file{.al|ert} fil|
|00005b60| 65 20 69 73 20 72 65 6d | 6f 76 65 64 2e 0a 20 20 |e is rem|oved.. |
|00005b70| 20 20 5c 69 74 65 6d 5b | 5c 76 65 72 62 7c 42 65 | \item[|\verb|Be|
|00005b80| 6c 6c 7c 3a 5d 20 44 69 | 73 61 62 6c 65 2f 65 6e |ll|:] Di|sable/en|
|00005b90| 61 62 6c 65 20 75 73 65 | 20 6f 66 20 74 68 65 20 |able use| of the |
|00005ba0| 62 65 6c 6c 2e 20 54 68 | 65 20 64 65 66 61 75 6c |bell. Th|e defaul|
|00005bb0| 74 0a 63 61 6e 20 62 65 | 20 6f 76 65 72 72 69 64 |t.can be| overrid|
|00005bc0| 65 6e 20 69 6e 20 74 68 | 65 20 75 73 65 72 73 20 |en in th|e users |
|00005bd0| 58 20 72 65 73 6f 75 72 | 63 65 20 66 69 6c 65 20 |X resour|ce file |
|00005be0| 62 79 20 73 65 74 74 69 | 6e 67 20 61 20 62 6f 6f |by setti|ng a boo|
|00005bf0| 6c 65 61 6e 0a 76 61 6c | 75 65 20 66 6f 72 20 5c |lean.val|ue for \|
|00005c00| 76 65 72 62 7c 58 41 6c | 65 72 74 2e 62 65 6c 6c |verb|XAl|ert.bell|
|00005c10| 7c 2e 20 0a 20 20 20 20 | 5c 69 74 65 6d 5b 5c 76 ||. . |\item[\v|
|00005c20| 65 72 62 7c 41 75 74 6f | 72 61 69 73 65 7c 3a 5d |erb|Auto|raise|:]|
|00005c30| 20 44 69 73 61 62 6c 65 | 2f 65 6e 61 62 6c 65 20 | Disable|/enable |
|00005c40| 74 68 65 20 61 75 74 6f | 72 61 69 73 65 20 6d 6f |the auto|raise mo|
|00005c50| 64 65 2e 20 54 68 65 0a | 64 65 66 61 75 6c 74 20 |de. The.|default |
|00005c60| 66 6f 72 20 74 68 69 73 | 20 63 61 6e 20 62 65 20 |for this| can be |
|00005c70| 73 65 74 20 76 69 61 20 | 74 68 65 20 62 6f 6f 6c |set via |the bool|
|00005c80| 65 61 6e 20 58 20 72 65 | 73 6f 75 72 63 65 20 5c |ean X re|source \|
|00005c90| 76 65 72 62 7c 58 41 6c | 65 72 74 2e 61 75 74 6f |verb|XAl|ert.auto|
|00005ca0| 52 61 69 73 65 7c 2e 0a | 20 20 20 20 5c 69 74 65 |Raise|..| \ite|
|00005cb0| 6d 5b 5c 76 65 72 62 7c | 50 68 6f 74 6f 73 7c 3a |m[\verb||Photos|:|
|00005cc0| 5d 20 44 69 73 61 62 6c | 65 2f 65 6e 61 62 6c 65 |] Disabl|e/enable|
|00005cd0| 20 64 69 73 70 6c 61 79 | 20 6f 66 20 70 68 6f 74 | display| of phot|
|00005ce0| 6f 67 72 61 70 68 73 2e | 20 54 68 65 0a 64 65 66 |ographs.| The.def|
|00005cf0| 61 75 6c 74 20 66 6f 72 | 20 74 68 69 73 20 63 61 |ault for| this ca|
|00005d00| 6e 20 62 65 20 73 65 74 | 20 76 69 61 20 74 68 65 |n be set| via the|
|00005d10| 20 62 6f 6f 6c 65 61 6e | 20 58 20 72 65 73 6f 75 | boolean| X resou|
|00005d20| 72 63 65 20 5c 76 65 72 | 62 7c 58 41 6c 65 72 74 |rce \ver|b|XAlert|
|00005d30| 2e 70 68 6f 74 6f 73 7c | 2e 0a 20 20 20 20 5c 65 |.photos||.. \e|
|00005d40| 6e 64 7b 64 65 73 63 72 | 69 62 65 7d 0a 5c 65 6e |nd{descr|ibe}.\en|
|00005d50| 64 7b 64 65 73 63 72 69 | 62 65 7d 0a 0a 54 68 65 |d{descri|be}..The|
|00005d60| 20 5c 70 67 6d 7b 74 74 | 79 62 69 66 66 7d 20 61 | \pgm{tt|ybiff} a|
|00005d70| 74 74 65 6d 70 74 73 20 | 74 6f 20 6c 6f 63 61 74 |ttempts |to locat|
|00005d80| 65 20 74 68 65 20 75 73 | 65 72 20 69 6e 20 74 68 |e the us|er in th|
|00005d90| 65 20 73 61 6d 65 20 6d | 61 6e 6e 65 72 20 61 73 |e same m|anner as|
|00005da0| 0a 5c 70 67 6d 7b 74 74 | 79 61 6c 65 72 74 7d 20 |.\pgm{tt|yalert} |
|00005db0| 6f 72 2c 20 69 66 20 74 | 68 61 74 20 66 61 69 6c |or, if t|hat fail|
|00005dc0| 73 2c 20 74 6f 20 64 69 | 73 70 6c 61 79 20 74 68 |s, to di|splay th|
|00005dd0| 65 20 6d 65 73 73 61 67 | 65 20 6f 6e 20 74 68 65 |e messag|e on the|
|00005de0| 20 73 74 61 6e 64 61 72 | 64 0a 6f 75 74 70 75 74 | standar|d.output|
|00005df0| 2e 0a 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 45 |...\subs|ection{E|
|00005e00| 78 61 6d 70 6c 65 73 7d | 0a 0a 48 65 72 65 20 61 |xamples}|..Here a|
|00005e10| 72 65 20 61 20 66 65 77 | 20 65 78 61 6d 70 6c 65 |re a few| example|
|00005e20| 73 20 6f 66 20 75 73 65 | 2e 0a 0a 46 69 72 73 74 |s of use|...First|
|00005e30| 2c 20 74 68 65 20 73 69 | 6d 70 6c 65 20 6e 6f 74 |, the si|mple not|
|00005e40| 69 66 69 63 61 74 69 6f | 6e 20 74 68 61 74 20 73 |ificatio|n that s|
|00005e50| 68 6f 75 6c 64 20 62 65 | 20 70 75 74 20 69 6e 20 |hould be| put in |
|00005e60| 74 68 65 0a 5c 66 69 6c | 65 7b 2e 6d 61 69 6c 66 |the.\fil|e{.mailf|
|00005e70| 69 6c 74 65 72 7d 20 66 | 69 6c 65 3a 0a 5c 62 65 |ilter} f|ile:.\be|
|00005e80| 67 69 6e 7b 71 75 6f 74 | 65 7d 5c 73 6d 61 6c 6c |gin{quot|e}\small|
|00005e90| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00005ea0| 0a 69 67 6e 6f 72 65 20 | 70 69 70 65 20 22 66 6c |.ignore |pipe "fl|
|00005eb0| 61 67 6d 61 69 6c 20 2d | 73 20 24 28 73 69 7a 65 |agmail -|s $(size|
|00005ec0| 29 22 3b 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |)";.\end|{verbati|
|00005ed0| 6d 7d 5c 65 6e 64 7b 71 | 75 6f 74 65 7d 0a 54 68 |m}\end{q|uote}.Th|
|00005ee0| 69 73 20 64 6f 65 73 20 | 74 68 65 20 6d 6f 73 74 |is does |the most|
|00005ef0| 20 62 61 73 69 63 20 6e | 6f 74 69 66 69 63 61 74 | basic n|otificat|
|00005f00| 69 6f 6e 2e 20 49 66 20 | 6d 6f 72 65 20 63 6f 6e |ion. If |more con|
|00005f10| 74 72 6f 6c 20 69 73 20 | 72 65 71 75 69 72 65 64 |trol is |required|
|00005f20| 0a 6f 76 65 72 20 74 68 | 65 20 64 69 73 70 6c 61 |.over th|e displa|
|00005f30| 79 65 64 20 6d 65 73 73 | 61 67 65 20 6d 6f 72 65 |yed mess|age more|
|00005f40| 20 63 6f 6d 70 6c 65 78 | 20 73 74 72 69 6e 67 73 | complex| strings|
|00005f50| 20 63 61 6e 20 62 65 20 | 62 75 69 6c 74 20 75 70 | can be |built up|
|00005f60| 3a 0a 5c 62 65 67 69 6e | 7b 71 75 6f 74 65 7d 5c |:.\begin|{quote}\|
|00005f70| 73 6d 61 6c 6c 5c 62 65 | 67 69 6e 7b 76 65 72 62 |small\be|gin{verb|
|00005f80| 61 74 69 6d 7d 0a 69 66 | 20 28 24 28 73 75 62 6a |atim}.if| ($(subj|
|00005f90| 65 63 74 29 20 3d 3d 20 | 2f 72 65 71 75 65 73 74 |ect) == |/request|
|00005fa0| 2f 29 20 7b 0a 20 20 20 | 20 66 69 6c 65 20 22 72 |/) {. | file "r|
|00005fb0| 65 71 75 65 73 74 2d 6d | 62 6f 78 22 3b 0a 20 20 |equest-m|box";. |
|00005fc0| 20 20 69 67 6e 6f 72 65 | 20 70 69 70 65 20 22 66 | ignore| pipe "f|
|00005fd0| 6c 61 67 6d 61 69 6c 20 | 2d 73 20 24 28 73 69 7a |lagmail |-s $(siz|
|00005fe0| 65 29 20 2d 65 20 52 45 | 51 55 45 53 54 22 3b 0a |e) -e RE|QUEST";.|
|00005ff0| 7d 0a 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |}.\end{v|erbatim}|
|00006000| 5c 65 6e 64 7b 71 75 6f | 74 65 7d 0a 0a 46 69 6e |\end{quo|te}..Fin|
|00006010| 61 6c 6c 79 2c 20 69 66 | 20 79 6f 75 20 61 72 65 |ally, if| you are|
|00006020| 20 61 64 76 65 6e 74 75 | 72 6f 75 73 2c 20 79 6f | adventu|rous, yo|
|00006030| 75 20 6d 69 67 68 74 20 | 6c 69 6b 65 20 74 6f 20 |u might |like to |
|00006040| 70 6c 61 79 20 77 69 74 | 68 20 74 68 65 0a 66 6f |play wit|h the.fo|
|00006050| 72 6d 61 74 20 6f 66 20 | 74 68 65 20 6d 65 73 73 |rmat of |the mess|
|00006060| 61 67 65 20 67 69 76 65 | 6e 2e 20 46 6f 72 20 69 |age give|n. For i|
|00006070| 6e 73 74 61 6e 63 65 3a | 0a 5c 62 65 67 69 6e 7b |nstance:|.\begin{|
|00006080| 71 75 6f 74 65 7d 5c 73 | 6d 61 6c 6c 5c 62 65 67 |quote}\s|mall\beg|
|00006090| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 69 67 6e |in{verba|tim}.ign|
|000060a0| 6f 72 65 20 70 69 70 65 | 20 0a 20 22 66 6c 61 67 |ore pipe| . "flag|
|000060b0| 6d 61 69 6c 20 2d 73 20 | 24 28 73 69 7a 65 29 20 |mail -s |$(size) |
|000060c0| 2d 66 20 27 25 35 73 69 | 7a 65 20 25 31 35 66 72 |-f '%5si|ze %15fr|
|000060d0| 6f 6d 20 28 25 32 30 73 | 75 62 6a 65 63 74 29 20 |om (%20s|ubject) |
|000060e0| 2a 2a 25 62 6f 64 79 27 | 22 3b 0a 5c 65 6e 64 7b |**%body'|";.\end{|
|000060f0| 76 65 72 62 61 74 69 6d | 7d 5c 65 6e 64 7b 71 75 |verbatim|}\end{qu|
|00006100| 6f 74 65 7d 0a 0a 54 68 | 69 73 20 77 6f 75 6c 64 |ote}..Th|is would|
|00006110| 20 67 69 76 65 20 61 6e | 20 6f 75 74 70 75 74 20 | give an| output |
|00006120| 69 6e 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |in the f|ollowing|
|00006130| 20 66 6f 72 6d 61 74 20 | 66 6f 72 20 61 20 74 79 | format |for a ty|
|00006140| 70 69 63 61 6c 20 6d 65 | 73 73 61 67 65 0a 5c 62 |pical me|ssage.\b|
|00006150| 65 67 69 6e 7b 71 75 6f | 74 65 7d 5c 73 6d 61 6c |egin{quo|te}\smal|
|00006160| 6c 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |l\begin{|verbatim|
|00006170| 7d 0a 31 30 32 33 20 20 | 4a 75 6c 69 61 6e 20 4f |}.1023 |Julian O|
|00006180| 6e 69 6f 6e 73 20 20 20 | 28 52 65 3a 20 44 65 6c |nions |(Re: Del|
|00006190| 69 76 65 72 79 20 52 65 | 70 6f 72 74 20 29 20 2a |ivery Re|port ) *|
|000061a0| 2a 20 41 6c 73 6f 20 0a | 5c 65 6e 64 7b 76 65 72 |* Also .|\end{ver|
|000061b0| 62 61 74 69 6d 7d 5c 65 | 6e 64 7b 71 75 6f 74 65 |batim}\e|nd{quote|
|000061c0| 7d 0a 0a 5c 73 65 63 74 | 69 6f 6e 7b 41 75 74 6f |}..\sect|ion{Auto|
|000061d0| 6d 61 74 69 63 20 56 61 | 63 61 74 69 6f 6e 20 4e |matic Va|cation N|
|000061e0| 6f 74 69 63 65 73 7d 0a | 0a 50 50 20 70 72 6f 76 |otices}.|.PP prov|
|000061f0| 69 64 65 73 20 61 20 73 | 69 6d 70 6c 65 20 70 72 |ides a s|imple pr|
|00006200| 6f 67 72 61 6d 20 74 6f | 20 6e 6f 74 69 66 79 20 |ogram to| notify |
|00006210| 6f 72 69 67 69 6e 61 74 | 6f 72 73 20 74 68 61 74 |originat|ors that|
|00006220| 20 74 68 65 20 72 65 63 | 69 70 69 65 6e 74 73 0a | the rec|ipients.|
|00006230| 77 69 6c 6c 20 6e 6f 74 | 20 72 65 61 64 20 74 68 |will not| read th|
|00006240| 65 69 72 20 6d 65 73 73 | 61 67 65 73 20 66 6f 72 |eir mess|ages for|
|00006250| 20 73 6f 6d 65 20 74 69 | 6d 65 2e 20 54 68 69 73 | some ti|me. This|
|00006260| 20 69 73 20 74 79 70 69 | 63 61 6c 6c 79 20 69 6e | is typi|cally in|
|00006270| 73 74 61 6c 6c 65 64 0a | 77 68 65 6e 20 74 68 65 |stalled.|when the|
|00006280| 20 72 65 63 69 70 69 65 | 6e 74 20 69 73 20 65 78 | recipie|nt is ex|
|00006290| 70 65 63 74 69 6e 67 20 | 74 6f 20 62 65 20 75 6e |pecting |to be un|
|000062a0| 61 62 6c 65 20 74 6f 20 | 72 65 61 64 20 6d 61 69 |able to |read mai|
|000062b0| 6c 20 66 6f 72 20 73 6f | 6d 65 0a 74 69 6d 65 2c |l for so|me.time,|
|000062c0| 20 73 75 63 68 20 61 73 | 20 67 6f 69 6e 67 20 6f | such as| going o|
|000062d0| 6e 20 76 61 63 61 74 69 | 6f 6e 2e 0a 0a 54 68 65 |n vacati|on...The|
|000062e0| 20 70 72 6f 67 72 61 6d | 2c 20 5c 70 67 6d 7b 72 | program|, \pgm{r|
|000062f0| 63 76 74 72 69 70 7d 2c | 20 69 73 20 69 6e 73 74 |cvtrip},| is inst|
|00006300| 61 6c 6c 65 64 20 69 6e | 20 74 68 65 20 5c 66 69 |alled in| the \fi|
|00006310| 6c 65 7b 2e 6d 61 69 6c | 66 69 6c 74 65 72 7d 0a |le{.mail|filter}.|
|00006320| 66 69 6c 65 20 69 6e 20 | 61 20 66 61 73 68 69 6f |file in |a fashio|
|00006330| 6e 20 73 69 6d 69 6c 61 | 72 20 74 6f 20 74 68 65 |n simila|r to the|
|00006340| 20 66 6f 6c 6c 6f 77 69 | 6e 67 2e 0a 0a 5c 62 65 | followi|ng...\be|
|00006350| 67 69 6e 7b 71 75 6f 74 | 65 7d 5c 73 6d 61 6c 6c |gin{quot|e}\small|
|00006360| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00006370| 0a 69 67 6e 6f 72 65 20 | 70 69 70 65 20 22 72 63 |.ignore |pipe "rc|
|00006380| 76 74 72 69 70 22 0a 5c | 65 6e 64 7b 76 65 72 62 |vtrip".\|end{verb|
|00006390| 61 74 69 6d 7d 5c 65 6e | 64 7b 71 75 6f 74 65 7d |atim}\en|d{quote}|
|000063a0| 0a 0a 54 68 65 20 70 72 | 6f 67 72 61 6d 20 72 65 |..The pr|ogram re|
|000063b0| 61 64 73 20 74 68 65 20 | 6d 65 73 73 61 67 65 20 |ads the |message |
|000063c0| 61 6e 64 20 63 68 65 63 | 6b 73 20 74 6f 20 73 65 |and chec|ks to se|
|000063d0| 65 20 69 66 20 74 68 65 | 20 72 65 63 69 70 69 65 |e if the| recipie|
|000063e0| 6e 74 20 69 73 0a 6d 65 | 6e 74 69 6f 6e 65 64 20 |nt is.me|ntioned |
|000063f0| 64 69 72 65 63 74 6c 79 | 20 69 6e 20 65 69 74 68 |directly| in eith|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.