home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / disks / disk434.lzh / GMC / english.docs / GMC.Doc < prev    next >
Text File  |  1991-01-18  |  19KB  |  553 lines

  1.  
  2.      GMC V9.8                   Operating Manual                     Page 1
  3.  
  4.  
  5.  
  6.  
  7.                             ›4mGMC --- Console-Handler›0m 
  8.  
  9.  
  10.  
  11.      ›1mOverview 
  12.  
  13.                ›0mGMC was written to replace the already existing console
  14.           handler like  CON,  NewCON,  ConMan  etc.    Beside  of  the
  15.           wellknown features, GMC provides a number of new features to
  16.           make the life with the keyboard easier.  
  17.  
  18.                The primary mission of GMC lies  in  team-work  with  a
  19.           shell  or  the  CLI,  that  had  to work up to now with CON,
  20.           NewCON, or ConMan. Applications should  restrict  mainly  to
  21.           pure  text  output because GMC can affect the output so that
  22.           the result may look  not  very  well.    Problems  are  also
  23.           possible  if the shell isn't a real shell but only a program
  24.           that waits  for  inputs  and  starts  then  other  programs.
  25.           Instead  the  team-work  with  the standard shell or the ARP
  26.           shell is very good.  
  27.  
  28.           GMC provides the following features: 
  29.  
  30.              - Command line editing 
  31.  
  32.              - Function key assignment in four levels 
  33.  
  34.              - Command line history 
  35.  
  36.              - Online help for functions of the handler 
  37.  
  38.              - Iconify function and window/screen shifting 
  39.  
  40.              - File/Directory name completer 
  41.  
  42.              - Printout of the recent outputs to printer and window 
  43.  
  44.              - Script function for storage of all outputs 
  45.  
  46.              - Undo-Funktion for the command line 
  47.  
  48.              - Command line finish without execution 
  49.  
  50.              - Actual directory path in window title 
  51.  
  52.              - Beep function on prompt display 
  53.  
  54.              - Title flags for Kickstart 2.0 
  55.  
  56.              - Local and global configuration 
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.      GMC V9.8                                                      08.11.90
  69.  
  70.  
  71.      GMC V9.8                   Operating Manual                     Page 2
  72.  
  73.  
  74.      ›1mCommand line editing 
  75.  
  76.                ›0mThe  command  line  editing  bases  on  the   following
  77.           functions: 
  78.  
  79.  
  80.        Delete functions 
  81.  
  82.           Delete character before cursor (1) 
  83.           Backspace 
  84.  
  85.           Delete character under cursor (2) 
  86.           Del 
  87.  
  88.           Delete from cursor position to start of block (3) 
  89.           Ctrl-Backspace 
  90.  
  91.           Delete from cursor position to end of block (4) 
  92.           Ctrl-Del 
  93.  
  94.           Delete from cursor position to start of word (5) 
  95.           Shift-Backspace 
  96.  
  97.           Delete from cursor position to end of word (6) 
  98.           Shift-Del 
  99.  
  100.           Delete from cursor position to start of line (7) 
  101.           Alt-Backspace 
  102.  
  103.           Delete form cursor position to end of line (8) 
  104.           Alt-Del 
  105.  
  106.           Delete the whole line (9) 
  107.           Alt-Backspace,Alt-Del 
  108.  
  109.  
  110.        Cursor movement 
  111.  
  112.           Character left/right (1/2) 
  113.           "Cursor left/right" 
  114.  
  115.           Block left/right (3/4) 
  116.           Ctrl-"Cursor left/right" 
  117.  
  118.           Word left/right (5/6) 
  119.           Shift-"Cursor left/right" 
  120.  
  121.           Start/End of line(7/8) 
  122.           Alt-"Cursor left/right" 
  123.  
  124.  
  125.        Insert/Overwrite mode 
  126.  
  127.                The  default  mode (insert) can be toggled only for the
  128.           current line or durable.  Toggle for  the  current  line  is
  129.           made by  Ctrl-A.    After  RETURN is pressed the old mode is
  130.           activated.  
  131.  
  132.                The mode  can  be  changed  durable  with  SetGMC  (see
  133.           SetGMC.Doc).  
  134.  
  135.  
  136.  
  137.      GMC V9.8                                                      08.11.90
  138.  
  139.  
  140.      GMC V9.8                   Operating Manual                     Page 3
  141.  
  142.  
  143.                In  block movement and block delete, words are not only
  144.           separated by spaces like words but also by ':' '/'  '.'  '('
  145.           ')' and '|'. With this feature quick editing of pathnames is
  146.           possible.   If  the cursor is placed on or behind one of the
  147.           separators only the separator will be erased.  
  148.  
  149.                The above listed line edit functions can be  assign  to
  150.           different  keys  with  SetGMC.  The  list  above is only the
  151.           default assignment.  The numbers in brackets  refer  to  the
  152.           belonging functions.  
  153.  
  154.  
  155.  
  156.      ›1mFunctionkey assignment 
  157.  
  158.                ›0mAll  function  keys  can  be  assigned  in  four levels
  159.           (alone, or with pressed Shift,  Ctrl,  or  Alt  key).    The
  160.           assignment is done again with SetGMC.  
  161.  
  162.                The function keys can also be switched on and off.  The
  163.           settings  are  not touched by switching the function keys on
  164.           or off.  
  165.  
  166.  
  167.  
  168.      ›1mCommand line history 
  169.  
  170.                ›0mAll commands are stored (maximum 2048 Bytes, each  line
  171.           needs  10  Bytes  extra)  and  can  be recalled in different
  172.           ways.  The last typed line is  stored  at  the  end  of  the
  173.           list.   If  the  list is too long, the lines at the start of
  174.           the list are shifted out.  Lines with the length 1 won't  be
  175.           saved in the command line history.  
  176.  
  177.             -  With  "cursor  up/down"  the  list  will  be  shown  in
  178.                direction start/end of the list.  
  179.  
  180.             -  With  Shift-"cursor  up"  the  list  will  be  searched
  181.                through  line-wise  on  basis  of the partial line as a
  182.                pattern given-in up to this point in time.  
  183.  
  184.             -  With Shift-"cursor down" a jump behind the end  of  the
  185.                list will be performed.  
  186.  
  187.  
  188.  
  189.      ›1mOnline help functions 
  190.  
  191.                ›0mThe  help  key  (alone or together with Shift, Ctrl, or
  192.           Alt) shows four different helps: 
  193.  
  194.             -  Help: 
  195.                Display of the functions of the cursor keys,  Backspace
  196.                and Del key, and the additional help functions.  
  197.  
  198.             -  Shift-Help 
  199.                Display  of  the  first  characters of the function key
  200.                settings.  
  201.  
  202.             -  Ctrl-Help 
  203.                Output of information how  to  set  function  keys  and
  204.  
  205.  
  206.      GMC V9.8                                                      08.11.90
  207.  
  208.  
  209.      GMC V9.8                   Operating Manual                     Page 4
  210.  
  211.  
  212.                insert/overstrike mode.  
  213.  
  214.             -  Alt-Help 
  215.                Display of  the command line history with numbers.  The
  216.                output can be stopped and  continued  by  pressing  any
  217.                key.  It can be breaked by pressing RETURN.  
  218.  
  219.  
  220.  
  221.      ›1mIconify function and window›0m/›1mscreen shifting 
  222.  
  223.                ›0mThe Iconify function can be assigned with SetGMC to any
  224.           function key.    For  that  purpose the function key must be
  225.           assigned to ICONIFY.  
  226.  
  227.                The Iconify function will be executed immediately.  The
  228.           produced small window can be shifted around and brought back
  229.           to its old size by a double click.  If the window is in  the
  230.           reduced size,  output  is  possible.    The  window  will be
  231.           inactive so no wrong input is possible.  The contents of the
  232.           window won't be affected.  
  233.  
  234.                The iconify function is  disabled  if  GMC  runs  under
  235.           dos.library > 34 (Kickstart 2.0).  
  236.  
  237.                There  are three new function to change the window size
  238.           and position in the KS 2.0 version: 
  239.  
  240.             -  ZIPWINDOW: 
  241.                Replace for ICONIFY, equivalent to  click  on  the  ZIP
  242.                gadget.  
  243.  
  244.             -  MINWINDOW: 
  245.                The  window  is  reduced  to  its  minimal size and the
  246.                position specified by SetGMC.  A (any) workbench window
  247.                is activated.  
  248.  
  249.             -  MAXWINDOW: 
  250.                The window's size and position get the values specified
  251.                by SetGMC.  
  252.  
  253.                See also SetGMC XY.  
  254.  
  255.                It is possible to make a window/screen the  front  most
  256.           with a  function  key.    Therefore  the  key must be set to
  257.           SHIFT_WIN/SHIFT_SCR.  A  (any)  workbench  window  will   be
  258.           activated if the window is shifted in the background.  
  259.  
  260.  
  261.  
  262.      ›1mFile›0m/›1mDirectory name completer 
  263.  
  264.                ›0mThe command line can be expanded by the new function of
  265.           the tab key.  
  266.  
  267.                When TAB is pressed, an interpretation of the currently
  268.           given-in command  line is performed.  First the line will be
  269.           split in parts that are separated by blanks.  The  part,  in
  270.           which or  after which the cursor is located, is saved.  This
  271.           copy will only be overwritten when the line  is  changed,  a
  272.           cursor key  or RETURN is pressed.  If the cursor stands on a
  273.  
  274.  
  275.      GMC V9.8                                                      08.11.90
  276.  
  277.  
  278.      GMC V9.8                   Operating Manual                     Page 5
  279.  
  280.  
  281.           blank and the character in front of the  cursor  is  also  a
  282.           blank,  an  empty  string  will  be  used  for the following
  283.           actions.  
  284.  
  285.                The stored part of the line is interpreted  as  a  path
  286.           and/or filename.  If the path contains no root directory the
  287.           current directory  of  the CLI or Shell process is used.  As
  288.           process  only  that  process  is  used   that   opened   the
  289.           input/output stream  the  first  time.   The part behind the
  290.           last '/' or the ':' is used as the pattern to  select  files
  291.           or directories.    The  directory  refers  by  the  path  is
  292.           searched through.  
  293.  
  294.                If a file is found which has the same beginning as  the
  295.           pattern  the  command line will be completed with this file.
  296.           By pressing the  TAB  key  once  more  the  search  will  be
  297.           continued.  If no other files are found the old command line
  298.           is displayed again.  
  299.  
  300.                A  '/' is appended to directory names and a ' ' to file
  301.           names.  
  302.  
  303.                The NONBINDING  and  LATEBINDUNG  directories  are  not
  304.           searched through.  
  305.  
  306.                The TAB  can be configurated like the cursor keys.  The
  307.           syntax and semantics is described in SetGMC.Doc.  
  308.  
  309.  
  310.  
  311.      ›1mPrintout of the recent outputs to printer and window 
  312.  
  313.                ›0mThe printout function is assigned to a function key  in
  314.           the  same  way as the iconify function (with PRT_SCR instead
  315.           of ICONIFY).  
  316.  
  317.                With SetGMC it is possible to defined the page lenth of
  318.           the printer at the beginning of every printout.  
  319.  
  320.                The buffer  size  is  4KByte  at  the  startup  of  the
  321.           handler.  This can also be changed by SetGMC.  
  322.  
  323.                The buffer  can  also be displayed in the window.  With
  324.           Ctrl-"cursor  up"  the  start  of  the  buffer   is   shown.
  325.           Ctrl-"cursor  down"  shows  the  next  page  in  the buffer,
  326.           Alt-"cursor down" shows the next line.  
  327.  
  328.                At the bottom of  the  window  the  percentage  of  the
  329.           displayed buffer is shown.  
  330.  
  331.                If  a  character shall be output to the window or a key
  332.           is pressed, the buffer output scrolls up to its end.  
  333.  
  334.  
  335.  
  336.      ›1mScript function for storage of all outputs 
  337.  
  338.                ›0mGMC supports a script function.  With this  ability  it
  339.           is  possible  to  record  all  outputs including the echo of
  340.           inputs in a file.  
  341.  
  342.  
  343.  
  344.      GMC V9.8                                                      08.11.90
  345.  
  346.  
  347.      GMC V9.8                   Operating Manual                     Page 6
  348.  
  349.  
  350.                The function is activated by SetGMC.  The  script  file
  351.           remains  opened  until  the window is closed or it is closed
  352.           explicitly by SetGMC or another script file is opened.  
  353.  
  354.                While a script file is opened,  it  isn't  possible  to
  355.           display older parts of the window output.  
  356.  
  357.  
  358.  
  359.      ›1mUndo function for the command line 
  360.  
  361.                ›0mBefore  every  change in the command line its old state
  362.           is saved.  It can be brought back by pressing the  ESC  key.
  363.           With  the  aid  of  this  buffer  the  command  line is also
  364.           restored after the window was resized.  
  365.  
  366.                The buffer allows to get back a command line that isn't
  367.           finished yet and is modified by pressing the  help  key,  by
  368.           executing a command line history or the window output recall
  369.           function or an unwished delete function.  
  370.  
  371.                By  pressing  the  ESC  key  the contents of the actual
  372.           command line and the buffer is exchanged.  The cursor is set
  373.           also to its old position.  
  374.  
  375.  
  376.  
  377.      ›1mCommand line finish without execution 
  378.  
  379.                ›0mTo avoid that a started  command  line  must  be  again
  380.           deleted  because  one had recognized another command must be
  381.           executed first, the RETURN key has now two functions.  
  382.  
  383.                Without Shift key there is no change.  With  the  Shift
  384.           key  the  command  line  is  only stored in the command line
  385.           history but not sent  to  the  Shell/CLI.    Now  the  other
  386.           command  can  be  typed and executed in the standard way and
  387.           then one can recall the old command by pressing  "cursor-up"
  388.           twice.  
  389.  
  390.  
  391.  
  392.      ›1mActual directory path in window title 
  393.  
  394.                ›0mBeside   the  normal  title  from  the  startup  window
  395.           description it  is  also  possible  to  display  the  actual
  396.           directory path  in  the  window title section.  This special
  397.           function like others and the following beep function must be
  398.           switched on explicitly by SetGMC.  
  399.  
  400.  
  401.  
  402.      ›1mBeep function on prompt display 
  403.  
  404.                ›0mIf this function is activ, on the reception of  a  READ
  405.           packet  the time is appointed since the last READ packet was
  406.           replied.  If this interval is greater than a given  value  a
  407.           sound signal is sent.  It is possible to determine that this
  408.           should  happened only if the GMC window isn't the front most
  409.           on the front most screen.  There will  be  no  beep  in  RAW
  410.           mode.  
  411.  
  412.  
  413.      GMC V9.8                                                      08.11.90
  414.  
  415.  
  416.      GMC V9.8                   Operating Manual                     Page 7
  417.  
  418.  
  419.      ›1mTitle flags for Kickstart 2›0m.›1m0 
  420.  
  421.                ›0mUnder  KS  2.0  GMC supports the following title flags:
  422.           AUTO, CLOSE, NOCLOSE,  SMART,  SIMPLE,  INACTIVE,  BACKDROP,
  423.           NOBORDER,  NOSIZE,  NODRAG, NODEPTH. The number of flags has
  424.           no specific limit.  The KS 2.0 version of has SIMPLE_REFRESH
  425.           as the default refresh type.  To get a window like under  KS
  426.           1.2/3, the title flag SMART must be added.  
  427.  
  428.  
  429.  
  430.      ›1mLocal and global configuration 
  431.  
  432.                ›0mAs   repeatedly   mentioned,   GMC   processes  can  be
  433.           configurated in  a  local  and  a  global   way.      Global
  434.           configuration  has  effcts  only to those GMC processes that
  435.           are started  after  the  configuration.    Therefore  global
  436.           configuration should be made in the startup-sequence.  Local
  437.           configuration  affects only the GMC process in its window it
  438.           is executed.  
  439.  
  440.                A  detailed  description  of  the  program  SetGMC   is
  441.           available with the enclosed operating manual.  
  442.  
  443.  
  444.  
  445.      ›1mMiscellaneous 
  446.  
  447.                ›0mCtrl  keys, except Ctrl-A, Ctrl-C..F, Ctrl-M and Ctrl-\
  448.           have no function and aren't sent to the Shell/CLI.  
  449.  
  450.                In RAW mode all keystrokes (except Ctrl-C..F)  will  be
  451.           transmitted without  any  translation.    In  CON  mode  the
  452.           following "Report" messages  from  the  console.device  will
  453.           also be passed through: 
  454.  
  455.             -  Cursor Position 
  456.  
  457.             -  Window Bounds 
  458.  
  459.             -  Raw Events (except NEWSIZE-,CLOSE- und Raw Key Event) 
  460.  
  461.  
  462.                GMC don't work with the module terminal.mod of M2Amiga.
  463.           In  this case GMC causes an error during the startup and the
  464.           window will be closed again.  This happens  always  then  if
  465.           someone  tries  to  add  a close gadget and it isn't the way
  466.           that is taken under Kickstart 2.0.  
  467.  
  468.                On the output of a script file  one  should  take  care
  469.           that   it  could  contain  hidden  report  request  for  the
  470.           console.device.  If these reports are  sent  a  second  time
  471.           there  is  nobody  who is interested and so they are sent to
  472.           the Shell/CLI. Therefore it can happen that the next command
  473.           isn't understood.    Scrolling  down  the  window  cause  no
  474.           problems in  this  way.    But script files should be better
  475.           displayed by editors or text display programs.  
  476.  
  477.                When the right mouse button (menu  button)  is  pressed
  478.           and  released  the  GMC  window  will be inactivated and the
  479.           workbench window will be activated.  When  the  right  mouse
  480.  
  481.  
  482.      GMC V9.8                                                      08.11.90
  483.  
  484.  
  485.      GMC V9.8                   Operating Manual                     Page 8
  486.  
  487.  
  488.           button  is  pressed  again  the workbench menu is displayed.
  489.           This is  useful  if  PopUpMenu  is  installed.    It  avoids
  490.           resizing of the GMC window and additional mouse movements.  
  491.  
  492.  
  493.  
  494.      ›1mInstallation 
  495.  
  496.                ›0mFirst of all the files GMC-Handler and ExtFuncProc must
  497.           be copied  in  the  L:  directory.  Then the mountlist entry
  498.           descriped below should be inserted in the mountlist  in  the
  499.           DEVS: directory.  
  500.  
  501.                GMC  is  installed by "Mount GMC:". This command should
  502.           be executed in the startup-sequence.  
  503.  
  504.                There are several ways to use GMC: instead of  CON:  or
  505.           NEWCON:.  NewCLI, NewShell, or AShell can be patched or GMC:
  506.           must be given on start (NewShell GMC:xxx).  
  507.  
  508.                Another possibility is to replace GMC:  by  NEWCON:  in
  509.           the mountlist and install GMC: as NEWCON:. Then the patch or
  510.           the window specifications can be omitted.  
  511.  
  512.                The  last  possibility is to remove CON: by the command
  513.           "Assign CON: remove" and the installation of  GMC:  as  CON:
  514.           with  "Mount CON:". In the mountlist must stand CON: instead
  515.           of GMC:. The installation as CON: won't  work  with  M2Amiga
  516.           programs which used the module terminal.mod.  
  517.  
  518.  
  519.        MountList entry 
  520.  
  521.           GMC: 
  522.                  Handler = L:GMC-Handler 
  523.                  Stacksize = 2500 
  524.                  Priority = 5 
  525.                  GlobVec = -1 
  526.           # 
  527.  
  528.  
  529.  
  530.      ›1mAcknowledgement 
  531.  
  532.                ›0mSpecial  thanks  to Volker Rudolph, Joachim Strubel and
  533.           Jörg Mayer for tests and suggestions and to all people  that
  534.           use  and  support  GMC  (if  there  is  someone outside West
  535.           Germany) and paid the shareware fee.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.      GMC V9.8                                                      08.11.90
  552.  
  553.