🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13140

Re: Using PIP:

#13140
From: Peter da Silva
Date: Sun, 17 Dec 1989 05:31
32 lines
2100 bytes
In article <11223@thorin.cs.unc.edu> tell@oscar.cs.unc.edu (Stephen Tell) writes:
> In article <4778@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes:
> >In article <1718.AA1718@julie> mcr@julie.UUCP (Michael Richardson) writes:
> >>   /* fast:exp/src/include/roguestar.h */

> >>    char **rs_environ;         /* Arguments of environment space */
> >>    int  rs_envcount;          /* Number of variables */
> >	Not a good idea. You want to co-operate with AmigaDOS, and that means
> >	using env:.

> But env: is deficient in that its "global" and therefore you can't have
> more than one environment.

I understand this. However you should retain compatibility with the system
as it exists. Similarly, your programs should use AmigaDOS keyword argument
handling rather than UNIX -option style, and they should work properly under
the Workbench and CLI as well as RogueStartup.

If Getenv returns a different value depending on whether the program is
started from RogueStartup and CLI that's a bad thing.

> >There's a point to both. It'd be cooler to make RogueStartup a full superset
> >of WBStartup. Using some magic token to distinguish them.

> In general, this looks like a good idea.  CBM seems more likely to adopt it
> as a standard somday (1.5?) if it fits well with existing stuff.

Also people are more likely to use it today.
-- 
Peter "Have you hugged your wolf today" da Silva <peter@sugar.hackercorp.com>
`-_-'
 'U`  "I haven't lost my mind, it's backed up on tape somewhere"
Technical Details
Message-ID: <4780@sugar.hackercorp.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!nuchat!sugar!peter
References: <4689@sugar.hackercorp.com> <1610.AA1610@julie> <1718.AA1718@julie> <4778@sugar.hackercorp.com> <11223@thorin.cs.unc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!nuchat!sugar!peter
From: peter@sugar.hackercorp.com (Peter da Silva)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Using PIP:
Keywords: dupping closing pipes
Message-ID: <4780@sugar.hackercorp.com>
Date: 17 Dec 89 05:31:00 GMT
References: <4689@sugar.hackercorp.com> <1610.AA1610@julie> <1718.AA1718@julie> <4778@sugar.hackercorp.com> <11223@thorin.cs.unc.edu>
Reply-To: peter@sugar.hackercorp.com (Peter da Silva)
Organization: Sugar Land Unix - Houston
Lines: 32