jcrdh@ihlpg.UUCP (Heij) (06/15/85)
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. Is there somebody in CPM world who already made something like this, and who wants to share whatever he knows. I am interested in all possible info, including source code!!. Roel. ihnp4!ihlpg!jcrdh
cem@intelca.UUCP (Chuck McManis) (06/18/85)
> 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. :-}