'sh' is the beta release of a bourne shell compatible shell. It has been
adapted by Tom Leitner and Reimer Mellin. Reimer will release the sources
of the final version in 1990.

The following files are important:

/dd/SYS/profile:    is executed whenever sh is started by logon/login
$HOME/.login        is executed whenever sh is started by logon/login
$HOME/.profile      is execute whenever a interactive sh is
                    started (e.g. when started a shell from
                    microEMACS)
$HOME/.logout       executed when logging out
/dd/SYS/logout      executed when logging out

These files a shell scripts.


Some important builtin commands:

alias <name> <string>

<name> is substituted by <string> whenever <name> is the first word
in a command line. Example:

alias rm del


history <number>

<number> of command lines are remembered. Example:

history 20


setuid <group>.<user>

Sets the user group and user id to <group>.<user>.


setpr <process id> <prior>

sets the priority of process <process id> to <prior>


setpr <prior>

sets the default priority for the processes being forked to <prior>




The cursor keys may be used to edit a command line:

^F    forward character     
^B    backward character
^H    backspace (delete left character)
DEL   delete (delete character under cursor)
^X    delete line
^K    delete to end of line
^V    toggle insert/overwrite mode
^A    to beginning of line
^P    previous command line (only available when history is enabled)
^N    next command line (only available when history is enabled)

Normal bourne shell scripts should work. Example:

for i in * ; do echo $i; cmp -s $i /h0/CMDS/$i ; done




Please report bugs and problems to

Reimer Mellin
Sulenstrasse 8
D-8000 Muenchen-Solln
West Germany


E-Mail: ram@ramsys.chi.sub.org


