home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / SHELLS / sh.readme < prev    next >
Text File  |  2009-11-06  |  2KB  |  82 lines

  1. 'sh' is the beta release of a bourne shell compatible shell. It has been
  2. adapted by Tom Leitner and Reimer Mellin. Reimer will release the sources
  3. of the final version in 1990.
  4.  
  5. The following files are important:
  6.  
  7. /dd/SYS/profile:    is executed whenever sh is started by logon/login
  8. $HOME/.login        is executed whenever sh is started by logon/login
  9. $HOME/.profile      is execute whenever a interactive sh is
  10.                     started (e.g. when started a shell from
  11.                     microEMACS)
  12. $HOME/.logout       executed when logging out
  13. /dd/SYS/logout      executed when logging out
  14.  
  15. These files a shell scripts.
  16.  
  17.  
  18. Some important builtin commands:
  19.  
  20. alias <name> <string>
  21.  
  22. <name> is substituted by <string> whenever <name> is the first word
  23. in a command line. Example:
  24.  
  25. alias rm del
  26.  
  27.  
  28. history <number>
  29.  
  30. <number> of command lines are remembered. Example:
  31.  
  32. history 20
  33.  
  34.  
  35. setuid <group>.<user>
  36.  
  37. Sets the user group and user id to <group>.<user>.
  38.  
  39.  
  40. setpr <process id> <prior>
  41.  
  42. sets the priority of process <process id> to <prior>
  43.  
  44.  
  45. setpr <prior>
  46.  
  47. sets the default priority for the processes being forked to <prior>
  48.  
  49.  
  50.  
  51.  
  52. The cursor keys may be used to edit a command line:
  53.  
  54. ^F    forward character     
  55. ^B    backward character
  56. ^H    backspace (delete left character)
  57. DEL   delete (delete character under cursor)
  58. ^X    delete line
  59. ^K    delete to end of line
  60. ^V    toggle insert/overwrite mode
  61. ^A    to beginning of line
  62. ^P    previous command line (only available when history is enabled)
  63. ^N    next command line (only available when history is enabled)
  64.  
  65. Normal bourne shell scripts should work. Example:
  66.  
  67. for i in * ; do echo $i; cmp -s $i /h0/CMDS/$i ; done
  68.  
  69.  
  70.  
  71.  
  72. Please report bugs and problems to
  73.  
  74. Reimer Mellin
  75. Sulenstrasse 8
  76. D-8000 Muenchen-Solln
  77. West Germany
  78.  
  79.  
  80. E-Mail: ram@ramsys.chi.sub.org
  81.  
  82.