Path: gmdzi!unido!mcsun!uunet!munnari.oz.au!manuel!nimbus!tridge From: tri...@nimbus.anu.edu.au (Andrew Tridgell) Newsgroups: comp.lang.c Subject: looking for a simple built in shell Message-ID: <1991Jul30.024256.19714@newshost.anu.edu.au> Date: 30 Jul 91 02:42:56 GMT Sender: n...@newshost.anu.edu.au Organization: Australian National University Lines: 30 Originator: tridge@nimbus I am developing an application as part of my PhD project that requires a comsiderable amount of user interaction. It basically puts the user in a simple shell where commands are typed. At this level the user can call prepared scripts, which then get interpreted just like console input. What I'm looking for is C source for a simple shell of this kind to save me re-writing one. I have one working but was about to implement goto's, expression evaluation, loops, procedure calls etc. when I thought that there must be something appropriate around already that does this. I would then just supply the end routines. It would have to be plain C (ansi or K&R), and should not be at all machine dependant (I run in several environments, notably Unix and MS-DOS). It should be easily modifiable, support expression evaluation, loops and other simple stuff and not be too huge. Any suggestions?? Thanks! Andrew -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Andrew Tridgell CSLab, Research School of Physical Science tri...@nimbus.anu.edu.au Australian National University (x2454) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-