home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / cli / jondosv1 / jondos.txt next >
Encoding:
Text File  |  1992-08-05  |  31.2 KB  |  797 lines

  1.                 Documentation for JonDOS CLI Version 1.07
  2.                 -----------------------------------------
  3.  
  4.    JonDOS is a command line interface (CLI) for the Atari ST/STe/TT 
  5. computers. This program is considered FREEWARE and may be copied freely 
  6. providing the following conditions are met;
  7.  
  8.      1) This manual is included unaltered with every distributed copy of 
  9. JonDOS.
  10.  
  11.      2) No fee is charged for the copy without the author's prior written 
  12. consent, with the sole exception of duplication costs for public domain 
  13. and shareware libraries.
  14.  
  15.      3) Theprogram or this manual is not included with any commercial 
  16. product or publication of any kind without the author's prior written 
  17. consent.
  18.  
  19.    Whilst every care has been taken in developing this product the author 
  20. makes no warranties of any kind with respect to this manual or the JonDOS 
  21. program. Any damage or loss incurred accidentally or otherwise by this 
  22. program or by the use of this program is solely the responsibility ibility ibility ibility ibility ge such as;
  23.  
  24.      'Command > FRED.PRG < not known or found'.
  25.  
  26.    The extension of a program need not be supplied - JonDOS will 
  27. automatically search all valid ST/TT extensions for you. E.g. 
  28. 'DEVPAC.PRG' could be run merely by typing 'DEVPAC'. The search is 
  29. performed in this order;
  30.  
  31.      1) .TTP   ( Highest priority )
  32.      2) .TOS
  33.      3) .BAT   ( Batch files )
  34.      4) .GTP
  35.      5) .PRG
  36.      6) .APP   ( Lowest priority )
  37.  
  38.    If you supplied the extension and it was not one of the above types 
  39. JonDOS will treat the program as a .PRG. If you have 2 files with 
  40. different extensions, e.g. a 'FRED.TOS' and 'FRED.PRG', by default JonDOS 
  41. will execute 'FRED.TOS'. You can force JonDOS to execute 'FRED.PRG' by 
  42. including the '.PRG' in the program name.
  43.  
  44.    If the program's extension was a .TTP or .TOS the program's output 
  45. will be shown on the screen below your command. If the program's 
  46. extension was a .PRG, .APP or .GTP the screen will be cleared to the 
  47. standard ST GEM background and the mouse pointer will be made visible. 
  48. People who 'type ahead' should be aware that your ST can easily get 
  49. confused with keypresses when it switches from a GEM (mouse) orientated 
  50. system to a TOS (cursor) orientated one. It is possible that your ST 
  51. might lose or 'misplace' a few kepresses.
  52.  
  53.    You can force a program to be run in TOS or GEM mode by the commands 
  54. TOS and GEM. The choice can be restored to JonDOS with the DEFAULT 
  55. command.
  56.  
  57.    On termination of the program you will be returned to JonDOS.
  58.  
  59.    The <arguments> on a command line is a string to be passed to the 
  60. executing program or command. It is identical to the string you would 
  61. type when running a .TTP from the Desktop. Most JonDOS commands, .TTP and 
  62. .GTP programs require arguments. If a GEM program can be installed under 
  63. the 'Install Application' menu of the Desktop then it too will allow 
  64. arguments to be passed to it in the form of files to be loaded.
  65.  
  66.    You can leave JonDOS by typing EXIT or QUIT
  67.  
  68. Limits
  69. ------
  70.    The entire command line entered is not allowed to exceed 256 bytes. 
  71. Any parameters passed to programs or commands cannot exceed 126 bytes.
  72.  
  73. Line Editing
  74. ------------ 
  75.   JonDOS employs a full line editor with the following pre-defined keys.
  76.  
  77.    Arrow Left/Right      Move Cursor Left/Right on the line
  78.    Shift-Left/Right      Word Left/Right
  79.    Control-Left/Right    Start/End of line
  80.    Backspace             Erase character to left of cursor
  81.    Delete                Erase character under cursor
  82.    Control-Backspace     Erase from start of line to cursor
  83.    Control-Delete        Erase from cursor to the end of line
  84.  
  85.    JonDOS also provides the Wordstar compatible keys;
  86.     CONTROL-G    Same as DELETE
  87.     CONTROL-Y    Delete ENTIRE line
  88.     CONTROL-E    Same as arrow Up
  89.     CONTROL-X    Same as arrow Down
  90.     CONTROL-A    Word left
  91.     CONTROL-S    Arrow left
  92.     CONTROL-D    Arrow right
  93.     CONTROL-F    Word right
  94.     CONTROL-M    Return
  95.  
  96.    Commands entered are stored in a 1500 byte 'recall' buffer. They can 
  97. be recalled at will by pressing the Up/Down arrow keys. The following 
  98. special commands also concern the recall buffer
  99.  
  100.      >RE
  101.      >RE number
  102.      >RE string
  103.  
  104.    RE will display all commands stored in the recall buffer. The display 
  105. might look something like this;
  106.  
  107.           Recall buffer;
  108.           1: cd \freeda\jon
  109.           2: dir
  110.           3: devpac file.s
  111.  
  112.    Command 1 would represent the last command entered, 2 - the command 
  113. before that, and so on. The commands can be recalled (brought
  114. to the current editing line) by specifying its number or the first few 
  115. letters of the command.
  116.  
  117.      E.g. RE 2 would recall the DIR command
  118.           RE d would recall the DIR command
  119.           RE dev would recall the DEVPAC command
  120.  
  121.    Should you enter a number that is out of range or a string which could 
  122. not be found JonDOS will 'beep' you and will not allow you to enter the 
  123. command. In the case where a string entered matches two or more commands, 
  124. the most recently entered command will be recalled.
  125.  
  126.    The differences between upper and lower case and trailing spaces are 
  127. significant to RE commands.
  128.  
  129.    RE commands and blank lines are never entered in the recall buffer. . 
  130. If two or more consecutive, identical commands are entered only one copy 
  131. will be placed in the recall buffer.
  132.  
  133.    If the recall buffer fills up, which for a typical user will happen 
  134. after 60 or more commands, commands at the bottom of the buffer will be 
  135. removed to make room for new commands.
  136.  
  137.  
  138.    The GEM file selector box can be displayed by pressing CONTROL-Ins. If 
  139. you click OK or select a file, the filename (including the directory) 
  140. will be copied to the cursor position in the line you are editing.
  141.  
  142.    Function keys can be defined with the SET KEY command (described 
  143. later).
  144.  
  145. SETS and SHOWS
  146. --------------
  147.    SETs provide a convenient way of configuring your machine to your 
  148. taste. JonDOS divides SETs into two types, internal and external.
  149.  
  150.    Internal SETs comprise of command substitutions (COM), environments 
  151. (ENV) and function key equivalents (KEY). They are set in the following 
  152. way;
  153.  
  154.      >SET  type  name [=] [string]
  155.  
  156.    The '=' is optional. If you do not include the 'string' the set will 
  157. be deleted.
  158.  
  159.    Command substitutions simply make one command equal to another. For 
  160. example: MKDIR is the JonDOS command to create a new directory. People 
  161. who are more used to the command MD could use the following line;
  162.      >SET COM MD=MKDIR
  163.  
  164.    If you now entered the command MD, JonDOS would automatically convert 
  165. it MKDIR.
  166.  
  167.      >SET COM MD=
  168.           would remove the definition MD.
  169.  
  170.    SET COM can also be used to quickly find programs without having to 
  171. create small batch files or have JooDOS search through a large PATH 
  172. environment. E.g.
  173.  
  174.    >SET COM FCOPY=C:\UTILS\COPIERS\FCOPY_3.PRG
  175.  
  176.           would execute c:\utils\copiers\fcopy_3.prg on typing fcopy. 
  177. JonDOS would not have searched the PATH environment because the full 
  178. pathname was supplied.
  179.    
  180.  
  181.    Environments are a set of strings which are passed to executing 
  182. programs. This allows you to give all executing programs details of your 
  183. machine configuration in a single go. The most used environment is PATH - 
  184. this tells executing programs where to find files it may need. JonDOS 
  185. also uses this environment to search for files you've requested to run. 
  186. E.g.
  187.  
  188.      >SET ENV PATH=C:\DOS;F:\MUSIC;
  189.  
  190.     Multiple directories are separated by a semi-colon ';'. Please note 
  191. that with * environments * the case is important - 'PATH' is not the same 
  192. is 'path'.
  193.  
  194.    Currently JonDOS will only pass the first 512 bytes of environment 
  195. strings to programs.
  196.  
  197.  
  198.    Function keys can be set with SET KEY, and are in the form
  199.      >SET KEY [A-|S-|C-]F1..10 [=] [string]
  200.  
  201.    where A- denotes and ALT assignment, S- for SHIFT and C- for CONTROL. 
  202. Examples;
  203.  
  204.      >SET KEY A-F5 = cd a:\text
  205.      >SET KEY F2 = DIR
  206.  
  207.    The character '`' (the apostrophe on the TOP row of the ST keyboard) 
  208. is used as a place-holder for RETURN. This allows multiple commands to be 
  209. joined together in one keypress and the automatic execution of commands. 
  210. E.g.
  211.  
  212.      >SET KEY C-F10 = print jones.txt`dir`
  213.  
  214.      would print the file 'jones.txt' and then perform a DIR on pressing 
  215. CONTROL-F10.
  216.  
  217.    All internal SETs are stored in a 2500 byte buffer. You will be issued 
  218. the error message 'Out of memory' should this buffer fill up, though I 
  219. doubt this will happen to the vast majority of users.
  220.  
  221.    SHOW is used to display previously defined data and is best explained 
  222. by some examples.
  223.  
  224.      >SHOW ENV PATH      would show the environment PATH
  225.      >SHOW ENV           would show ALL environments
  226.      >SHOW               would show all keys, environments and commands.
  227.  
  228.    External SETs directly configure aspects of you ST. Currently these 
  229. consist entirely of colour control.
  230.  
  231.      >SET PEN xx      Set foreground text pen to xx (0-15)
  232.      >SET BACK yy     Set background text pen to yy (0-15)
  233.      >SET COL A RGB [rgb ...]
  234.                       Sets pen A to RGB, A+1 to rgb, etc.
  235.  
  236.      Usually BACK has a value of 0 and PEN has a value of 15. SET COL 
  237. allows one or more colours to be set at once. This allows the entire 
  238. colour palette to be set in one go. E.g.
  239.  
  240.      >SET COL 0  000             Would set the background to black
  241.      >SET COL 0  000 333 555 777 would set the first 4 colours
  242.      >SET COL 12 700 733 755 777 Would set colours 12-15
  243.  
  244.    External SETs cannot be SHOWn.
  245.  
  246.  
  247. Batch Files
  248. -----------
  249.    Batch files are a sequence of commands stored on seperate lines in a 
  250. file. The file must be in the standard ASCII Carriage return/line feed 
  251. format which is created by most text editors.
  252.  
  253.    You can pass arguments to batch file which can be accessed from within 
  254. the file by the special macro %. E.g. You could have a batch file called 
  255. SETPEN.BAT which sets the foreground and background pens;
  256.  
  257.           SET PEN %1
  258.           SET BACK %2
  259.  
  260.    You can run the batch file by typing
  261.  
  262.        >SETPEN 0 15
  263.  
  264.    The commands in the batch file would then be expanded to;
  265.  
  266.           SET PEN 0
  267.           SET BACK 15
  268.  
  269.    The first 9 argument strings can be reached with %1 to %9
  270.    %^ denotes the entire argument line passed to the batch file.
  271.    %\ denotes the current directory at the time batch job was executed.
  272.  
  273.    All parameters passed to a batch file and the batch file directory are 
  274. stored in the 2500 byte SET buffer and are removed when the batch file 
  275. terminates. This should not cause a problem unless your SET buffer is 
  276. nearly full.
  277.  
  278.    It is possible to call batch files from within other batch files. Up 
  279. to 5 batch files can be opened at once in this manner.
  280.  
  281.    Should you run a command or program which returns a value to JonDOS, 
  282. as programs tend to do if they encounter a serious error, JonDOS will 
  283. present you with an option to terminate the batch file. You might see a 
  284. display such as;
  285.  
  286.         Program returned with code -1
  287.         Terminate batch job? (Y/n)
  288.  
  289.    If you answer the prompt with a key other than 'N' or 'n', JonDOS will 
  290. terminate the batch file.
  291.  
  292.    A batch file will be closed at either the end of the file or at an 
  293. EXIT command. This will take you back to the previous batch file opened 
  294. or the prompt if it is the only one opened. 
  295.  
  296.    STOP will close all batch jobs and return you to the prompt.
  297.    QUIT is equivalent to a STOP followed by an EXIT. It will cause JonDOS 
  298. to be terminated without return to the prompt.
  299.  
  300.  
  301. Shell Mode
  302. ----------
  303.    JonDOS can be called from the programs which it executes. Most notable 
  304. of these are the HiSoft editors which feature a 'Run with Shell' option. 
  305. Commands can then be passed back to JonDOS for it to execute. If no 
  306. command is given you will be presented with the user prompt, type EXIT or 
  307. QUIT to return to the running program.
  308.  
  309.    If the program features a 'Run Shell with TOS/GEM' switch it is 
  310. advisable to set this to GEM.
  311.  
  312.    Be careful about stacking too many programs in memory when using this 
  313. feature.
  314.  
  315.  
  316. Internal Commands
  317. -----------------
  318.    Internal commands, as with TOS programs, can have their output 
  319. suspended by pressing CONTROL-S and restarted with CONTROL-Q. They can 
  320. also be stopped with CONTROL-C, though you should be careful when
  321. using it.
  322.  
  323.    Helpful bits:
  324.  
  325.      Internal commands can have their output redirected to a file or 
  326. other device. The '>' character denotes a file to create, '>>' denotes a 
  327. file to append output to. E.g.
  328.  
  329.           DIR *.S >NEW.LIS
  330.           DIR *.T >>APPENDED.LIS
  331.  
  332.       JonDOS does not currently support the forceful redirection of 
  333. output from another programs.
  334.  
  335.  
  336.      Some commands have switches which can be set. These switches must 
  337. always be between the command and the first non-switch argument. A switch 
  338. is denoted by a '-' or a '/' followed by a letter, e.g. '-c'. This 
  339. manual denotes switches by '-' and uses lower case letters, although 
  340. JonDOS does not distinguish between upper and lower case.
  341.  
  342.       Most disk commands offer a '-c' switch forces confirmation to be 
  343. required on each file before performing its operations. For every file 
  344. they process you will receive a prompt such as;
  345.  
  346.           Delete FILE.C ?(yes/No/all/quit)
  347.  
  348.      YES will perform the operation on this file only.
  349.  
  350.      NO will skip this file. This is the default answer - if you press 
  351. any key other than Y, A, Q or CONTROL-C the file will be skipped.
  352.  
  353.      ALL will perform the operation over this file and all subsequent 
  354. files (i.e. confirmation is turned off).
  355.  
  356.      QUIT will stop the command. If you have answered YES to any file 
  357. that JonDOS has not completed its actions on then those actions will be 
  358. concluded before returning you to the user prompt.
  359.  
  360.      There is also an unseen option, CONTROL-C, which will stop the 
  361. command without further disk access and return you to the user prompt. In 
  362. the case of COPY, some files may not be written correctly if you use this 
  363. option.
  364.  
  365.  
  366.    JonDOS supports the wildcards '*' and '?'.
  367.  
  368. List of Internal Commands
  369. =========================-----------------------------------------------
  370.    Command:     !
  371.  
  372.    Description: Any line beginning with this character is ignored. This 
  373. allows comments to be placed in batch files and is a alternative to REM.
  374.  
  375.    Examples:    ! this is a comment.
  376.  
  377.    See Also:    REM
  378.  
  379.  
  380. ------------------------------------------------------------------------
  381.    Command:     ACC
  382.  
  383.    Parameters:  None
  384.  
  385.    Description: Allows the user to select desktop accessories. Select 
  386. 'Return' under the 'JonDOS' menu to return to the prompt.
  387.  
  388. ------------------------------------------------------------------------
  389.    Command:     BELL
  390.  
  391.    Parameters:  None
  392.  
  393.    Description: Output the ST bell if this function is enabled at the 
  394. operating system level.
  395.  
  396. ------------------------------------------------------------------------
  397.    Command:     BIG
  398.  
  399.    Parameters:  None
  400.  
  401.    Description: Force the text to be drawn in a 8x16 monochrome font. The 
  402. conjugate function, SMALL, can be used to get 50 lines on a screen in ST 
  403. High rez.
  404.  
  405.    See Also:    SMALL
  406.  
  407. ------------------------------------------------------------------------
  408.    Command:     CD
  409.  
  410.    Parameters:  Directory
  411.  
  412.    Description: Changes the current directory.
  413.  
  414.    Examples:    CD \            - Change to root directory
  415.                 CD FRED         - Change to sub-directory 'FRED'
  416.                 CD ..           - Move back one directory
  417.  
  418. ------------------------------------------------------------------------
  419.    Command:     CHKDSK
  420.  
  421.    Parameters:  Optional drive
  422.  
  423.    Description: Displays details about the current drive, such as the 
  424. amount of free disk space.
  425.  
  426.    Caveats:     This command can take a long time on TOS versions prior 
  427. to 1.4
  428.  
  429.    Examples:    CHKDSK c
  430.  
  431. ------------------------------------------------------------------------
  432.    Command:     CLS
  433.  
  434.    Parameters:  None
  435.  
  436.    Description: Clears the screen to the background text colour.
  437.  
  438. ------------------------------------------------------------------------
  439.    Command:     COPY [-c]
  440.  
  441.    Parameters:  Source search path, optional destination path
  442.  
  443.    Description: Copies the files from the source search area to the 
  444. destination. If no destination area is specified the files are copied to 
  445. the current directory. COPY uses all available memory to minimise the 
  446. number of disk swaps required on floppy based systems.
  447.  
  448.      If '-c' is specified COPY will ask confirmation on each file before 
  449. reading copying it. It is advisable not to press CONTROL-C at the 
  450. confirmation prompt - this could leave some files unwritten or partially 
  451. written.
  452.  
  453.      Should the disk you are copying to run out of space it is probable 
  454. that the last file processed by COPY will only be partially written.
  455.  
  456.    Examples:     COPY -c *.c a:\   Copy all files with extension .C to 
  457. a:\. Confirmation will be asked on every file before it is copied.
  458.  
  459.                  COPY b:\JON*.*    Copy all files starting with the 
  460. letters 'JON' to the current directory. 
  461.    See Also:     DEL, RENAME
  462.  
  463. ------------------------------------------------------------------------
  464.    Command:     DEFAULT
  465.  
  466.    Parameters:  None
  467.  
  468.    Description: Forces JonDOS to decide whether a program is of a TOS or 
  469. GEM type by its extension.
  470.  
  471.                 .TOS and .TTP are considered TOS types
  472.                 .PRG, .APP and .GTP are GEM types
  473.  
  474.    See Also:    GEM, TOS
  475.  
  476. ------------------------------------------------------------------------
  477.    Command:     DEL [-c]
  478.  
  479.    Parameters:  File search mask
  480.  
  481.    Description: Delete files specified by the search mask.
  482.  
  483.    Examples:    DEL A:\*.*         Delete all files on the root directory 
  484. of A. This will NOT delete all files on the disk as it does on PC 
  485. compatibles.
  486.  
  487.                 DEL -c *.s          Delete with confirmation file with 
  488. the extensiin .S
  489.  
  490.    See Also:    COPY, RENAME
  491.  
  492. ------------------------------------------------------------------------
  493.    Command:     DIR [-w] [-p]
  494.  
  495.    Parameters:  File search mask
  496.  
  497.    Description: Lists all files and directories in the search mask. -w 
  498. forces a compressed mode where 1 file is listed every 20 characters as 
  499. opposed to the standard 1 per line. -p causes the display to be halted 
  500. after the displaying of a screen of information, usually 24 lines.
  501.  
  502.                 JonDOS will automatically add wildcards such as *.*
  503.  
  504.    Examples:    DIR a:\             List root directory of A
  505.                 DIR a:              List current diretory of A
  506.                 DIR .acc            List all files or folders with 
  507. extension .ACC
  508.                 DIR -w JON*         List all files or folders starting 
  509. with first 3 letters = JON, in compressed mode.
  510.  
  511. ------------------------------------------------------------------------
  512.    Command:     DRIVEB
  513.  
  514.    Parameters:  None
  515.  
  516.    Description: Toggles the recognition of an external floppy drive. 
  517. Useful if you forget to switch your drive on and do not wish to reboot 
  518. your computer.
  519.                 Please note that the ST was designed to be turned on 
  520. AFTER connecting and powering up periphals, so I do not encourage the use 
  521. of this command.
  522.  
  523. ------------------------------------------------------------------------
  524.    Command:     ECHO
  525.  
  526.    Parameters:  String to be printed.
  527.  
  528.    Description: Echoes a string to the screen. The special strings @ON 
  529. and @OFF (upper case only) switches on or off the automatic echoing of 
  530. batch file instructions.
  531.  
  532.    See Also:    TIME, WAIT
  533.  
  534. ------------------------------------------------------------------------
  535.    Command:     EXIT
  536.  
  537.    Parameters:  None
  538.  
  539.    Description: If used from within a batch file EXIT causes the batch 
  540. file to be closed. If used from the user prompt JonDOS will terminate.
  541.  
  542. ------------------------------------------------------------------------
  543.    Command:     GEM
  544.  
  545.    Parameters:  None
  546.  
  547.    Description: Force all programs to be run in GEM mode.
  548.  
  549.    See Also:    DEFAULT, TOS
  550.  
  551. ------------------------------------------------------------------------
  552.    Command:     HELP
  553.  
  554.    Parameters:  None
  555.  
  556.    Description: Gives a list of the internally available commands. Note 
  557. that only a list is displayed and you should refer to this manual for 
  558. explanations.
  559.  
  560. ------------------------------------------------------------------------
  561.    Command:     MAKE
  562.  
  563.    Parameters:  destination file ~ source file(s) ~ make command
  564.  
  565.    Description: MAKE is a command based file maintainer which is 
  566. generally used by programmers to automatically compile, assemble and link 
  567. files.
  568.                 If you consider the case where you have some source files 
  569. which when assembled make a .PRG file. Should you change any of the 
  570. source files the .PRG will be out of date - you would need to re-
  571. assemble. MAKE can automatically do this by detecting if any of the 
  572. source files have changed since the last time you made the .PRG file - it 
  573. compares the time and date stamps on the source files with that on the 
  574. .PRG.
  575.  
  576.    Caveats:     Requires the system clock to be accurate. All parameters 
  577. have to be less than 126 characters, so it is best to split a large make 
  578. command into several smaller ones. Due to the number of parameters 
  579. required it is advisable to use this command from a batch file.
  580.  
  581.    Examples:    MAKE fred.prg ~ file1.s file2.s ~ build fred
  582.                   - The command 'build fred' will be executed if file1.s 
  583. or file2.s have been altered since fred.prg was made.
  584.  
  585.                 MAKE ste.o ~ ste.c header.h list.h ~ lc ste
  586.                   - The command 'lc ste' will be executed if ste.c, 
  587. header.h or list.h have been altered since ste.o was made.
  588.  
  589.  
  590. ------------------------------------------------------------------------
  591.    Command:     MEM
  592.  
  593.    Parameters:  None
  594.  
  595.    Description: Returns the largest system and alternative (fast) memory 
  596. blocks available.
  597.  
  598. ------------------------------------------------------------------------
  599.    Command:     MKDIR
  600.  
  601.    Parameters:  directory
  602.  
  603.    Description: Create a new directory.
  604.  
  605.    Examples:    MKDIR a:\folder         
  606.                 MKDIR source            'source' will now be a sub-
  607. directory inside your current directory.
  608.  
  609. ------------------------------------------------------------------------
  610.    Command:     PRINT [-c] [-f]
  611.  
  612.    Parameters:  List of file masks to print
  613.  
  614.    Description: PRINT outputs a list of files to the printer. -c
  615. will request confirmation on files before printing. -f causes a form feed 
  616. to be printed after every file.
  617.  
  618.    Caveats:     PRINT uses only a small internal buffer. The ST will be 
  619. held up while the files are printing so this command can take some time 
  620. to execute. I suggest the use of a print spooler (available from all good 
  621. public domain libraries) to avoid this.
  622.  
  623.    Examples:     PRINT -f -c *.c *.s     Causes all files with the 
  624. extension .C and .S to be output to the printer with form feeds and 
  625. confirmations.
  626.                  PRINT -f                 output a form feed.
  627.  
  628.    See Also:    TYPE
  629.  
  630. ------------------------------------------------------------------------
  631.    Command:     QUIT
  632.  
  633.    Parameters:  None
  634.  
  635.    Description: Closes all batch jobs and terminates JonDOS
  636.  
  637.    See Also:    EXIT, STOP
  638.  
  639. ------------------------------------------------------------------------
  640.    Command:     RE
  641.  
  642.    Parameters:  Optional name or number
  643.  
  644.    Description: JonDOS uses a 1500 byte recall buffer to stores commands. 
  645. RE is used to interrogate this buffer. See the main body of text for a 
  646. full description.
  647.  
  648. ------------------------------------------------------------------------
  649.    Command:     REM
  650.  
  651.    Parameters:  None
  652.  
  653.    Description: This command is ignored. It allows comments to be placed 
  654. in batch files and is a psuedonym for "!".
  655.  
  656.    Examples:    REM this is a comment.
  657.  
  658.    See Also:    !
  659.  
  660. ------------------------------------------------------------------------
  661.    Command:     RENAME [-c]
  662.  
  663.    Parameters:  Source file mask, destination mask
  664.  
  665.    Description: Give files a new name. They can be moved to other 
  666. directories provided they are on the same drive. -c enforces confirmation 
  667. on all files.
  668.  
  669.    Examples:    RENAME jon*.* fred\*.s   Rename all files beginning with 
  670. the letters 'JON' to the sub-directory 'FRED', giving them all the 
  671. extension '.S'
  672.  
  673.    See Also:    COPY, DEL
  674.  
  675. ------------------------------------------------------------------------
  676.    Command:     RMDIR
  677.  
  678.    Parameters:  Directory
  679.  
  680.    Description: Remove a directory.
  681.  
  682.    Caveats:     On early STs, if the directory has just been created it 
  683. may take two RMDIRs to remove it. RMDIR will fail if the directory has 
  684. any files in it.
  685.  
  686.    See Also:    MKDIR
  687.  
  688. ------------------------------------------------------------------------
  689.    Command:     SET
  690.  
  691.    Parameters:  set type, something to set
  692.  
  693.    Description: SET configures items on your machine. See the main text 
  694. for a full description.
  695.  
  696.    Caveats:     An internal SET executed while JonDOS is processing a 
  697. function key press will cause the function key press to be terminated. 
  698. i.e.
  699.           >SET KEY A-F10 = SET ENV PATH=...`SET ENV LIB=...`
  700.                will not work properly on pressing ALT-F10
  701.  
  702.    See Also:    SHOW
  703.  
  704. ------------------------------------------------------------------------
  705.    Command:     SHOW
  706.  
  707.    Parameters:  Optional type and string
  708.  
  709.    Description: SHOW displays the internal SETs. See the main body of 
  710. text for a full description.
  711.  
  712.    See Also:    SET
  713.  
  714. ------------------------------------------------------------------------
  715.    Command:     SMALL
  716.  
  717.    Parameters:  None
  718.  
  719.    Description: Small causes text to be output in the 8x8 font. This 
  720. enables monochrome and TT users to get 50 lines of text on a screen.
  721.  
  722.    See Also:    BIG
  723.  
  724. ------------------------------------------------------------------------
  725.    Command:     STOP
  726.  
  727.    Parameters:  None
  728.  
  729.    Description: STOP will terminate all batch jobs. If you are running 
  730. JonDOS from within a shell only those batch jobs opened since the shell 
  731. started will be terminated.
  732.  
  733.    See Also:    EXIT, QUIT
  734.  
  735. ------------------------------------------------------------------------
  736.    Command:     TIME
  737.  
  738.    Parameters:  Optional string
  739.  
  740.    Description: TIME displays the current date and time. If a string is 
  741. present that will be printed first.
  742.  
  743.    Examples:    TIME It is now:      Would display something like.
  744.  
  745.      It is now: Wednesday July 24, 1992  12:43:02 PM
  746.  
  747.  
  748.    Caveats:     It is advisable to leave a trailing space at the end of 
  749. the string.  The STs internal clock can only work in 2-second increments.
  750.  
  751.    See Also:    ECHO, WAIT
  752.  
  753.  
  754. ------------------------------------------------------------------------
  755.    Command:     TOS
  756.  
  757.    Parameters:  None
  758.  
  759.    Description: Force executing programs to be run in TOS mode. This is 
  760. useful for programs with a .PRG extension which really do not use GEM 
  761. features.
  762.  
  763.    See Also:    DEFAULT, GEM
  764.  
  765. ------------------------------------------------------------------------
  766.    Command:     TYPE
  767.  
  768.    Parameters:  Filename
  769.  
  770.    Description: TYPE will output a file to the screen. The display can be 
  771. halted with CONTROL-S, restarted with CONTROL-Q and terminated with 
  772. CONTROL-C.
  773.  
  774.    See Also:    PRINT
  775.  
  776. ------------------------------------------------------------------------
  777.    Command:     VER
  778.  
  779.    Parameters:  None
  780.  
  781.    Description: Outputs TOS and JonDOS version numbers.
  782.  
  783. ------------------------------------------------------------------------
  784.    Command:     WAIT
  785.  
  786.    Parameters:  Optional string
  787.  
  788.    Description: WAIT prints the string, if present, and then waits for a 
  789. keypress.
  790.  
  791.    Example:     WAIT Press any key to continue...
  792.  
  793.    See Also:    KEY, TIME
  794.  
  795. =========================================================================
  796.  
  797.