Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/13/84; site intelca.UUCP Path: utzoo!utcs!lsuc!pesnta!amd!intelca!cem From: cem@intelca.UUCP (Chuck McManis) Newsgroups: net.micro.cpm Subject: Re: a shell for cpm2.2 Message-ID: <1@intelca.UUCP> Date: Tue, 18-Jun-85 11:51:24 EDT Article-I.D.: intelca.1 Posted: Tue Jun 18 11:51:24 1985 Date-Received: Thu, 20-Jun-85 03:44:14 EDT References: <644@ihlpg.UUCP> Distribution: net Organization: Intel, Santa Clara, Ca. Lines: 27 > I am thinking of writing a shell for my Ampro Little Board. It is running > CPM 2.2. I like to include redirection, type ahead, command history and the > commands: copy file, rename file, dir, stat and type. The users will be used > as directories. The shell must handle wildcards, so all existing programs > can be used with it. Implementation of the commands is not to difficult, my > major concern is implementation of the redirection, type ahead and command > history. No Problem! Actually the Ampro board uses ZCPR3 so all of the hard work has been done already. You should probably get a copy of the documentation from either a local bbs or Z-node central (415) 489-9005. Specifically look at the sections on named directories and IOP's. The IOP will provide the redirection capability. As for type ahead, I believe it is a switch you can set with the BIOS either way you will need a copy of the BIOS source. That is available from Ampro or one of their dealers. Finally, look into the sh command, (which is part of the complete ZCPR3 package) for lots of neat things like shell variables and things like that. P.S. Source code is available for all of the above, with the exception of the Ampro BIOS it can be had for free. --Chuck -- "Unix, the Teco of Operating Systems." - - - D I S C L A I M E R - - - {ihnp4,fortune}!dual\ All opinions expressed herein are my {qantel,idi}-> !intelca!cem own and not those of my employer, my {ucbvax,hao}!hplabs/ friends, or my avocado plant. :-}