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

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