home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d3xx
/
d381
/
sksh.lha
/
SKsh
/
TinySKsh.doc
< prev
next >
Wrap
Text File
|
1990-10-20
|
3KB
|
199 lines
Tiny_SKsh Description
SKsh
A ksh-like Shell for the Amiga
Version 1.6
(Copyright) 1989, 1990
Steve Koren
October 4, 1990
Introduction
Tiny_SKsh is a version of SKsh which omits:
* Command line editing (including all SKsh supplied
features such as all three forms of filename completion,
window size smart horizontal scrolling, interactive
history search, etc).
* History
* Many builtin commands
* The ARexx port
However, it does provide all other features of SKsh such as:
* Control structures (if, for, case, etc)
* Tests ([ -f ram:foo ], etc)
* Piping, I/O redirection
* Aliases, shell functions
* etc.
Tiny_SKsh will be useful to people who:
* Wish to use an external command line editing facility.
* Wish to replace most of the SKsh supplied functions (such
as 'rm' and 'mv') with their own.
SKsh does not yet provide external equivalents to all builtin
commands, so tiny_SKsh will not function properly without some
customization effort. These external commands will eventually
be provided as part of the SKsh package.
SKsh Amiga Shell Page 2 Tiny_SKsh Description
How to tell if you are using tiny_SKsh
tiny_SKsh sets the value of a shell variable called "SIZE" to
"tiny". Normal SKsh sets it to "normal". Thus, a script or
function may test for this value to determine the shell under
which it is being run. For example, consider the following:
if [ "$SIZE" = 'normal' ]
then
COMPLIST='show calc3.0 graphics: excellence!:excellence!'
complist -a $COMPLIST
fi
In this case, the complist command will only be executed if
the script is not run under tiny_SKsh.
SKsh and tiny_SKsh differences
The following builtin commands are omitted from tiny_SKsh:
argcount basename cat chmod
cilist complist date dirname
extname history info ls
match mem mkdir mv
ps rm rmdir setmap
sleep touch whence which
In addition, the following options are meaningless:
+1, +e, +h, +C, +E, +I, +O
SKsh Amiga Shell Page 3 Tiny_SKsh Description