
Internal Commands:

 adr                            show some system adresses
 basename file                  find filename (a:\okami\sh.ttp -> sh.ttp)
 cat [file]                     copy file to StdOut
 cd [path]                      change work directory
 chmod (+|-)[cdhrsvw] file      change file attributes
 cls                            clear the screen
 cmds [-a]                      list all internal commands
 cp source dest                 copy files
 cursor [(+|-)bv] [rate]        configure VT52 cursor
 date                           show time and date
 df [drive]                     disk space info
 dirname file                   find path (a:\okami\sh.ttp -> a:\okami\)
 drvname file                   find drive (a:\okami\sh.ttp -> a:)
 echo [string]                  write to StdOut
 exit                           finish the shell
 find path filespec             list matching files
 goff                           switch GEM off
 gon                            switch GEM on
 grep pattern [file]            find pattern
 hardcopy                       print contents of screen
 hd [file]                      Hex dump
 help                           this
 ls [-alksv] [filespec]         list files
 mem                            show free RAM
 memex [-cwls] Adress [Number]  copy memory to StdOut
 mkdir path                     make a new directory
 more [file]                    same as pg
 mv source dest                 move a file (rename)
 num Number                     show Number in bin, oct, dec, hex, ascii
 pg [file]                      show file in pages
 pwd                            print work directory
 read [variable]                read a variable from StdIn
 rm [-f] file                   remove a file
 rmdir path                     remove a directory
 scr -(b|w)                     set background colour on b/w monitor
 set [(+|-)be]                  show/set Shell flags
 tee file                       copy StdIn to StdOut and to file
 time                           command runtime
 touch file                     update date-time-stamp
 tr fltrfile                    filter StdIn to StdOut according to fltrfile
 type command                   show calling path of command
 vars [-as]                     list Shell variables
 wc [-lwcn] [file]              count lines, words, and characters

 drive:         e.g.    d:
 path:          e.g.    d:\okami
 file:          e.g.    d:\okami\sh.ttp
 filespec:      e.g.    d:\okami\*.sh           or file
 source,dest:   file
 fltrfile:      file
 pattern:       any string
 Number:        e.g. 123 (dec), 0xabc (hex), 0123 (oct.), !A (char).
 Adress:        Number
 rate:          0:still, 30:normal, <30:faster, >30:slower

 Commands with optional file (eg. hd [file]) take StdIn if no file is given.
 
 I/O redirection:
 <                      redirect StdIn  (all commands)
 >                      redirect StdOut, create (all commands)
 >>                     redirect StdOut, append (all commands)
 2>                     redirect StdErr, create (internal commands only)
 2>>                    redirect StdErr, append (internal commands only)
 |                      pipe

 Devices:
 A:                     Disk Drive A:
 B:                     Disk Drive B: etc.
 CON:                   Console (screen and keyboard)
 PRT:                   Printer
 AUX:                   RS232
 NULL:                  nowhere (set $NULL to specify)

 Keyboard command entry:
 Backspace:             erase last character
 Up-Arrow               display previous in history
 Down-Arrow             display next in history
 Control V              abort the shell
