home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v22 / 045 < prev    next >
Mailbox/MIME Entity  |  1991-03-07  |  2.6 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 jsq@cs.utexas.edu Fri Dec 28 22:16:38 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 6a 73 71 | 40 63 73 2e 75 74 65 78 |From jsq|@cs.utex|
|00000010| 61 73 2e 65 64 75 20 20 | 46 72 69 20 44 65 63 20 |as.edu |Fri Dec |
|00000020| 32 38 20 32 32 3a 31 36 | 3a 33 38 20 31 39 39 30 |28 22:16|:38 1990|
|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 30 36 37 35 |MTP ..id| AA00675|
|00000080| 3b 20 46 72 69 2c 20 32 | 38 20 44 65 63 20 39 30 |; Fri, 2|8 Dec 90|
|00000090| 20 32 32 3a 31 36 3a 33 | 38 20 2d 30 35 30 30 0a | 22:16:3|8 -0500.|
|000000a0| 50 6f 73 74 65 64 2d 44 | 61 74 65 3a 20 32 39 20 |Posted-D|ate: 29 |
|000000b0| 44 65 63 20 39 30 20 30 | 32 3a 32 39 3a 33 38 20 |Dec 90 0|2:29:38 |
|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 | 32 29 20 0a 46 72 6f 6d |5.64/1.9|2) .From|
|000000f0| 3a 20 74 68 6f 72 69 6e | 6e 40 64 69 6b 75 2e 64 |: thorin|n@diku.d|
|00000100| 6b 20 28 4c 61 72 73 20 | 48 65 6e 72 69 6b 20 4d |k (Lars |Henrik M|
|00000110| 61 74 68 69 65 73 65 6e | 29 0a 4e 65 77 73 67 72 |athiesen|).Newsgr|
|00000120| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 73 74 64 2e 75 |oups: co|mp.std.u|
|00000130| 6e 69 78 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |nix.Subj|ect: Re:|
|00000140| 20 64 69 73 61 62 6c 69 | 6e 67 20 54 49 4f 43 47 | disabli|ng TIOCG|
|00000150| 50 47 52 50 20 6f 6e 20 | 70 74 79 20 6d 61 73 74 |PGRP on |pty mast|
|00000160| 65 72 20 73 69 64 65 73 | 0a 4d 65 73 73 61 67 65 |er sides|.Message|
|00000170| 2d 49 64 3a 20 3c 31 36 | 32 39 30 40 63 73 2e 75 |-Id: <16|290@cs.u|
|00000180| 74 65 78 61 73 2e 65 64 | 75 3e 0a 52 65 66 65 72 |texas.ed|u>.Refer|
|00000190| 65 6e 63 65 73 3a 20 3c | 31 35 38 32 37 40 63 73 |ences: <|15827@cs|
|000001a0| 2e 75 74 65 78 61 73 2e | 65 64 75 3e 20 3c 31 35 |.utexas.|edu> <15|
|000001b0| 39 37 35 40 63 73 2e 75 | 74 65 78 61 73 2e 65 64 |975@cs.u|texas.ed|
|000001c0| 75 3e 20 3c 31 36 30 36 | 38 40 63 73 2e 75 74 65 |u> <1606|8@cs.ute|
|000001d0| 78 61 73 2e 65 64 75 3e | 20 3c 31 36 31 31 38 40 |xas.edu>| <16118@|
|000001e0| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 3e 0a 53 |cs.utexa|s.edu>.S|
|000001f0| 65 6e 64 65 72 3a 20 6a | 73 71 40 63 73 2e 75 74 |ender: j|sq@cs.ut|
|00000200| 65 78 61 73 2e 65 64 75 | 0a 4f 72 67 61 6e 69 7a |exas.edu|.Organiz|
|00000210| 61 74 69 6f 6e 3a 20 49 | 6e 73 74 69 74 75 74 65 |ation: I|nstitute|
|00000220| 20 6f 66 20 43 6f 6d 70 | 75 74 65 72 20 53 63 69 | of Comp|uter Sci|
|00000230| 65 6e 63 65 2c 20 55 20 | 6f 66 20 43 6f 70 65 6e |ence, U |of Copen|
|00000240| 68 61 67 65 6e 0a 58 2d | 53 75 62 6d 69 73 73 69 |hagen.X-|Submissi|
|00000250| 6f 6e 73 3a 20 73 74 64 | 2d 75 6e 69 78 40 75 75 |ons: std|-unix@uu|
|00000260| 6e 65 74 2e 75 75 2e 6e | 65 74 0a 44 61 74 65 3a |net.uu.n|et.Date:|
|00000270| 20 32 39 20 44 65 63 20 | 39 30 20 30 32 3a 32 39 | 29 Dec |90 02:29|
|00000280| 3a 33 38 20 47 4d 54 0a | 52 65 70 6c 79 2d 54 6f |:38 GMT.|Reply-To|
|00000290| 3a 20 73 74 64 2d 75 6e | 69 78 40 75 75 6e 65 74 |: std-un|ix@uunet|
|000002a0| 2e 55 55 2e 4e 45 54 0a | 54 6f 3a 20 73 74 64 2d |.UU.NET.|To: std-|
|000002b0| 75 6e 69 78 40 75 75 6e | 65 74 2e 55 55 2e 4e 45 |unix@uun|et.UU.NE|
|000002c0| 54 0a 0a 53 75 62 6d 69 | 74 74 65 64 2d 62 79 3a |T..Submi|tted-by:|
|000002d0| 20 74 68 6f 72 69 6e 6e | 40 64 69 6b 75 2e 64 6b | thorinn|@diku.dk|
|000002e0| 20 28 4c 61 72 73 20 48 | 65 6e 72 69 6b 20 4d 61 | (Lars H|enrik Ma|
|000002f0| 74 68 69 65 73 65 6e 29 | 0a 0a 73 65 66 40 6b 69 |thiesen)|..sef@ki|
|00000300| 74 68 72 75 70 2e 43 4f | 4d 20 28 53 65 61 6e 20 |thrup.CO|M (Sean |
|00000310| 45 72 69 63 20 46 61 67 | 61 6e 29 20 77 72 69 74 |Eric Fag|an) writ|
|00000320| 65 73 3a 0a 3e 74 68 6f | 72 69 6e 6e 40 72 69 6d |es:.>tho|rinn@rim|
|00000330| 66 61 78 65 2e 64 69 6b | 75 2e 64 6b 20 28 4c 61 |faxe.dik|u.dk (La|
|00000340| 72 73 20 48 65 6e 72 69 | 6b 20 4d 61 74 68 69 65 |rs Henri|k Mathie|
|00000350| 73 65 6e 29 20 77 72 69 | 74 65 73 3a 0a 3e 3e 49 |sen) wri|tes:.>>I|
|00000360| 27 64 20 76 65 72 79 20 | 6d 75 63 68 20 68 6f 70 |'d very |much hop|
|00000370| 65 20 74 68 61 74 20 73 | 75 63 68 20 61 6e 20 69 |e that s|uch an i|
|00000380| 6f 63 74 6c 20 77 6f 75 | 6c 64 20 69 6e 63 6c 75 |octl wou|ld inclu|
|00000390| 64 65 20 63 68 65 63 6b | 73 20 66 6f 72 20 74 68 |de check|s for th|
|000003a0| 65 0a 3e 3e 74 65 72 6d | 69 6f 20 73 65 74 74 69 |e.>>term|io setti|
|000003b0| 6e 67 73 20 6f 66 20 74 | 68 65 20 73 6c 61 76 65 |ngs of t|he slave|
|000003c0| 20 73 69 64 65 3a 20 41 | 20 73 69 67 6e 61 6c 20 | side: A| signal |
|000003d0| 73 68 6f 75 6c 64 20 6f | 6e 6c 79 20 62 65 20 61 |should o|nly be a|
|000003e0| 6c 6c 6f 77 65 64 20 69 | 66 0a 3e 3e 69 74 20 77 |llowed i|f.>>it w|
|000003f0| 6f 75 6c 64 20 62 65 20 | 70 6f 73 73 69 62 6c 65 |ould be |possible|
|00000400| 20 74 6f 20 77 72 69 74 | 65 20 61 20 63 68 61 72 | to writ|e a char|
|00000410| 61 63 74 65 72 20 6f 6e | 20 74 68 65 20 6d 61 73 |acter on| the mas|
|00000420| 74 65 72 20 70 74 79 20 | 74 6f 20 61 63 68 69 65 |ter pty |to achie|
|00000430| 76 65 0a 3e 3e 74 68 65 | 20 73 61 6d 65 20 72 65 |ve.>>the| same re|
|00000440| 73 75 6c 74 2e 20 28 41 | 6e 64 20 74 68 65 6e 2c |sult. (A|nd then,|
|00000450| 20 77 68 79 20 6e 6f 74 | 20 64 6f 20 6a 75 73 74 | why not| do just|
|00000460| 20 74 68 61 74 3f 29 0a | 0a 3e 42 65 63 61 75 73 | that?).|.>Becaus|
|00000470| 65 20 74 68 61 74 20 77 | 6f 6e 27 74 20 73 75 70 |e that w|on't sup|
|00000480| 70 6f 72 74 20 65 78 69 | 73 74 69 6e 67 20 70 72 |port exi|sting pr|
|00000490| 61 63 74 69 63 65 2e 0a | 0a 3e 45 6d 61 63 73 20 |actice..|.>Emacs |
|000004a0| 64 65 66 69 6e 65 73 20 | 43 2d 78 43 2d 63 20 69 |defines |C-xC-c i|
|000004b0| 6e 20 73 68 65 6c 6c 20 | 6d 6f 64 65 20 74 6f 20 |n shell |mode to |
|000004c0| 62 65 20 22 69 6e 74 65 | 72 72 75 70 74 2d 73 68 |be "inte|rrupt-sh|
|000004d0| 65 6c 6c 2d 73 75 62 6a | 6f 62 2e 22 20 20 49 74 |ell-subj|ob." It|
|000004e0| 20 69 73 0a 3e 64 65 66 | 69 6e 65 64 20 74 6f 20 | is.>def|ined to |
|000004f0| 73 65 6e 64 20 61 20 53 | 49 47 49 4e 54 20 74 6f |send a S|IGINT to|
|00000500| 20 74 68 65 20 70 72 6f | 63 65 73 73 20 67 72 6f | the pro|cess gro|
|00000510| 75 70 2e 20 20 4e 6f 74 | 20 61 20 63 6f 6e 74 72 |up. Not| a contr|
|00000520| 6f 6c 2d 63 2c 20 6f 72 | 20 44 45 4c 2c 20 6f 72 |ol-c, or| DEL, or|
|00000530| 0a 3e 77 68 61 74 65 76 | 65 72 20 79 6f 75 20 68 |.>whatev|er you h|
|00000540| 61 76 65 20 79 6f 75 72 | 20 69 6e 74 65 72 72 75 |ave your| interru|
|00000550| 70 74 20 63 68 61 72 61 | 63 74 65 72 20 64 65 66 |pt chara|cter def|
|00000560| 69 6e 65 64 20 61 73 2e | 20 20 4e 6f 74 65 20 74 |ined as.| Note t|
|00000570| 68 61 74 20 65 6d 61 63 | 73 0a 3e 74 65 72 6d 69 |hat emac|s.>termi|
|00000580| 6e 61 74 65 73 20 74 68 | 65 20 73 68 65 6c 6c 20 |nates th|e shell |
|00000590| 62 79 20 73 65 6e 64 69 | 6e 67 20 69 74 20 28 49 |by sendi|ng it (I|
|000005a0| 20 62 65 6c 69 65 76 65 | 29 20 61 20 53 49 47 54 | believe|) a SIGT|
|000005b0| 45 52 4d 2e 20 20 57 68 | 61 74 20 6b 65 79 62 6f |ERM. Wh|at keybo|
|000005c0| 61 72 64 0a 3e 73 65 71 | 75 65 6e 63 65 20 67 65 |ard.>seq|uence ge|
|000005d0| 6e 65 72 61 74 65 73 20 | 74 68 61 74 20 73 69 67 |nerates |that sig|
|000005e0| 6e 61 6c 3f 0a 09 0a 54 | 68 61 74 20 69 73 20 65 |nal?...T|hat is e|
|000005f0| 78 61 63 74 6c 79 20 74 | 68 65 20 70 6f 69 6e 74 |xactly t|he point|
|00000600| 3a 20 4b 65 79 62 6f 61 | 72 64 20 67 65 6e 65 72 |: Keyboa|rd gener|
|00000610| 61 74 65 64 20 73 69 67 | 6e 61 6c 73 20 61 72 65 |ated sig|nals are|
|00000620| 20 6d 6f 72 65 0a 70 6f | 77 65 72 66 75 6c 20 74 | more.po|werful t|
|00000630| 68 61 6e 20 74 68 65 20 | 6b 69 6c 6c 20 73 79 73 |han the |kill sys|
|00000640| 74 65 6d 20 63 61 6c 6c | 2c 20 62 65 63 61 75 73 |tem call|, becaus|
|00000650| 65 20 75 69 64 73 20 61 | 72 65 20 6e 6f 74 20 63 |e uids a|re not c|
|00000660| 68 65 63 6b 65 64 2e 0a | 55 6e 64 65 72 20 60 60 |hecked..|Under ``|
|00000670| 65 78 69 73 74 69 6e 67 | 20 70 72 61 63 74 69 63 |existing| practic|
|00000680| 65 27 27 20 79 6f 75 20 | 63 61 6e 20 73 65 6e 64 |e'' you |can send|
|00000690| 20 53 49 47 49 4e 54 2c | 20 53 49 47 51 55 49 54 | SIGINT,| SIGQUIT|
|000006a0| 20 6f 72 20 53 49 47 54 | 53 54 50 20 74 6f 0a 61 | or SIGT|STP to.a|
|000006b0| 6c 6c 20 70 72 6f 63 65 | 73 73 65 73 20 69 6e 20 |ll proce|sses in |
|000006c0| 74 68 65 20 70 72 6f 63 | 65 73 73 20 67 72 6f 75 |the proc|ess grou|
|000006d0| 70 20 6f 66 20 61 20 70 | 73 65 75 64 6f 2d 74 74 |p of a p|seudo-tt|
|000006e0| 79 2c 20 5f 65 76 65 6e | 5f 69 66 5f 20 73 6f 6d |y, _even|_if_ som|
|000006f0| 65 20 6f 66 0a 74 68 65 | 6d 20 61 72 65 20 73 65 |e of.the|m are se|
|00000700| 74 2d 75 69 64 20 74 6f | 20 73 6f 6d 65 6f 6e 65 |t-uid to| someone|
|00000710| 20 65 6c 73 65 2e 0a 0a | 42 75 74 20 61 20 73 65 | else...|But a se|
|00000720| 74 2d 75 69 64 20 72 6f | 6f 74 20 70 72 6f 67 72 |t-uid ro|ot progr|
|00000730| 61 6d 20 63 61 6e 20 61 | 73 73 75 6d 65 20 74 68 |am can a|ssume th|
|00000740| 61 74 20 61 20 53 49 47 | 54 45 52 4d 20 63 6f 6d |at a SIG|TERM com|
|00000750| 65 73 20 66 72 6f 6d 20 | 61 0a 73 75 70 65 72 2d |es from |a.super-|
|00000760| 75 73 65 72 2e 20 49 66 | 20 61 20 6e 65 77 20 69 |user. If| a new i|
|00000770| 6f 63 74 6c 20 61 6c 6c | 6f 77 73 20 61 6e 79 20 |octl all|ows any |
|00000780| 73 69 67 6e 61 6c 20 74 | 6f 20 62 65 20 73 65 6e |signal t|o be sen|
|00000790| 74 20 77 69 74 68 6f 75 | 74 0a 63 68 65 63 6b 69 |t withou|t.checki|
|000007a0| 6e 67 20 75 69 64 73 2c | 20 74 68 65 20 72 75 6c |ng uids,| the rul|
|000007b0| 65 73 20 68 61 76 65 20 | 62 65 65 6e 20 63 68 61 |es have |been cha|
|000007c0| 6e 67 65 64 20 28 6e 6f | 74 20 6e 69 63 65 29 2e |nged (no|t nice).|
|000007d0| 20 49 66 20 69 74 20 63 | 68 65 63 6b 73 0a 75 69 | If it c|hecks.ui|
|000007e0| 64 73 20 66 6f 72 20 61 | 6c 6c 20 73 69 67 6e 61 |ds for a|ll signa|
|000007f0| 6c 73 2c 20 69 74 27 73 | 20 6c 65 73 73 20 70 6f |ls, it's| less po|
|00000800| 77 65 72 66 75 6c 20 74 | 68 61 6e 20 6b 65 79 62 |werful t|han keyb|
|00000810| 6f 61 72 64 20 73 69 67 | 6e 61 6c 73 2c 20 61 6e |oard sig|nals, an|
|00000820| 64 0a 77 68 79 20 62 6f | 74 68 65 72 20 74 6f 20 |d.why bo|ther to |
|00000830| 6c 65 61 72 6e 20 61 62 | 6f 75 74 20 69 74 3f 0a |learn ab|out it?.|
|00000840| 0a 42 79 20 74 68 65 20 | 77 61 79 2c 20 49 20 77 |.By the |way, I w|
|00000850| 69 6c 6c 20 68 61 7a 61 | 72 64 20 61 20 67 75 65 |ill haza|rd a gue|
|00000860| 73 73 3a 20 4d 6f 73 74 | 2c 20 69 66 20 6e 6f 74 |ss: Most|, if not|
|00000870| 20 61 6c 6c 2c 20 6f 66 | 20 74 68 65 20 55 4e 49 | all, of| the UNI|
|00000880| 58 0a 76 61 72 69 61 6e | 74 73 20 77 68 65 72 65 |X.varian|ts where|
|00000890| 20 74 68 65 20 65 78 69 | 73 74 69 6e 67 20 70 72 | the exi|sting pr|
|000008a0| 61 63 74 69 63 65 20 6f | 66 20 45 6d 61 63 73 20 |actice o|f Emacs |
|000008b0| 64 6f 65 73 6e 27 74 20 | 77 6f 72 6b 20 77 69 6c |doesn't |work wil|
|000008c0| 6c 20 68 61 76 65 0a 53 | 59 53 56 20 74 65 72 6d |l have.S|YSV term|
|000008d0| 69 6f 73 20 69 6f 63 74 | 6c 73 2e 20 53 6f 20 69 |ios ioct|ls. So i|
|000008e0| 6e 73 74 65 61 64 20 6f | 66 20 70 75 74 74 69 6e |nstead o|f puttin|
|000008f0| 67 20 69 6e 20 69 66 64 | 65 66 73 20 66 6f 72 20 |g in ifd|efs for |
|00000900| 74 77 6f 20 6f 72 20 74 | 68 72 65 65 0a 73 75 62 |two or t|hree.sub|
|00000910| 74 6c 79 20 69 6e 63 6f | 6d 70 61 74 69 62 6c 65 |tly inco|mpatible|
|00000920| 20 6e 65 77 20 54 49 4f | 43 53 45 4e 44 53 49 47 | new TIO|CSENDSIG|
|00000930| 73 2c 20 77 65 20 6d 69 | 67 68 74 20 61 73 20 77 |s, we mi|ght as w|
|00000940| 65 6c 6c 20 70 75 74 20 | 69 6e 20 74 68 65 20 66 |ell put |in the f|
|00000950| 6f 75 72 0a 6c 69 6e 65 | 73 20 74 6f 20 67 65 74 |our.line|s to get|
|00000960| 20 61 20 74 65 72 6d 69 | 6f 73 20 73 74 72 75 63 | a termi|os struc|
|00000970| 74 75 72 65 20 61 6e 64 | 20 73 74 75 66 66 20 74 |ture and| stuff t|
|00000980| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 63 |he appro|priate c|
|00000990| 68 61 72 61 63 74 65 72 | 0a 64 6f 77 6e 20 74 68 |haracter|.down th|
|000009a0| 65 20 6d 61 73 74 65 72 | 20 70 74 79 2e 0a 0a 2d |e master| pty...-|
|000009b0| 2d 0a 4c 61 72 73 20 4d | 61 74 68 69 65 73 65 6e |-.Lars M|athiesen|
|000009c0| 2c 20 44 49 4b 55 2c 20 | 55 20 6f 66 20 43 6f 70 |, DIKU, |U of Cop|
|000009d0| 65 6e 68 61 67 65 6e 2c | 20 44 65 6e 6d 61 72 6b |enhagen,| Denmark|
|000009e0| 20 20 20 20 20 20 5b 75 | 75 6e 65 74 21 5d 6d 63 | [u|unet!]mc|
|000009f0| 73 75 6e 21 64 69 6b 75 | 21 74 68 6f 72 69 6e 6e |sun!diku|!thorinn|
|00000a00| 0a 49 6e 73 74 69 74 75 | 74 65 20 6f 66 20 44 61 |.Institu|te of Da|
|00000a10| 74 61 6c 6f 67 79 20 2d | 2d 20 77 65 27 72 65 20 |talogy -|- we're |
|00000a20| 73 63 69 65 6e 74 69 73 | 74 73 2c 20 6e 6f 74 20 |scientis|ts, not |
|00000a30| 65 6e 67 69 6e 65 65 72 | 73 2e 20 20 20 20 20 20 |engineer|s. |
|00000a40| 74 68 6f 72 69 6e 6e 40 | 64 69 6b 75 2e 64 6b 0a |thorinn@|diku.dk.|
|00000a50| 0a 0a 56 6f 6c 75 6d 65 | 2d 4e 75 6d 62 65 72 3a |..Volume|-Number:|
|00000a60| 20 56 6f 6c 75 6d 65 20 | 32 32 2c 20 4e 75 6d 62 | Volume |22, Numb|
|00000a70| 65 72 20 34 35 0a 0a | |er 45.. | |
+--------+-------------------------+-------------------------+--------+--------+