[ENH][GOODIE] CommandShell V1.2 (new release, aka CommandWindow)

David T. Lewis lewis at mail.msen.com
Mon Jul 2 21:49:39 UTC 2001


Previous released version: CommandWindow 1.1 (note name change)
Requires OSProcess 2.2 (2.3 recommended)

This version adds MVC support and various other improvements.

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

Try evaluating these expressions:
	CommandShell command: 'help'
	CommandShell open
	CommandShell command: 'ps -aef | edit'
	CommandShell command: 'edit /etc/host*'

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.
CommandShell can open a terminal window in either Morphic or MVC.

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: CommandShellV1-2.1.cs.gz
Type: application/x-gunzip
Size: 25509 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010702/6bbe48c5/CommandShellV1-2.1.cs.bin


More information about the Squeak-dev mailing list