🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Alternate environment (Re: Unix V7 functionality under (or along with) AmigaDOS? (*LONG*))

#11823
From: Peter da Silva
Date: Wed, 15 Mar 1989 11:47
25 lines
1434 bytes
Here's an idea -- for someone feeling adventurous:

Take my "launch" code.

Have it use an extra bit to mark a file as special.

If the file is special:

	Don't get locks for arguments, just bundle the full file name.

	Add code to have it set up pr_CIS and pr_COS behind a process'
	back, between the time it does a CreatProc and it sends the
	startup message.

Write an _main() that has, in addition to the normal stuff, a test for the
existance of Input() and Output(). If so, it pulls in argv from the WBArgs
list in the WBStartup structure.

This should let you test most of the idea of a better shell without having
to create a whole new environment.

Maybe add a return code to the end of the WBStartup structure...
-- 
Peter "Have you hugged your wolf today" da Silva      `-_-'
...texbell!sugar!peter, or peter@sugar.hackercorp.com  'U`
Technical Details
Message-ID: <3624@sugar.hackercorp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!sugar!peter
References: <DEVEN.89Mar6082649@daniel.pawl.rpi.edu> <0776.AA0776@julie>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!sugar!peter
From: peter@sugar.hackercorp.com (Peter da Silva)
Newsgroups: comp.sys.amiga.tech
Subject: Alternate environment (Re: Unix V7 functionality under (or along with) AmigaDOS?  (*LONG*))
Keywords: Unix V7 Minix AmigaDOS shells ... CATS?  Randell??  :-)
Message-ID: <3624@sugar.hackercorp.com>
Date: 15 Mar 89 11:47:59 GMT
References: <DEVEN.89Mar6082649@daniel.pawl.rpi.edu> <0776.AA0776@julie>
Organization: Sugar Land Unix - Houston
Lines: 25