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