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: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
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 jsq@cs.utexas.edu Mon Jan 28 20:55:08 1991", 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 6a 73 71 | 40 63 73 2e 75 74 65 78 |From jsq|@cs.utex|
|00000010| 61 73 2e 65 64 75 20 20 | 4d 6f 6e 20 4a 61 6e 20 |as.edu |Mon Jan |
|00000020| 32 38 20 32 30 3a 35 35 | 3a 30 38 20 31 39 39 31 |28 20:55|:08 1991|
|00000030| 0a 52 65 63 65 69 76 65 | 64 3a 20 66 72 6f 6d 20 |.Receive|d: from |
|00000040| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 20 62 79 |cs.utexa|s.edu by|
|00000050| 20 75 75 6e 65 74 2e 55 | 55 2e 4e 45 54 20 28 35 | uunet.U|U.NET (5|
|00000060| 2e 36 31 2f 31 2e 31 34 | 29 20 77 69 74 68 20 53 |.61/1.14|) with S|
|00000070| 4d 54 50 20 0a 09 69 64 | 20 41 41 30 33 36 35 30 |MTP ..id| AA03650|
|00000080| 3b 20 4d 6f 6e 2c 20 32 | 38 20 4a 61 6e 20 39 31 |; Mon, 2|8 Jan 91|
|00000090| 20 32 30 3a 35 35 3a 30 | 38 20 2d 30 35 30 30 0a | 20:55:0|8 -0500.|
|000000a0| 50 6f 73 74 65 64 2d 44 | 61 74 65 3a 20 32 33 20 |Posted-D|ate: 23 |
|000000b0| 4a 61 6e 20 39 31 20 31 | 30 3a 30 36 3a 33 36 20 |Jan 91 1|0:06:36 |
|000000c0| 47 4d 54 0a 52 65 63 65 | 69 76 65 64 3a 20 62 79 |GMT.Rece|ived: by|
|000000d0| 20 63 73 2e 75 74 65 78 | 61 73 2e 65 64 75 20 28 | cs.utex|as.edu (|
|000000e0| 35 2e 36 34 2f 31 2e 39 | 33 29 20 0a 46 72 6f 6d |5.64/1.9|3) .From|
|000000f0| 3a 20 61 64 64 77 40 70 | 68 63 6f 6d 70 2e 63 6f |: addw@p|hcomp.co|
|00000100| 2e 75 6b 20 28 41 6c 61 | 69 6e 20 57 69 6c 6c 69 |.uk (Ala|in Willi|
|00000110| 61 6d 73 29 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |ams).New|sgroups:|
|00000120| 20 63 6f 6d 70 2e 73 74 | 64 2e 75 6e 69 78 0a 53 | comp.st|d.unix.S|
|00000130| 75 62 6a 65 63 74 3a 20 | 52 65 3a 20 71 66 6f 72 |ubject: |Re: qfor|
|00000140| 6b 28 29 20 28 74 68 65 | 20 73 70 61 77 6e 20 6f |k() (the| spawn o|
|00000150| 66 20 53 70 61 77 6e 28 | 29 29 0a 4d 65 73 73 61 |f Spawn(|)).Messa|
|00000160| 67 65 2d 49 64 3a 20 3c | 31 37 34 30 31 40 63 73 |ge-Id: <|17401@cs|
|00000170| 2e 75 74 65 78 61 73 2e | 65 64 75 3e 0a 52 65 66 |.utexas.|edu>.Ref|
|00000180| 65 72 65 6e 63 65 73 3a | 20 3c 31 36 39 39 36 40 |erences:| <16996@|
|00000190| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 3e 20 3c |cs.utexa|s.edu> <|
|000001a0| 31 37 30 31 30 40 63 73 | 2e 75 74 65 78 61 73 2e |17010@cs|.utexas.|
|000001b0| 65 64 75 3e 20 3c 31 37 | 30 36 34 40 63 73 2e 75 |edu> <17|064@cs.u|
|000001c0| 74 65 78 61 73 2e 65 64 | 75 3e 0a 53 65 6e 64 65 |texas.ed|u>.Sende|
|000001d0| 72 3a 20 6a 73 71 40 63 | 73 2e 75 74 65 78 61 73 |r: jsq@c|s.utexas|
|000001e0| 2e 65 64 75 0a 4f 72 67 | 61 6e 69 7a 61 74 69 6f |.edu.Org|anizatio|
|000001f0| 6e 3a 20 50 61 72 6c 69 | 61 6d 65 6e 74 20 48 69 |n: Parli|ament Hi|
|00000200| 6c 6c 20 43 6f 6d 70 75 | 74 65 72 73 20 4c 74 64 |ll Compu|ters Ltd|
|00000210| 0a 58 2d 53 75 62 6d 69 | 73 73 69 6f 6e 73 3a 20 |.X-Submi|ssions: |
|00000220| 73 74 64 2d 75 6e 69 78 | 40 75 75 6e 65 74 2e 75 |std-unix|@uunet.u|
|00000230| 75 2e 6e 65 74 0a 44 61 | 74 65 3a 20 32 33 20 4a |u.net.Da|te: 23 J|
|00000240| 61 6e 20 39 31 20 31 30 | 3a 30 36 3a 33 36 20 47 |an 91 10|:06:36 G|
|00000250| 4d 54 0a 52 65 70 6c 79 | 2d 54 6f 3a 20 73 74 64 |MT.Reply|-To: std|
|00000260| 2d 75 6e 69 78 40 75 75 | 6e 65 74 2e 55 55 2e 4e |-unix@uu|net.UU.N|
|00000270| 45 54 0a 54 6f 3a 20 73 | 74 64 2d 75 6e 69 78 40 |ET.To: s|td-unix@|
|00000280| 75 75 6e 65 74 2e 55 55 | 2e 4e 45 54 0a 0a 53 75 |uunet.UU|.NET..Su|
|00000290| 62 6d 69 74 74 65 64 2d | 62 79 3a 20 61 64 64 77 |bmitted-|by: addw|
|000002a0| 40 70 68 63 6f 6d 70 2e | 63 6f 2e 75 6b 20 28 41 |@phcomp.|co.uk (A|
|000002b0| 6c 61 69 6e 20 57 69 6c | 6c 69 61 6d 73 29 0a 0a |lain Wil|liams)..|
|000002c0| 3e 20 54 68 65 72 65 27 | 73 20 61 20 64 69 66 66 |> There'|s a diff|
|000002d0| 65 72 65 6e 63 65 20 62 | 65 74 77 65 65 6e 3a 0a |erence b|etween:.|
|000002e0| 3e 20 0a 3e 20 09 50 31 | 30 30 33 20 77 69 6c 6c |> .> .P1|003 will|
|000002f0| 20 6e 6f 74 20 63 6f 6d | 70 72 6f 6d 69 73 65 20 | not com|promise |
|00000300| 74 68 65 20 69 6e 74 65 | 72 66 61 63 65 20 74 6f |the inte|rface to|
|00000310| 20 61 63 63 6f 6d 6f 64 | 61 74 65 0a 3e 20 09 6c | accomod|ate.> .l|
|00000320| 61 79 65 72 65 64 20 69 | 6d 70 6c 65 6d 65 6e 74 |ayered i|mplement|
|00000330| 61 74 69 6f 6e 73 2e 0a | 3e 20 0a 3e 20 41 6e 64 |ations..|> .> And|
|00000340| 3a 0a 3e 20 0a 3e 20 09 | 50 31 30 30 33 20 69 73 |:.> .> .|P1003 is|
|00000350| 20 66 6f 72 20 55 4e 49 | 58 20 6f 6e 6c 79 2e 0a | for UNI|X only..|
|00000360| 3e 20 0a 3e 20 41 6e 64 | 20 49 20 66 61 69 6c 20 |> .> And| I fail |
|00000370| 74 6f 20 73 65 65 20 68 | 6f 77 20 61 6e 20 65 78 |to see h|ow an ex|
|00000380| 74 65 6e 73 69 6f 6e 20 | 74 68 61 74 20 68 61 70 |tension |that hap|
|00000390| 70 65 6e 73 20 74 6f 20 | 6d 61 6b 65 20 69 74 20 |pens to |make it |
|000003a0| 65 61 73 69 65 72 20 74 | 6f 0a 3e 20 77 72 69 74 |easier t|o.> writ|
|000003b0| 65 20 70 6f 72 74 61 62 | 6c 65 20 70 72 6f 67 72 |e portab|le progr|
|000003c0| 61 6d 73 20 74 68 61 74 | 20 72 65 6d 61 69 6e 20 |ams that| remain |
|000003d0| 72 65 61 73 6f 6e 61 62 | 6c 79 20 65 66 66 69 63 |reasonab|ly effic|
|000003e0| 69 65 6e 74 20 6f 6e 20 | 6c 61 79 65 72 65 64 0a |ient on |layered.|
|000003f0| 3e 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |> implem|entation|
|00000400| 73 20 63 6f 6d 70 72 6f | 6d 69 73 65 73 20 74 68 |s compro|mises th|
|00000410| 65 20 69 6e 74 65 72 66 | 61 63 65 2e 20 4e 6f 62 |e interf|ace. Nob|
|00000420| 6f 64 79 27 73 20 73 61 | 79 69 6e 67 20 22 67 65 |ody's sa|ying "ge|
|00000430| 74 20 72 69 64 0a 3e 20 | 6f 66 20 66 6f 72 6b 28 |t rid.> |of fork(|
|00000440| 29 22 20 74 68 69 73 20 | 74 69 6d 65 2e 0a 4f 4b |)" this |time..OK|
|00000450| 2c 20 73 6f 20 79 6f 75 | 20 61 72 65 20 77 72 69 |, so you| are wri|
|00000460| 74 69 6e 67 20 61 20 70 | 72 6f 67 72 61 6d 20 74 |ting a p|rogram t|
|00000470| 68 61 74 20 79 6f 75 20 | 69 6e 74 65 6e 64 20 74 |hat you |intend t|
|00000480| 6f 20 70 6f 72 74 20 6f | 6e 74 6f 20 65 76 65 72 |o port o|nto ever|
|00000490| 79 20 50 6f 73 69 78 0a | 6d 61 63 68 69 6e 65 20 |y Posix.|machine |
|000004a0| 69 6e 20 74 68 65 20 75 | 6e 69 76 65 72 73 65 2e |in the u|niverse.|
|000004b0| 20 44 6f 20 79 6f 75 20 | 75 73 65 20 66 6f 72 6b | Do you |use fork|
|000004c0| 28 29 2f 65 78 65 63 28 | 29 20 6f 72 20 64 6f 20 |()/exec(|) or do |
|000004d0| 79 6f 75 20 75 73 65 20 | 73 70 61 77 6e 28 29 20 |you use |spawn() |
|000004e0| 3f 0a 0a 49 66 20 79 6f | 75 20 61 72 65 20 77 72 |?..If yo|u are wr|
|000004f0| 69 74 69 6e 67 20 74 68 | 65 20 73 79 73 74 65 6d |iting th|e system|
|00000500| 28 33 43 29 20 66 75 6e | 63 74 69 6f 6e 20 74 68 |(3C) fun|ction th|
|00000510| 65 20 61 6e 73 77 65 72 | 20 69 73 20 65 61 73 79 |e answer| is easy|
|00000520| 2c 20 69 66 20 79 6f 75 | 72 0a 61 70 70 6c 69 63 |, if you|r.applic|
|00000530| 61 74 69 6f 6e 20 64 6f | 65 73 20 61 20 6c 69 74 |ation do|es a lit|
|00000540| 74 6c 65 20 6d 6f 72 65 | 20 77 6f 72 6b 20 69 6e |tle more| work in|
|00000550| 20 62 65 74 77 65 65 6e | 20 66 6f 72 6b 28 29 20 | between| fork() |
|00000560| 26 20 65 78 65 63 28 29 | 2c 20 64 6f 20 79 6f 75 |& exec()|, do you|
|00000570| 20 6a 75 6d 70 0a 74 68 | 6f 75 67 68 20 68 6f 6f | jump.th|ough hoo|
|00000580| 70 73 20 74 6f 20 75 73 | 65 20 77 68 61 74 65 76 |ps to us|e whatev|
|00000590| 65 72 20 73 70 61 77 6e | 28 29 20 74 75 72 6e 73 |er spawn|() turns|
|000005a0| 20 6f 75 74 20 74 6f 20 | 62 65 20 61 6e 64 20 60 | out to |be and `|
|000005b0| 60 64 61 6d 61 67 65 27 | 27 20 79 6f 75 72 0a 69 |`damage'|' your.i|
|000005c0| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 6e |mplement|ation on|
|000005d0| 20 74 72 75 65 20 55 4e | 49 58 20 62 6f 78 65 73 | true UN|IX boxes|
|000005e0| 20 66 6f 72 20 61 20 6e | 65 77 20 6e 6f 6e 2d 55 | for a n|ew non-U|
|000005f0| 4e 49 58 20 6f 6e 65 73 | 20 3f 0a 0a 49 20 67 75 |NIX ones| ?..I gu|
|00000600| 65 73 73 20 74 68 61 74 | 20 77 68 61 74 20 79 6f |ess that| what yo|
|00000610| 75 20 77 6f 75 6c 64 20 | 64 6f 20 69 73 20 74 6f |u would |do is to|
|00000620| 20 75 73 65 20 67 6f 6f | 64 20 6f 6c 64 20 23 69 | use goo|d old #i|
|00000630| 66 64 65 66 20 74 6f 20 | 67 65 74 20 74 68 65 20 |fdef to |get the |
|00000640| 62 65 73 74 20 6f 66 0a | 62 6f 74 68 20 77 6f 72 |best of.|both wor|
|00000650| 6c 64 73 2e 20 53 6f 20 | 49 20 64 6f 6e 27 74 20 |lds. So |I don't |
|00000660| 74 68 69 6e 6b 20 74 68 | 61 74 20 69 74 20 72 65 |think th|at it re|
|00000670| 61 6c 6c 79 20 6d 61 74 | 74 65 72 73 20 77 68 61 |ally mat|ters wha|
|00000680| 74 20 77 65 20 65 6e 64 | 20 75 70 20 77 69 74 68 |t we end| up with|
|00000690| 0a 61 73 20 6c 6f 6e 67 | 20 61 73 20 74 68 65 20 |.as long| as the |
|000006a0| 66 6f 72 6b 28 29 2f 65 | 78 65 63 28 29 20 61 6c |fork()/e|xec() al|
|000006b0| 74 65 72 6e 61 74 69 76 | 65 20 69 73 20 77 65 6c |ternativ|e is wel|
|000006c0| 6c 20 64 65 66 69 6e 65 | 64 20 73 6f 20 74 68 61 |l define|d so tha|
|000006d0| 74 20 77 65 20 6f 6e 6c | 79 20 68 61 76 65 0a 74 |t we onl|y have.t|
|000006e0| 6f 20 64 6f 20 74 68 65 | 20 6e 6f 6e 2d 55 4e 49 |o do the| non-UNI|
|000006f0| 58 20 70 6f 73 69 78 20 | 70 6f 72 74 20 6f 6e 63 |X posix |port onc|
|00000700| 65 2e 0a 0a 57 68 61 74 | 20 77 6f 75 6c 64 20 62 |e...What| would b|
|00000710| 65 20 70 72 6f 62 61 62 | 6c 79 20 71 75 69 74 65 |e probab|ly quite|
|00000720| 20 75 73 65 66 75 6c 6c | 20 69 73 20 61 0a 09 23 | usefull| is a..#|
|00000730| 64 65 66 69 6e 65 20 46 | 4f 52 4b 5f 49 53 5f 50 |define F|ORK_IS_P|
|00000740| 41 49 4e 46 55 4c 4c 0a | 74 68 61 74 20 77 65 20 |AINFULL.|that we |
|00000750| 63 61 6e 20 74 65 73 74 | 20 61 6e 64 20 74 68 75 |can test| and thu|
|00000760| 73 20 63 6f 6d 70 69 6c | 65 20 69 6e 20 74 68 65 |s compil|e in the|
|00000770| 20 73 70 61 77 6e 28 29 | 20 63 6f 64 65 2e 0a 0a | spawn()| code...|
|00000780| 59 6f 75 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 66 |You shou|ld not f|
|00000790| 6f 72 67 65 74 20 74 68 | 61 74 20 74 68 65 73 65 |orget th|at these|
|000007a0| 20 73 74 61 6e 64 61 72 | 64 73 20 61 72 65 20 73 | standar|ds are s|
|000007b0| 75 70 70 6f 73 65 64 20 | 74 6f 20 6d 61 6b 65 20 |upposed |to make |
|000007c0| 6c 69 66 65 0a 65 61 73 | 69 65 72 20 66 6f 72 20 |life.eas|ier for |
|000007d0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 77 72 69 74 |applicat|ion writ|
|000007e0| 65 72 2e 20 41 6c 73 6f | 20 74 68 65 20 28 67 6f |er. Also| the (go|
|000007f0| 6f 64 29 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |od) appl|ication |
|00000800| 77 72 69 74 65 72 20 74 | 61 6b 65 73 20 61 0a 70 |writer t|akes a.p|
|00000810| 72 61 67 6d 61 74 69 63 | 20 61 70 70 72 6f 61 63 |ragmatic| approac|
|00000820| 68 20 61 6e 64 20 64 6f | 65 73 20 74 68 65 20 62 |h and do|es the b|
|00000830| 65 73 74 20 6a 6f 62 20 | 74 68 61 74 20 68 65 20 |est job |that he |
|00000840| 63 61 6e 20 69 6e 20 61 | 20 67 69 76 65 6e 20 65 |can in a| given e|
|00000850| 6e 76 69 72 6f 6e 6d 65 | 6e 74 2c 0a 74 68 65 20 |nvironme|nt,.the |
|00000860| 6d 6f 73 74 20 69 6d 70 | 6f 72 74 61 6e 74 20 74 |most imp|ortant t|
|00000870| 68 69 6e 67 20 69 73 20 | 74 6f 20 67 65 74 20 69 |hing is |to get i|
|00000880| 74 20 77 6f 72 6b 69 6e | 67 20 72 65 61 73 6f 6e |t workin|g reason|
|00000890| 61 62 6c 79 20 77 65 6c | 6c 20 2d 20 61 6e 64 20 |ably wel|l - and |
|000008a0| 71 75 69 63 6b 6c 79 2e | 0a 0a 41 6c 61 69 6e 20 |quickly.|..Alain |
|000008b0| 57 69 6c 6c 69 61 6d 73 | 0a 0a 2b 34 34 20 37 33 |Williams|..+44 73|
|000008c0| 34 20 34 36 31 32 33 32 | 0a 0a 70 68 4c 4f 47 49 |4 461232|..phLOGI|
|000008d0| 4e 20 6f 75 72 20 54 75 | 72 6e 6b 65 79 20 53 65 |N our Tu|rnkey Se|
|000008e0| 63 75 72 69 74 79 20 4c | 6f 67 69 6e 20 75 74 69 |curity L|ogin uti|
|000008f0| 6c 69 74 79 20 69 73 20 | 61 76 61 69 6c 61 62 6c |lity is |availabl|
|00000900| 65 20 4e 4f 57 20 2d 20 | 61 73 6b 20 6d 65 20 66 |e NOW - |ask me f|
|00000910| 6f 72 20 69 6e 66 6f 2e | 0a 0a 56 6f 6c 75 6d 65 |or info.|..Volume|
|00000920| 2d 4e 75 6d 62 65 72 3a | 20 56 6f 6c 75 6d 65 20 |-Number:| Volume |
|00000930| 32 32 2c 20 4e 75 6d 62 | 65 72 20 38 31 0a 0a |22, Numb|er 81.. |
+--------+-------------------------+-------------------------+--------+--------+