home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v21 / 150 < prev    next >
Mailbox/MIME Entity  |  1990-12-05  |  2.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From std-unix-request@uunet.uu.net Sat Sep 29 18:14:17 1990", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 73 74 64 | 2d 75 6e 69 78 2d 72 65 |From std|-unix-re|
|00000010| 71 75 65 73 74 40 75 75 | 6e 65 74 2e 75 75 2e 6e |quest@uu|net.uu.n|
|00000020| 65 74 20 20 53 61 74 20 | 53 65 70 20 32 39 20 31 |et Sat |Sep 29 1|
|00000030| 38 3a 31 34 3a 31 37 20 | 31 39 39 30 0a 52 65 63 |8:14:17 |1990.Rec|
|00000040| 65 69 76 65 64 3a 20 66 | 72 6f 6d 20 63 73 2e 75 |eived: f|rom cs.u|
|00000050| 74 65 78 61 73 2e 65 64 | 75 20 62 79 20 75 75 6e |texas.ed|u by uun|
|00000060| 65 74 2e 75 75 2e 6e 65 | 74 20 28 35 2e 36 31 2f |et.uu.ne|t (5.61/|
|00000070| 31 2e 31 34 29 20 77 69 | 74 68 20 53 4d 54 50 20 |1.14) wi|th SMTP |
|00000080| 0a 09 69 64 20 41 41 30 | 32 38 32 36 3b 20 53 61 |..id AA0|2826; Sa|
|00000090| 74 2c 20 32 39 20 53 65 | 70 20 39 30 20 31 38 3a |t, 29 Se|p 90 18:|
|000000a0| 31 34 3a 31 37 20 2d 30 | 34 30 30 0a 50 6f 73 74 |14:17 -0|400.Post|
|000000b0| 65 64 2d 44 61 74 65 3a | 20 32 39 20 53 65 70 20 |ed-Date:| 29 Sep |
|000000c0| 39 30 20 31 37 3a 30 37 | 3a 33 37 20 47 4d 54 0a |90 17:07|:37 GMT.|
|000000d0| 52 65 63 65 69 76 65 64 | 3a 20 62 79 20 63 73 2e |Received|: by cs.|
|000000e0| 75 74 65 78 61 73 2e 65 | 64 75 20 28 35 2e 36 34 |utexas.e|du (5.64|
|000000f0| 2f 31 2e 37 36 29 20 0a | 46 72 6f 6d 3a 20 70 65 |/1.76) .|From: pe|
|00000100| 74 65 72 40 66 69 63 63 | 2e 66 65 72 72 61 6e 74 |ter@ficc|.ferrant|
|00000110| 69 2e 63 6f 6d 20 28 50 | 65 74 65 72 20 64 61 20 |i.com (P|eter da |
|00000120| 53 69 6c 76 61 29 0a 4e | 65 77 73 67 72 6f 75 70 |Silva).N|ewsgroup|
|00000130| 73 3a 20 63 6f 6d 70 2e | 73 74 64 2e 75 6e 69 78 |s: comp.|std.unix|
|00000140| 0a 53 75 62 6a 65 63 74 | 3a 20 52 65 3a 20 53 74 |.Subject|: Re: St|
|00000150| 61 6e 64 61 72 64 73 20 | 55 70 64 61 74 65 2c 20 |andards |Update, |
|00000160| 49 45 45 45 20 31 30 30 | 33 2e 34 3a 20 52 65 61 |IEEE 100|3.4: Rea|
|00000170| 6c 2d 74 69 6d 65 20 45 | 78 74 65 6e 73 69 6f 6e |l-time E|xtension|
|00000180| 73 0a 4d 65 73 73 61 67 | 65 2d 49 64 3a 20 3c 31 |s.Messag|e-Id: <1|
|00000190| 30 36 36 39 37 40 75 75 | 6e 65 74 2e 55 55 2e 4e |06697@uu|net.UU.N|
|000001a0| 45 54 3e 0a 52 65 66 65 | 72 65 6e 63 65 73 3a 20 |ET>.Refe|rences: |
|000001b0| 3c 34 39 35 40 75 73 65 | 6e 69 78 2e 4f 52 47 3e |<495@use|nix.ORG>|
|000001c0| 20 3c 35 32 33 40 75 73 | 65 6e 69 78 2e 4f 52 47 | <523@us|enix.ORG|
|000001d0| 3e 20 3c 35 32 39 40 75 | 73 65 6e 69 78 2e 4f 52 |> <529@u|senix.OR|
|000001e0| 47 3e 20 3c 35 34 38 40 | 75 73 65 6e 69 78 2e 4f |G> <548@|usenix.O|
|000001f0| 52 47 3e 0a 53 65 6e 64 | 65 72 3a 20 6a 73 71 40 |RG>.Send|er: jsq@|
|00000200| 75 75 6e 65 74 2e 75 75 | 2e 6e 65 74 0a 52 65 70 |uunet.uu|.net.Rep|
|00000210| 6c 79 2d 54 6f 3a 20 70 | 65 74 65 72 40 66 69 63 |ly-To: p|eter@fic|
|00000220| 63 2e 66 65 72 72 61 6e | 74 69 2e 63 6f 6d 20 28 |c.ferran|ti.com (|
|00000230| 50 65 74 65 72 20 64 61 | 20 53 69 6c 76 61 29 0a |Peter da| Silva).|
|00000240| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 58 65 |Organiza|tion: Xe|
|00000250| 6e 69 78 20 53 75 70 70 | 6f 72 74 2c 20 46 49 43 |nix Supp|ort, FIC|
|00000260| 43 0a 58 2d 53 75 62 6d | 69 73 73 69 6f 6e 73 3a |C.X-Subm|issions:|
|00000270| 20 73 74 64 2d 75 6e 69 | 78 40 75 75 6e 65 74 2e | std-uni|x@uunet.|
|00000280| 75 75 2e 6e 65 74 0a 44 | 61 74 65 3a 20 32 39 20 |uu.net.D|ate: 29 |
|00000290| 53 65 70 20 39 30 20 31 | 37 3a 30 37 3a 33 37 20 |Sep 90 1|7:07:37 |
|000002a0| 47 4d 54 0a 54 6f 3a 20 | 73 74 64 2d 75 6e 69 78 |GMT.To: |std-unix|
|000002b0| 40 75 75 6e 65 74 2e 75 | 75 2e 6e 65 74 0a 0a 53 |@uunet.u|u.net..S|
|000002c0| 75 62 6d 69 74 74 65 64 | 2d 62 79 3a 20 70 65 74 |ubmitted|-by: pet|
|000002d0| 65 72 40 66 69 63 63 2e | 66 65 72 72 61 6e 74 69 |er@ficc.|ferranti|
|000002e0| 2e 63 6f 6d 20 28 50 65 | 74 65 72 20 64 61 20 53 |.com (Pe|ter da S|
|000002f0| 69 6c 76 61 29 0a 0a 49 | 6e 20 61 72 74 69 63 6c |ilva)..I|n articl|
|00000300| 65 20 3c 35 34 38 40 75 | 73 65 6e 69 78 2e 4f 52 |e <548@u|senix.OR|
|00000310| 47 3e 20 62 72 6e 73 74 | 6e 64 40 6b 72 61 6d 64 |G> brnst|nd@kramd|
|00000320| 65 6e 2e 61 63 66 2e 6e | 79 75 2e 65 64 75 20 28 |en.acf.n|yu.edu (|
|00000330| 44 61 6e 20 42 65 72 6e | 73 74 65 69 6e 29 20 77 |Dan Bern|stein) w|
|00000340| 72 69 74 65 73 3a 0a 3e | 20 49 20 64 69 73 61 67 |rites:.>| I disag|
|00000350| 72 65 65 2e 20 49 20 63 | 6f 6e 73 69 64 65 72 20 |ree. I c|onsider |
|00000360| 69 74 20 61 6e 20 65 78 | 63 65 6c 6c 65 6e 74 20 |it an ex|cellent |
|00000370| 65 78 61 6d 70 6c 65 20 | 6f 66 20 68 6f 77 20 74 |example |of how t|
|00000380| 68 65 20 64 65 73 69 67 | 6e 65 72 73 20 6f 66 0a |he desig|ners of.|
|00000390| 3e 20 55 4e 49 58 20 72 | 65 61 6c 69 7a 65 20 74 |> UNIX r|ealize t|
|000003a0| 68 61 74 20 61 6c 6c 20 | 2a 72 65 6c 69 61 62 6c |hat all |*reliabl|
|000003b0| 65 2a 2c 20 2a 73 74 61 | 74 69 63 2a 2c 20 2a 6c |e*, *sta|tic*, *l|
|000003c0| 6f 63 61 6c 2a 20 28 6f | 72 20 76 69 72 74 75 61 |ocal* (o|r virtua|
|000003d0| 6c 6c 79 20 6c 6f 63 61 | 6c 29 0a 3e 20 49 2f 4f |lly loca|l).> I/O|
|000003e0| 20 6f 62 6a 65 63 74 73 | 20 70 6f 74 65 6e 74 69 | objects| potenti|
|000003f0| 61 6c 6c 79 20 76 69 73 | 69 62 6c 65 20 74 6f 20 |ally vis|ible to |
|00000400| 6d 6f 72 65 20 74 68 61 | 6e 20 6f 6e 65 20 70 72 |more tha|n one pr|
|00000410| 6f 63 65 73 73 20 62 65 | 6c 6f 6e 67 20 69 6e 20 |ocess be|long in |
|00000420| 74 68 65 0a 3e 20 66 69 | 6c 65 73 79 73 74 65 6d |the.> fi|lesystem|
|00000430| 20 6e 61 6d 65 73 70 61 | 63 65 2e 0a 0a 4c 69 6b | namespa|ce...Lik|
|00000440| 65 20 22 2f 64 65 76 2f | 74 74 79 22 3f 20 49 20 |e "/dev/|tty"? I |
|00000450| 74 68 69 6e 6b 20 79 6f | 75 27 76 65 20 67 6f 74 |think yo|u've got|
|00000460| 20 73 6f 6d 65 20 73 65 | 6d 61 6e 74 69 63 20 67 | some se|mantic g|
|00000470| 61 70 20 68 65 72 65 20 | 62 65 74 77 65 65 6e 20 |ap here |between |
|00000480| 77 68 61 74 27 73 0a 61 | 70 70 72 6f 70 72 69 61 |what's.a|ppropria|
|00000490| 74 65 20 66 6f 72 20 61 | 20 66 69 6c 65 20 76 65 |te for a| file ve|
|000004a0| 72 73 75 73 20 77 68 61 | 74 27 73 20 61 70 70 72 |rsus wha|t's appr|
|000004b0| 6f 70 72 69 61 74 65 20 | 66 6f 72 20 61 20 66 69 |opriate |for a fi|
|000004c0| 6c 65 20 64 65 73 63 72 | 69 70 74 6f 72 2e 20 41 |le descr|iptor. A|
|000004d0| 6e 0a 61 72 62 69 74 72 | 61 72 79 20 66 61 69 6c |n.arbitr|ary fail|
|000004e0| 75 72 65 20 6f 6e 20 61 | 6e 20 6f 70 65 6e 20 66 |ure on a|n open f|
|000004f0| 69 6c 65 20 64 65 73 63 | 72 69 70 74 6f 72 20 63 |ile desc|riptor c|
|00000500| 61 75 73 65 73 20 70 72 | 6f 62 6c 65 6d 73 2e 2e |auses pr|oblems..|
|00000510| 2e 20 62 75 74 20 74 68 | 61 74 0a 64 6f 65 73 6e |. but th|at.doesn|
|00000520| 27 74 20 6b 65 65 70 20 | 73 6f 63 6b 65 74 28 29 |'t keep |socket()|
|00000530| 20 66 72 6f 6d 20 72 65 | 74 75 72 6e 69 6e 67 20 | from re|turning |
|00000540| 61 6e 20 66 64 2e 20 41 | 6e 20 61 72 62 69 74 72 |an fd. A|n arbitr|
|00000550| 61 72 79 20 66 61 69 6c | 75 72 65 20 6f 72 20 61 |ary fail|ure or a|
|00000560| 6e 0a 61 72 62 69 74 72 | 61 72 79 20 64 65 6c 61 |n.arbitr|ary dela|
|00000570| 79 20 6f 6e 20 61 6e 20 | 6f 70 65 6e 20 63 61 6c |y on an |open cal|
|00000580| 6c 20 69 73 20 70 65 72 | 66 65 63 74 6c 79 20 72 |l is per|fectly r|
|00000590| 65 61 73 6f 6e 61 62 6c | 65 3a 20 70 72 6f 67 72 |easonabl|e: progr|
|000005a0| 61 6d 73 20 65 78 70 65 | 63 74 0a 6f 70 65 6e 20 |ams expe|ct.open |
|000005b0| 74 6f 20 66 61 69 6c 2e | 20 54 68 65 79 20 64 65 |to fail.| They de|
|000005c0| 70 65 6e 64 20 6f 6e 20 | 77 72 69 74 65 28 29 20 |pend on |write() |
|000005d0| 77 6f 72 6b 69 6e 67 2e | 0a 0a 41 6e 64 20 73 65 |working.|..And se|
|000005e0| 72 69 61 6c 20 6c 69 6e | 65 73 20 61 72 65 20 73 |rial lin|es are s|
|000005f0| 75 62 6a 65 63 74 20 74 | 6f 20 61 6c 6c 20 74 68 |ubject t|o all th|
|00000600| 65 20 22 68 61 7a 61 72 | 64 6f 75 73 22 20 62 65 |e "hazar|dous" be|
|00000610| 68 61 76 69 6f 75 72 20 | 6f 66 20 6e 65 74 77 6f |haviour |of netwo|
|00000620| 72 6b 0a 63 6f 6e 6e 65 | 63 74 69 6f 6e 73 2e 20 |rk.conne|ctions. |
|00000630| 41 6e 20 6f 70 65 6e 20 | 63 61 6e 20 62 65 20 69 |An open |can be i|
|00000640| 6e 64 65 66 69 6e 69 74 | 65 6c 79 20 64 65 66 65 |ndefinit|ely defe|
|00000650| 72 72 65 64 2e 20 54 68 | 65 20 63 6f 6e 6e 65 63 |rred. Th|e connec|
|00000660| 74 69 6f 6e 2c 20 65 73 | 70 65 63 69 61 6c 6c 79 |tion, es|pecially|
|00000670| 0a 6f 76 65 72 20 61 20 | 6d 6f 64 65 6d 2c 20 63 |.over a |modem, c|
|00000680| 61 6e 20 76 61 6e 69 73 | 68 20 61 74 20 61 6e 79 |an vanis|h at any|
|00000690| 20 74 69 6d 65 2e 20 57 | 68 79 20 6e 6f 74 20 74 | time. W|hy not t|
|000006a0| 61 6b 65 20 2a 74 68 65 | 6d 2a 20 6f 75 74 20 6f |ake *the|m* out o|
|000006b0| 66 20 74 68 65 20 6e 61 | 6d 65 73 70 61 63 65 0a |f the na|mespace.|
|000006c0| 61 73 20 77 65 6c 6c 3f | 0a 0a 3e 20 59 6f 75 20 |as well?|..> You |
|000006d0| 63 61 6e 20 72 65 61 64 | 28 29 20 6f 72 0a 3e 20 |can read|() or.> |
|000006e0| 77 72 69 74 65 28 29 20 | 72 65 61 73 6f 6e 61 62 |write() |reasonab|
|000006f0| 6c 65 20 49 2f 4f 20 6f | 62 6a 65 63 74 73 20 74 |le I/O o|bjects t|
|00000700| 68 72 6f 75 67 68 20 66 | 69 6c 65 20 64 65 73 63 |hrough f|ile desc|
|00000710| 72 69 70 74 6f 72 73 2e | 20 56 65 72 79 20 66 65 |riptors.| Very fe|
|00000720| 77 0a 3e 20 70 72 6f 67 | 72 61 6d 73 2d 2d 2d 74 |w.> prog|rams---t|
|00000730| 68 65 20 73 68 65 6c 6c | 20 69 73 20 61 20 63 6f |he shell| is a co|
|00000740| 75 6e 74 65 72 65 78 61 | 6d 70 6c 65 2d 2d 2d 6e |unterexa|mple---n|
|00000750| 65 65 64 20 74 6f 20 77 | 6f 72 72 79 20 61 62 6f |eed to w|orry abo|
|00000760| 75 74 20 77 68 61 74 20 | 69 74 0a 3e 20 74 61 6b |ut what |it.> tak|
|00000770| 65 73 20 74 6f 20 73 65 | 74 20 75 70 20 74 68 6f |es to se|t up tho|
|00000780| 73 65 20 66 69 6c 65 20 | 64 65 73 63 72 69 70 74 |se file |descript|
|00000790| 6f 72 73 2e 0a 0a 41 6e | 64 20 74 68 61 74 27 73 |ors...An|d that's|
|000007a0| 20 74 68 65 20 70 72 6f | 62 6c 65 6d 2c 20 62 65 | the pro|blem, be|
|000007b0| 63 61 75 73 65 20 74 68 | 65 20 73 68 65 6c 6c 20 |cause th|e shell |
|000007c0| 69 73 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 74 |is the p|rogram t|
|000007d0| 68 61 74 20 69 73 20 75 | 73 65 64 20 74 6f 0a 63 |hat is u|sed to.c|
|000007e0| 72 65 61 74 65 20 6d 6f | 72 65 20 66 69 6c 65 20 |reate mo|re file |
|000007f0| 64 65 73 63 72 69 70 74 | 6f 72 73 20 74 68 61 6e |descript|ors than|
|00000800| 20 6a 75 73 74 20 61 62 | 6f 75 74 20 61 6e 79 74 | just ab|out anyt|
|00000810| 68 69 6e 67 20 65 6c 73 | 65 2e 20 49 66 20 74 68 |hing els|e. If th|
|00000820| 65 20 73 68 65 6c 6c 0a | 68 61 64 20 61 20 73 79 |e shell.|had a sy|
|00000830| 6e 74 61 78 20 66 6f 72 | 20 63 72 65 61 74 69 6e |ntax for| creatin|
|00000840| 67 20 73 6f 63 6b 65 74 | 73 20 61 6e 64 20 6e 65 |g socket|s and ne|
|00000850| 74 77 6f 72 6b 20 63 6f | 6e 6e 65 63 74 69 6f 6e |twork co|nnection|
|00000860| 73 20 77 65 20 77 6f 75 | 6c 64 6e 27 74 20 62 65 |s we wou|ldn't be|
|00000870| 0a 68 61 76 69 6e 67 20 | 74 68 69 73 20 64 69 73 |.having |this dis|
|00000880| 63 75 73 73 69 6f 6e 2e | 2e 2e 20 62 75 74 20 74 |cussion.|.. but t|
|00000890| 68 65 6e 20 69 66 20 69 | 74 20 64 69 64 20 74 68 |hen if i|t did th|
|000008a0| 65 6e 20 79 6f 75 20 6d | 69 67 68 74 20 61 73 20 |en you m|ight as |
|000008b0| 77 65 6c 6c 20 6d 61 6b | 65 0a 69 74 20 62 65 20 |well mak|e.it be |
|000008c0| 76 69 61 20 66 69 6c 65 | 6e 61 6d 65 73 2e 2e 2e |via file|names...|
|000008d0| 0a 0a 41 6e 64 20 6c 6f | 6f 6b 20 77 68 65 72 65 |..And lo|ok where|
|000008e0| 20 74 68 69 73 20 64 69 | 73 63 75 73 73 69 6f 6e | this di|scussion|
|000008f0| 20 73 74 61 72 74 65 64 | 2e 2e 2e 20 6f 76 65 72 | started|... over|
|00000900| 20 73 68 61 72 65 64 20 | 6d 65 6d 6f 72 79 20 61 | shared |memory a|
|00000910| 6e 64 20 6d 65 73 73 61 | 67 65 73 0a 61 6e 64 20 |nd messa|ges.and |
|00000920| 73 65 6d 61 70 68 6f 72 | 65 73 20 62 65 69 6e 67 |semaphor|es being|
|00000930| 20 69 6e 20 61 20 73 65 | 70 61 72 61 74 65 20 6e | in a se|parate n|
|00000940| 61 6d 65 73 70 61 63 65 | 2e 20 42 75 74 20 73 68 |amespace|. But sh|
|00000950| 61 72 65 64 20 6d 65 6d | 6f 72 79 20 61 6e 64 20 |ared mem|ory and |
|00000960| 6d 65 73 73 61 67 65 0a | 70 6f 72 74 73 20 61 72 |message.|ports ar|
|00000970| 65 20 61 6c 6c 3a 0a 0a | 09 72 65 6c 69 61 62 6c |e all:..|.reliabl|
|00000980| 65 2c 0a 09 73 74 61 74 | 69 63 2c 0a 09 61 6e 64 |e,..stat|ic,..and|
|00000990| 20 6c 6f 63 61 6c 2e 2e | 2e 0a 0a 61 74 20 6c 65 | local..|...at le|
|000009a0| 61 73 74 20 61 73 20 6d | 75 63 68 20 61 73 20 70 |ast as m|uch as p|
|000009b0| 72 6f 63 65 73 73 65 73 | 2e 0a 2d 2d 20 0a 50 65 |rocesses|..-- .Pe|
|000009c0| 74 65 72 20 64 61 20 53 | 69 6c 76 61 2e 20 20 20 |ter da S|ilva. |
|000009d0| 60 2d 5f 2d 27 0a 2b 31 | 20 37 31 33 20 32 37 34 |`-_-'.+1| 713 274|
|000009e0| 20 35 31 38 30 2e 20 20 | 20 27 55 60 0a 70 65 74 | 5180. | 'U`.pet|
|000009f0| 65 72 40 66 65 72 72 61 | 6e 74 69 2e 63 6f 6d 0a |er@ferra|nti.com.|
|00000a00| 0a 56 6f 6c 75 6d 65 2d | 4e 75 6d 62 65 72 3a 20 |.Volume-|Number: |
|00000a10| 56 6f 6c 75 6d 65 20 32 | 31 2c 20 4e 75 6d 62 65 |Volume 2|1, Numbe|
|00000a20| 72 20 31 35 30 0a 0a | |r 150.. | |
+--------+-------------------------+-------------------------+--------+--------+