home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / wizards / 3745 < prev    next >
Encoding:
Text File  |  1992-08-30  |  13.7 KB  |  419 lines

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!att!linac!uwm.edu!rutgers!cmcl2!adm!news
  2. From: postmaster@vd1.hanscom.af.mil (SMTP MAILER)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Mail Delivery Problem
  5. Message-ID: <32271@adm.brl.mil>
  6. Date: 30 Aug 92 20:33:31 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 409
  9.  
  10.  
  11.  ----Reason for mail failure follows----
  12. Sending mail to recipient(s) woodfordm :
  13.   Couldn't make final delivery.
  14.  
  15.  ----Transcript of message follows----
  16. Received: from gw1.hanscom.af.mil by vd1.hanscom.af.mil with SMTP ; 
  17.           Sun, 30 Aug 92 12:39:04 EST
  18. Date: 29 Aug 92 16:11:00 EDT
  19. From: unix-wizards@BRL.MIL
  20. Subject: UNIX-WIZARDS Digest  V15#132
  21. To: "woodfordm" <woodfordm@vd1.hanscom.af.mil>
  22.  
  23. Return-Path: <unix-wizards-request@sem.brl.mil>
  24. Received: from SEM.BRL.MIL by gw1.hanscom.af.mil with SMTP ; 
  25.           Sat, 29 Aug 92 16:10:56 EDT
  26. Received: by SEM.BRL.MIL id aa20000; 29 Aug 92 15:51 EDT
  27. Received: from SEM.BRL.MIL by SEM.BRL.MIL id aa19889; 29 Aug 92 15:28 EDT
  28. Received: from sem.brl.mil by SEM.BRL.MIL id aa19840; 29 Aug 92 15:15 EDT
  29. Date:       Sat, 29 Aug 92 15:15:19 EST
  30. From:       The Moderator (Mike Muuss) <Unix-Wizards-Request@BRL.MIL>
  31. To:         UNIX-WIZARDS@BRL.MIL
  32. Reply-To:   UNIX-WIZARDS@BRL.MIL
  33. Subject:    UNIX-WIZARDS Digest  V15#132
  34. Message-ID:  <9208291515.aa19840@SEM.BRL.MIL>
  35.  
  36. UNIX-WIZARDS Digest          Sat, 29 Aug 1992              V15#132
  37.  
  38. Today's Topics:
  39.                       Re: Have $8000, what to buy?
  40.                             Re: csh bashing
  41.                          Segmentation problems
  42.              Re: Restricted directory trees in Unix - how?
  43.                          Changing "pg" options
  44.                        Re: Changing "pg" options
  45.                How to kill a hung program out of a 'make'
  46.            Re: detecting process death from unrelated process
  47.                              Re: Questions
  48.              Re: 'cat'ting 8 bit data to the terminal.....
  49.               How do I remove a directory with no parent?
  50.  
  51. -----------------------------------------------------------------
  52.  
  53. From: Sylvain Meunier <meunier@quasar.enst.fr>
  54. Subject: Re: Have $8000, what to buy?
  55. Date: 12 Aug 92 16:42:08 GMT
  56. Sender: news@ulysse.enst.fr
  57. Followup-To: comp.unix.wizards
  58. To:       unix-wizards@sem.brl.mil
  59.  
  60. In article <1992Aug11.164928.2658@tfs.com>, paigen@tfs.com (David Paigen) writes:
  61. -> rg@msel.unh.edu (Roger Gonzalez) writes:
  62. -> 
  63. -> >I want a Unix machine.  Now.
  64. -> 
  65. -> >I want BSD features.  I want full networking.  I want X11R5.  I want color.  I
  66. -> >want at least 1.2Gb of disk, and 16Mb of memory.  I have $8000, and won't be
  67. -> >able to add much more for at least a year.
  68. -> 
  69. -> >What should I buy?  Sparc IPC?  Iris Indigo?  A HP?  A PC (shudder) with BSDI?
  70. -> >A NeXT?  A Mac with A/UX?  I only know that I can pick up an IPC for about
  71. -> >$5000 after discount, and then use $3000 for buying peripherals.  Who else has
  72. -> >deals like that?
  73. -> 
  74. -> After having spent 5 years contracting on almost every workstation class
  75. -> unix platform, I'll add my $0.02 here.
  76. -> 
  77.                 .
  78.                 .
  79.                 .
  80.  
  81. -> 
  82. -> As much maligned as the PC is (with good reason), it gives the best bang
  83. -> for the buck.  $2K will buy you a 486/50 (at least here in silicon
  84. -> valley).  Another $2K for a big monitor and a big disk leaves you $4K
  85. -> to hang the kitchen sink off of it.  Add a SoundBlaster.  Add an X-10
  86. -> interface.  Add analog<=>digital converters.  Add an NTSC board.  Plus,
  87. -> you would get source to your OS.
  88. -> 
  89.  
  90. Ok for computer but which Unix OS will you chose ? A good OS with full
  91. compatilility with other OS ...
  92.  
  93. -> Sun is my second choice.  With a budget of $20K or more it would be my
  94. -> first choice.  But not when spending less than $10K.  I wouldn't buy
  95. -> any of the other machines you mentioned even with someone else's money.
  96. -> 
  97. -> But that is only an opinion.
  98. -> 
  99. -> ----------------------->"Lay on, McDuff,    14th c. ideals in a 21st c. world
  100. -> David Paigen            and damn'd be he        N: PLO Bush IRA CIA KKK
  101. -> TRW Financial Systems   who first cries,        S: terrorism pipe bomb kill
  102. -> paigen@tfs.com          'hold, enough!'"        A: assasination maim
  103.  
  104. -- 
  105.  
  106.     S. Meunier        E-Mail: meunier@inf.enst.fr
  107.  
  108. -----------------------------
  109.  
  110. From: Ed Carp <erc@unislc.uucp>
  111. Subject: Re: Have $8000, what to buy?
  112. Date: 12 Aug 92 21:32:56 GMT
  113. X-Newsreader: Tin 1.1 PL5
  114. To:       unix-wizards@sem.brl.mil
  115.  
  116. David Paigen (paigen@tfs.com) wrote:
  117.  
  118. : Stay away from A/UX.  It is slow (or used to be) and not really BSD.  Ditto
  119.  
  120. Oh, A/UX isn't *that* bad ... It's even tolerable speed-wise with the
  121. new releases.  As for being BSDish, it's designed to be more SYSVR3ish.
  122.  
  123. But I *still* wouldn't want to run it on anything less than a IIci. :)
  124.  
  125. Oh, BTW, it integrates the Mac user interface with unix quite nicely - you
  126. can even run most of your Mac apps under A/UX!
  127. -- 
  128. Ed Carp, N7EKG     erc@apple.com                801/538-0177
  129. "This is the final task I will ever give you, and it  goes  on  forever.   Act
  130. happy, feel happy, be happy, without a reason in the world. Then you can love,
  131. and do what you will."           -- Dan Millman, "Way Of The Peaceful Warrior"
  132.  
  133. -----------------------------
  134.  
  135. From: John Brock <jbrock@csfb1.fir.fbc.com>
  136. Subject: Re: csh bashing
  137. Date: 13 Aug 92 01:36:43 GMT
  138. Sender: Usenet News Account <news@csfb1.fir.fbc.com>
  139. To:       unix-wizards@sem.brl.mil
  140.  
  141. Well I'm certainly enjoying all this wizardly bickering over sh and csh!
  142.  
  143. Seriously.  It's nice to know which tools knowledgeable people respect
  144. and which they don't.  But what about ksh?  It's hardly figured in
  145. the proceedings and I'm feeling left out!  Is it worthy?  Considered
  146. harmful?  Beneath consideration?
  147.  
  148. Incidentally, as far as I'm concerned IBM's REXX blows away any UNIX shell
  149. I've every seen, at least as a programming language :-)
  150.  
  151. -- 
  152. John Brock (212) 909-4662
  153. The First Boston Corporation
  154. 12 East 49th Street
  155. New York, NY 10017
  156. uunet!csfb1!jbrock
  157.  
  158. -----------------------------
  159.  
  160. From: Amiran Eliashvili <amir@cs.columbia.edu>
  161. Subject: Segmentation problems
  162. Date: 13 Aug 92 02:27:12 GMT
  163. Sender: The Daily News <news@cs.columbia.edu>
  164. To:       unix-wizards@sem.brl.mil
  165.  
  166.  
  167. Hi all:
  168.  
  169.  
  170.     I am developing on a Real Time System that is fully compatible
  171. with 4.3bsd. I am having some unexplained segmentation violation. I
  172. suspect it has to do with the way the page faults are managed by the
  173. OS. How can I detect whether the segmentation violation is due
  174. mismanagement of page faults or just a pointer problem (which I
  175. believe is not the case). Also, can anyone elaborate on the way page
  176. faults are managed by the OS and how a program might be broken in
  177. memory into segments that correspond to some paging scheme.
  178.  
  179. Please mail all responses to amir@cs.columbia.edu
  180. Thanks
  181. /amiran
  182.  
  183. -----------------------------
  184.  
  185. From: "J. Jonas" <jeffj@krfiny.uucp>
  186. Subject: Re: Restricted directory trees in Unix - how?
  187. Date: 25 Aug 92 17:55:19 GMT
  188. To:       unix-wizards@sem.brl.mil
  189.  
  190. In article <928@gofish.Stars.Reston.Unisys.COM> dymm@cards.com (David Dymm) writes:
  191. >I would like to set up a restricted directory tree
  192. >on my Sun 4 system.  That is, certain users, when logging on,
  193. >would be placed into accounts that would be located in a
  194. >directory tree that would not have access to the rest of
  195. >the system directory structure. ...
  196.  
  197. The way my college did this was to create the restricted users
  198. in the 'peon' group-id.
  199. All restricted directories were owned by group peon but with NO permissions.
  200. That way, owner and all other have access but NOT peon.
  201. Although this is contradictory to the intent of permission GRANTING
  202. vs. permission denial, it works.
  203.  
  204. Set root is tricky becuase you need hard links for all things in /dev,
  205. /tmp and other things that are below the new root.
  206.  
  207. - Jeffrey Jonas
  208. jeffj@synsys.uucp
  209. -- 
  210. -- 
  211. Jeffrey Jonas
  212.  
  213. jeffj@synsys.uucp
  214.  
  215. -----------------------------
  216.  
  217. From: "rajeev.dolas" <rajeev@cbnewsf.cb.att.com>
  218. Subject: Changing "pg" options
  219. Date: 25 Aug 92 19:02:39 GMT
  220. Sender: news@cbfsb.cb.att.com
  221. To:       unix-wizards@sem.brl.mil
  222.  
  223.  
  224.  
  225. Howdy all,
  226.  
  227.     I am trying to find out if there is a way of turning the "!"
  228.     option off from pg.  Here is something similar to what I am 
  229.     trying to do:
  230.  
  231.     main()
  232.     {
  233.         char t[25];
  234.  
  235.         strcpy(t, "pg $HOME/.profile\n");
  236.         system(t);
  237.     }
  238.  
  239.     While running this program I don't want the !<command> option
  240.     to be available to the user.
  241.  
  242.     Is there a simple way of doing this?  I don't want to reinvent the
  243.     wheel and write my own pg (if possible).
  244.  
  245.     Thanks in advance.
  246.  
  247.     Raj Dolas.
  248.  
  249. -----------------------------
  250.  
  251. From: jaap <jaap@alice.att.com>
  252. Subject: Re: Changing "pg" options
  253. Date: 26 Aug 92 23:12:14 GMT
  254. To:       unix-wizards@sem.brl.mil
  255.  
  256.  
  257.  > In article <1992Aug25.190239.19142@cbfsb.cb.att.com> rajeev@cbnewsf.cb.att.com (rajeev.dolas) writes:
  258.  
  259. wants to kno how to prevent a shell being executed in a program.
  260.  
  261. Of course setting the SHELL variable night help, but not always. A safer
  262. mechanism is to get the file in the debuuger and replace the ! with a '\0'
  263. in the command parser.
  264.  
  265.     jaap
  266.  
  267. -----------------------------
  268.  
  269. From: Henrik Klagges <henrik@mpci.llnl.gov>
  270. Subject: How to kill a hung program out of a 'make'
  271. Date: 25 Aug 92 22:02:04 GMT
  272. Sender: usenet@lll-winken.llnl.gov
  273. Nntp-Posting-Host: tazdevil.llnl.gov
  274. To:       unix-wizards@sem.brl.mil
  275.  
  276.  
  277. Hi,
  278. suppose 'make' executes a bunch of programs. Suppose some of them are junk
  279. and get hung. How can make recover ? I'd like to use something like the 
  280. csh 'limit' command, so that each executable has e.g. a max of 3 cpu mins
  281. before it gets terminated.
  282.  
  283. Thanks for your help.
  284.  
  285. Cheers, Henrik
  286.  
  287. -----------------------------
  288.  
  289. From: Ravi K Mandava <ravikm@austin.ibm.com>
  290. Subject: Re: detecting process death from unrelated process
  291. Date: 26 Aug 92 19:46:12 GMT
  292. Sender: USENET News <news@awdprime.austin.ibm.com>
  293. Originator: ravikm@piobe.austin.ibm.com
  294. To:       unix-wizards@sem.brl.mil
  295.  
  296.  
  297. In article <1992Aug25.225021.22386@atlastele.com>, gerald@atlastele.com (Gerald Aden) writes:
  298. > Is there a way for process A to detect that process B has exited where
  299. > process A has the pid of process B but is not the parent of process B?
  300.  
  301.     To find out if a process is alive or not, use kill(pid_t procid, int
  302.     signal) call with 0 signal.  If the call returns -1 and errno is set
  303.     to ESRCH, then the process is not alive.  Else, it is alive.
  304.  
  305. Hope this helps,
  306. -- 
  307. *******************************************************************************
  308. Ravi K Mandava        email:    piobe!ravikm@ibmpa.awdpa.ibm.com
  309. *******************************************************************************
  310.  
  311. -----------------------------
  312.  
  313. From: Jim Davis <jdavis@bordeaux.kpno.noao.edu>
  314. Subject: Re: Questions
  315. Date: 26 Aug 92 21:32:34 GMT
  316. Sender: news@noao.edu
  317. Followup-To: comp.sys.sun.misc
  318. Nntp-Posting-Host: bordeaux.kpno.noao.edu
  319. To:       unix-wizards@sem.brl.mil
  320.  
  321. In article <1992Aug26.195534.24066@menudo.uh.edu> cavers@menudo.uh.edu (Chris M. Cavers) writes:
  322. >I am trying to adapt the example ram disk device driver source
  323. >given in the Sun manual on device drivers.
  324. >
  325. >a) When the os requests something from the device driver, what is the
  326. >proper sequence of actions to take if I wish to suspend the calling
  327. >process and queue the request.  (A detailed step by step example would
  328. >be appreciated). 
  329. >
  330. >b) What is in the ram.h file that is included in the example source code?
  331. >
  332. >Thanks in advance
  333. >
  334.  
  335. Well, I'm not sure about a), but b) is simple enough.  When you run your
  336. kernel config file through /etc/config, /etc/config will see the line that
  337. says
  338.  
  339. pseudo-device     ram
  340.  
  341. and fill in ram.h with
  342.  
  343. #define NRAM 1
  344.  
  345. Note how the body of the ram driver is surrounded by the
  346.  
  347. #if NRAM > 0
  348.  ...
  349. #endif 
  350.  
  351. block?
  352.  
  353. Followups to comp.sys.sun.misc...
  354. -- 
  355. Jim Davis            | "Knock it off, Uncle Owen.  Get an afterlife!"
  356. jdavis@noao.edu      |   -- Clarissa Darling
  357.  
  358. -----------------------------
  359.  
  360. From: Stephen Harris <sweh@spuddy.uucp>
  361. Subject: Re: 'cat'ting 8 bit data to the terminal.....
  362. Date: 28 Aug 92 20:30:05 GMT
  363. To:       unix-wizards@sem.brl.mil
  364.  
  365. In article <14333@auspex-gw.auspex.com> guy@Auspex.COM (Guy Harris) writes:
  366. >Someone may be confused.
  367. >
  368. >There is absolutely no option to "stty" to cause *output* to be stripped
  369. >to 7 bits on a SunOS 4.x pseudo-tty.  The "line discipline" STREAMS
  370. >module "ldterm" doesn't have one, and the pseudo-tty driver doesn't
  371. >either.
  372.  
  373. Your right - I'm now confused!
  374.  
  375. On a machine I admin in Greece, we use the ELOT928 character set to enable
  376. Greek characters to appear on the screen.  But to allow this to work we
  377. need to login with telnet -8 or rlogin -8, or (and?) stty pass8, otherwise
  378. the high bit seems to be stripped....haven't quite checked what goes wrong,
  379. but if I login from a terminal server (eg Annex IIe) using normal telnet, I
  380. then need to stty pass8 before Elot928 workes properly.
  381.  
  382. Or is this a totally unrelated problem, and I'm talking out of my rear end
  383. (again)?
  384.  
  385. -- 
  386.                                Stephen Harris
  387.                sweh@spuddy.uucp    ...!uknet!axion!spuddy!sweh
  388.  
  389.  * Meeeeow ! Call Spud the Cat on > +44 203 638780 < for free Usenet access *
  390.  
  391. -----------------------------
  392.  
  393. From: William A Jones <bjones@magnus.acs.ohio-state.edu>
  394. Subject: How do I remove a directory with no parent?
  395. Date: 29 Aug 92 15:11:28 GMT
  396. Sender: news@magnus.acs.ohio-state.edu
  397. Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
  398. To:       unix-wizards@sem.brl.mil
  399.  
  400. I just recently installed smail v3.1.25 on my system (i486 running linux 0.97)
  401. and during the installation process, the directory /usr/local/lib/smail/methods
  402. was created.  However, there is absolutely nothing in the directory -- no
  403.  ., no .., no nothing.  fsck kindly points this out but hasn't done anything
  404. to fix it.  rmdir, rm -rf, rm -d all don't work.  I tried removing the entire
  405. directory tree doing an "rm -rf /usr/local/lib/smail" but that doesn't work.
  406.  
  407. Other than backing up everything else but this file and running mkfs to make
  408. a clean disk is there any other way to fix this?
  409.  
  410. Thanks,
  411.  
  412. Bill
  413.  
  414. -----------------------------
  415.  
  416.  
  417. End of UNIX-WIZARDS Digest
  418. **************************
  419.