home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / apps / desktops / tera_sec / tera_sec.txt
Text File  |  1993-07-17  |  32KB  |  672 lines

  1.  
  2. S  E  C  R  E  T  S      O  F      T  E  R  A  D  E  S  K
  3. =========================================================
  4.  
  5.  
  6.  Tips 'n' tricks on using Wout Klaren's unusual and powerful
  7.  desktop software for the ST and TT lines of Atari computers
  8.  
  9.  
  10.  
  11.  
  12.  _________________________
  13.  
  14.  B Y   A L   F A S O L D T
  15.  
  16.  -------------------------
  17.  
  18.  
  19.  
  20. Technology Writer, Syracuse Newspapers and Newhouse News Service
  21.  
  22. Computer system trainer and programmer, the Herald-Journal,
  23. the Herald American and the Post-Standard
  24.  
  25. Syracuse, New York
  26.  
  27.  
  28.  
  29. Copyright (C) 1993 by Al Fasoldt. All rights reserved.
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36. I N T R O D U C T I O N
  37. -----------------------
  38.  
  39.  
  40. Another desktop? What's wrong with what we have already?
  41. --------------------------------------------------------
  42.  
  43. Atari users are lucky. They get choices. Because all early STs were 
  44. delivered with a built-in desktop that lacked many of the features
  45. of the rival Macintosh system and the later Microsoft Windows
  46. desktop, alternative desktop software has become common in the world
  47. of the Atari ST and TT computers. The built-in desktop is part of 
  48. TOS ("The Operating System"), and is easy to use and reasonably 
  49. flexible, especially in its latest versions. But Atari's own 
  50. desktop is often the first item to be replaced when ST and TT 
  51. owners look for software to enliven their computing.
  52.  
  53. The most popular alternative desktop among users in North America is
  54. NeoDesk, from Gribnif Software. NeoDesk is an ambitious program that
  55. enhances all the operations that are normally carried out at the
  56. desktop -- the computer's interface with the user -- and it also
  57. provides functions that are not available in any form from the
  58. standard Atari desktops.  (For a detailed view of NeoDesk, read my
  59. "Secrets of NeoDesk," available from GEnie and other online
  60. services.)
  61.  
  62. NeoDesk is a commercial program, as are some of the other desktop 
  63. replacements, such as HotWire (a desktop program launcher and 
  64. application integrator from CodeHead Software) and the DC Desktop
  65. (from the now-defunct Double-Click Software). But among the
  66. non-commercial replacement desktops is an intriguing program from
  67. The Netherlands called TeraDesk. It was written by Wout Klaren and 
  68. is distributed as copyrighted freeware -- software that you can use 
  69. and share with others without paying anything for it, but which you 
  70. cannot legally alter and distribute as your own creation. You also 
  71. cannot sell TeraDesk without express permission from the author.
  72.  
  73. TeraDesk is available in two versions, one for the ST, STe and Mega 
  74. STe, and one for the TT. It is not known at this time whether 
  75. TeraDesk will run on the Atari Falcon030, but beta testers for 
  76. Atari's new multitasking operating system, MultiTOS, have reported 
  77. that it runs fine under MultiTOS.
  78.  
  79. Because TeraDesk offers many enhancements over the latest Atari 
  80. desktops, every ST and TT user interested in a more powerful 
  81. operating environment should consider TeraDesk. It is easy to 
  82. install, and Klaren's user manual is clearly written and 
  83. translated. TeraDesk also has at least one serious drawback in the 
  84. way it handles desktop icon deletions, and this documentation will 
  85. explain the problem thoroughly. In all, TeraDesk is a worthy 
  86. replacement for the software built into each Atari. What I hope to 
  87. add through this additional documentation is the perspective of an
  88. expert ST and TT user. This supplements Klaren's manual, but does
  89. not in any way replace it.
  90.  
  91.  
  92.  * * * * * * * * * * * * * * * * * *
  93.  
  94. Author's note:
  95.  
  96. This may be freely distributed in any form, but only if it remains
  97. intact. You do not have permission to edit this or use it 
  98. commercially in any way.
  99.  
  100. If you have comments or questions, and especially if you find errors
  101. in this work, you can reach me at these addresses:
  102.  
  103.  Al Fasoldt
  104.  Syracuse Newspapers
  105.  Box 4915
  106.  Syracuse, NY 13221
  107.  
  108.  GEnie: a.fasoldt
  109.  America Online: Al Fasoldt
  110.  Internet: afasoldt@erc.cat.syr.edu
  111.  
  112. This is Version 1.0.1, written in April 1993 at the computer center 
  113. at Countless Pines, Baldwinsville, New York.
  114.  
  115.  
  116.  * * * * * * * * * * * * * * * * * *
  117.  
  118.  
  119.  
  120. P A R T   1 :   D O I N G    I T    R I G H T
  121. ---------------------------------------------
  122.  
  123.  
  124. Let them eat windows
  125. --------------------
  126.  
  127. Some Atari users who are familiar with some of the other windowing 
  128. systems -- the Open Software Foundation's Motif, for example, 
  129. or IBM's power-hungry but elegant OS/2 -- may be disappointed 
  130. with some of the ways the typical Atari desktop makes use of 
  131. windows. This is most evident in the failure of all single-tasking 
  132. versions of TOS to handle multiple windows properly in one important
  133. way -- the display of data. Even NeoDesk has this failing. But
  134. TeraDesk, which has its own weaknesses in a few other areas, is 
  135. superb in this regard; it does windows right.
  136.  
  137. What do I mean by "right"? And what is this reference to "data"? 
  138. Windows on an Atari desktop show files and folders, and this is 
  139. what they are supposed to do, yes?
  140.  
  141. No, this is only part of what they are supposed to do. A window on 
  142. an ST or TT desktop -- any desktop, from Atari or someone else -- 
  143. does an acceptable job of showing files and folders. Double-click 
  144. on a folder in a window, and the window display changes to show the
  145. folder's contents; in later versions of TOS and in many alternative 
  146. desktops, a different kind of double-click on a folder opens a new 
  147. window into that folder, while keeping the previous window open.
  148.  
  149. These desktops also work well as file launchers, of course. 
  150. Double-clicking on an executable file -- one with a filename that 
  151. ends in "PRG" or "TOS," for example -- runs the application. In 
  152. all alternative desktops and in TOS desktops from the the very 
  153. beginning, double-clicking on a file that has a filename extender
  154. associated with an application runs the application and loads that
  155. file into the application. And in all newer desktops, dragging a 
  156. data file to the filename or icon of an application runs the program
  157. and loads the file automatically.
  158.  
  159. This is neat, but it should be only the beginning. In the TOS 
  160. single-tasking desktops and in NeoDesk up to version 3.03, 
  161. unfortunately, it is the end. If the file that you select by
  162. double-clicking is a text that you want to read, only one thing can
  163. happen: Either the desktop itself shows you the text in a full-sized
  164. window, hiding everything else on the desktop until you close that
  165. window, or the desktop runs a text displayer (or text editor) that
  166. you've selected in the desktop setup menu, and that text-display
  167. application takes over the screen to show the text.
  168.  
  169. In other words, both NeoDesk and the single-tasking TOS desktops, 
  170. by themselves, will not let you view a text file in a resizeable 
  171. window while the desktop is still accessible. (With the aid of a 
  172. desk accessory such as STeno, you can open a small window on a text 
  173. file and keep much of the desktop visible, but this merely takes 
  174. advantage of GEM, and is not a desktop-window function. The point 
  175. here is that such a simple action as displaying a text file should 
  176. be a desktop-window function, not a kludge made possible by a desk 
  177. accessory. To its credit, NeoDesk will let you drag a text-file 
  178. icon to an icon for the STeno desk accessory, which will then pop 
  179. up the STeno window and display the text, but this, too, is a waste 
  180. of a desk accessory -- and, of course, is not feasible if STeno is 
  181. not loaded.)
  182.  
  183. The way TeraDesk handles this is ideal. When you double-click on 
  184. any file that is not an executable file and is not assigned to an 
  185. application, Tera pops open a dialog box that offers a choice 
  186. between Show, Edit, Print and Cancel. If you click on Show (or 
  187. press Alt-S, using Tera's built-in hotkey system), a window opens 
  188. onto the contents of the file. If the file contains ASCII text --
  189. words without formatting of any kind -- the text is displayed, in a
  190. choice of character sizes (three sizes in ST high resolution and
  191. seven in TT medium resolution). If the file contains anything other 
  192. than ASCII text, it is displayed in typical hex-code-viewing 
  193. fashion, with the hexadecimal byte codes listed in a table about 
  194. three-quarters of the width of the window and the ASCII equivalent 
  195. characters listed at the right.
  196.  
  197. While any TeraDesk display window is open, the word "Viewer" 
  198. appears on its GEM menu bar. Clicking on "Viewer" opens a menu that 
  199. has two options: "Tabsize" and "Hexmode." "Tabsize" lets you type 
  200. in the width, in blank characters, for all tabs in the text, and 
  201. "Hexmode" toggles the display from hex-code to ASCII and back.
  202.  
  203. As with file and folder windows, TeraDesk's file-display windows 
  204. are standard GEM windows that can be resized. On the TT in medium 
  205. resolution, windows can be made as small as 1/15th of the total
  206. screen size. And, just as with file and folder windows, the size 
  207. and position of Tera's file-display windows is saved in TeraDesk's 
  208. setup file (the equivalent of the TOS "DESKTOP.INF" and 
  209. "NEWDESK.INF" files). But there is more: When you load a text file 
  210. into a window and save Tera's configuration, the next time you run 
  211. TeraDesk it will redisplay the same text file in the same window -- 
  212. and it will even display that text in the same relative position in 
  213. the window.
  214.  
  215. In other words, if you had scrolled a text to the third paragraph, 
  216. resized the window so that only six lines were showing, and saved 
  217. the TeraDesk setup configuration, the next time you run TeraDesk 
  218. that text window will be reopened to that same text, at the same 
  219. position.
  220.  
  221. This is an invaluable feature. One immediate use you might find for
  222. it is to open Klaren's documentation (or this text) on the Tera
  223. desktop and scroll the window to the section that you want to refer
  224. to often, and then save the desktop; the documentation will then be
  225. available at all times, visible on the desktop, in an instantly
  226. resizeable window. If you make the window as small as possible and
  227. move it out of the way, you can get back to the full text at any
  228. time by topping the window (making it the active one) and clicking
  229. on the full-size gadget at the upper right.
  230.  
  231. This technique is more powerful than it may seem. If you configure 
  232. TeraDesk to display a text in a permanent window, it will always 
  233. boot up with the latest version of that text -- meaning that you 
  234. could use a text window to display daily messages from a BBS or 
  235. online service, as long as they were saved each day to the filename 
  236. assigned to that window. (I use just that feature to display each 
  237. day's incoming e-mail on the desktop. I do not need to call up a 
  238. text reader or editor to check the mail each morning; it's there on 
  239. my desktop, in a scrollable window.)
  240.  
  241. Another use for a permanent desktop window is the display of a 
  242. short help file. My TeraDesk configuration includes a small window 
  243. open to a list of function-key assignments for TeraDesk.
  244.  
  245. In essence, Tera extends the desktop window metaphor beyond the 
  246. category of file and folder lists, providing a more powerful and 
  247. much more flexible desktop. MultiTOS, the official Atari 
  248. multitasking operating system, also does this, but adds too much 
  249. overhead to allow non-68030 Ataris to work with it at normal speed. 
  250. In its method of handling file displays within windows, Tera 
  251. achieves one of the goals of MultiTOS without the penalties of 
  252. slower operation.
  253.  
  254.  
  255. Give them icons on the desktop
  256. ------------------------------
  257.  
  258. Anyone has taken advantage of the iconic nature of Atari's TOS 
  259. desktops knows that the operating system cannot handle more than a 
  260. small number of icons on the desktop. This limit varies according 
  261. to how many of the desktop's other features are being utilized, but 
  262. it is always relatively few. Each desktop icon is represented by a
  263. text notation in the TOS desktop's information file, usually named
  264. NEWDESK.INF. This file cannot be larger than about 4,168 bytes
  265. without causing TOS to report a "system out of memory" error when
  266. you try to save the desktop. (TOS will also report an error when you
  267. try other operations at the desktop if the as-yet-unsaved
  268. information file is too large.)
  269.  
  270. TeraDesk lets you fill an ST color or monochrome desktop with 
  271. icons, and will place up to 64 icons on a large-screen desktop on 
  272. an ST or on the TT's color or monochrome desktops. Tera uses a 
  273. DESKTOP.CFG file instead of a NEWDESK.INF file, and stores its data 
  274. in a non-ASCII format. This file can be at least 5,354 bytes long.
  275.  
  276.  
  277. No pane, no gain
  278. ----------------
  279.  
  280. Tera also allows a greater selection of icons for file types than 
  281. the TOS desktop does. Using the "Install window icon" submenu under 
  282. the "Options" drop-down menu, you can add filenames, using 
  283. wildcards if you wish, and match them with icons that TeraDesk 
  284. maintains in its ICONS.RSC file. The icons appear in a scrollable 
  285. window.
  286.  
  287. One drawback is that the icons in this window always appear in black
  288. and white even if they are in color otherwise. This causes a
  289. particular problem if you create folder icons of various colors to
  290. represent important subdirectories, since they will all look the
  291. same in Tera's icon-selection window. In other words, if you assign
  292. the AUTO folder icon one color and a TELECOMM folder another color,
  293. you'll have to remember where those folder icons are placed in the
  294. list when you scroll through them. If you assign the wrong color,
  295. reassign it before saving the configuration file; Tera won't save
  296. any intermediate selections that way.
  297.  
  298. If you wish, you can create different color icons for the desktop 
  299. than the colors you assign to the same icons within windows. First, 
  300. create colored icons using an icon editor -- the one from SDS that 
  301. operates as an XCONTROL CPX works fine -- and place those icons on 
  302. the desktop. Save the desktop configuration, and then go back to the 
  303. icon editor and change the colors. If you then assign these new 
  304. versions as window icons, your desktop will show the icon in one 
  305. color and your desktop windows will show them in the other color.
  306.  
  307. Here's an example of a good use for such a color scheme: On the 
  308. desktop, you may want to place icons for your AUTO folder and for a 
  309. folder that contains important system files (or backup copies of 
  310. those files), called SYSTEM. You could color those two folder icons 
  311. red or orange on the desktop. Within a window, however, you may not 
  312. want those color schemes to stand out, and so you could color them 
  313. yellow or light brown (the color of actual manila folders, for 
  314. example).
  315.  
  316. Here's another example: In my primary system, which contains thousands 
  317. of folders, I have many AUTO folders nested within the folders that 
  318. belong to their associated applications (AUTO folders that came 
  319. with the distribution disks, in other words), and I don't want them 
  320. to look the same as the AUTO folder that I keep in the root 
  321. directory of my C: partition. By coloring an AUTO folder icon 
  322. orange, placing it on the desktop (and saving the configuration), I 
  323. can then change the icon's color for use in all the desktop 
  324. windows, where it will show up yellow like all other folders.
  325.  
  326.  
  327.  
  328. Let them have it both ways
  329. --------------------------
  330.  
  331. TT owners who have the TT color monitor or a VGA color monitor as a 
  332. substitute may already know of a pitfall of colored icons. If an 
  333. icon's background is set to any color, it appears black on a 
  334. monochrome display. This means that icons that have colored 
  335. foregrounds and backgrounds show up as solid shapes on any 
  336. monochrome desktop, whether it belongs to TOS or TeraDesk. TT users 
  337. suffer from this difficulty more than other Atarians because of the 
  338. ease with which the TT can be switched from color to monochrome. 
  339. (The ST needs separate monitors to do this, but the TT can show a 
  340. perfect ST monochrome desktop on the TT color screen.)
  341.  
  342. If you are willing to create two sets of icons -- one that is 
  343. strictly black and white and one that is colored -- you could set 
  344. up two ICONS.RSC files. Name the monochrome version MONO.RSC and 
  345. the color version COLOR.RSC and place them in a folder within the 
  346. TeraDesk folder named ICONRSC. Using Super Boot or another 
  347. full-featured boot-configuration utility, you can have the boot 
  348. utility copy the correct icon resource file from the ICONSRSC 
  349. folder to the TeraDesk folder, naming it ICONS.RSC; TeraDesk will
  350. use it automatically when it starts up. (Depending on your boot
  351. utility, you may have to set this up a little differently. One 
  352. alternative is to create two folders inside the TeraDesk folder, 
  353. named MONO and COLOR, with each one containing an ICONS.RSC file. 
  354. The boot utility then merely copies the correct ICONS.RSC file to 
  355. the TeraDesk folder.)
  356.  
  357. Yet another alternative takes advantage of Tera's ability to run 
  358. any program when it starts up. This is set up through a short text 
  359. file named DESKTOP.BAT. The first line of DESKTOP.BAT should 
  360. establish the location of the program you want Tera to run, using 
  361. the CD (change directory) command. The second line contains the 
  362. name of the program and any parameters that should be passed to 
  363. that program. The rest of the DESKTOP.BAT should contain a list of 
  364. alternate desktop configuration files that TeraDesk will 
  365. automatically load, depending on the resolution it is running in.
  366.  
  367. Here is an example of a DESKTOP.BAT in TeraDesk:
  368.  
  369.  cd c:\shells
  370.  tomshell terahigh
  371.  #640,200 medres.cfg
  372.  #640,400 highres.cfg
  373.  #640,480 ttmed.cfg
  374.  
  375. This DESKTOP.BAT file looks for TOMSHELL.TOS in the c:\shells 
  376. folder, then runs TOMSHELL with an instruction to TOMSHELL to
  377. execute the batch file named TERAHIGH.BAT. After TOMSHELL exits, 
  378. TeraDesk loads the appropriate desktop configuration file, based on 
  379. the current resolution.
  380.  
  381. The ability of Tera to run any program on startup can be very handy 
  382. in other ways. If you are normally tight on disk space, Tera could 
  383. even extract its own support files before it finishes loading, 
  384. using ARC.TTP:
  385.  
  386.  cd c:\arc
  387.  arc x c:\teradesk\tera.arc
  388.  #640,200 medres.cfg
  389.  #640,400 highres.cfg
  390.  #640,480 ttmed.cfg
  391.  
  392. Or Tera could automatically do a backup of its vital configuration 
  393. files each time it loads, in this fashion:
  394.  
  395.  cd c:\arc
  396.  arc a c:\teradesk\*.cfg *.rsc
  397.  #640,200 medres.cfg
  398.  #640,400 highres.cfg
  399.  #640,480 ttmed.cfg
  400.  
  401. If you own STeno or EdHack, two excellent text editors, Tera could 
  402. automatically run the editor and load a text file into it:
  403.  
  404.  cd c:\wordproc
  405.  steno myfile.txt
  406.  #640,200 medres.cfg
  407.  #640,400 highres.cfg
  408.  #640,480 ttmed.cfg
  409.  
  410. Tera could also automatically run Aladdin, the telecomm software 
  411. that automates all operations on GEnie. The possibilities are 
  412. endless.
  413.  
  414.  
  415.  
  416.  
  417. P A R T   2 :   S M A R  T   I C O N S
  418. --------------------------------------
  419.  
  420.  
  421. They're not just little pictures
  422. --------------------------------
  423.  
  424. There are two basic ways that desktop software treats icons -- as 
  425. aliases for actual files and as actual files themselves. Icons that 
  426. are treated as aliases can be deleted or renamed without an effect 
  427. on the real file. Icons that act like real files are another matter 
  428. altogether.
  429.  
  430. Very few desktop systems treat icons in the second manner. But 
  431. TeraDesk comes very close to that ideal -- if you can call it an 
  432. ideal, since it has at least one serious drawback -- by its use of 
  433. smart icons. A little explanation is needed.
  434.  
  435. If you drag an icon (or even a filename) from a desktop window to 
  436. the desktop in later versions of Atari's TOS, you are actually 
  437. creating an alias for that file. The operating system creates a 
  438. link within the NEWDESK.INF file that connects that icon with the 
  439. file it represents. Double-clicking on the desktop alias icon is 
  440. interpreted as an instruction to the operating system to perform 
  441. the same actions that would have resulted from double-clicking on 
  442. the file icon (or filename), no matter where it is located on the 
  443. storage disk.
  444.  
  445. TOS knows that the desktop icon is not the actual file, of course. 
  446. If you drag the desktop alias icon to the trash can, the default 
  447. action initiated by TOS is to remove the alias from the desktop. 
  448. (TOS provides a choice of removing the alias icon or deleting the 
  449. file, but its default is always to remove the alias without 
  450. touching the file.)
  451.  
  452. As far as this goes, it is satisfactory. But that's just the 
  453. problem; it doesn't go far enough. The link between the desktop 
  454. alias icon and the actual file is static, and reaches in only one 
  455. direction, from the alias to the file. This means the desktop is not
  456. made aware of any changes to the file. If you place the icon for 
  457. ARC602.TTP on the desktop and save the desktop configuration, TOS 
  458. keeps that alias icon on the desktop even if you rename the actual 
  459. file to ARC.TTP, and even if you erase the file from the disk. When 
  460. you double-click on the alias icon for a file that has been renamed 
  461. or deleted, all TOS can do is show you a dialog box telling you the 
  462. file can't be found, and asking if you want to locate it.
  463.  
  464. But TeraDesk maintains an active, two-way link between an alias and 
  465. its associated file. Once you drag the icon of a file into the 
  466. desktop, TeraDesk tracks the original file at all times. If you 
  467. rename the file, Tera renames the alias icon also (with one 
  468. exception, explained below), and if you delete the file, Tera pulls 
  469. the icon off the desktop.
  470.  
  471. The advantages of such two-way, active links are many. The obvious 
  472. ease with which you can set up your desktop and have it continually 
  473. reflect changes that you make within your files and folders makes 
  474. Tera's method a refreshing change from the standard one-way link 
  475. used by TOS. The fact that you will never have aliases on the 
  476. desktop that point to nonexistent files is a big plus, and the 
  477. knowledge that Tera is maintaining your desktop's icon assignments 
  478. automatically while you are cleaning out files is reassuring.
  479.  
  480. But you must beware of the risks of this two-way linkage. Just as 
  481. Tera removes an alias icon from the desktop when you delete the 
  482. file the icon represents, it also deletes the file itself when you 
  483. drag the desktop icon to the trash can. If the icon is the alias 
  484. for a folder, TeraDesk will delete the entire folder. If the icon 
  485. is the alias for a partition, Tera will delete the whole partition. 
  486. If, like many other users, you have set up your desktop so that no 
  487. warning is given before deletions, Tera will erase these files, 
  488. folders or partitions instantly.
  489.  
  490. My advice is to become proficient at a two-finger substitute for 
  491. the habit of dragging desktop icons to the trash can, unless you 
  492. are certain that you do, in fact, want to delete both the alias 
  493. icon and the file. That two-finger substitute is Control-R, which 
  494. removes desktop icons while unlinking the file from the alias. You 
  495. can also use the "Remove icons" submenu in the "Options" drop-down 
  496. menu to do the same thing.
  497.  
  498. That one exception to the automatic renaming of desktop icons 
  499. happens when you choose to attach a different name to the icon after
  500. dragging it to the desktop. Many experienced TOS desktop users do
  501. this, to good effect. Rather than being stuck with a desktop that
  502. sports icons with such cryptic labels as "WP.PRG" and "GOOD.TOS,"
  503. you can rename all your desktop icons -- in normal,
  504. upper-and-lower-case text -- so that you have labels such as
  505. "WordPerfect" and "Backup." Even though Tera will no longer track
  506. any renaming of the actual file by renaming the desktop icon when
  507. you do this, TeraDesk will still link the two for file deletion. Be
  508. cautious; representing ALAD.PRG with an icon innocently labeled
  509. "Call GEnie" on the desktop won't stop TeraDesk from erasing the
  510. ALAD.PRG file if you drag the "Call GEnie" icon to the trash can.
  511.  
  512.  
  513.  
  514.  
  515. P A R T   4 :   T H E   N A M E   G A M E
  516. -----------------------------------------
  517.  
  518.  
  519. Why not FUN instead of PRG?
  520. ---------------------------
  521.  
  522. In the world of the ST, TT and Falcon, executable programs -- files 
  523. that can be run when you double-click on them or call them from a 
  524. shell -- must be named according to a standard filename convention. 
  525. These filenames can have any primary name, but must have a filename 
  526. extension (the characters that follow the period at the end of the 
  527. first part of the name) that matches three characters that the 
  528. operating system expects to find. These filename extensions are PRG,
  529. TOS, TTP, APP and GTP.
  530.  
  531. These extensions stand for:
  532.  
  533.  - PRoGram
  534.  
  535.  - The Operating System (a program that more or less acts like an
  536.  MS-DOS executable file)
  537.  
  538.  - TOS-Takes-Parameters (also like an MS-DOS program)
  539.  
  540.  - APPlication (the same as PRG)
  541.  
  542.  - GEM-Takes-Parameters (a PRG that has features of a TTP file)
  543.  
  544. But from the day the first ST was designed, the Atari operating 
  545. system has been flexible enough to allow any filename extension to 
  546. be used for an executable file. This was difficult for the average 
  547. user to change, however, since it required editing of the 
  548. DESKTOP.INF file (the predecessor of the NEWDESK.INF file). Current 
  549. versions of TOS have lessened this difficulty, but TeraDesk makes 
  550. the roll-your-own extension technique very easy.
  551.  
  552. Use the "Program options" submenu under the "Options" drop-down 
  553. menu to enter either a full filename or a filename extension. If 
  554. you type in an extension, be sure to use the asterisk wildcard (the 
  555. "*" character) in place of the first part of the filename. You can 
  556. choose any name or extension; neither TeraDesk nor the Atari 
  557. operating system will complain if you pick "FUN" as the executable 
  558. file type extension for game programs and "UGH" as the extension 
  559. for a financial database program. Of course, this won't have any 
  560. effect unless you rename your game programs from the "PRG" 
  561. extension to "FUN" and your financial software to "UGH."
  562.  
  563. What's the point of doing such a thing? It can be cute, and it can 
  564. confuse the heck out of someone who sits down at your Atari and 
  565. tries to find executable files, but using different extensions for 
  566. executable files can also help organize your storage. Filenames 
  567. themselves can have no more than eight characters in the primary 
  568. field, which limits how much those characters can convey. But if 
  569. the filename extension were used to indicate a specific type of 
  570. program -- a disk utility, for example -- then the first part of 
  571. the filename can be more expressive. If you choose something like 
  572. "HDU" for hard-disk utilities, you can rename your collection of
  573. hard-disk software so that every file in that category has the same
  574. extension. That means a listing in a directory that was sorted by
  575. type would show all "HDU" files together.
  576.  
  577. Keep in mind that this kind of alteration could cause problems for 
  578. software that expects your files to follow the official rules. Some 
  579. utilities, for example, look only for PRG, TOS, TTP, APP and GTP 
  580. files when they are changing such settings as the TOS fast-load 
  581. bit. Check to see if that happens whenever you change file 
  582. extensions, and ALWAYS save a backup copy of the file under the 
  583. original name. You'd be smart to save a log listing the original 
  584. name and the new name, too.
  585.  
  586.  
  587.  
  588.  
  589. P A R T   5 :   F O N T O L O G Y
  590. ---------------------------------
  591.  
  592.  
  593. GDOS ain't so bad after all
  594. ---------------------------
  595.  
  596. The worst thing Atari ever did was to create GDOS -- the Graphical 
  597. Device Operating System, a buggy, machine-hobbling method of 
  598. getting fonts of various sizes and shapes to appear on your screen 
  599. and on the paper that comes out of your printer. The original GDOS 
  600. was quickly replaced by a bugless version, but that one was just as 
  601. slow. Even when your computer was not showing any fancy fonts, 
  602. Atari's GDOS made it crawl instead of fly.
  603.  
  604. In the eight years since GDOS was introduced, Atari and others have 
  605. tried to fix the original mistake. Atari almost released a vastly 
  606. improved system called FSM GDOS (for Font Scaling Module), but FSM was 
  607. available from only one software manufacturer as a part of its word 
  608. processor. A junior version named Font GDOS came next, and it was 
  609. serviceable. Codehead Software had the best version, however, in
  610. G+Plus, a completely rewritten replacement for the original GDOS.
  611.  
  612. Now, at last, Atari is releasing a superb version of GDOS called 
  613. Speedo GDOS. It uses fonts created by Bitstream, a major font 
  614. technology company. Bitstream fonts are easily scaled from 1 point 
  615. (too small to see) to 144 points (two inches high), and they print 
  616. out beautifully on both the screen and any printer.
  617.  
  618. So what does this have to do with TeraDesk? Tera automatically 
  619. supports any version of GDOS, letting you choose any monospaced 
  620. font for the text within its two types of window -- the text-viewer 
  621. window and the desktop file-and-folder window. Even if you don't 
  622. have any version of GDOS installed, Tera allows a selection of any 
  623. size of the system fonts. This means, also, that users with Warp 9, 
  624. CodeHead's nearly essential screen-display accelerator, can also 
  625. select any of the dozens of Warp 9 fonts for Tera's windows.
  626.  
  627. All Warp 9 fonts are monospaced, meaning that all letters and other 
  628. characters are the same width, even if they don't look that way. 
  629. (Clever monospaced fonts such as Todd Cherry's CHERRYHI.FNT for 
  630. Warp 9 can fool the eye easily.) But most GDOS fonts are not 
  631. monospaced; M and W, for example, are much wider than I and L. This 
  632. creates a more professional look on the screen and on the page. 
  633. Unfortunately, TeraDesk cannot make sense out of non-monospaced 
  634. fonts in its windows. (For one thing, it would not know where the 
  635. margins lie if characters had different widths.) So you must choose 
  636. from the few "typewriter"-style fonts among the GDOS families if 
  637. you want to use GDOS with TeraDesk.
  638.  
  639. If you stick with the system fonts and are using a TT, TeraDesk 
  640. actually offers seven font sizes instead of three. The ST has
  641. only three system fonts and the TT four, but Tera uses the three 
  642. basic sizes to create double-size fonts on the TT. The choices in 
  643. points are 8, 9, 10, 16, 18, 20 and 40.
  644.  
  645.  
  646.  
  647.  
  648. P A R T I N G   S H O T S
  649. -------------------------
  650.  
  651.  
  652. Let your voice be heard, and all that stuff
  653. -------------------------------------------
  654.  
  655. This document is another in a series called "Secrets of ..." 
  656. written for Atari users world-wide. It includes Secrets of Flash, 
  657. Secrets of NeoDesk, and Secrets of WordPerfect, in addition to the 
  658. Secrets of TeraDesk that you have just read. Still to come are 
  659. Secrets of the TT, Secrets of the ST, and Secrets of the TOS 
  660. Desktop, among others. All these lengthy tips 'n' tricks documents 
  661. are free for the downloading on telecommunications services and
  662. computer bulletin boards, but they do not write themselves. If you
  663. like what you read, send me a letter by regular mail or e-mail and
  664. let me know. If you feel generous, I'll happily accept a Gift of
  665. Time in any small amount on GEnie, and I'll just as happily listen
  666. to your comments and complaints, and especially your suggestions,
  667. accompanied by no payment at all. This is written to help you get
  668. more out of your Atari, and if I succeed even in some small way, I
  669. am doing something worthwhile.
  670.  
  671.  Al Fasoldt
  672.