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

David T. Lewis lewis at mail.msen.com
Sat May 5 23:49:10 UTC 2001


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/20010505/d1dbe18f/CommandWindowV1-0.cs.bin


More information about the Squeak-dev mailing list