home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / system / csh / overview.doc < prev    next >
Text File  |  1995-02-27  |  6KB  |  135 lines

  1. CShell is a replacement for the standard Amiga shell.
  2.  
  3. - Press the HELP key to see a list of built in commands. After you assign
  4.   CSH: to where csh.doc is, you can also enter 'man <command>'.
  5. - After you have started csh, you can remove the disk you booted from,
  6.   as all important commands are built in.
  7. - All built in commands may be abbreviated. Instead if typing 'assign',
  8.   just enter 'ass'. If you don't like this, enter 'set _abbrev n'.
  9. - Built in commands have to be lowercase. Therefore, to force an external
  10.   command to be used, capitalize the first letter: 'Dir df1: ALL'
  11. - All commands (even externals) accept wild cards. The asterisk '*' is
  12.   the same as #? under AmigaDOS:  'copy *.c ram:'
  13. - Quick installation: Call csh at the end of your startup-sequence. Create
  14.   a file s:.login where you put all your private alias commands.
  15. - The alias command is very powerful: 'alias hi "%a echo $a$a"' will echo
  16.   twice what you passed to it as argument. aliases may call each other.
  17. - Whenever you need to specify a file name, just type the beginning of it
  18.   and press TAB then. Repeat if necessary.
  19. - After you type 'cd -g DH0: DH1:' (insert your partitions here), you can
  20.   cd to any directory anywhere on the hard disk without specifying a path.
  21. - You can set the function keys to any string you like: 'set _f1 dir^m'
  22.   will execute a 'dir' command whenever you press f1.
  23. - You can recall all old lines by typing the up and down arrow. If you type
  24.   the beginning of an old line and press shift-up, it will reappear.
  25. - CShell has all important properties of a programming language. CShell
  26.   scripts can do very complicated tasks. Refer to csh.doc for details.
  27. - You can control application programs with a REXX port without having
  28.   AREXX running:  'rxsend rexx_ced CEDTOFRONT'
  29.  
  30. abortline   aborts current command line
  31. action      tries to perform an action on a file. see 'class'
  32. addbuffers  adds buffers to a disk
  33. alias       defines a shortcut for a list of commands
  34. ascii       shows an ascii table
  35. aset        sets a ARP environment variable
  36. assign      assign a logical name to a physical directory
  37. basename    extracts the file name off a path
  38. cat         same as type
  39. cd          changes current directory. lots of goodies
  40. class       defines file classes and actions that can be performed on them
  41. close       closes a file opened by 'open'
  42. copy        copies a files and/or directories to a different place
  43. cp          same as copy
  44. date        displays or sets the time and date
  45. dec         decreases a variable
  46. delete      removes a file or directory
  47. dir         shows a directory. lots of goodies
  48. diskchange  indicates a disk change in a drive
  49. echo        echoes its arguments to stdout
  50. else        used in if/else/endif
  51. endif       used in if/else/endif
  52. error       generates specific return code
  53. exec        executes its arguments as a command
  54. fault       prints error string associated with a secondary error code
  55. filenote    sets a file comment for a file
  56. flist       lists all open files
  57. fltlower    filter: reads stdin, converts to lower case, prints to stdout
  58. fltupper    filter: converts to upper case
  59. foreach     executes its last argument multiply, picking var values from args
  60. forever     executes its last argument forever
  61. forline     executes its last argument multiply, picking var values from file
  62. fornum      executes its last argument multiply, assigning numeric values
  63. getenv      reads an ENV: variable
  64. goto        jumps to a label
  65. head        filter: pick the first lines of stdin
  66. help        shows list of commands
  67. history     shows last commands entered
  68. howmany     indicates the number of shells running
  69. htype       types a file as hex dump
  70. if          conditinal clause: 'if a < 3;echo lower;endif'
  71. inc         increases a variable
  72. info        shows info on drives
  73. input       gets one variable from stdin
  74. join        joins several files to one
  75. keymap      redefines the editing keymap
  76. label       sets destination for a 'goto'
  77. local       defines a variable to be local
  78. linecnt     filter: counts lines from stdin
  79. ls          same as dir
  80. man         prints detailed information on a cshell command
  81. md          same as mkdir
  82. mem         shows free memory
  83. menu        installs an intuition menu
  84. mkdir       creates a directory
  85. mv          same as rename
  86. open        opens a file
  87. path        shows or sets the search path for external commands
  88. pri         sets task priority
  89. protect     alters protection bits of a file
  90. ps          shows currently running tasks
  91. pwd         prints the current (working) directory
  92. qsort       filter: sorts stdin, outputs to stdout
  93. quit        quits cshell (ARGH!)
  94. rback       runs an external command in the background
  95. rename      renames a file
  96. readfile    reads a file and assigns it to a variable
  97. relabel     renames a disk
  98. resident    makes an external command resident
  99. return      quit a batch file or cshell
  100. rm          same as delete
  101. rpn         reverse polish calculator
  102. rxrec       enter rexx command receive mode
  103. rxsend      send a rexx command to an application program
  104. run         runs an external command asychronously
  105. search      searches files for a string. lots of goodies
  106. set         assings a value to a variable
  107. setenv      sets an ENV: variable
  108. sleep       delays program flow
  109. split       splits a variable
  110. source      starts a batch file
  111. stack       sets the stack for commands to be started
  112. strhead     removes the suffix from a file name
  113. strings     finds strings inside binaries
  114. strleft     determines first n chars in a string
  115. strlen      determines length of string
  116. strmid      finds first m chars starting at position n
  117. strright    determines last n chars in a string
  118. strtail     finds ending of a variable
  119. tackon      adds a file name to a path name
  120. tail        filter: outputs last n lines of stdin
  121. tee         filter: copies stdin to stdout and stderr
  122. touch       updates date stamp of a file
  123. truncate    filter: reduces width of a text file
  124. type        types a file to stdout
  125. unalias     deletes an alias
  126. uniq        filter: removes subsequent identical lines
  127. unlocal     deletes a local variable
  128. unset       deletes a variable
  129. usage       shows a usage string for a cshell command
  130. version     displays current cshell version
  131. waitforport waits for a rexx port to come up
  132. whereis     finds a file on a hard disk
  133. window      resizes the window cshell is running in
  134. writefile   writes a variable to stdout one line per word
  135.