home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 10: Diskmags / nf_archive_10.iso / MAGS / ST_USER / 1992 / USERJL92.MSA / ACCLOAD_ACCLOAD.DOC < prev    next >
Text File  |  1992-04-03  |  13KB  |  337 lines

  1. ACCLOAD version 2.22 - Intermediate Release 4 April 1992
  2. --------------------------------------------------------
  3.  
  4. Program Filename: ACCL222.PRG
  5.  
  6. System Requirements: Any ST
  7.  
  8.  
  9. Introduction
  10. ------------
  11.  
  12. ACCLOAD is a (fairly)  small  program  which  does  a number of useful
  13. things at system boot time:
  14.  
  15.    . Date & Time Set
  16.  
  17.    . Reminders
  18.  
  19.    . Desktop Accessory Selection
  20.  
  21.    . Desktop Selection / Program execute (Boot Options)
  22.  
  23.  
  24. Each of these features is covered below.
  25.  
  26.  
  27. Installation
  28. ------------
  29.  
  30. Copy ACCL222.PRG into the AUTO folder of your boot disc, or C:\AUTO if
  31. you have a hard disc. (From now on, x:\ will be taken as your system's
  32. root directory).
  33.  
  34. It's a good idea if this  is  the  last  program  to run from the AUTO
  35. folder, but this isn't critical.  Programs  in  the AUTO folder run in
  36. the order they were copied into it,  so  if ACCLOAD was the last thing
  37. you copied in, it will run last.
  38.  
  39. That's it!  Other  files  and  directory  structures  required  by the
  40. program are:
  41.  
  42.         x:\ACCINFO.INF   - if you want to use the Boot Options feature
  43.  
  44.         x:\AUTO\REMINDER - if you want to use the reminder feature
  45.  
  46.  
  47. Hot Shift Keys
  48. --------------
  49.  
  50. The Shift keys are now "hot", in  that  if you hold any of LEFT SHIFT,
  51. RIGHT SHIFT, CONTROL, ALTERNATE, CAPS LOCK down while booting, ACCLOAD
  52. will not run. This can be useful in some circumstances.
  53.  
  54.  
  55. Date & Time Set
  56. ---------------
  57.  
  58. If you haven't got a Mega  ST  or  a  clock card, chances are that all
  59. your files are dated 85/87/89  depending  which  version of TOS you've
  60. got.
  61.  
  62. ACCLOAD gives you the chance to set your system clock, if you want to.
  63.  
  64. You are presented  with  formatted  date  &  time  entries (dd/mm/yy &
  65. hh:mm:ss) which you fill in  (by  typing  the right values!!). Help is
  66. available by pressing the HELP key.
  67.  
  68. You can skip having to set the date & time by pressing UNDO or ESCAPE.
  69.  
  70. You can now use the  numeric  keypad  to  enter the time. DOWN CURSOR,
  71. ENTER & RETURN all act as "end of input" keys.
  72.  
  73. Reminders
  74. ---------
  75.  
  76. How often have you forgotten to  do  something because it slipped your
  77. mind? Never again! After letting  you  set  the  time (if it's wrong),
  78. ACCLOAD then looks for any reminders you may have for today.
  79.  
  80. These are kept in x:\AUTO\REMINDER so  as  not to clutter up the disk.
  81. Each day is stored as a  separate  file,  which  can big as big as you
  82. want. ACCLOAD will display one page of it at a time, then give you the
  83. option to delete the reminder. Any key other than 'y' acts as a no!
  84.  
  85. HELP is available by pressing  HELP.  If  you've  got a multi-page re-
  86. minder, you can only get help  on  the  last page. Run the program and
  87. you'll see this isn't a problem.
  88.  
  89. The format of these  files  is  very  simple  and their filenames very
  90. readable. For example, a reminder for 9/2/92 has the filename 09-02-92
  91.  
  92. Two types of reminders  are  supported.  "Ordinary"  reminders, as de-
  93. scribed and "anniversary" reminders, whose  filename is something like
  94. 09-02-AN. A reminder of this form  will  appear every year on the date
  95. indicated and is useful for birthdays etc.
  96.  
  97. A reminder file is simply a  file  with  text  in it, so if you've got
  98. complex requirements  which  exceed  those  offered  by  the REM20.PRG
  99. reminder creation program supplied,  you  can  use your favourite text
  100. editor to create  your reminders.
  101.  
  102. Something like CLEANUP-ST will tell you  that a filename like 09-02-92
  103. is illegal because of the '-'s in it. However, I've kept the "illegal"
  104. format because I think 09-02-92 is infinitely preferable to 090292.
  105.  
  106.  
  107. Accessory Selection
  108. -------------------
  109.  
  110. If you've got any desktop  accessories, they're displayed. Accessories
  111. displayed in inverse video are  the  ones  which  the system will load
  112. when you exit ACCLOAD.
  113.  
  114. Use the cursor  keys  to  move  the  cursors  around,  INSERT/SPACE to
  115. select/de-select an accessory, CLRHOME/ESCAPE  to  exit,  UNDO to exit
  116. with no accessories selected, F1  to  enter  Boot  Options Menu, F2 to
  117. enter Boot Options Menu with no accessories selected.
  118.  
  119. A help screen is available by pressing HELP.
  120.  
  121. Note that your disc must be write enabled for selection of accessories
  122. to work correctly, since the method  used  is to physically rename any
  123. accessories not required to acc_name.ACX.
  124.  
  125. The maximum number of accessories  allowed  is 176 (the largest number
  126. which will fit nicely on  the  screen).  This  is  a very large number
  127. (I've only  got  36!!),  and  it's  more  than  any  other  menu-based
  128. accessory selector I've come  across  allows!!  (on  floppies, you can
  129. only have a maximum of 111 files  plus an AUTO folder anyway!). If you
  130. happen to have more than 176  (which  is very unlikely) then beware!!!
  131. Only the first 176 ACCLOAD finds will be displayed, so archive some of
  132. those accessories you never use and tidy that disc up!
  133.  
  134. Beware that you do not have  two  versions  of the same accessory, one
  135. named, say, acc.ACC and  the  other  acc.ACX.  Having two versions can
  136. confuse ACCLOAD (and probably  means  your  old accessory selector was
  137. quite ill!) so take care.
  138.  
  139. One final note is that accessories,  as  always, must be placed in the
  140. root directory of your boot disc (either A:\ or C:\).
  141.  
  142.  
  143. Boot Options
  144. ------------
  145. This section will mainly appeal to hard disc users.
  146.  
  147. When you switch your  machine  on,  you  usually  want to do something
  148. specific, like wordprocessing or programming  and  it's a pain to have
  149. to open a few folders and display  by Text/Icons, sort by Size or Name
  150. to get the setup you want.
  151.  
  152. Or, maybe you run another  operating  system,  like Minix, and want to
  153. boot straight into it rather than have to go through GEM.
  154.  
  155. Here's where ACCLOAD can help.  The  Boot  Options screen performs two
  156. functions:
  157.  
  158.         i) Boot straight into the Desktop of your choice
  159.    or
  160.        ii) Execute a *.TOS program
  161.  
  162. To be able to do this requires  some  arranging. This is taken care of
  163. by the x:\ACCINFO.INF file.  This  is  split  into  2  parts. Here's a
  164. typical file:
  165.  
  166. Standard Desk           ; Menu Entry
  167. c:\stand_d.inf          ; Filename of DESKTOP.INF for standard desk
  168. Emacs
  169. c:\emacs_d.inf
  170. Lattice C
  171. c:\c_d.inf
  172. Power Basic
  173. c:\basic_d.inf
  174. #
  175. Run CD Selector         ; Menu Entry
  176. cdc.tos                 ; Pathname of program to run
  177. Boot Minix
  178. c:\minix.prg c:\minix.img        ; Parameters are allowed
  179. Enter Reminder
  180. remdat.tos
  181. Install GDOS
  182. c:\gdos.prg
  183.  
  184. The first part (before the #) deals with Desktop selection, the second
  185. (after the #) with programs to execute.
  186.  
  187. You can have up to 26 menu  entries  in  the file. If you only want to
  188. use Desktop selection (and not  program  execution) terminate the file
  189. with a #, otherwise arrange it as  above. (Similarly, if you only want
  190. programs and not desktops, start the file with a #).
  191.  
  192. To set up Desktop selection, proceed as follows:
  193.  
  194. Set up your desk for,  say,  a  wordprocessor.  Then save the desktop.
  195. Rename  the  x:\DESKTOP.INF  file   to  something  like  x:\WORD_D.INF
  196. (problems may occur if you don't use a .INF extension).
  197.  
  198. Continue setting up, saving and renaming until you've covered all your
  199. packages, then set up the  x:\ACCINFO.INF  file  as  above with a text
  200. editor. Note that comments (shown  above  for clarity) are not allowed
  201. in the actual file.
  202.  
  203. If you do not supply a full  pathname  for  the files, x:\ will be the
  204. folder searched. It's usually  a  good  idea  to  give a full pathname
  205. anyway, just in case.
  206.  
  207. Programs MUST be TOS programs (*.TOS  or *.TTP). Usually, if a program
  208. has a .PRG extension, it uses GEM,  which is not allowed at this stage
  209. of the boot procedure and may cause  the machine to crash. You CAN run
  210. .PRG programs (see Minix in example file above), but they MUST NOT use
  211. the AES or VDI (i.e.  they  must  really  be  TOS programs or programs
  212. which take the machine  over).  As  a  general  rule, if your compiler
  213. produces a program  with  .TOS  or  .TTP  extension,  it  can be used,
  214. otherwise it can't. STOS  has  been  made  to  run  at  boot time from
  215. ACCLOAD, with a fair memory saving.
  216.  
  217. Menu entries must not be more than  35 characters long, since to allow
  218. 26 options, you've got to be able to fit it all on the screen!!
  219.  
  220. Pathnames can be up to  80  characters  long,  which is sufficient for
  221. most applications, including any parameters which may be necessary.
  222.  
  223. That's enough about setting it up. When you use this option (triggered
  224. by  exiting  the  Desktop  Accessory  screen   with  F1  or  F2),  the
  225. Desktop/Program menus are displayed in 2  (or  1 depending on how many
  226. you've set up) columns.
  227.  
  228. Desktops appear first, followed by  programs. To make the distinction,
  229. Desktops are preceded by an inverse +, programs by an inverse *.
  230.  
  231. To select either, hit the alpha key corresponding to that menu entry.
  232.  
  233. You can execute up to 5 programs  in sequence, however after the fifth
  234. is run ACCLOAD will exit. Remember that  this may not be possible with
  235. some programs, as they may take over  the machine, or cause ACCLOAD to
  236. exit when they return. The main  reason for multiple program selection
  237. is so that you can install  something  like  GDOS and then change to a
  238. desktop you've set up for a program which needs GDOS or whatever.
  239.  
  240. Selecting a desktop to boot to always quits ACCLOAD.
  241.  
  242. Help is available by pressing the HELP key.
  243.  
  244. ESCAPE or UNDO quits without doing anything.
  245.  
  246.  
  247.                                --------
  248.  
  249.  
  250. That's about it.  ACCLOAD  finishes  when  you  exit  or  pick a desk-
  251. top/final program from the Boot Menu.
  252.  
  253. Remember that EVERYTHING(!) is optional  in  this program, and, to re-
  254. cap the running order is as follows:
  255.  
  256. Date & Time Set (if date & time are obviously incorrect)
  257. Reminders (if directory is there and there is a reminder for today)
  258. Accessory Selection (if there are any to select)
  259. Boot Options (if there is a x:\ACCINFO.INF file)
  260.  
  261. All have help and are  completely  optional.  If  you  install it on a
  262. system where the  time  &  date  are  correct,  there  is  no reminder
  263. directory structure, no accessories  and  no  ACCINFO.INF, the program
  264. does nothing! Equally, if you  have  no accessories, Boot Options will
  265. run automatically, providing it can  load  its  .INF file. However, if
  266. you do have accessories, you need to press F1 or F2 to get at the Boot
  267. Options screen etc etc. You get the idea.
  268.  
  269. ACCLOAD will behave slightly differently on floppy-based systems. Hard
  270. discs normally work so fast, that there  is no need to inform the user
  271. about what the system is doing.  Floppies,  of course, are much slower
  272. and so small messages are displayed "Renaming accessories .... Desktop
  273. ...." etc. It can happen that  these messages just "flash past", maybe
  274. because you've only a few accessories  to  rename. There is nothing to
  275. worry about, especially since you know what they are now!
  276.  
  277. ACCLOAD is designed to run at system  boot  time in an AUTO folder. It
  278. can be run from the desktop at  any  time,  but if run in LOW RES from
  279. the desktop, you'll be left  with  half  a  medium res desk! The mouse
  280. will also tear holes in  the  display  if  run from the desktop. These
  281. aren't bugs, but documented features! There's  no real point in fixing
  282. them, because ACCLOAD runs perfectly how it's meant to be run.
  283.  
  284. A small GEM-driven  program  is  supplied  (latest version REM_20.PRG)
  285. which makes reminder creation  simple.  It's  simple  to use and comes
  286. with its own DOC file.
  287.  
  288.  
  289. ACCLOAD v2.2 by Klint (Me! Read  about Limestone Pavements in any good
  290. geology book) is FreeWare and you are free to use it however you like.
  291. It has been fully tested on both floppy and hard disc based colour and
  292. mono systems and there are no known  bugs  PROVIDED that it is used in
  293. accordance with this documentation.  No  responsibility is accepted by
  294. the author for any damage caused by the misuse of this program.
  295.  
  296. I hope you  find  ACCLOAD  useful.  I  wrote  it  originally because I
  297. couldn't find another simple accessory  loader  which worked with hard
  298. discs. The other options evolved over  a  period  of months. The one I
  299. personally use the most is  Boot  Options.  Being able to get straight
  300. into the folder you want is very useful with a 300Mb hard disc!
  301.  
  302. Versions 1.0 through 1.7 of ACCLOAD  were written in Power Basic. v1.8
  303. was the first major re-write from scratch  of the program in LATTICE C
  304. v5, of which ACCLOAD v2.2 is  a  close  relative. Cheers HiSoft for an
  305. excellent package.
  306.  
  307.  
  308. You may freely distribute ACCLOAD at  will  but  this DOC file MUST be
  309. included.
  310.  
  311. Any suggestions should be sent to:
  312.  
  313.                 J.P.Connor
  314.                 15 Connery Crescent
  315.                 Ashton-under-Lyne
  316.                 Lancashire
  317.                 OL6 8DR
  318.  
  319. £5 and a disk will get you  the very latest versions of BOTH programs,
  320. including as many features  as  I  can  pack  in (suggestions for more
  321. features please!)
  322.  
  323.  
  324.  
  325. Development planned:
  326.  
  327.    ACCLOAD      - Automatically run a list  of named programs in order
  328.                   to keep AUTO folder tidy
  329.  
  330.  
  331.    REMINDER     - Auto-sensing version which will work as a TOS or GEM
  332.                   program and also as an accessory
  333.  
  334.  
  335. Thanks to Andrew Baxter  &  Andrew  Dodd  for  invaluable TOS1.2 & 1.6
  336. testing.
  337.