[ENH][GOODIE] CommandWindow V1.0 (initial release)

David T. Lewis lewis at mail.msen.com
Mon May 7 13:24:35 UTC 2001


Reposted due to apparent problems with the mailing list.
-------------------------------------------------------
CommandWindow V1.0 - initial release.
Requires OSProcess V2.1.

Herewith a Smalltalk simulation of a Unix command shell, with a simple dumb
terminal window. Requires OSProcess. Works only on Unix systems.

Class CommandShell is a command shell, similar to /bin/sh, with a command
line user interface. It collaborates with process proxies to provide command
execution, and provides a limited set of built in commands similar to those in
a Unix shell. Built in commands are implemented in Smalltalk, and any other
commands are passed to process proxies to be executed externally.

ShellWindowMorph is a simple teletype shell session morph, providing a view on
an instance of CommandShell.

UnixCommand adds command line parsing and file name globbing to a
ConnectedUnixProcess. This allows direct execution of external commands without
use of an external command shell.

PipeableEvaluator evaluates Smalltalk expressions and provides a framework
for pipelines of expressions combining Smalltalk expressions with external
Unix commands.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CommandWindowV1-0.cs.gz
Type: application/x-gunzip
Size: 14228 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010507/928bde51/CommandWindowV1-0.cs.bin


More information about the Squeak-dev mailing list