home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / apps / desktops / tera_139 / doc / manual.eng < prev    next >
Text File  |  1994-04-08  |  50KB  |  1,245 lines

  1.                         The Tera Desktop
  2.  
  3. Table of Contents
  4.  
  5. 1  Introduction
  6.  
  7.    1.1       About Tera Desktop
  8.    1.2       The Author
  9.    1.3       Hardware and operating system requirements
  10.    1.4       Disclaimer
  11.    1.5       Support
  12.  
  13. 2  Installation
  14.  
  15. 3  Conventions and background information
  16.  
  17.    3.1       Conventions
  18.    3.2       Type of program
  19.    3.3       Running a program
  20.  
  21. 4  Menus
  22.  
  23.    4.1       Teradesk
  24.    4.2       File
  25.  
  26.         4.2.1     Open
  27.         4.2.2     Show Information
  28.         4.2.3     New Folder
  29.         4.2.4     Close
  30.         4.2.5     Close Window
  31.         4.2.6     Select all
  32.         4.2.7     Cycle Window
  33.  
  34.    4.3       View
  35.  
  36.         4.3.1     Show as
  37.         4.3.2     Sort
  38.         4.3.3     Hidden & System files
  39.         4.3.4     Set file mask
  40.  
  41.    4.4       Options
  42.  
  43.         4.4.1     Install Applications
  44.  
  45.              4.4.1.1   Function keys
  46.              4.4.1.2   Document Types
  47.              4.4.1.3   Command Line
  48.              4.4.1.3   ARGV protocol
  49.  
  50.         4.4.2     Install Desk Icon
  51.         4.4.3     Install window Icon
  52.         4.4.4     Change Icons
  53.         4.4.5     Remove Icons
  54.  
  55.         4.4.6     Set preferences
  56.         4.4.7     Editor
  57.         4.4.8     Program Options
  58.         4.4.9     Window Options
  59.  
  60.         4.4.10    Save settings
  61.         4.4.11    Load settings
  62.         4.4.12    Save settings as
  63.  
  64. 5  Icons and Objects
  65.  
  66.    5.1       Introduction
  67.    5.2       The ICON.RSC file
  68.    5.3       Opening icons and objects
  69.    5.4       Dragging Objects
  70.  
  71. 6  The ARGV protocol
  72.  
  73. 7  Acknowledgements
  74.  
  75.  
  76. 1  Introduction
  77.  
  78.    1.1  About the Tera Desktop
  79.  
  80.         The Tera Desktop is a replacement for the ST,  STE or  TT 
  81.         desktop.  It  provides  many  more  facilities  than  the 
  82.         standard desktop and windows are drawn and scrolled  much 
  83.         faster in it;  It allows icons for files and programs and 
  84.         provides the ability to view files in windows.  
  85.  
  86.         The   program  may  be  copied  and  distributed   freely 
  87.         provided:
  88.  
  89.         1.   All   the   files  listed  below  are   copied   and 
  90.              distributed at the same time and none are changed in 
  91.              any way.
  92.  
  93.         2.   The   program  is  not  sold  without  the   written 
  94.              permission  of  the  author.    If  the  program  is 
  95.              distributed by a PD library,  only the costs of  the 
  96.              disk and distribution may be recovered.
  97.  
  98.         The Tera Desktop files are:
  99.  
  100.              DESKTOP.PRG      The Tera Desktop program
  101.              DESKTOP.RSC      English resource file
  102.              DESK_FRA.RSC     French resource file
  103.              ICONS.RSC        Icons resource file
  104.              README.NED       Instructions in Dutch
  105.              README.ENG       Instructions in English
  106.              README.FRA       Instructions in French
  107.              CHANGES.NED      Version changes in Dutch
  108.              CHANGES.ENG      Version  changes in English 
  109.              CHANGES.FRA      Version  changes in French
  110.              MANUAL.NED       Manual in Dutch
  111.              MANUAL.ENG       Manual in English
  112.              MANUAL.FRA       Manual in French
  113.              CONVERT.PRG      Program to convert settings
  114.              VIEWER.PRG       Program for viewing .IMG and Degas files
  115.              VIEWER.RSC       Resource file for viewer
  116.  
  117.    1.2  The Author
  118.  
  119.       The author and copyright owner of the Tera Desktop is:
  120.  
  121.       Wout Klaren
  122.       Zwolsekanaal 18
  123.       7681 ED Vroomshoop
  124.       The Netherlands
  125.  
  126.    1.3  Hardware and Operating system requirements
  127.  
  128.         Hardware
  129.  
  130.         The Tera Desktop can be used on any Atari ST,  STE or  TT 
  131.         computer. It uses about 140 Kb of memory.
  132.  
  133.         Although the Tera Desktop can be used without the aid  of 
  134.         a hard disk, the use of one is strongly recommended. This 
  135.         is  because the program must be available on disk at  all 
  136.         times  when  it  is  running.  This  requirement  can  be 
  137.         facilitated, if you have sufficient memory, by placing it 
  138.         in a RAM disk.
  139.  
  140.         TOS version
  141.  
  142.         Tera  Desktop will work with all current versions of  TOS 
  143.         but is very much more useful with versions 1.4 and above.  
  144.         There  are several reasons for this,  for in version  1.4 
  145.         and above:
  146.  
  147.         1.   Folders can be renamed.
  148.  
  149.         2.   The  file processing routines are very  much  better 
  150.              and enables more facilities to be used.
  151.  
  152.         3.   GEM  programs  can be  started  automatically  after 
  153.              booting.
  154.  
  155.         4.   There are significant bugs in version 1.0
  156.  
  157.         5.   Tera  Desktop does not work in low  resolution  with 
  158.              version  1.0 because of limitations on the  size  of 
  159.              menus.
  160.  
  161.         Resolution
  162.  
  163.         It  is recommended that you use Tera Desktop in  high  or 
  164.         medium resolution.   The program works in low  resolution 
  165.         but with certain limitations:
  166.  
  167.         1.   With the ST or TT:
  168.  
  169.              a.   The  dialog box for the input of command  lines 
  170.                   to TTP programs are smaller.
  171.  
  172.              b.   The  dialog boxes of 'Install Application'  and 
  173.                   'Set   Preferences'  will  not  work   properly 
  174.                   because they are too big.
  175.  
  176.         2.   Tera  Desktop does not work in low  resolution  with 
  177.              version  1.0 because of limitations on the  size  of 
  178.              menus.
  179.  
  180.    1.4  Disclaimer
  181.  
  182.         Tera  Desktop has been tested with  TOS  1.0,  1.2,  1.4, 
  183.         1.42,  1.6, 3.05 and KAOS TOS, but it is possible that it 
  184.         will   fail  to  work  properly  on  other  versions   or 
  185.         with configurations different from those on which it  was 
  186.         tested.  It is also possible that there are still bugs in 
  187.         the  program  which  will show up  even  when  using  the 
  188.         systems on which it has been tested.
  189.  
  190.         The  author disclaims all responsibility for any loss  or 
  191.         damage  resulting from the use of Tera Desktop no  matter 
  192.         how it is caused.
  193.  
  194.    1.5  Support
  195.  
  196.         In  the United Kingdom,  new versions can  be  downloaded 
  197.         from:
  198.  
  199.                     System ST
  200.                     tel: 0533 413443
  201.                     Fidonet 2:255/320
  202.                     NeST 90:102/131
  203.  
  204.         The  compressed  file  containing the  system  is  called 
  205.         TERADESK.LZH.
  206.  
  207.         This BBS also provides support for the Tera Desktop.   If 
  208.         you  have  any suggestions for improvements  or  bugs  to 
  209.         report, you can leave a note of them there.
  210.  
  211.         In the Netherlands, new versions can be downloaded from:
  212.  
  213.                     Moir Brandts Honk BBS
  214.                     tel: 070-3461215
  215.  
  216.         If you discover a bug,  the author would be very grateful 
  217.         if  you would report to him (either in writing or on  the 
  218.         BBS)  the nature of the bug and provide a description  of 
  219.         your  computer  configuration  [TOS  version,  Auto  boot 
  220.         program  used  (if  any),   computer  type,   accessories 
  221.         installed etc.].
  222.  
  223. 2  Installation
  224.  
  225.    The Tera Desktop should be installed as follows:
  226.  
  227.    1.   Create a folder called DESKTOP anywhere on your hard disk 
  228.         (or in a RAM disk if you have no hard disk).
  229.  
  230.    2.   Copy into this folder the files:
  231.  
  232.         DESKTOP.PRG
  233.         DESKTOP.RSC
  234.         ICONS.RSC
  235.  
  236.    The Tera Desktop can now be started in the usual way by double 
  237.    clicking on DESKTOP.PRG.
  238.  
  239.    If you have TOS version 1.4 or greater,  you can set it up  so 
  240.    that Tera Desktop is started automatically when you  boot.  To 
  241.    do this:
  242.  
  243.    3.   Select the file DESKTOP.PRG by single clicking on it.
  244.  
  245.    4.   Select 'Install Application' from the Options menu.
  246.  
  247.    5.   Change to boot status from 'Normal' to 'Auto'
  248.  
  249.    6.   Click on 'Install'
  250.  
  251.    7.   Save the desktop configuration
  252.  
  253.    If you have TOS version 1.0 or 1.2 you must use a program such 
  254.    as STARTGEM to run DESKTOP from an AUTO folder.
  255.  
  256. 3  Conventions and background information
  257.  
  258.    3.1 Conventions
  259.  
  260.    1.   It  is  assumed  that the reader knows  how  to  use  the 
  261.         standard Atari desktop as described in the user manual.
  262.  
  263.    2.   We  shall often mention the procedure of  'Selecting'  an 
  264.         object.  By this we mean the act of placing the mouse  on 
  265.         the  object  and  clicking the  left  button  once.   The 
  266.         display  of  the Object should change to  reverse  video.  
  267.         Many  icons and some objects in dialog boxes can also  be 
  268.         selected by pressing certain keys.
  269.  
  270.         If  you select a second object while the first  is  still 
  271.         selected,  the first is deselected - UNLESS you held down 
  272.         [Shift] while selecting them;  in that way you can select 
  273.         several objects.
  274.  
  275.         Another  way of selecting several objects at once  is  to 
  276.         place the mouse arrow to the left of one of them and then 
  277.         hold down the left mouse button.  Then,  if you move  the 
  278.         mouse,  a  box will form in which you can  enclose  other 
  279.         objects.  When  you  release the mouse  button,  all  the 
  280.         enclosed objects are selected.  Note that all the objects 
  281.         in the box are selected, even though not all are visible. 
  282.         This  is relevant if you scroll the contents of a  window 
  283.         at the same time .
  284.  
  285.    3.   We shall also refer to 'Opening' a file.  This  generally 
  286.         means  that you place the mouse cursor on the file (in  a 
  287.         directory)  and double click with the left mouse  button.  
  288.         Files  can also be opened by first  selecting  them,  and 
  289.         then selecting 'Open' from the 'File' menu.
  290.  
  291.    4.   We shall refer to keys with square brackets enclosing the 
  292.         symbol written on the key  itself.   e.g.  [Return],  [Q] 
  293.         etc.
  294.  
  295.    5.   Sometimes  we mention 'masks'.   A mask is a sequence  of 
  296.         symbols  which may or may not match a file  name.   Masks 
  297.         contain  the symbols '*' and '?' as well as the  standard 
  298.         symbols which may appear in a file name.
  299.  
  300.         *    Stands  for  any character or run of  zero  or  more 
  301.              characters so that:
  302.  
  303.              A*B matches AB,  AAB,  ACB,  AAAB,  ACCB,  ABCB etc.           
  304.              A*  matches A, AB,AAA,ABC,ABCD etc.
  305.  
  306.              ?    Stands for any single character
  307.  
  308.              A?B matches AAB, ACB, A B etc.
  309.  
  310.    6.   Most  menu  items can be selected with a key as  well  as 
  311.         with the mouse. 
  312.  
  313.         To  select a menu item with a key,  press and  hold  down 
  314.         [Control] and then press the key indicated.   The  symbol 
  315.         '^' is there to remind you to use the control key.
  316.  
  317.    7.   Likewise,  most  buttons  in dialogue boxes can  also  be 
  318.         selected by a key.
  319.  
  320.         Press and hold down [Alternate] and then press the key of 
  321.         the character in the button that is underlined.
  322.  
  323.         Boxes  with  arrows  can  be  selected  by  holding  down 
  324.         [Control]  and pressing the corresponding cursor  (arrow)  
  325.         key on the keyboard.
  326.  
  327.    8.   When a key is a 'letter' key.  use the capital  (Shifted) 
  328.         version.
  329.  
  330.    3.2 Types of program
  331.  
  332.         In this section we review the various types of program or 
  333.         application that you may encounter.
  334.  
  335.         The type of a given program depends on how it is  written 
  336.         and is beyond your control; usually the type of a program 
  337.         is indicated by its extension, but be warned, this is not 
  338.         always so.
  339.  
  340.         The types are:
  341.  
  342.              Type Usual     Description
  343.                   extension
  344.  
  345.         1.   GEM  PRG       Program uses GEM and does not require                   
  346.                   APP       parameters.
  347.  
  348.         2.   GTP  GTP       Program   uses   GEM   and   requires 
  349.                             parameters;  the GTP extension is not 
  350.                             recognised in standard desktop.
  351.  
  352.         3.   TOS  TOS       Program does not use GEM and does not 
  353.                             require parameters.
  354.  
  355.         4.   TTP  TTP       Program does not use GEM but requires 
  356.                             parameters.
  357.  
  358.         5.   ACC  ACC       Accessory program
  359.  
  360.         Parameters are items of data,  often a file  name,  which 
  361.         are sent to the program as you invoke it.  
  362.  
  363.         The  standard desktop recognizes the last three  programs 
  364.         from  their extension and reacts appropriately  when  you 
  365.         open them.  With TTP programs it displays a dialog box in 
  366.         which you can enter parameters.  Tera Desktop in addition 
  367.         recognises  the GTP extension and displays a  dialog  box 
  368.         for such programs.
  369.  
  370.         While it is possible to rename program files giving  them 
  371.         an extension which does not properly reflect their  type, 
  372.         this  is  inadvisable.   Nevertheless Tera  Desktop  will 
  373.         allow you to define the type of a program in the 'Install 
  374.         application' dialog box
  375.  
  376.         Thus, If a GEM or TOS type program file is given the .GTP 
  377.         or  .TTP extension,  anything you enter in the  parameter 
  378.         dialog  box  is ignored.  Conversely a GTP  or  TTP  type 
  379.         program  which has not been provided with the  parameters 
  380.         it expects, may not work properly.
  381.  
  382.    3.3 Running a program
  383.  
  384.         In this section we describe the various ways in which you 
  385.         can invoke (run) a program both from the standard desktop 
  386.         and from Tera Desktop.
  387.  
  388.         1.   Perhaps the most common method of starting a program 
  389.              is to open it by double clicking on its name or icon 
  390.              in  a directory window.  A parameter dialog  box  is 
  391.              displayed for GTP and TTP files.
  392.  
  393.         2.   A method available only with Tera Desktop is to  set 
  394.              up  a  function key so that the program  is  started 
  395.              when the key is pressed.   
  396.  
  397.         3.   Another method,  again not available in the standard 
  398.              desktop, is to set up an icon for the program on the 
  399.              desktop so that it is started when you double  click 
  400.              on it. 
  401.  
  402.         4.   Yet another method,  also available in the  standard 
  403.              desktop,   is  to  double  click  on  an  associated 
  404.              'Application Document' file.  The program is started 
  405.              and  the name of the application document is  passed 
  406.              as a parameter.
  407.  
  408.         5.   Finally  you can drag an application  document  (see 
  409.              above) to a program icon. As long as the application 
  410.              document  file  name matches one  of  the  program's 
  411.              application masks,  it will be as if you had  double 
  412.              clicked on the file as in method 4.
  413.  
  414.         Note  that Accessory programs cannot be started from  the 
  415.         desktop in any of these ways; they can only be started by 
  416.         selecting their appropriate menu item.
  417.  
  418. 4  Menus
  419.  
  420.    We now describe the various menu titles and the items you  can 
  421.    select from them:
  422.  
  423.    4.1  Menu Title:  Teradesk
  424.  
  425.         4.1.1  Info
  426.  
  427.         When  you  select  this item,  a dialogue  box  with  the 
  428.         copyright  notice  will appear.   It also shows  the  TOS 
  429.         version number and the amount of free memory.
  430.  
  431.    4.2 Menu Title:  File
  432.  
  433.         4.2.1  Open  [^Q]
  434.  
  435.         With  this item,  a selected object can be  opened.   See 
  436.         section 3 for further information.
  437.  
  438.         4.2.2  Show Information...  [^S]
  439.  
  440.         When  this item is selected,  the Tera  Desktop  displays 
  441.         information about an object you have previously selected:
  442.  
  443.         1.   If the selected object is a file, its name, the time 
  444.              and date it was last used and the number of bytes in 
  445.              it  will be displayed.  The name of the file can  be 
  446.              changed.  You can also set/unset the Write  Protect, 
  447.              Hidden and System attributes of the file.
  448.  
  449.         2.   If the selected object is a folder,  its  name,  the 
  450.              time  and date of it creation,  the number of  files 
  451.              and folders in it and the number of bytes used  will 
  452.              be displayed.  With TOS version 1.4 and  above,  the 
  453.              folder name can be changed.
  454.  
  455.         3.   If the selected object is a drive, the drive letter, 
  456.              the disk label,  the number of files and folders  on 
  457.              it,  the number of used and available bytes and  the 
  458.              total free space on it will be displayed.
  459.  
  460.         If the disk is empty, it is possible that the total space 
  461.         and  the free space will be different;  this is due to  a 
  462.         bug in TOS.
  463.  
  464.         It  is  possible to select more than one  object   before 
  465.         invoking  this menu item;  the information boxes for  the 
  466.         various objects will be shown in turn.   If you exit with 
  467.         Abort, you exit to the Tera Desktop.
  468.  
  469.         4.2.3  New Folder...  [^F]
  470.  
  471.         By  selecting  this item you can name and  create  a  new 
  472.         folder (directory) in the current (top) directory.
  473.  
  474.         4.2.4  Close  [^V]
  475.  
  476.         If  you  select this item,  the current (top)  window  is 
  477.         closed. If the window is that of a folder, it is replaced 
  478.         by the window of the directory which is one level higher.
  479.  
  480.         4.2.5  Close window  [^C]
  481.  
  482.         The  effect of selecting this item is similar to that  of 
  483.         'Close'; the difference is that the window of a folder is 
  484.         NOT replaced by another.
  485.  
  486.         4.2.6  Select all  [^A]
  487.  
  488.         By selecting this window you can select all the files and 
  489.         folders in the top desktop window in one fell swoop.
  490.  
  491.         4.2.7  Cycle windows  [^W]
  492.  
  493.         When this item is selected, the bottom window is moved to 
  494.         the top.   This is particularly useful when one window is 
  495.         covered completely by others for you can view this hidden 
  496.         window without having to move or delete the windows which 
  497.         cover it.
  498.  
  499.         4.2.8  Quit  [^Q]
  500.  
  501.         Select  this item to quit Tera Desktop and return to  the 
  502.         standard desktop.
  503.  
  504.    4.3  Menu title: View
  505.  
  506.    The  items under this title enable you to control the  way  in 
  507.    which the folders and files in a directory are displayed in  a 
  508.    window.
  509.  
  510.         4.3.1  Show as
  511.  
  512.         One or other of 'Show as icons' or 'Show as text' may  be 
  513.         selected;  the  selected  option  is  ticked.  Files  and 
  514.         folders  are shown correspondingly as icons or  as  text.  
  515.         In  text mode, the length in bytes, the creation date and 
  516.         time  and  the file attributes are shown as well  as  the 
  517.         file name.
  518.  
  519.         The attributes which are set are denoted as follows:
  520.  
  521.                d    -    directory
  522.                s    -    system file
  523.                h    -    hidden file
  524.                w    -    file is NOT write protected
  525.                a    -    archive bit
  526.  
  527.         4.3.2  Sort
  528.  
  529.         With  these items you can select the order in  which  the 
  530.         files   displayed   in  a   window   are   sorted.    The 
  531.         possibilities are:
  532.  
  533.                1.   Sort  by name            [^G]
  534.                2.   Sort by extension        [^H]
  535.                3.   Sort by creation date    [^J]
  536.                4.   Sort by size             [^N]
  537.                5.   Unsorted                 [^V]
  538.  
  539.         If you select 'Unsorted', they are displayed in the order 
  540.         in which they are stored on the disk; this corresponds to 
  541.         the  order in which they were placed on  the  disk;  note 
  542.         that  this  is not necessarily the same as the  order  of 
  543.         their creation dates.
  544.  
  545.         The mode selected applies to all open windows.
  546.  
  547.         4.3.3  Hidden files  [^X]; System files  [^Y]
  548.  
  549.         By  selecting  these menu items you  can  toggle  between 
  550.         modes in which files,  whose  system or hidden attributes 
  551.         are  set  (see  section  4.3.1)  are  either  visible  or 
  552.         invisible.  When the menu item is checked, such files are 
  553.         visible.
  554.  
  555.         The mode selected applies to all open windows.
  556.  
  557.         4.3.4  Set file mask...  [^T]
  558.  
  559.         With this item,  you can select which files are shown  in 
  560.         the  current (top)  directory window.   A dialog  box  is 
  561.         displayed  into which you can either type a file mask  or 
  562.         select a mask from a predefined list.  Double clicking on 
  563.         a mask in the list has the double effect of selecting the 
  564.         mask and exiting the box as if you selected 'OK'.
  565.  
  566.         It is also possible to delete the mask which is  selected 
  567.         or add a new one to the bottom of the list.
  568.  
  569.         The  mask  only applies to the window  that  was  current 
  570.         (Top) when this item was selected.
  571.  
  572.    4.4  Menu title:  Options
  573.  
  574.         4.4.1  Install Application...  [^L]
  575.  
  576.         You  can only select this menu option if you  have  first 
  577.         selected  a  program file.  With it you  can  install  an 
  578.         application and define the ways in which the program  can 
  579.         be started.
  580.  
  581.         The  'Install Application' menu displays a dialog box  in 
  582.         which  you  can  set  up these  methods  for  invoking  a 
  583.         program. 
  584.  
  585.         At  the  top  of the box you will see  the  name  of  the 
  586.         program you selected.   Note that your settings only take 
  587.         effect  if  you exit with 'Install'.   If you  exit  with 
  588.         'Remove', any settings you have made are cancelled.
  589.  
  590.         The methods available are:
  591.  
  592.              4.4.1.1  Function Key
  593.  
  594.              You  can associate a function key with  the  program 
  595.              whose effect is described in section 3.3    Enter  a 
  596.              number  in the range 1 to 20 in the  'Function  key' 
  597.              field.
  598.  
  599.              Numbers  1  to 10 correspond the the [F1]  to  [F10] 
  600.              keys and 11 to 20 to the same keys with [Shift] held 
  601.              down.
  602.  
  603.              4.4.1.2  Document types
  604.  
  605.              Here you can install files as application  documents 
  606.              of the program.
  607.  
  608.              The standard desktop only allows you to specify  one 
  609.              extension which is presumed to be common to all  the 
  610.              application  documents.  Tera Desktop is  much  more 
  611.              flexible and allows you to specify several  complete 
  612.              file  names or masks in which you can  include  wild 
  613.              cards if you wish.
  614.  
  615.              You  can  set  up a list of several  masks  for  the 
  616.              selected program:
  617.  
  618.              1.   You can add a mask to this list of documents by 
  619.                   selecting  'Add'  in the dialog  box  and  then 
  620.                   entering the mask.
  621.  
  622.              2.   You can delete a mask by clicking on the arrows 
  623.                   till the name you wish to delete  appears,  and 
  624.                   then clicking on 'Delete'.
  625.  
  626.              When  the  list is complete  to  your  satisfaction, 
  627.              click on the install button.
  628.  
  629.              When you have done this, you can run the program and 
  630.              at  the same time pass the name of  the  application 
  631.              document to the program as a parameter,  all in  one 
  632.              fell  swoop.  You do this by double clicking  on  an 
  633.              application  document  whose file name  matches  the 
  634.              mask.
  635.  
  636.              This can be very useful and save much time  if,  for 
  637.              instance,  the program is an editor.  Just opening a 
  638.              document  file will enable you to edit the  document 
  639.              without  the necessity of having to double click  on 
  640.              the program and then enter the document file name by 
  641.              hand or from the file selector.
  642.  
  643.              It  is important to note that a file matching a  the 
  644.              mask  on the list of any of the programs  cannot  be 
  645.              printed or displayed on the screen by opening it  in 
  646.              the normal way.  This merely invokes the program  to 
  647.              which you have associated it.   However this problem 
  648.              may  be overcome by holding down [Alternate] as  you 
  649.              select it (see section 5.3).
  650.  
  651.              You  should  also  beware of  associating  the  same 
  652.              application document with more than one program.  If 
  653.              you  do this by design or in error,  the program  to 
  654.              which you have assigned the file most recently takes 
  655.              precedence.
  656.  
  657.              4.4.1.3  Command line
  658.  
  659.              You may wish to send other parameters besides a file 
  660.              name to a program.  If these are likely to vary from 
  661.              one call of the program to another,  your best  plan 
  662.              is to invoke the program by opening it.  However  if 
  663.              the other parameters are constant,  you can set them 
  664.              up in the 'Command line' field.
  665.  
  666.              Whatever you write in the Command line will be  sent 
  667.              to  your  GTP or TTP program when you invoke  it  by 
  668.              double clicking on it or by dragging an  application 
  669.              document.  
  670.  
  671.              The  symbols %f and %n have a special  meaning  when 
  672.              entered in the command line:
  673.  
  674.              %f   This  is replaced by the  application  document 
  675.                   file name.
  676.  
  677.              %F   as %f, however  file  names  are  converted  to
  678.                   lower case.
  679.  
  680.              %n   This is replaced by the path (including  drive, 
  681.                   directory and name) of the application file.
  682.  
  683.              %N   as %n, however  file  names  are  converted  to
  684.                   lower case.
  685.  
  686.              4.4.1.4  ARGV protocol
  687.  
  688.              The   number   of  characters  which   specify   the 
  689.              parameters is limited to 125 in the standard desktop 
  690.              but  Tera Desktop allows you up to employ  more.  It 
  691.              does this by using the so called ARGV protocol  (see 
  692.              section  7).   You should note that some GTP or  TTP 
  693.              programs do not support the ARGV protocol;  you  can 
  694.              toggle its use on and off by clicking on the box.
  695.  
  696.         4.4.2  Install desk icon...  [^I]
  697.  
  698.         You  can use this menu option to install an icon  on  the 
  699.         desktop. When you first select it, a mini-icon appears on 
  700.         the desktop; you can move this about the screen with your 
  701.         mouse till you release the left mouse button; by then you 
  702.         will have placed it at the position you wish the new icon 
  703.         to be displayed.
  704.  
  705.         When you release the mouse button,  a dialog box appears. 
  706.         You can define the type of icon and its actual design  in 
  707.         this.   There are three types of Icon each of which has a 
  708.         special use:
  709.  
  710.         1.   Disk      Files  dragged to this will be  copied  to 
  711.                        the disk.
  712.  
  713.         2.   Printer   Files dragged to this will be printed.
  714.  
  715.         3.   Trashcan  Files dragged to this will be deleted.
  716.  
  717.         In  addition  there  are 35  different  designs  of  icon 
  718.         available
  719.  
  720.         You  can  scroll through these 35  different  designs  to 
  721.         select  the  one  you prefer.   You  can  also  enter  an 
  722.         identifying letter (for drive icons) and a title for  the 
  723.         icon.   Do  not forget to exit with the 'OK'  button  (or 
  724.         Cancel if that is what you prefer).
  725.  
  726.         Note that icons representing programs and other types  of 
  727.         file can be placed on the desktop simply by dragging them 
  728.         from  their directory onto the desktop.   In these  cases 
  729.         the  form  of the icon is decided by Tera  Desktop  which 
  730.         determines it according to it nature.
  731.  
  732.         4.4.3  Install window icon...
  733.  
  734.         With  this menu item you can determine the way files  and 
  735.         folders  are displayed when they are displayed  by  icons 
  736.         (see 4.4.1) in directory windows.
  737.  
  738.         When you select it,  a dialog box is displayed. The first 
  739.         thing you must do is to select either files or folders.
  740.  
  741.         The  dialog box contains a window showing a list of  file 
  742.         or  folder name masks.   You can scroll through these  by 
  743.         clicking  on  the  arrows.   Each mask  on  the  list  is 
  744.         associated with an icon and any file or folder whose name 
  745.         matches the mask is depicted by the associated icon.
  746.  
  747.         You can add new masks and icons to the list by  selecting 
  748.         'Add' when a new dialog box is displayed. You can enter a 
  749.         mask  and select an icon.   You can also delete an  entry 
  750.         from  the  list  by selecting 'Delete' or  edit  it  with 
  751.         'Change'.
  752.  
  753.         4.4.4  Change icons...  [^D]
  754.  
  755.         If  you  first select an icon on  the  desktop,  you  can 
  756.         change its title and form by selecting this menu item. If 
  757.         appropriate you can also change the nature of the  object 
  758.         it  represents  (Drive,  printer or trashcan  but  not  a 
  759.         program or other file).
  760.  
  761.         4.4.5  Remove icons...  [^R]
  762.  
  763.         If  you  first select an icon on  the  desktop,  you  can 
  764.         remove it by selecting this menu item.
  765.  
  766.         4.4.6  Set preferences...  [^P]
  767.  
  768.         By selecting this menu item, you can set your preferences 
  769.         just as you can in the standard desktop.  When you select 
  770.         the  menu item,  a dialog box is displayed.  In this  you 
  771.         can:
  772.  
  773.         1.   Toggle confirmation of copies.
  774.  
  775.         2.   Toggle confirmation of deletes.
  776.  
  777.         3.   Toggle confirmation of overwrites
  778.  
  779.         The  dialog  boxes  displayed  when  a  confirmation   is 
  780.         necessary are similar to those in the standard desktop.
  781.  
  782.         4.   Set the size of the copy buffer.  This is an area of 
  783.              RAM  which  is used to store the contents  of  files 
  784.              being copied.  In general, the larger you set it the 
  785.              faster copying will be performed.
  786.  
  787.         5.   Set the default tabsize:  the number of blank column 
  788.              produced   in  a  text  window  when  a   'Tab'   is 
  789.              encountered.
  790.  
  791.         6.   Toggle  a  switch  to save  the  palette.   If  this 
  792.              facility is switched on, the palette is saved when a 
  793.              program is run and restored when it finishes.   This 
  794.              is useful if the program changes the palette without 
  795.              restoring it itself.
  796.  
  797.         7.   Set the dialog box display mode.   Dialog boxes  can 
  798.              be  drawn in one of three modes.  Each mode has  its 
  799.              advantages:
  800.  
  801.              Buffered mode. In  this  mode,  the screen  under  a 
  802.                   dialogue box is saved in a buffer.  It can thus 
  803.                   be  restored  rapidly if the box is  moved   or 
  804.                   resized.  In this mode it is possible to move a 
  805.                   dialog  box about the screen by clicking  on  a 
  806.                   special button in its top right corner.
  807.  
  808.              Window mode.   In this mode,  dialog boxes appear in 
  809.                   windows.  This  has the advantage that you  can 
  810.                   use accessories while the box is displayed  and 
  811.                   can move the dialog box about the screen.
  812.  
  813.                   Note  that  dialog  boxes  displayed  by  other 
  814.                   programs are not effected.
  815.  
  816.              Normal mode.   None   of   the   special    features 
  817.                   associated with the other modes are  available. 
  818.  
  819.         8.   Determine the position of the dialog box.  There are 
  820.              two possibilities:
  821.  
  822.              1.   Place  the  box at a point  determined  by  the 
  823.                   position of the mouse.  This option is of  most 
  824.                   use when the display of the box is initiated by 
  825.                   a key press.
  826.  
  827.                   It  is  thus possible to  prevent  it  covering 
  828.                   other objects.
  829.  
  830.              2.   Centre  the box on the screen in  the  standard 
  831.                   way.
  832.  
  833.         4.4.7  Editor...
  834.  
  835.         As explained in section 5.3,  when you open a file  which 
  836.         is not a program,  you can,  among other things, edit the 
  837.         file.  Tera Desktop does not provide its own editor; that 
  838.         is up to you.  When you select this menu option, the file 
  839.         selector is shown.  You can select a suitable editor with 
  840.         it (assuming you have one). This should be of type TTP or 
  841.         GTP.   When you opt to edit a file in this way,  the name 
  842.         of  the  file  is  passed to the  selected  editor  as  a 
  843.         parameter.
  844.  
  845.         4.4.8  Program options...  [^M]
  846.  
  847.         With this menu option you can determine which files  Tera 
  848.         Desktop  recognises  as  containing  a  program  and  set 
  849.         various  other features.   A dialog box is  displayed  in 
  850.         which you can:
  851.  
  852.         1.   Toggle  a flag which indicates whether Tera  Desktop 
  853.              will wait for a keypress after a TOS or TTP  program 
  854.              has  finished.   This is useful when  such  programs 
  855.              write  something on the screen and you want to  read 
  856.              it at leisure.
  857.  
  858.         2.   Toggle  a flag which indicates whether Tera  Desktop
  859.              will redirect output to GEMDOS standard handle 2  to
  860.              the screen. This  is  usefull  when  you  are  using
  861.              programs compiled with GNU C.
  862.  
  863.         3.   Set  which files contain programs.   A small  window 
  864.              contains a list of file name masks;  you can  scroll 
  865.              the list or select an entry.  Any file which matches 
  866.              one of the masks is recognised by Tera Desktop to be 
  867.              a program.  You can add a new mask, edit one already 
  868.              there  which  you have selected or  delete  the  one 
  869.              selected by clicking on the appropriate button: Add, 
  870.              Change, Delete.
  871.  
  872.              If you add or edit a mask,  another dialog box  will 
  873.              be shown in which you must define the file type  and 
  874.              the  current  drive and set the ARGV  flag  for  the 
  875.              program.
  876.  
  877.         4.4.9  Window options...
  878.  
  879.         If  you select this menu option,  you can  determine  the 
  880.         appearances  of  the desktop and of  directory  and  view 
  881.         windows (see below).  A dialog box is displayed in  which 
  882.         you can:
  883.  
  884.         1.   Select a fill pattern for the desktop background
  885.  
  886.         2.   Select  a colour for the desktop  background  (black 
  887.              only on monochrome monitors)
  888.  
  889.         3.   Select a font and a font size for text appearing  in 
  890.              directory or view windows.    You must first  select 
  891.              'Directory  font'  or 'View  font'.   You  can  then 
  892.              scroll a set of font sizes. The word 'Text' is shown 
  893.              at the selected size in a small window.
  894.  
  895.         4.4.10 Save settings  [^K]
  896.  
  897.         If  you  select  this menu item,  you can  save  all  the 
  898.         current  settings  to a file call  DESKTOP.CFG.  This  is 
  899.         similar  to the 'save desktop' function in  the  standard 
  900.         desktop.
  901.  
  902.         4.4.11 Load settings...
  903.  
  904.         If you select this menu item,  you can load settings that 
  905.         you have previously saved in a file.   The file  selector 
  906.         is displayed;  enter the name of the file containing  the 
  907.         settings required.
  908.  
  909.         4.4.12 Save settings as...
  910.  
  911.         If  you select this menu option you can save the  current 
  912.         settings in a file whose name you can choose. In this way 
  913.         you  can  have  several files  with  different  settings, 
  914.         perhaps to suit different resolutions.
  915.  
  916.         The file selector is displayed for you to enter the  file 
  917.         name.
  918.  
  919. 5  Icons and Objects
  920.  
  921.    5.1  Introduction
  922.  
  923.         In  this  chapter  we discuss the use of  icons  and  the 
  924.         objects they represent.
  925.  
  926.    5.2  The ICON.RSC file
  927.  
  928.         This  file contains the bit-maps of the icons  which  you 
  929.         can select in the 'Add icon' and 'Change icon' options in 
  930.         the  'Install Desk Icon' and 'Install Window  Icon'  menu 
  931.         item dialog boxes.
  932.  
  933.         If you have a resource editor, you can add your own icons 
  934.         to  the file or replace those already there by your  own.  
  935.         The  maximum  size  of an icon is 64 pixels  wide  by  32 
  936.         pixels  high and the maximum size of the file is  64  Kb.  
  937.         Do  not add other sorts of object to this resource  file; 
  938.         if you do,  it will not load.   Owners of a Mega STE or a 
  939.         TT can also use the resource file which comes with  these 
  940.         computers in place of ICON.RSC as long as they copy it to 
  941.         the DESKTOP folder and rename it as ICONS.RSC.
  942.  
  943.         Note  that  the  first 7 icons in the file  are  used  to 
  944.         represent:
  945.  
  946.                     1.        Floppy disk drives
  947.                     2.        Hard disk partitions
  948.                     3.        Files
  949.                     4.        Programs
  950.                     5.        Folders
  951.                     6.        Trash cans
  952.                     7.        Printers
  953.  
  954.         You  can replace the default icons in the file by  others 
  955.         of your choice.
  956.  
  957.    5.3  Opening objects and icons
  958.  
  959.         An object in a directory window or on the desktop can  be 
  960.         opened by double clicking on it or by first selecting  it 
  961.         and using the 'Open' item in the 'File' menu.
  962.  
  963.         What happens when you open an object depends what sort of 
  964.         object  it  is;  the results may be modified  in  several 
  965.         cases  by  pressing the [Alternate] key as you  open  the 
  966.         object.  Other objects can be opened in other ways.   The 
  967.         results for the different objects are:
  968.  
  969.         1.   Disk drive.
  970.  
  971.              A new window which contains the objects in its  root 
  972.              directory is opened.
  973.  
  974.              Disk  drives  may  also be opened  by  holding  down 
  975.              [Alternate]  and pressing the key  corresponding  to 
  976.              the letter of the drive. 
  977.  
  978.              If  both the [Shift] and [Alternate] keys  are  held 
  979.              down,  a  new  window will not be  opened,  but  the 
  980.              directory will be displayed in the topmost window on 
  981.              the desktop.
  982.  
  983.         2.   Folder
  984.    
  985.              If  the  folder  is represented by an  icon  on  the 
  986.              desktop,  a new window containing its directory will 
  987.              be opened.
  988.  
  989.              If the folder is in a directory window, the contents 
  990.              of that window will be replaced by the directory  of 
  991.              the  folder,   as  with  the  standard  desktop.  If 
  992.              [Alternate] is held down as the folder is opened,  a 
  993.              new window containing its directory will be opened.
  994.  
  995.              Note that a folder name '..' behaves differently; it 
  996.              stands  for a folder one level higher.  If you  open 
  997.              such a folder, the effect is to replace the contents 
  998.              of the window by this higher level directory. If you 
  999.              do  this  holding down [Alternate] a new  window  is 
  1000.              created containing this higher level directory.
  1001.  
  1002.         3.   File.
  1003.  
  1004.              A.   If  the  file is recognised as  a  program  the 
  1005.                   program will be invoked.  If the program is  of 
  1006.                   GTP or TTP type, a dialog box will be displayed 
  1007.                   first. You should enter the parameters required 
  1008.                   in it.
  1009.  
  1010.              B.   If the file is not a program but matches one of 
  1011.                   the  masks set up in the 'Install  application' 
  1012.                   menu  item,  the  associated  program  will  be 
  1013.                   started  and the name of the file passed  as  a 
  1014.                   parameter as described in section 3.3.
  1015.  
  1016.                   If  you hold down [Alternate] as you  open  the 
  1017.                   file, the associated program is not started and 
  1018.                   it is not recognised as an application file.
  1019.  
  1020.              C.   With all other files, a dialog box is displayed 
  1021.                   and you can opt to Show, Edit, Print or Cancel.
  1022.  
  1023.                   a.   If you opt to view the file,  a window  is 
  1024.                        opened  and the contents of the  file  are 
  1025.                        displayed  in it.  If the first 256  bytes 
  1026.                        contain at least 90% ASCII character,  the 
  1027.                        file is displayed in ASCII mode, otherwise 
  1028.                        it   is  displayed  in  HEX   mode.    See 
  1029.                        section 6.2 for further details.
  1030.  
  1031.                   b.   If  you opt to edit the file,  the  editor 
  1032.                        program  defined  in  the  'Editor'   menu 
  1033.                        option  (see paragraph 4.4.7) is  run  and 
  1034.                        the name of the file is passed to it as  a 
  1035.                        parameter.
  1036.  
  1037.                   c.   If you opt to print the file, its contents 
  1038.                        are sent to your printer to be printed.
  1039.  
  1040.                   d.   If  you opt to cancel,  you return to  the 
  1041.                        Tera Desktop.
  1042.  
  1043.    5.5   Dragging Objects
  1044.  
  1045.         Icons  or objects (the Source object) can be  dragged  to 
  1046.         other  icons  or  objects  (The  Destination  object)  by 
  1047.         holding  down the left mouse button and moving to  a  new 
  1048.         position on the desktop. When the mouse button is finally 
  1049.         released,  the  result  depends on both  the  source  and 
  1050.         destination object.
  1051.  
  1052.         The  results  for  the various  destination  objects  are 
  1053.         listed below.  The first 4 destination require the source 
  1054.         to be a file or folder.
  1055.  
  1056.         1.   File, Folder --> Disk drive
  1057.  
  1058.              Source  files and folders (with their contents)  are 
  1059.              copied into the drive.
  1060.  
  1061.              If you want to perform a disk copy, use some program 
  1062.              such as FCOPY.
  1063.  
  1064.         2.   File, Folder --> Folder
  1065.  
  1066.              Source  files  or folders will be  copied  into  the 
  1067.              folder. 
  1068.  
  1069.         3.   File, Folder --> Directory window
  1070.  
  1071.              Source   files  or  folders  are  copied  into   the 
  1072.              directory.
  1073.  
  1074.         4.   File, Folder --> Trashcan
  1075.  
  1076.              The  file or the folder together with  its  contents 
  1077.              are deleted.
  1078.  
  1079.         For  the next 2 destinations,  the source can only  be  a 
  1080.         file:
  1081.  
  1082.         5.   File --> Program
  1083.  
  1084.              The  program  is started and the name  of  the  file 
  1085.              passed to it as a parameter (which it may ignore  if 
  1086.              it is not of GTP or TTP type).
  1087.  
  1088.         6.   File --> Printer
  1089.  
  1090.              The contents of the file are sent to the printer.
  1091.  
  1092.         For  the  next destination,  the source can  be  a  file, 
  1093.         folder or drive.
  1094.  
  1095.         7.   File, Folder Drive --> Desktop
  1096.  
  1097.              If the source object was already on the desktop,  it 
  1098.              will be moved to a new position defined by the mouse 
  1099.              position when the button was released
  1100.  
  1101.              If the source object was in a directory window,  the 
  1102.              object will be installed on the desktop as an  icon. 
  1103.              Once so installed it can be used as if it were in  a 
  1104.              window.
  1105.  
  1106.         Note  that  all copy operations mentioned  above  can  be 
  1107.         modified  by  pressing [Control] as the mouse  button  is 
  1108.         released.  When this is done, the file or folder is moved 
  1109.         rather than copied; this means that the source is deleted 
  1110.         after it is copied to the destination.
  1111.  
  1112.         If,  instead,  [Alternate]  is pressed as the  button  is 
  1113.         released, a dialog box is displayed. With the aid of this 
  1114.         you  can  rename the new version of the source  which  is 
  1115.         placed in the destination.
  1116.  
  1117.         Note also that if a file or folder, which is installed in 
  1118.         the  Tera Desktop as an icon,  is deleted,  the  icon  is 
  1119.         removed as well.
  1120.  
  1121.         If  during a copy operation,  a file or folder  with  the 
  1122.         same  name as the source is found in the  destination,  a 
  1123.         dialog box will appear. This gives you the opportunity to  
  1124.         rename  both  the  source  and  destination  object,   to 
  1125.         overwrite the destination or to abort the operation or to 
  1126.         continue.  This  dialog  box will be appear in  all  such 
  1127.         instances of a name conflict and cannot be switched off.
  1128.  
  1129.         Finally note that a copy,  delete or print operation  can 
  1130.         be aborted by pressing [Esc]
  1131.  
  1132. 6  Windows
  1133.  
  1134.    Two kinds of window may be displayed on the desktop:
  1135.  
  1136.              1.   Directory windows
  1137.              2.   Text (or View) windows.
  1138.  
  1139.    Several features of these have been discussed above.  Here  we 
  1140.    describe how to manipulate them.
  1141.  
  1142.    You  can  control  windows in the standard  manner  using  the 
  1143.    various  boxes  and  sliders.  In Tera Desktop  you  can  also 
  1144.    control them by pressing various keys;  these produce specific 
  1145.    effects: 
  1146.  
  1147.         [Clr Home]          Jump to top of window
  1148.  
  1149.         [Shift] [Clr Home]  Jump to bottom of window
  1150.  
  1151.         [C]                 Close the window
  1152.  
  1153.         Cursor (arrow)      These  keys scroll the window in  the                          
  1154.                             direction of the arrow.  If the Shift 
  1155.                             key  is pressed at the same  time  as 
  1156.                             the arrow key, the window scroll over 
  1157.                             a whole page,  otherwise by a  single 
  1158.                             line or column.
  1159.  
  1160.    6.1  Directory windows
  1161.  
  1162.         The contents (folders and files) of a directory are shown 
  1163.         as in the standard desktop.
  1164.  
  1165.         Certain additional keys have special effects:
  1166.  
  1167.         [Esc]          Read the directory again
  1168.  
  1169.         ^[C]           Close the window
  1170.  
  1171.    6.2  Text windows
  1172.  
  1173.         The  contents  of  a file are  displayed.   They  may  be 
  1174.         displayed either in ASCII mode or in Hex mode.
  1175.  
  1176.         ASCII mode is suitable for readable text files while  Hex 
  1177.         mode is more suitable for binary files.  
  1178.  
  1179.         Every  text window has its own menu bar with  one  title, 
  1180.         'Viewer'.  You must click on this to see the two items it 
  1181.         contains. i.e. it is a click down rather than a drop down 
  1182.         menu.
  1183.  
  1184.         The  first  item,  'Tabsize' ,  shows a dialog  box  when 
  1185.         selected. In this you can set the tab size; the number of 
  1186.         columns  skipped when a Tab symbol is encountered in  the 
  1187.         text.
  1188.  
  1189.         The second 'Hexmode', enables you to toggle between ASCII 
  1190.         mode and Hex mode.  When 'Hexmode' is ticked, the file is 
  1191.         shown in hex mode.
  1192.  
  1193.         Certain additional keys have special effects:
  1194.  
  1195.         [Esc],[Q]      Close the window
  1196.         [Space bar]    Scroll to next page
  1197.         [Return]       Scroll to next line
  1198.  
  1199. 7  The ARGV protocol
  1200.  
  1201.    In  GEMDOS  the  length of a command line is  limited  to  125 
  1202.    characters.    The  ARGV  protocol makes much  longer  command 
  1203.    lines possible.
  1204.  
  1205.    A  disadvantage of the protocol is that many programs  do  not 
  1206.    support such long command lines and may even crash.   For this 
  1207.    reason Tera Desktop enables you to switch the protocol on  and 
  1208.    off in 'Install application' and 'Program options'.
  1209.  
  1210.    There are two ways you can avoid this difficulty with the ARGV 
  1211.    protocol:
  1212.  
  1213.    1.   Install programs which do not support the ARGV separately 
  1214.         using  the  'Program options' menu  item  (see  paragraph 
  1215.         4.4.8).   Enter  their full names in the list of  program 
  1216.         mask  but switch off the ARGV protocol  for  them.   Make 
  1217.         sure  you enter their names before any masks  which  they 
  1218.         might match.
  1219.  
  1220.    2.   Do the reverse of 1. Switch off the ARGV protocol for all 
  1221.         programs but enter the names of those that do separately.
  1222.  
  1223.    Another  possibility is to install them as  applications  with 
  1224.    the ARGV protocol switched off .
  1225.  
  1226. 8  Acknowledgements
  1227.  
  1228.    I  would  like  to  thank  the  following  people  for   their
  1229.    contribution to the Tera Desktop:
  1230.  
  1231.    Ric Klaren,
  1232.    Ger Hobbelt and
  1233.    Hans Wessels          for testing the Tera Desktop,  designing
  1234.                          some icons and making some  improvements
  1235.                          to the program code.
  1236.    Keith Frisby and
  1237.    Mark Matts            for distributing and supporting the Tera
  1238.                          Desktop in the United Kingdom.
  1239.    Ted Richards          for rewritting the English manual.
  1240.    Jean Jacques Cortes   for translating  the  resource  file  in
  1241.                          French.
  1242.  
  1243.    Wout Klaren
  1244.    October 1993 
  1245.