home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d553 / autocli.lha / AutoCLI / AutoCLI.Doc < prev    next >
Text File  |  1991-10-28  |  31KB  |  640 lines

  1.             AutoCLI V1.99n 17th Sep 1991 by Nic Wilson
  2.             ------------------------------------------
  3.         
  4.                 Nic Wilson Software
  5.                 138d South Street
  6.                 TOOWOOMBA Queensland 4350
  7.                 Australia 
  8.                 
  9.         Phone   (076) 358539  Home, Voice & Fax  
  10.                 (076) 358384  Work or Fax
  11.                 (076) 358522   "   "   "
  12.         EMAIL   {cbmvax|cbmehq}!cbmaus!wilson!nic@uunet.uu.net
  13.  
  14.  
  15.         AutoCLI is shareware.  I have not disabled it in any way as
  16.         some programmers do.  This is so you can get full benefit 
  17.         immediately.  If you use it then please send a small donation
  18.         and help me to bring more programs to the Amiga.  Suggested
  19.         donation is $20.00 Australian.
  20.  
  21.         This program is now fully tested an all Amiga models including
  22.         the A3000.  Fully testing is also done with 'enforcer' a debugging
  23.         program that uses the MMU to look for and display invisible bugs.
  24.         I have found this program absolutely brilliant.
  25.         MMU stands for Memory Management Unit and is found as a seperate
  26.         chip on 68020's and labeled 68851 and is internal to a 68030.
  27.         Enforcer comes as one of the tools under V2.0 Developers disks,
  28.         and is also available in Fish Disk #474.
  29.  
  30. HISTORY (Changes, Bug fixes, Enhancements (Newest first))
  31. ---------------------------------------------------------
  32. V1.99n  Made a change to the -q3 mouse acceleration speed to allow 
  33.         increasing acceleration linear to the amount the mouse is moved.  
  34.         See -q switch for more info.
  35.  
  36. V1.99m  Fixed two major bugs that crept in to the last version.  Mouse
  37.         Acceleration was really crook and not accelerating in some
  38.         directions.  This is now fixed, and secondly if the warning window
  39.         came up, it didn't matter whether you answered yes or no you got
  40.         yes! This is now fixed.
  41.  
  42. V1.99l  Changed the screen blanking routine to include pretty spline 
  43.         patterning with various options especially for Ken Simpson.  
  44.         See 'OPTIONAL SECONDS', -lc[n], and -lfb for info on its usage.
  45.         
  46.         Fixed a bug in the options window, in that if the screen 
  47.         blanking time was changed, but 'RETURN' was not pressed within
  48.         the string gadget, then the time did not change. 
  49.         
  50.         Added an update function.  Very simple to use, just launch
  51.         AutoCLI again with a new set of parameters and it will be
  52.         updated to reflect these switches.  Note that all parameters
  53.         you want will be needed, as it currently completely updates.
  54.         In the next version I plan to change this to update what you 
  55.         specify without altering other parameters.
  56.  
  57. V1.99k  You asked for it!! and here it is, more function key scripts
  58.         Added another 10 function key scripts.  See the -f option
  59.         for the information on how to add these extra keys.
  60.          
  61.         Fixed a bug in the -n switch change added in V1.99i.  If
  62.         the extra switch was used (-n1) it would mess up the rest
  63.         of the switches.  This is now fixed.
  64.          
  65.         Added a new function to the -n switch.  A certain user without
  66.         mentioning any names (John Rowe), wanted to use the left/right
  67.         button click to screen shuffle but did not want the front screen
  68.         activated.  This is now possible with -n2.
  69.  
  70. V1.99j  Shell windows launched with Left Qualifier/ESC will now have
  71.         a close gadget on them if you are running V2.0 Workbench and
  72.         are using the default command string (IE. no command given).
  73.         See (OPTIONAL COMMAND) for more details.  For users that
  74.         are using a custom newshell string, can also get this new
  75.         feature adding the option to end of the string as shown.
  76.          EG. NEWSHELL CON:0/0/640/200/MyShell/CLOSE
  77.         
  78.         If Screen shuffle was turned off via option window, mouse
  79.         screen shuffle would still work.  This is now fixed
  80.         
  81.         Improved user friendliness of Warning Window. 
  82.           
  83. V1.99i  Added ability to choose if you want the new mouse screen
  84.         shuffle added in V1.99g.  See the -n switch.
  85.  
  86. V1.99h  Added the DoIO vector to the restart vector check that was
  87.         added in 1.99c as this vector is often modified by viruses.
  88.         
  89. V1.99g  Fixed a slight bug that crept in.  The options window could
  90.         open on the wrong screen if a custom screen was at the front.
  91.         
  92.         Due to popular demand, added ability to use screen shuffle from
  93.         the mouse.  If screen shuffle is enabled (-n) holding down the
  94.         left mouse button and clicking the right button will shuffle
  95.         the screens in the same way the qualifier and up/down cursor
  96.         keys do.
  97.         
  98. V1.99f  Change to the screen blanking routine, this has been re-written
  99.         in a much better way.  It is now fully compatible with all 
  100.         resolution modes including all of the new V2.0 ones.  The older
  101.         routine had problems especially with interlace screens.  It 
  102.         should now work fine in all modes.
  103.  
  104. V1.99e  Fix for shell windows under some versions of 1.3 kickstart.  
  105.         On some version the program would open CLI windows instead
  106.         of shell if used in default mode.  This happened due to the
  107.         NEWCON search failing.  This is now fixed
  108.  
  109. V1.99d  Code optimisations managed to shrink code by over 1100 bytes. 
  110.  
  111. V1.99c  Added a permanent function, that constantly checks the restart 
  112.         vectors that are normally modified by viruses.  See WARNING 
  113.         WINDOW.  Great for trapping File Viruses as they launch.
  114.         
  115. V1.99b  fix for possible bug in window shuffle, although I couldn't
  116.         make it fail myself, but I found a possible cause.
  117.  
  118. V1.99a  Fix for mouse blanking under V1.3 kickstart, since we switched
  119.         to using V2.0 include files in our assembler.  A label in the
  120.         CopInit structure had changed, giving the wrong offset for the
  121.         1.3 kickstart 
  122.  
  123. V1.99   Added a new function by modifiying the -w slightly.  This new
  124.         function is window to front simply by moving the mouse into
  125.         that window.  This was done simply as a challenge given by
  126.         John E. Van der Brook, Cheyenne. WY United States of America.
  127.  
  128. V1.98   After V1.97 screen now activates when brought back to front.
  129.         NOTE: Dpaint for some reason will not re-activate, I do not
  130.         know why, anyone know the answer??
  131.  
  132. V1.97   Options window now pops Workbench to front and opens the
  133.         window on it.  The front screen will be replaced when the
  134.         options window closes.  This stops the problem on custom
  135.         screens bitmaps being destroyed or wierd size screens.
  136.         Sorry to all the NTSC users, I didn't realise that the 
  137.         options window was opening 3 pixels over the 200 boundary.
  138.         This is now fixed and option window will open on NTSC screens.
  139.  
  140. 1.96    Fixed an intermittent enforcer hit, sometimes when searching the 
  141.         layers.  Fixed the mouse blanking quirk of kickstart 1.3 when 
  142.         auto activate was on.
  143.         Addition of mouse button swap function for left handed people.
  144.  
  145. 1.95    Modifications and fixes due to enforcer hits.
  146.  
  147. V1.94   By fine tuning my macros, I knocked 700 bytes off the filesize.
  148.  
  149. V1.93   Re-write of the auto activation function (1.90) to correct problems.
  150.  
  151. V1.92   Added ability to change the AutoCLI task priority.
  152.  
  153. V1.91   New function added to mouse accelleration.  It now has a choice
  154.         of three different speeds.
  155.  
  156. V1.90   Addition of new Auto activation option (-k).  If a key is pressed 
  157.         the window that the mouse is currently in, will be activated.       
  158.  
  159. V1.88   Addition of new Lock Pointer option (-l or -lr).  This function 
  160.         allows you to freeze either vertical, horizontal or both mouse 
  161.         movements.  This is great for icon aligning or better control in 
  162.         paint programs.  How many times have you carefully placed the mouse 
  163.         and had it move slightly when the button was clicked. 
  164.         
  165. V1.85   Addition of options window that allows, changes to your options
  166.         without having to remove and relaunch.  See main docs below for
  167.         instructions on its use. 
  168.  
  169. KNOWN BUGS OR CONFLICTS
  170. -----------------------   
  171. 1. Problems have been encountered with non standard versions of the 
  172.    'RUN' command.  This command is called by dos.library's 'execute' 
  173.    command.  If you have problems with the Amiga crashing when a CLI 
  174.    is popped up then make sure the 'run' command is standard.  The one
  175.    I use came from an original 1.3.2 workbench and has a filesize of 
  176.    2568 bytes.  It is also recommended that ARP Library commands are 
  177.    not used, as they have found to be source of many problems. 
  178.  
  179. SUGGESTIONS
  180. -----------
  181. If AutoCLI does not have your favourite function, or you can think
  182. of any improvements, then write and tell me.  The very best suggestions
  183. get a FREE copy of my commercial NoVirus program.
  184.                         
  185. This program has been placed on the Public Domain for your enjoyment. 
  186. Permission is hereby given to distribute this program in any 
  187. way you see fit, as long as this doc file accompanies it.
  188. Please send any bug reports or ideas to the address at the bottom 
  189. of this file. Commercial companies may also distribute the program.
  190.  
  191. I not only write commercial programs, but as you see we write 
  192. non-commercial too.  If you like this program and you use it, 
  193. then help me by sending a donation to the address below.
  194.  
  195. NIC'S PROGRAM SUMMARY
  196. ---------------------
  197. This program was written because of problems with the similar program I
  198. had been using called 'popcli'.  Popcli crashes if used under
  199. WorkBench/KickStart 2.0, and if used on a PAL Amiga to open a CLI
  200. window with a vertical size greater than 200 lines, it will not open if
  201. your Amiga decides to start in NTSC mode.  Popcli also seems to waste 
  202. CPU time when waiting and doesn't allow you to remove it from memory 
  203. without crashing or a reboot. AutoCLI overcomes all of the above problems 
  204. and has many added features equivalent to other programs around, but 
  205. uses much less CPU time. The biggest problem with all the others is that
  206. they lose the Current directory, stack and path.  AutoCLI retains all these
  207. including the Current directory when the program was launched, it will
  208. place you in this directory every time you open a CLI or Shell.
  209.  
  210. AutoCLI was written in 100% Assembler using Devpac Amiga V2.14.
  211.  
  212.  
  213. FEATURES
  214. --------
  215.         * Kickstart / Workbench 1.2, 1.3, 2.0 compatible
  216.  
  217.         * Compatible with A500, A1000, A2000, A2500, A3000
  218.  
  219.         * New Anti-Virus Event handler monitors your memory
  220.  
  221.         * Default or custom CLI / Shell windows
  222.  
  223.         * Default windows open to 1 pixel less than current screen
  224.  
  225.         * Automatically checks and warns of restart vector changes
  226.  
  227.         * 20 Function key scripts option
  228.  
  229.         * Update completely once running
  230.  
  231.         * Options window allows modification while running
  232.  
  233.         * Active window to front or point to front options
  234.  
  235.         * Screen & window shuffle option
  236.  
  237.         * Screen blanking after time period option with spline patterning
  238.  
  239.         * Mouse blanking on key press or time option
  240.  
  241.         * Mouse acceleration and button swap options
  242.  
  243.         * Auto Window activation on a key press and mouse position option.
  244.  
  245.         * Function to swap mouse buttons for left handed users
  246.  
  247.         * Selectable task priority
  248.  
  249.         * No CPU time wastage
  250.  
  251.         * 100% machine code
  252.  
  253.         * Freely distributable
  254.        
  255.  
  256. PROGRAM USAGE FOR INSTALLING AutoCLI
  257. ------------------------------------
  258. AutoCLI [<optional switches>] [<optional seconds>] [<optional command>]
  259.  
  260. DO NOT USE RUN or RUNBACK as it will return the command
  261. line and allow the window it was launched from to close, when an
  262. ENDCLI command is given. Yet it still retains the directory it
  263. was launched from and does not lose the current path or stack as
  264. some programs do.  This means that when a CLI is popped up it will
  265. default to the directory that was current, when AutoCLI was launched.
  266. The path and stack that was set, will still be valid. 
  267.  
  268. The program is mainly designed to be used in your startup-sequence
  269. so you will always have a CLI or Shell window available very easily.  
  270. AutoCLI MUST reside in your C: directory.
  271.  
  272. UPDATING AutoCLI ONCE ALREADY RUNNING
  273. -------------------------------------
  274. Some changes can be made via the options window, or you can launch
  275. again from the CLI and supply a whole new set of parameters and it
  276. will completely update itself.
  277.  
  278. OPTIONAL SWITCHES
  279. -----------------
  280.     The following switches do not have to be given in any particular order,
  281.     but must all be before the optional seconds and command parameters.
  282.     All options default to OFF and must be enabled with a switch.
  283.  
  284.     Any of these options can be modified after launch, by using the 
  285.     Option Window provided. (see OPTIONS WINDOW below)
  286.  
  287. -f<r>[n]    This switch enables function key trapping.  When your qualifier
  288.             (see below) is held down and a function key pressed, the       
  289.             program will execute a script file in the assigned S:          
  290.             directory with a filename of autocli.f1 to autocli.f10.      
  291.             This file must be a normal script (eg. startup-sequence).
  292.             
  293.             The extra two switches <r> and [n] are for enabling an extra
  294.             10 keys giving a total of 20 function key scripts.  The optional
  295.             'r' parameter forces the qualifier for these 10 to be the
  296.             right hand key of 'n'. The 'n' parameter tells AutoCLI which
  297.             key you want as the qualifier for these extra 10 function key
  298.             scripts.  The choices are as shown below in the example.
  299.             Filenames for these extra 10 must be:- autocli.e1 to autocli.e10
  300.             These files as above must be in the assigned S: directory and 
  301.             be a normal script files.
  302.             
  303.     EXAMPLES
  304.                     
  305.     -frd  Gives extra 10 and the qualifier is Right Amiga (SUGGESTED DEFAULT)
  306.     -fra  Gives extra 10 and the qualifier is Right Alt
  307.     -frs  Gives extra 10 and the qualifier is Right Shift
  308.     -fc   Gives extra 10 and the qualifier is Control          
  309.     -fd   Gives extra 10 and the qualifier is Left  Amiga
  310.     -fa   Gives extra 10 and the qualifier is Left  Alt
  311.     -fs   Gives extra 10 and the qualifier is Left  Shift
  312.     -f    Gives only the first 10  (autocli.f1 - autocli.f10)
  313.     
  314.             Please note that the extra qualifier MUST be different to the
  315.             normal qualifier key that you have chosen.  If you select the
  316.             same then the AutoCLI will not work and display an error window.
  317.             
  318.     *************************************************************
  319.             
  320.     FILENAMES FOR FIRST 10 SCRIPTS:-  autocli.f1  to  autocli.f10
  321.     FILENAMES FOR EXTRA 10 SCRIPTS:-  autocli.e1  to  autocli.e10
  322.            
  323.     *************************************************************
  324.             
  325.     
  326.         WINDOW TO FRONT
  327.         ---------------
  328.  
  329. -w[n]       This switch enables the window to front option.  The optional
  330.             parameter (n) selects the action required to bring it to the
  331.             front.  0 = use keyboard, 1 = use mouse.  To use keyboard (0)
  332.             select the window you want at the front by clicking the left 
  333.             mouse inside the window and then hold your qualifier key 
  334.             (see below) and press the Left ALT key. 
  335.             To use mouse (1) simply place the mouse in the window you
  336.             want at the front and the window will immediately appear at
  337.             the front.  Both can be temporary disabled via the option
  338.             window.
  339.             EG. for keyboard :-  -w0   or  -w
  340.                 for mouse    :-  -w1
  341.  
  342.         
  343.         SCREEN SHUFFLE
  344.         --------------          
  345.  
  346. -n[n]       This switch enables the screen shuffle option.  Two optional
  347.             parameters for 'n' are 1 or 2.  1 enables or disables the mouse 
  348.             activated part of the screen shuffling.  If you want the mouse 
  349.             activation then you can either leave this parameter off (eg. -n) 
  350.             or use (-n0).  If you want to disable this feature in case of
  351.             conflictions with other programs such as DirectoryOpus then
  352.             use -n1.  The second option is 2 which enables the mouse 
  353.             activated part as -n does, but stops the front screen being
  354.             activated.
  355.             
  356.             EG. for keyboard, mouse & screen activation    -n  or -n0
  357.                 for keyboard only & screen activation      -n1
  358.                 for keyboard, mouse & no screen activation -n2
  359.                 
  360.             To use this function, hold down your qualifier key and use the 
  361.             cursor up or down keys to rotate all screens in opposite 
  362.             directions. 
  363.             If you prefer you can hold down the left mouse button and 
  364.             click the right button to shuffle the screens (if enabled).
  365.             
  366.             Screen shuffle is different to the standard LEFT AMIGA N & M.  
  367.             These standard keys only swap between the front and rear most       
  368.             screens.
  369.             
  370.         WINDOW SHUFFLE
  371.         --------------            
  372.  
  373. -m          This switch enables the window shuffle option.  To use this
  374.             function, hold down your qualifier key and use the cursor
  375.             left or right keys.  This will move the front most window to
  376.             the back or the back most window to the front respectively.
  377.             The window shuffle always occurs on the screen that is at
  378.             the front.  This allows you to easily move between windows
  379.             and screens by using the qualifier and all the cursor keys
  380.     
  381.         MOUSE ACCELERATION
  382.         ------------------    
  383.     
  384. -q[n]        This switch enables mouse acceleration (-q).  The optional
  385.              parameter (n) is a speed from 1 to 3.  Speed 1 will multiply
  386.              all mouse movements by a factor of 2.  Speed 2 will multiply
  387.              by a factor of 4, and speed 3 is a special case, it will 
  388.              multiply by the amount the mouse actually moved, this mode
  389.              was preferred by a lot of users because it will give a small
  390.              acceleration if the mouse is moved a short distance, increasing
  391.              more and more the further and faster you move the mouse.
  392.              This function works in conjunction with mouse speed under
  393.              preferences, so this can also be changed to find the best
  394.              possible combination that you like.
  395.              If this second paramter is not given then it will default to
  396.              speed 1.
  397.              EG. For speed 2 the switch should be -q2
  398.                  For default speed it should be   -q
  399.                  For automatic speed increase     -q3
  400.  
  401.         TASK PRIORITY   (NOT RECOMMENED TO BE CHANGED)
  402.         -------------   ------------------------------
  403.  
  404. -p[n]        This switch allows you to change the priority of AutoCLI.
  405.              Without this switch it will default to 21.  Valid values 
  406.              for (n) are 0 - 21, bad values will cause the default value
  407.              to be used.
  408.              EG. For a priority of 0  the switch should be -p0
  409.                  For a priority of 20 the switch should be -p20
  410.              NOTE
  411.              If the priority is changed from 21, some functions may not
  412.              work correctly. Use with caution.
  413.              
  414.         AUTO WINDOW ACTIVATION
  415.         ----------------------             
  416.  
  417. -k          This switch enables auto window activation.  If enabled this
  418.             function will activate any window the mouse is currently in, 
  419.             when a key is pressed.  It will still work even if another 
  420.             screen is at the front, and you have dragged it down and placed 
  421.             the mouse over a window on the screen behind.
  422.  
  423.         MOUSE MOVEMENT LOCKING
  424.         ----------------------
  425.  
  426. -l or -lr   This switch allows the mouse movements to be frozen in vertical,
  427.             horizontal or both directions.  If the CONTROL key is depressed
  428.             the horizontal movements are frozen.  If the LEFT ALT key is 
  429.             pressed then the vertical movements are frozen.  If both are
  430.             depressed then all movements are frozen.  When either of these
  431.             keys are released then movements continue in that direction.
  432.             If these keys conflict with your chosen qualifier key (see 
  433.             -s -c -a) then use the -lr switch instead, your keys with
  434.             then change to RIGHT SHIFT for horizontal and RIGHT ALT for
  435.             vertical.
  436.             
  437.         MOUSE BLANKING
  438.         --------------            
  439.  
  440. -b          This switch enables mouse blanking.  When any key is pressed
  441.             the mouse pointer will be immediately blanked, or if no mouse
  442.             movement is detected within 30 seconds the mouse pointer will
  443.             be blanked.  As soon as the mouse is moved at all the pointer
  444.             will be returned immediately.  This overcomes the annoying
  445.             habit of the pointer always being in the way while typing.
  446.  
  447.         LEFTY MOUSE
  448.         -----------
  449.  
  450. -e          This switch physically exchanges the left and right hand buttons
  451.             on the mouse.  All programs that use the mouse correctly will
  452.             work.  If the mouse is checked by hardware then the swap will
  453.             not occur.  This switch is not available from the option window
  454.             as yet, maybe next version.  
  455.             
  456.         QUALIFIER KEY
  457.         -------------            
  458.  
  459. -s  -c  -a  The default qualifier key is the LEFT AMIGA but this can be 
  460.             changed with a switch.  The -s switch changes the qualifier 
  461.             key to the SHIFT key.  The -c switch changes it to the CONTROL 
  462.             key, and the -a switch changes it to the ALT key.  To use the 
  463.             default key (LEFT AMIGA) then don't use any of these three 
  464.             switches.  Note that this qualifier key is also the same for 
  465.             the autocli function as well.
  466.             
  467. -r          The above qualifier is, by default, the key on the LEFT side   
  468.             of the keyboard.  To change this to the RIGHT side, use thi    
  469.             switch.                 
  470.              
  471.         SCREEN BLANKING SECONDS AND SPLINE PATTERNING OPTIONS
  472.         -----------------------------------------------------             
  473.              
  474.     OPTIONAL SECONDS
  475.     ----------------
  476.             This is an optional time (in seconds) to blank the screen 
  477.             when no user input is detected. The default is off, so if 
  478.             blanking is not wanted then do not give a time at all.  When 
  479.             the screen has been blanked, it can be turned on again by 
  480.             touching any key or moving the mouse. This number must be
  481.             after ALL of the switches including those below that are
  482.             used in conjunction with this. It has been left this way
  483.             to remain compatible with older versions.
  484.  
  485. -lc[n]      This switch is used in conjunction with screen blanking,
  486.             See 'OPTIONAL SECONDS' and -lf below.  This switch changes 
  487.             the number of lines the spline patterning routine draws.  
  488.             The 'n' parameter can have a value between 2 - 100 or 0.  If 
  489.             this switch is not given then a default value of 65 will be 
  490.             used.  If you do not want spline patterning, and prefer a 
  491.             blank black screen when blanked the use 0 as the parameter 
  492.             (EG. -lc0).  To change the speed of the splines see the 
  493.             -lf parameter.  If a number too large is given for 'n' then
  494.             it will default to 100, similarly if a number too small is
  495.             given then it will default to 2.
  496.              
  497. -lfb        This double switch is used in conjunction with screen blanking.
  498.             The switch has two parts the 'f' part and 'b' part.  You may
  499.             use one or both of them. 
  500.             If the 'f' part is given then the spline patterning will go
  501.             as fast as it will run on your Amiga.  If the 'f' part is
  502.             not given it will be timed to go about the same speed on all
  503.             Amiga's and will be slower.
  504.             If the 'b' part is given then the blanking screen will be
  505.             2 bitplanes instead of 1.  2 bitplanes allows more colours
  506.             to be displayed on the spline screen at once.  In 2 bitplane
  507.             mode the routine will use around 120K of chip memory, so 
  508.             only select this mode if you have that amount free.  
  509.             1 bitplane mode only allows a single colour to be used at
  510.             one time to draw the splines (although it will cycle to
  511.             different colours).  This requires only half the amount
  512.             of chip memory and should work alright on all Amiga's, unless
  513.             your chip memory usage is very large.
  514.             If you have chosen 2 bitplanes and screen blanking doesn't
  515.             seem to work try removing the 'b' and try again.
  516.             
  517.       Example:  -lf  - speed up splines and use 2 colours (1 + background)
  518.                 -lb  - slower splines and use 4 colours   (3 + background)
  519.                 -lfb - speed up splines and use 4 colours (3 + background)           
  520.                         
  521.         USAGE DISPLAY
  522.         -------------
  523.  
  524. ?           If the only switch is a single question mark, then AutoCLI
  525.             will display a USAGE string on the current CLI window.  
  526.             It will not install or remove itself.
  527.             
  528.         REMOVING AutoCLI from the CLI
  529.         -----------------------------            
  530.  
  531. remove      This switch should be used on its own.  It will signal
  532.             the current version of AutoCLI to shut down and remove 
  533.             itself.  Whenever it attempts this removal, a success
  534.             or failure message will be displayed on the CLI window.
  535.             To remove from Workbench, see OPTIONS WINDOW.
  536.  
  537. WARNING WINDOW
  538. --------------
  539. The event handler constantly checks the restart vectors against values 
  540. that were there when AutoCLI was first launched.  These vectors are often 
  541. modified by viruses in order to survive a reboot.  If this happens during 
  542. normal operation, (ie. file virus gets launched) then AutoCLI will open a 
  543. small warning window and ask you if you wish to replace them with their 
  544. original values or leave them.   For example mounting RAD: will change 
  545. these vectors the first time is it accessed. You would answer NO to the 
  546. question, AutoCLI will then accept these changes as OK.
  547.  
  548. OPTIONS WINDOW
  549. --------------
  550. This function is always available, even if function key scripts (-f)
  551. is turned off.  It is accessed by holding the qualifier key and pressing
  552. HELP.  A window will open on the front most screen  with gadgets set with 
  553. your current options.
  554. Click on the gadgets to turn functions on or off.  Screen blanking time 
  555. can be changed by clicking in the gadget and changing it accordingly.
  556. If you turn screen blanking on, but give no time, then a default time
  557. of 300 seconds will be set.
  558. At the bottom of the window are two gadgets, 'OK' and 'REMOVE'.  The 
  559. remove gadget will remove AutoCLI from memory completely.  The ok gadget
  560. will set the new options you have made.
  561.  
  562. OPTIONAL COMMAND (command run when 'Qualifer ESC' is pressed)
  563. ----------------
  564. If no optional command is given then AutoCLI will use a default command.
  565. This default command is, AutoCLI will launch and wait for your qualifier 
  566. key and ESCAPE to be pressed.  When this event occurs AutoCLI will open 
  567. a CLI window 1 pixel less than the size of the WorkBench Screen at the 
  568. time it is opened.  So if resolution mode is changed AutoCLI will notice 
  569. the change.  If NEWCON: is available, a Shell window will open instead 
  570. of a CLI window and if running under V2.0 of Workbench, the window will
  571. have a close gadget.    
  572.  
  573. If an optional command is given, AutoCLI will execute that command
  574. in preference to the default CLI/SHELL window when your qualifier key 
  575. and ESCAPE is pressed (see EXAMPLES).  This allows custom commands or 
  576. custom size CLI/Shell windows to be used.  Note that if AutoCLI is already
  577. in memory it will update itself to to reflect all parmeters given.
  578.  
  579.  
  580. EXAMPLES
  581. --------  
  582.      AutoCLI -frd -w -n -b -q2 -m -k -l -lfb -lc50 600 
  583.      (opens a Shell window with automatic full size minus 1 pixel.
  584.      Enables 20 function keys with RIGHT AMIGA as the qualifier for the
  585.      second 10.  Selects the LEFT AMIGA as your qualifier.  Enables the 
  586.      window to front option.  Enables the screen shuffle option.  Enables 
  587.      the window shuffle option.  Enables pointer lock.  Enables auto window
  588.      activation. Enables mouse blanking.  Enables mouse acceleration at
  589.      the second rate.  Enables screen blanking after 10 mins of non use,
  590.      with 50 spline patterning lines, using 4 colours in fast mode. 
  591.      
  592.      AutoCLI -f -w0 -n -m -k -l -r -s 600 newshell newcon:0/10/640/150/MyShell
  593.      (opens a Shell window with a title of 'MyShell', enables function 
  594.      keys, selects the RIGHT SHIFT as your qualifier, enables the window 
  595.      to front option ,enables the screen shuffle option, enables the 
  596.      window shuffle, enables pointer lock, enables auto activation,
  597.      and will blank the screen after 10 mins of non use). 
  598.  
  599.      AutoCLI -f -w0 -q2 YourProg
  600.      (runs a file called YourProg.  When LEFT AMIGA/ESCAPE is pressed
  601.      enables function keys, window to front and will disable the screen 
  602.      blanking (ie. no time given), and will accellerate the mouse by
  603.      a factor of 4. 
  604.                                
  605.      AutoCLI remove
  606.      (attempts to remove the currently running version from memory
  607.      and displays a success or failure message).
  608.  
  609. REQUIREMENTS
  610. ------------
  611. The following commands MUST be available in the current C: directory :- 
  612.    
  613. run             ; c directory (called by the DOS Execute function)
  614. newcli          ; c directory (called by AutoCLI if NEWCON not available)
  615. newshell        ; c directory (called by AutoCLI if NEWCON is available)
  616. shell-seg       ; l directory (needed if NEWCON: is mounted)
  617. AutoCLI         ; c directory or current directory when launched.
  618.  
  619. The following commands, devices, files are optional :-
  620.  
  621. cli-startup     ; s directory (script executed by Newcli)
  622. shell-startup   ; s directory (script executed by NewShell)
  623. NEWCON:         ; (must be mounted to enable Shell instead of CLI)
  624. AutoCLI.f1      ; s directory (script file for qualifier/F1)
  625. AutoCLI.f2      ; s directory (script file for qualifier/F2)
  626. ...etc.
  627. AutoCLI.e1      ; s directory (script file for 2nd qualifier/F1)
  628. AutoCLI.e2      ; s directory (script file for 2nd qualifier/F2)
  629. ...etc.
  630.  
  631. NOTE: 'Amiga' is a Trademark of Commodore Amiga Inc.
  632. The idea for Pointer Lock came from a program 'Tame Pointer' by JOHN ROWE,
  633. a very close and talented friend of mine who has written some wonderful
  634. programs for the Amiga in Lattice C.
  635.  
  636.  
  637.       
  638.  
  639.                     
  640.