Path: 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: <0776.AA0776@julie> Organization: Sugar Land Unix - Houston Lines: 25 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`