home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 576.lha / AutoCLI_v2.06 / AutoCLI.Doc.pp / AutoCLI.Doc
Text File  |  1991-12-04  |  31KB  |  677 lines

  1.             AutoCLI V2.06 Nov 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 only
  10.                 (076) 358384  Work or Fax
  11.                 (076) 358522  Work Voice only
  12.                 
  13.         EMAIL   {cbmvax|cbmehq}!cbmaus!wilson!nic@uunet.uu.net
  14.             
  15.  
  16.         Written in 100% Assembler using Devpac Amiga V2.14 on an 
  17.         Amiga 3000.
  18.  
  19.         AutoCLI is ShareWare.  I have not disabled it in any way.
  20.         This is so you can get full benefit immediately.  If you use 
  21.         it then please send a small donation and help me to bring more
  22.         programs to the Amiga.  Suggested donation is $20.00 American.
  23.         Donations will be accepted in any currency.  Mastercard, Visa 
  24.         or Bankcard can also be accepted by mail or by telephone.  
  25.         Overseas users, please do not send personal or Bank cheques.
  26.         Easiest form of paymentfrom overseas is cash funds or American
  27.         Express Travellers Cheques.  Disks are an acceptable form of
  28.         payment.   
  29.         
  30.         Permission is hereby granted to distribute this program on the
  31.         condition that no profit is gained gained from its distribution.
  32.         All document files must accompany it and remain unchanged.  If the
  33.         document files are crunched, then a suitable de-cruncher must also
  34.         be supplied with them that works on ALL model Amigas.  It may not
  35.         be distributed on those so called 'copyright' non distributable PD
  36.         disks.
  37.         
  38.         Please send any bug reports or ideas to the address at the top of 
  39.         this file. 
  40.  
  41.         Commercial companies wishing to distribute, may contact me at the
  42.         address at the top of this file.
  43.  
  44.         I not only write commercial programs, but as you see we write 
  45.         non-commercial too.  If you like this program and you use it, 
  46.         then help me by sending a donation to the address below.
  47.  
  48.         This program is now fully tested an all Amiga models including
  49.         the A3000.  Fully testing is also done with 'enforcer' a debugging
  50.         program that uses the MMU to look for and display invisible bugs.
  51.         I have found this program to be a worthwhile tool for programming.
  52.         MMU stands for Memory Management Unit and is found as a seperate
  53.         chip on 68020's and labeled 68851 and is internal to a 68030/68040.
  54.         Enforcer comes as one of the tools under V2.0x Developers disks,
  55.         and is also available on Fish Disk #474.
  56.  
  57. NEW DOC FILE FROM V2.00
  58. -----------------------
  59.         Bugs and history has now been moved to a seperate file called
  60.         'autocli.history.doc'.  This allows for less cluttered docs.
  61.  
  62. ************************************************************************
  63. ABSOLUTELY IMPORTANT WHEN UPDATING TO A NEWER VERSION OF AutoCLI
  64. ----------------------------------------------------------------
  65.         There MUST only be one copy of AutoCLI in the current path.
  66.         Otherwise the special re-launcher code may find an older version
  67.         first and install it instead of the one you just loaded.
  68. ************************************************************************
  69.  
  70. KNOWN BUGS OR CONFLICTS
  71. -----------------------   
  72.         Problems have been encountered with non standard versions of
  73.         the 'RUN' command.  This command is called by dos.library's 
  74.         'execute' function.  If you have problems with the Amiga crashing
  75.         when a CLI is popped up then make sure the 'run' command is
  76.         standard.  The one to use is the one you can find on a standard
  77.         Workbench disk.  It is not recommended that ARP Library commands
  78.         be used. I have found them to be the source of many problems. 
  79.  
  80. SUGGESTIONS
  81. -----------
  82.         If AutoCLI does not have your favourite function, or you can think
  83.         of any improvements, then write and tell me.  The very best
  84.         suggestions receive a FREE copy of my commercial NoVirus program
  85.         or AddMenu Plus Icons.  Include your telephone or fax number so
  86.         we may contact if you are a winner.
  87.  
  88. NIC'S PROGRAM SUMMARY
  89. ---------------------
  90.         This program was written because of problems with the similar
  91.         program I had been using called 'popcli'.  Popcli crashed if used
  92.         under WorkBench/KickStart 2.0, and if used on a PAL Amiga to open
  93.         a CLI window with a vertical size greater than 200 lines, it did
  94.         not open if your Amiga decides to start in NTSC mode.  Popcli also
  95.         seems to waste CPU time when waiting and doesn't allow you to 
  96.         remove it from memory without crashing or a reboot. AutoCLI will 
  97.         overcome all of the above problems and has many added features
  98.         equivalent to other programs around, but uses much less CPU time.
  99.         The biggest problem with all the others, is that they lose the 
  100.         Current directory, stack and path.  AutoCLI retains all this 
  101.         including the current directory when the program was launched, 
  102.         it will place you in this directory every time you open a CLI or
  103.         Shell.
  104.  
  105.  
  106. FEATURES
  107. --------
  108.         * Kickstart / Workbench 1.2, 1.3, 2.0x compatible
  109.  
  110.         * Compatible with A500, A1000, A2000, A2500, A3000
  111.  
  112.         * New Anti-Virus Event handler monitors your memory
  113.  
  114.         * Default or custom CLI / Shell windows
  115.  
  116.         * Default windows open to 1 pixel less than current screen
  117.  
  118.         * Automatically checks and warns of restart vector changes
  119.  
  120.         * 20 Function key scripts 
  121.  
  122.         * Update completely once running
  123.  
  124.         * Asynchronous options window allows modification while running
  125.         
  126.         * Option window can be opened in your specified location
  127.  
  128.         * Active window to front or point to front options
  129.  
  130.         * Screen & window shuffle option
  131.  
  132.         * Screen blanking after time period option with spline patterning
  133.  
  134.         * Mouse blanking on key press or time option
  135.  
  136.         * Mouse acceleration and button swap options
  137.  
  138.         * Auto Window activation on a key press and mouse position option.
  139.  
  140.         * Function to swap mouse buttons for left handed users
  141.  
  142.         * Selectable task priority
  143.  
  144.         * No CPU time wastage
  145.  
  146.         * 100% machine code
  147.  
  148.         * Freely distributable
  149.         
  150.         * Plus much much more...
  151.        
  152.  
  153. PROGRAM USAGE FOR INSTALLING AutoCLI
  154. ------------------------------------
  155.  
  156. AutoCLI [<optional switches>] [<optional seconds>] [<optional command>]
  157.  
  158.         YOU MUST NOT USE RUN or RUNBACK when launching AutoCLI.  It will 
  159.         return the command line prompt and allow the window it was launched
  160.         from to close, when an 'ENDCLI' command is given.  It still retains
  161.         the directory it was launched from and does not lose the current
  162.         path or stack.  This means when a CLI is popped up, it will 
  163.         default to the directory that was current, when AutoCLI was
  164.         launched.  The path and stack that was set, will still be valid. 
  165.  
  166.         The program is mainly designed to be used in your startup-sequence
  167.         (or user-startup in V2.0x), so you will always have a CLI or Shell
  168.         window available very conveniently.  AutoCLI MUST reside in your
  169.         C: directory or be in a directory in the path.
  170.  
  171.  
  172. OPTIONAL SWITCHES
  173. -----------------
  174.         The following switches do not have to be given in any particular
  175.         order, but must all be before the optional seconds and command
  176.         parameters.  All options default to OFF and must be enabled with
  177.         a switch.
  178.  
  179.         Any of these options can be modified after launch, by using the 
  180.         Option Window provided. (see OPTIONS WINDOW below)
  181.  
  182. -f<r>[n]    
  183.  
  184.         This switch enables function key trapping.  When your qualifier
  185.         (see below) is held down and a function key pressed, the       
  186.         program will execute a script file in the assigned S:          
  187.         directory with a filename of autocli.f1 to autocli.f10.      
  188.         This file must be a normal script (eg. startup-sequence).
  189.             
  190.         The extra two switches <r> and [n] are for changing the qualifier
  191.         for the extra 10 keys giving a total of 20 function key scripts.
  192.         The optional 'r' parameter forces the qualifier for these 10 to 
  193.         be the right hand key of 'n'. The 'n' parameter tells AutoCLI 
  194.         which key you want as the qualifier for these extra 10 function
  195.         key scripts.  If none of these are given the it will default to
  196.         the Right Amiga key.  The other choices are as shown below in the
  197.         example.  Filenames for these extra 10 must be:- autocli.e1 to 
  198.         autocli.e10.  These files as above must be in the assigned S:
  199.         directory and be a normal script files.
  200.             
  201.     EXAMPLES
  202.                     
  203.     -f    Gives extra 10 and the second qualifier is Right Amiga 
  204.     -frd  Gives extra 10 and the second qualifier is Right Amiga (AS FOR DEFAULT)
  205.     -fra  Gives extra 10 and the second qualifier is Right Alt
  206.     -frs  Gives extra 10 and the second qualifier is Right Shift
  207.     -fc   Gives extra 10 and the second qualifier is Control          
  208.     -fd   Gives extra 10 and the second qualifier is Left  Amiga
  209.     -fa   Gives extra 10 and the second qualifier is Left  Alt
  210.     -fs   Gives extra 10 and the second qualifier is Left  Shift
  211.     
  212.         Please note that the second qualifier MUST be different to the
  213.         normal qualifier key that you have chosen.  If you select the
  214.         same then the AutoCLI will display an error window.
  215.             
  216.     *************************************************************
  217.             
  218.     FILENAMES FOR FIRST 10 SCRIPTS:-  S:autocli.f1  to  S:autocli.f10
  219.     FILENAMES FOR EXTRA 10 SCRIPTS:-  S:autocli.e1  to  S:autocli.e10
  220.            
  221.     *************************************************************
  222.             
  223.     
  224.         WINDOW TO FRONT
  225.         ---------------
  226.  
  227. -w[n]       
  228.  
  229.         This switch enables the window to front option.  The optional
  230.         parameter [n] selects the action required to bring it to the
  231.         front.  0 = use keyboard, 1 = use mouse.  To use keyboard 
  232.         select the window you want at the front by clicking the left 
  233.         mouse inside the window and then hold your qualifier key 
  234.         (see below) and pressing the Left ALT key. 
  235.         To use the mouse simply place the mouse in the window you
  236.         want at the front and the window will immediately appear at
  237.         the front.  Both can be temporarily disabled via the option
  238.         window.
  239.         
  240.         EXAMPLES
  241.          
  242.         for keyboard   -w0   or  -w
  243.         for mouse      -w1
  244.  
  245.         
  246.         SCREEN SHUFFLE
  247.         --------------          
  248.  
  249. -n[n]       
  250.  
  251.         This switch enables the screen shuffle option.  Two optional
  252.         parameters for [n] are 1 or 2.  1 enables or disables the mouse 
  253.         activated part of the screen shuffling.  If you want the mouse 
  254.         activation then you can leave this parameter off (eg. -n) 
  255.         If you want to disable this feature in case of conflictions with
  256.         other programs such as DirectoryOpus then use -n1.  The third
  257.         option is 2 which enables the mouse activated part as -n does,
  258.         but stops the screen being activated when brought to the front.
  259.             
  260.         EXAMPLES
  261.         
  262.         for keyboard, mouse & screen activation    -n  
  263.         for keyboard  only & screen activation     -n1
  264.         for keyboard, mouse & no screen activation -n2
  265.                 
  266.         To use this function, hold down your qualifier key and use the 
  267.         cursor up or down keys to rotate all screens in opposite 
  268.         directions. 
  269.         If you prefer you can hold down the left mouse button and 
  270.         click the right button to shuffle the screens (if enabled).
  271.             
  272.         Screen shuffle is different to the standard LEFT AMIGA N & M.  
  273.         These standard keys only swap between the front and rear most       
  274.         screens.
  275.             
  276.         WINDOW SHUFFLE
  277.         --------------            
  278.  
  279. -m          
  280.  
  281.         This switch enables the window shuffle option.  To use this
  282.         function, hold down your qualifier key and use the cursor
  283.         left or right keys.  This will move the front most window to
  284.         the back or the back most window to the front respectively.
  285.         The window shuffle always occurs on the screen that is at
  286.         the front.  This allows you to easily move between windows
  287.         and screens by using the qualifier and all the cursor keys
  288.     
  289.         MOUSE ACCELERATION
  290.         ------------------    
  291.     
  292. -q[n]        
  293.  
  294.         This switch enables mouse acceleration.  The optional parameter
  295.         [n] is a speed from 1 to 3.  Speed 1 will multiply all mouse 
  296.         movements by a factor of 2.  Speed 2 will multiply by a factor of
  297.         4, and speed 3 is a special case, it will multiply by the amount
  298.         the mouse actually moved, this mode was preferred by a lot of
  299.         users because it will give a small acceleration if the mouse is
  300.         moved a short distance, increasing more and more the further and
  301.         faster you move the mouse.  This function works in conjunction
  302.         with mouse speed under preferences, so this can also be changed to
  303.         find the best possible combination that you like.  If this second
  304.         paramter is not given then it will default to speed 1.
  305.              
  306.         EXAMPLES
  307.          
  308.         for 4 times speed up the switch should be -q2
  309.         for default speed of 2 times it should be -q
  310.         for automatic linear speed increase       -q3
  311.  
  312.         TASK PRIORITY   (NOT RECOMMENED TO BE CHANGED)
  313.         -------------   ------------------------------
  314.  
  315. -p[n]        
  316.  
  317.         This switch allows you to change the priority of AutoCLI.
  318.         Without this switch it will default to 21.  Valid values 
  319.         for [n] are 0 - 21, bad values will cause the default value
  320.         to be used.
  321.         
  322.         EXAMPLES
  323.          
  324.         for a priority of 0  the switch should be -p0
  325.         for a priority of 20 the switch should be -p20
  326.              
  327.         NOTE
  328.              
  329.         If the priority is changed from 21, some functions may not
  330.         work correctly. Use with caution.
  331.              
  332.         AUTO WINDOW ACTIVATION
  333.         ----------------------             
  334.  
  335. -k      
  336.         This switch enables auto window activation.  If enabled this
  337.         function will activate any window the mouse is currently in 
  338.         when a key is pressed, unless a string gadget is currently active
  339.         in another window.  It will still work even if another screen is
  340.         at the front, and you have dragged it down and placed the mouse 
  341.         over a window on the screen behind.
  342.         
  343.         MOUSE MOVEMENT LOCKING & FREEZING
  344.         ---------------------------------
  345.  
  346. -l or -lr   
  347.  
  348.         TO TEMPORARILY LOCK X or Y MOVEMENTS
  349.  
  350.         This switch allows the mouse movements to be frozen in vertical,
  351.         horizontal or both directions, by holding down a key or keys.  A
  352.         freeze mouse toggle is also supported.  If the CONTROL key is 
  353.         held down the horizontal movements are frozen.  If the LEFT ALT 
  354.         key is held down then the vertical movements are frozen.  If both 
  355.         are held down then all movements are frozen.  When either of these
  356.         keys are released then movements continue in that direction.
  357.             
  358.         If the CONTROL and LEFT ALT  keys conflict with your first or
  359.         second qualifier keys (see -s -c -a, -f) then use the -lr switch
  360.         instead. The lock keys will change to RIGHT SHIFT for horizontal
  361.         and RIGHT ALT for vertical.  These two modes can be toggled from
  362.         the option window.
  363.         
  364.         TO FREEZE ALL MOVEMENTS OF MOUSE FOR EXTENDED PERIOD
  365.             
  366.         If you want to freeze the entire mouse movements for an extended
  367.         period (EG. Over the start gadget of a copy program etc.) then
  368.         hold down your first qualifier key and press the right mouse 
  369.         button.  This will freeze the mouse permanently until the same
  370.         combination (first qualifier/right mouse) is received again.
  371.         If mouse blanking is enabled, the mouse will still blank while
  372.         frozen.  Moving the mouse will cause it to be re-displayed yet
  373.         no movement will occur.
  374.             
  375.             
  376.         MOUSE BLANKING
  377.         --------------            
  378.  
  379. -b          
  380.         This switch enables mouse blanking.  When any key is pressed,
  381.         or if no mouse movement is detected within 30 seconds the mouse
  382.         pointer will be blanked.  As soon as the mouse is moved the 
  383.         pointer will be returned immediately.  This overcomes the annoying
  384.         habit of the pointer always being in the way while typing.
  385.  
  386.         LEFTY MOUSE
  387.         -----------
  388.  
  389. -e          
  390.  
  391.         This switch electrically exchanges the left and right hand buttons
  392.         on the mouse.  All programs that use the mouse correctly will
  393.         work.  If the mouse is checked by hardware then the swap will
  394.         not occur.  This switch can be toggled from the option window.
  395.         
  396.         QUALIFIER KEY
  397.         -------------            
  398.  
  399. -s  -c  -a  
  400.  
  401.         The default qualifier key is the LEFT AMIGA but this can be 
  402.         changed with a switch.  The -s switch changes the qualifier 
  403.         key to the SHIFT key.  The -c switch changes it to the CONTROL 
  404.         key, and the -a switch changes it to the ALT key.  To use the 
  405.         default key (LEFT AMIGA) then don't use any of these three 
  406.         switches.  Note that this qualifier key is also the same for 
  407.         the autocli function as well.
  408.             
  409. -r          
  410.  
  411.         The above qualifier is, by default, the key on the LEFT side   
  412.         of the keyboard.  To change this to the RIGHT side, use thi    
  413.         switch.                 
  414.              
  415.         SCREEN BLANKING SECONDS AND SPLINE PATTERNING OPTIONS
  416.         -----------------------------------------------------             
  417.              
  418.         OPTIONAL SECONDS
  419.         ----------------
  420.         
  421.         This is an optional time (in seconds) to blank the screen 
  422.         when no user input is detected. The default is off, so if 
  423.         blanking is not wanted then do not give a time at all.  When 
  424.         the screen has been blanked, it can be turned on again by 
  425.         touching any key or moving the mouse. This number must be
  426.         after ALL of the switches including those below that are
  427.         used in conjunction with this. It has been left this way
  428.         to remain compatible with older versions.
  429.             
  430.         You can blank the screen immediately as if the time had expired 
  431.         by pressing holding your first qualifier key and pressing your
  432.         second qualifier key.
  433.  
  434. -lc[n]  
  435.     
  436.         This switch is used in conjunction with screen blanking,
  437.         See 'OPTIONAL SECONDS' and -lf below.  This switch changes 
  438.         the number of lines the spline patterning routine draws.  
  439.         The 'n' parameter can have a value between 2 - 100 or 0.  If 
  440.         this switch is not given then a default value of 65 will be 
  441.         used.  If you do not want spline patterning, and prefer a 
  442.         blank black screen when blanked the use 0 as the parameter 
  443.         (IE. -lc0).  To change the speed of the splines see the 
  444.         -lf parameter.  If a number too large is given for 'n' then
  445.         it will default to 100, similarly if a number too small is
  446.         given then it will default to 2.
  447.              
  448. -lfb        
  449.  
  450.         This double switch is used in conjunction with screen blanking.
  451.         The switch has two parts the 'f' part and 'b' part.  You may
  452.         use one or both of them. 
  453.         If the 'f' part is given then the spline patterning will go
  454.         as fast as it will run on your Amiga.  If the 'f' part is
  455.         not given it will be timed to go about the same speed on all
  456.         Amiga's and will be slower.
  457.         If the 'b' part is given then the blanking screen will be
  458.         2 bitplanes instead of 1.  2 bitplanes allows more colours
  459.         to be displayed on the spline screen at once.  In 2 bitplane
  460.         mode the routine will use around 120K of chip memory, so 
  461.         only select this mode if you have that amount free.  
  462.         1 bitplane mode only allows a single colour to be used at
  463.         one time to draw the splines (although it will cycle to
  464.         different colours).  This requires only half the amount
  465.         of chip memory and should work alright on all Amiga's, unless
  466.         your chip memory usage is very large.
  467.         If you have chosen 2 bitplanes and screen blanking doesn't
  468.         seem to work try removing the 'b' and try again.
  469.             
  470.         EXAMPLE
  471.           
  472.         -lf   speed up splines and use 2 colours (1 + background)
  473.         -lb   slower splines and use 4 colours   (3 + background)
  474.         -lfb  speed up splines and use 4 colours (3 + background)           
  475.                         
  476.  
  477. -x[n]   This switch allows you to specify the initial horizontal 
  478.         co-ordinate of the option window.  The value of [n] must
  479.         be between 0 and (screen width - 272 ).  If an incorrect value
  480.         is given it will be modified to bring the window inside
  481.         the screen area.  If the window is dragged while open, 
  482.         subsequent openings will will be at this new position.
  483.         
  484.         EXAMPLE
  485.         
  486.         -x100  Left edge of the option window is at pixel 100 
  487.         
  488.         For a screen that is 640 pixels wide the maximum number
  489.         would be (screen width - 272) = (640 - 272) = 368
  490.  
  491. -y[n]   This switch allows you to specify the initial vertical 
  492.         co-ordinate of the option window.  The value of [n] must
  493.         be between 0 and (screen height - 200 ).  If an incorrect value
  494.         is given it will be modified to bring the window inside
  495.         the screen area.  If the window is dragged while open, 
  496.         subsequent openings will will be at this new position.
  497.         
  498.         
  499.         EXAMPLE
  500.         
  501.         -y50  Top edge of the option window is at pixel 50 
  502.         
  503.         For a screen that is 256 pixels high (EG. PAL HighRes) the 
  504.         maximum number would be (screen height - 200) = (256 - 200) = 56
  505.         
  506.         For a screen that is 200 pixels high (EG. NTSC HighRes) the
  507.         maximum number would be (screen height - 200) = (200 - 200) = 0 
  508.         
  509.  
  510.         USAGE DISPLAY
  511.         -------------
  512.  
  513. ?           
  514.  
  515.         If the only switch is a single question mark, then AutoCLI
  516.         will display a USAGE string on the current CLI window.  
  517.         It will not install or remove itself.
  518.             
  519.         REMOVING AutoCLI from the CLI
  520.         -----------------------------            
  521. remove      
  522.  
  523.         This switch should be used on its own.  It will signal
  524.         the current version of AutoCLI to shut down and remove 
  525.         itself.  Whenever it attempts this removal, a success
  526.         or failure message will be displayed on the CLI window.
  527.         To remove from Workbench, see OPTIONS WINDOW.
  528.  
  529. WARNING WINDOW
  530. --------------
  531.         The event handler constantly checks the restart vectors against
  532.         values that were there when AutoCLI was first launched.  These
  533.         vectors are often modified by viruses in order to survive a
  534.         reboot.  If this happens during normal operation, (IE. file
  535.         virus gets launched) then AutoCLI will open a small warning
  536.         window and ask you if you wish to replace them with their
  537.         original values or leave them.   For example mounting RAD:
  538.         will change these vectors the first time is it accessed.
  539.         You would answer NO to the question, AutoCLI will then accept
  540.         these changes as OK.
  541.  
  542. OPTIONS WINDOW
  543. --------------
  544.         This function is always available, even if function key scripts
  545.         (-f) is turned off.  It is accessed by holding your first qualifier
  546.         key and pressing HELP.  A window will open on the front most 
  547.         screen with gadgets set with your current options.  This window
  548.         is asynchronous to the main program.  This means that all AutoCLI
  549.         functions will continue to operate if the options window is open.
  550.         Click on the gadgets to turn functions on or off.  Some fuctions
  551.         have more than one setting and each click of its particular 
  552.         gadget will cycle that gadget through all possible modes.  The
  553.         text string beside the gadget will also change to help you 
  554.         remember the function of each particular setting.
  555.         
  556.         The command string that is executed when first qualifier ESC is 
  557.         pressed will be displayed in a string gadget called 'Command 
  558.         String'.  If you are using Auto sizing CLI/Shell windows, this
  559.         string gadget will be ghosted.  To use a modiified string or
  560.         replace it completely, click the 'AUTO' gadget.  The gadget will
  561.         now show 'MANUAL' and the string gadget will be available and be
  562.         selected for your input.  You can always return to Auto sizing by
  563.         re-enabling the 'AUTO' mode.
  564.         
  565.         Screen blanking time can be changed by clicking in the gadget
  566.         and changing it accordingly.  If you turn screen blanking on, but
  567.         give no time, then a default time of 500 seconds will be set.
  568.         
  569.         The number of lines to draw in the spline patterning code can
  570.         be changed by clicking in the gadget and changing it accordingly.
  571.         if an incorrect value is given then the closest correct value will
  572.         immediately appear in the gadget.  A totally incorrect response
  573.         will force a value of 65 to be placed in the gadget.
  574.         
  575.         At the bottom of the window are two gadgets, 'OK' and 'REMOVE'.
  576.         The remove gadget will remove AutoCLI from memory completely.  The
  577.         'OK' gadget will set the new options you have made.  
  578.         
  579. OPTIONAL COMMAND (command run when 'Qualifer ESC' is pressed)
  580. ----------------
  581.         If no optional command is given then AutoCLI will use a default
  582.         command.  This default command is, AutoCLI will launch and wait
  583.         for your qualifier key and ESCAPE to be pressed.  When this event
  584.         occurs AutoCLI will open a CLI window 1 pixel less than the size
  585.         of the WorkBench Screen at the time it is opened.  So if
  586.         resolution mode is changed AutoCLI will notice the change.  If
  587.         NEWCON: is available, a Shell window will open instead of a CLI
  588.         window and if running under V2.0 of Workbench, the window will 
  589.         have a close gadget.    
  590.  
  591.         If an optional command is given, AutoCLI will execute that command
  592.         in preference to the default CLI/SHELL window when your qualifier
  593.         key and ESCAPE is pressed (see EXAMPLES).  This allows custom 
  594.         commands or custom size CLI/Shell windows to be used.  Note that
  595.         if AutoCLI is already in memory it will update itself to to 
  596.         reflect all parmeters given.
  597.         
  598.         The Optional Command can be modified after launch within the option
  599.         window.  Click the gadget beside the 'Command String' string gadget
  600.         until it shows 'MANUAL', the string gadget will be activated for 
  601.         you.  The command can then be modified and the program will use
  602.         this new string.  The default string can always be re-selected by
  603.         clicking the gadget until it shows 'AUTO'. 
  604.  
  605. UPDATING AutoCLI ONCE ALREADY RUNNING
  606. -------------------------------------
  607.         Most changes can be made via the options window, or you can launch
  608.         again from the CLI and supply a whole new set of parameters and it
  609.         will completely update itself.
  610.  
  611.  
  612. EXAMPLES
  613. --------  
  614.  AutoCLI -frd -w -n -b -q2 -m -k -l -lfb -lc50 600 
  615.         
  616.         Opens a Shell window with automatic full size minus 1 pixel.
  617.         Enables 20 function keys with RIGHT AMIGA as the qualifier for the
  618.         second 10.  Selects the LEFT AMIGA as your qualifier.  Enables the 
  619.         window to front option.  Enables the screen shuffle option.  
  620.         Enables the window shuffle option.  Enables pointer lock.  Enables
  621.         auto window activation. Enables mouse blanking.  Enables mouse
  622.         acceleration at the second rate.  Enables screen blanking after 
  623.         10 mins of non use, with 50 spline patterning lines, using 4 
  624.         colours in fast mode. 
  625.      
  626.  AutoCLI -f -w0 -n -m -k -l -r -s 600 newshell newcon:0/10/640/150/MyShell
  627.  
  628.         Opens a Shell window with a title of 'MyShell', enables function 
  629.         keys, selects the RIGHT SHIFT (-r -s) as your qualifier and right 
  630.         Amiga as the second qualifier (-f), enables the window to front 
  631.         option ,enables the screen shuffle option, enables the window shuffle,
  632.         enables pointer lock, enables auto activation, and will blank the
  633.         screen after 10 mins of non use). 
  634.  
  635.  AutoCLI -f -w0 -q2 YourProg
  636.         Runs a file called YourProg.  When LEFT AMIGA/ESCAPE is pressed
  637.         enables function keys, window to front and will disable the screen 
  638.         blanking (ie. no time given), and will accellerate the mouse by
  639.         a factor of 4. 
  640.                                
  641.  AutoCLI remove
  642.  
  643.         Attempts to remove the currently running version from memory
  644.         and displays a success or failure message).
  645.  
  646. REQUIREMENTS
  647. ------------
  648. The following commands MUST be available in the current C: directory :- 
  649.    
  650. run             ; c directory (called by the DOS Execute function)
  651. newcli          ; c directory (called by AutoCLI if NEWCON not available)
  652. newshell        ; c directory (called by AutoCLI if NEWCON is available)
  653. shell-seg       ; l directory (needed if NEWCON: is mounted)
  654. AutoCLI         ; c directory or current directory when launched.
  655.  
  656. The following commands, devices, files are optional :-
  657.  
  658. cli-startup     ; s directory (script executed by Newcli)
  659. shell-startup   ; s directory (script executed by NewShell)
  660. NEWCON:         ; (must be mounted to enable Shell instead of CLI)
  661. AutoCLI.f1      ; s directory (script file for qualifier/F1)
  662. AutoCLI.f2      ; s directory (script file for qualifier/F2)
  663. ...etc.
  664. AutoCLI.e1      ; s directory (script file for 2nd qualifier/F1)
  665. AutoCLI.e2      ; s directory (script file for 2nd qualifier/F2)
  666. ...etc.
  667.  
  668. NOTE: 'Amiga' is a Trademark of Commodore Amiga Inc.
  669. The idea for Pointer Lock came from a program 'Tame Pointer' by JOHN ROWE,
  670. a very close and talented friend of mine who has written some wonderful
  671. programs for the Amiga in Lattice C.
  672.  
  673.  
  674.       
  675.  
  676.                     
  677.