🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #30465

Re: shell p usage

#30465
From: Bob Rogers
Date: Fri, 05 Feb 1988 16:33
26 lines
1700 bytes
In article <326@stag.UUCP> syntel!dal@stag.UUCP (Dale Schumacher) writes:
>
>  <dumas@sumex-aim.stanford.edu> writes...
>> Question #1 : How MWC's msh is discovering who called it ?
>>  (desktop, or other...) it is in the local shell variable 'calledfrom'.
>> An other shell is able to tell the list of all parents programs...
>> The base page does not contain any backward pointer, so what is it ?
>
>I'm not sure that MSH does* detect being called from the desktop.  What
>difference would it make (or does it in MSH).  The basepage, however,

When msh spawns another instance of itself (e.g., msh starts EMACS which 
spawns another copy of msh) is does not read the profile file.  I presume that
this difference in behaviour is why msh has to know where it came from.

It also does not inherit shell variables (it does, however, inherit 
environment variables) which means that commands defined in the .bin or .cmd 
pseudo-directories are not available in 2nd (and subsequent) copy of the shell.

>PS.  For those waiting for dLibs

Does dLibs or any other public domain library contain a version of "regexp"?
-- 
-----------------------------------------------------------------------------
Bob Rogers					        rogers@StPaul.NCR.COM
NCR Comten, St. Paul, MN
Technical Details
Message-ID: <618@ncrcce.StPaul.NCR.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!ncr-sd!ncrlnk!ncrcce!rogers
References: <326@stag.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!ncr-sd!ncrlnk!ncrcce!rogers
From: rogers@ncrcce.StPaul.NCR.COM (Bob Rogers)
Newsgroups: comp.sys.atari.st
Subject: Re: shell p usage
Message-ID: <618@ncrcce.StPaul.NCR.COM>
Date: 5 Feb 88 16:33:13 GMT
References: <326@stag.UUCP>
Reply-To: rogers@ncrcce.StPaul.NCR.COM (PUT YOUR NAME HERE)
Organization: NCR Comten, Inc.
Lines: 26