home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / pascal / 5360 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.4 KB

  1. Xref: sparky comp.lang.pascal:5360 alt.msdos.programmer:2359
  2. Path: sparky!uunet!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!ralf
  3. From: Ralf.Brown@B.GP.CS.CMU.EDU
  4. Newsgroups: comp.lang.pascal,alt.msdos.programmer
  5. Subject: Re: 3 questions
  6. Message-ID: <2ab31b03@ralf>
  7. Date: 13 Sep 92 10:42:11 GMT
  8. Article-I.D.: ralf.2ab31b03
  9. Sender: news@cs.cmu.edu (Usenet News System)
  10. Organization: Carnegie Mellon University School of Computer Science
  11. Lines: 15
  12. In-Reply-To: <1992Sep13.020938.898@ncsu.edu>
  13. Originator: ralf@B.GP.CS.CMU.EDU
  14. Nntp-Posting-Host: b.gp.cs.cmu.edu
  15.  
  16. In article <1992Sep13.020938.898@ncsu.edu>, dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL) wrote:
  17. }One thing you could check is whether or not the parent PSP field in the current
  18. }PSP is zero.  For some reason COMMAND.COM (even child copies) like to zero out
  19. }this field, making it nearly impossible to trace back to the original shell.
  20.  
  21. I've never seen either COMMAND.COM or 4DOS do this.  What they do is set
  22. the parent PSP field to point at themselves, since the DOS kernel
  23. handles program termination specially if the parent PSP is the same as
  24. the terminating program's PSP.
  25.  
  26. -- 
  27. Internet: RALF+@CS.CMU.EDU   |The University would disclaim this if it knew...
  28. FIDO: Ralf Brown 1:129/26.1  |
  29. BIT: RALF%CS.CMU.EDU@CARNEGIE|"Success has a simple formula: do your best,
  30. AT&Tnet: (412)268-3053 school| and people may like it."   -- Sam Ewing
  31.