home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / tools / workbench / uniview / docs / uniview.hguide < prev   
Encoding:
Amiga HyperGuide  |  1998-02-09  |  13.8 KB  |  369 lines

  1. @hyperguide UniView.hguide
  2. @author "Stefan Ruppert"
  3. @annotation Is part of the HTDS-Shareware licence
  4. @$VER: UniView.hguide 40.4 (19.01.98)
  5. @copyright © 1996-1998 by Stefan Ruppert
  6. @smartwrap
  7. @macro m_code "@{code}@{fixedfont}$1@{body}@{deffont}"
  8. @macro m_name "@{pari -3}@{lindent 6}@{par}@{sectfont}@{b}$1@{ub}@{deffont}@{line}@{pari 0}"
  9. @listindent 6
  10. @path /author
  11. @node Main "UniView Documentation"
  12.  
  13. @{jcenter}@{titlefont}@{b}UniView@{ub} - a MultiView replacement@{deffont}@{line}
  14.  
  15. @{subtitlefont}@{fg highlight}Written by Stefan Ruppert (C) 1996-1998. All rights reserved!@{deffont}@{fg text}@{line}@{jleft}
  16. @{settabs 30}
  17.  
  18. @{m_name Menu}
  19. @{" Copyright "    Link "Copyright"    }@{tab}Some legal stuff@{line}
  20. @{" Introduction " Link "Introduction" }@{tab}Why a replacement for MultiView ?@{line}
  21. @{" Feature List " Link "FeatureList"  }@{tab}an overview@{line}
  22. @{" Restrictions " Link "Restrictions" }@{tab}of the unregistered Version@{line}
  23. @{" Installation " Link "Installation" }@{tab}Installation@{line}
  24. @{" Invocation "   Link "Invocation"   }@{tab}Command line options / ToolTypes@{line}
  25. @{" Configuration " Link "Configuration"}@{tab}Adapt to your needs@{line}
  26. @{" Using "        Link "Using"        }@{tab}Keybindings and menus@{line}
  27. @{" ARexx "        Link "DTWindowRexx.hguide/main"}@{tab}ARexx commands@{line}
  28. @{" To Do "        Link "ToDo"         }@{tab}Future plans@{line}
  29. @{" Address "      Link "SR.hguide/main"}@{tab}How you can reach me@{line}
  30.  
  31. @{separator}@{b}Note:@{ub} For viewing hypertext and text files with my
  32. hypertext.datatype UniView requires version 40.24 or above of the
  33. hypertext.datatype. Earlier versions of this datatype may crash with UniView.
  34. Sorry!
  35. @endnode
  36. @node Copyright "UniView.hguide/Copyright"
  37.  
  38. @{m_name "Legal stuff"}
  39. UniView and dtwindow.class is part of the @{"HTDS" Link HTDS.hguide/main}-Shareware licence.
  40. If you want full functionality you have to register. Otherwise you can use the
  41. @{"unregistered" Link Restrictions} version without pay the Shareware fee, if you send
  42. me an @{"email" Link SR.hguide/Addresses} or a @{"postcard" Link SR.hguide/Addresses}.
  43.  
  44.  
  45. Permission is hereby granted to distribute the program's archive
  46. containing the executable's and documentation for non-commercial
  47. purposes as long as the archive and its contents are not modified in
  48. any way.
  49.  
  50.  
  51. It is forbidden to include this archive in any kind of software
  52. collection except the Fish Amiga-Library, Meeting Pearls CD's,
  53. Aminet FileServer or BBS fileareas or by a explicit permission
  54. from the author !
  55.  
  56.  
  57. No guarantee of any kind is given that the programs described in
  58. this document are 100% reliable. You are using this material at your
  59. own risk. The author takes no responsibility for any damage which is
  60. caused by using these programs.
  61.  
  62.  
  63. Stefan
  64.  
  65.  
  66. Copyright (C) 1996-1998 by @{"Stefan Ruppert" Link SR.hguide/main}
  67.  
  68. @endnode
  69. @node Introduction "UniView.hguide/Introduction"
  70.  
  71. @{m_name "Introduction"}
  72. Why a replacement for MultiView some can ask? Well, here is a short list of
  73. my reasons :
  74.  
  75. MultiView ...
  76. @{itemize}
  77. @{item}has several bugs. For example the left and top values aren't consistent
  78. handled by mouse and keyboard.
  79. @{item}doesn't support standard datatypes attributes like author, copyright and such.
  80. @{item}isn't configureable at all.
  81. @{item}can't run arexx scripts.
  82. @{enditemize}
  83.  
  84. Ok, UniView isn't perfect right now, but it gives more power to the user I think.
  85. @endnode
  86. @node FeatureList "UniView.hguide/Feature List"
  87.  
  88. @{m_name "Feature List"}
  89. @{itemize}
  90. @{item}MultiView compatible
  91. @{item}Complete Object-Orientated using BOOPSI (startup.class, dtwindow.class)
  92. @{item}Configureable @{"menus" link Using#menus} through resource files
  93. @{item}AppWindow/AppIcon support
  94. @{item}Datatype @{"object dependent menu" link Using#dependent}
  95. @{item}Document menu (See @{"restrictions" link Restrictions})
  96. @{item}Many @{"ARexx" Link DTWindowRexx.hguide/main} commands
  97. @{item}Able to run ARexx scripts (See @{"restrictions" Link Restrictions}).
  98. @{item}Uses StartUp class for startup procedure
  99. @{item}Numeric pad support
  100. @{enditemize}
  101.  
  102. @endnode
  103. @node Restrictions "UniView.hguide/Restrictions"
  104.  
  105. @{m_name "Restrictions of unregistered Version"}
  106. The following functions are only available in the @{"registered" Link Registration} version.
  107.  
  108. @{enumerate}
  109. @{item}The document menu :@{line}
  110. This menu enables you fast access to often needed documents. It scans the
  111. @{"PROGDIR:Documents/" link PROGDIR:Documents/main} directory and creates
  112. a menu item for each directory entry. You can also use a link to a document.
  113.  
  114.  
  115. @{item}Running ARexx scripts :@{line}
  116. The RX command is used to launch ARexx scripts
  117. @{endenumerate}
  118.  
  119. @endnode
  120. @node Installation "UniView.hguide/Installation"
  121.  
  122. @{m_name "Installation"}
  123. @{enumerate}
  124. @{item}Copy `classes/startup.class' and `classes/dtwindow.class' to `Sys:Classes'
  125.  
  126.  
  127. @{item}Install all other Files to a place of your choice.
  128.  
  129.  
  130. @{item}If you have the HTDS.key file, create `ENVARC:DataTypes/dtwindow.prefs' and
  131. `ENV:DataTypes/dtwindow.prefs' with the following contents :@{line}
  132. KEYFILE <full-keyfile-path> or place the HTDS.key into the KeyFiles: or KeyPath:
  133. directory.
  134. @{endenumerate}
  135.  
  136. @endnode
  137. @node Invocation "UniView.hguide/Command line options / ToolTypes"
  138.  
  139. @{m_name "Command line options / ToolTypes"}
  140. The command line options and ToolTypes are exactly the same, because of the
  141. usage of the startup.class. The class provides for the client program one
  142. interface of these to startup methods. It uses the normal AmigaDOS template
  143. string.
  144.  
  145. @{m_name "Template"}
  146. FILE,NODE/K,CLIPBOARD/S,CLIPUNIT/N/K,SCREEN/S,PUBSCREEN/K,REQUESTER/S,
  147. BOOKMARK/S,FONTNAME/K,FONTSIZE/N/K,BACKDROP/S,WINDOW/S,PORTNAME/K
  148.  
  149. @{definition}
  150. @{defterm}FILE
  151. @{defdata}file to open
  152.  
  153. @{defterm}NODE
  154. @{defdata}If the file consists fo several nodes, open the node given here
  155.  
  156. @{defterm}CLIPBOARD (not yet implemented)
  157. @{defdata}indicate that the clipboard should be used instead of a file
  158.  
  159. @{defterm}CLIPUNIT (not yet implemented)
  160. @{defdata}specifies the clipboard unit
  161.  
  162. @{defterm}SCREEN
  163. @{defdata}specifies that a own screen should be opened
  164.  
  165. @{defterm}PUBSCREEN
  166. @{defdata}the window should be opened on the specified public screen.
  167.  
  168. @{defterm}REQUESTER (not yet implemented)
  169. @{defdata}is there for MultiView compatiblity. But what does it ?
  170.  
  171. @{defterm}BOOKMARK
  172. @{defdata}tries to open the bookmark file (PROGIDR:Bookmarks)
  173.  
  174. @{defterm}FONTNAME
  175. @{defdata}specifies the name of the font used for the object
  176.  
  177. @{defterm}FONTSIZE
  178. @{defdata}specifies the height of the font used for the object
  179.  
  180. @{defterm}BACKDROP
  181. @{defdata}opens the window in backdrop mode
  182.  
  183. @{defterm}WINDOW
  184. @{defdata}opens the window without the need of specifying a file
  185.  
  186. @{defterm}PORTNAME
  187. @{defdata}use the given name as the ARexx port
  188.  
  189. @{enddefinition}
  190. @endnode
  191. @node Configuration "UniView.hguide/Adapt to your needs"
  192.  
  193. @{m_name "Adapt to your needs"}
  194. @{enumerate}
  195. @{item}dtwindow.class :@{line}@{line}
  196. The behaviour of this class can be controlled through the preference
  197. file 'Env:DataTypes/dtwindow.prefs'. You can specify some options according
  198. to the following ReadArgs() templates :
  199.  
  200. @{definition}
  201. @{defterm}KEYFILE/K/A
  202. @{defdata}The KEYFILE template specifies the full filename to the
  203. dtwindow.class/HTDS keyfile. This file enables the full functionality of
  204. dtwindow.class and HTDS.
  205.  
  206. @{defterm}ASL/S,LEFT/N/K,TOP/N/K,WIDTH/N/K,HEIGHT/N/K
  207. @{defdata}The ASL template is used to define the intial dimensions of the Asl
  208. file requester.
  209.  
  210. @{defterm}WINDOW/S,LEFT/N/K,TOP/N/K,WIDTH/N/K,HEIGHT/N/K
  211. @{defdata}The WINDOW template is used to define the initial dimensions of the
  212. datatype window its5elf.
  213.  
  214. @{defterm}FLAGS/S,APPICON/S,NUMPAD/S,BACKDROP/S
  215. @{defdata}The FLAGS template specifies some flags for the datatype window.
  216. Currently only the APPICON flag is available. If set the dtwindow.class creates
  217. a AppIcon on the workbench screen if the window is opened on an own or public
  218. screen. The NUMPAD flag enables the usage of the numeric pad keys. BACKDROP is
  219. used to open the window as a backdrop window as default.
  220. @{enddefinition}
  221.  
  222. @{item}UniView :@{line}@{line}
  223. UniView searches for configuration files within the following directories :
  224. `PROGDIR:Prefs' and `Env:UniView'. It tries to open a file with the name of
  225. the public screen the window should open. This file is created if you chose
  226. the 'Save as default' menu item in the `Preference' menu.@{line}
  227. So if you run
  228. @{line}@{line}
  229. @{m_code "UniView S:Startup-Sequence PUBSCREEN=ShowDVI-PubScr"}
  230. @{line}@{line}
  231. UniView will try to open a preference file called `ShowDVI-PubScr'.
  232. @{line}@{line}
  233. This file contains the same preferences as the global `dtwindow.prefs' file
  234. without the KEYFILE template.
  235. @{endenumerate}
  236.  
  237. @endnode
  238. @node Using "UniView.hguide/Keybindings and menus"
  239. @next ToDo
  240.  
  241. @{m_name "Keybindings"}
  242. @{settabs 20}
  243. Key   @{tab}Description@{line}@{code}
  244. @{separator}
  245. ESC   @{tab}quits the window
  246. Space @{tab}show next page
  247. @{body}@{cleartabs}
  248.  
  249. @{label menus}
  250. @{m_name "Menus"}
  251. The described menu here is only the default menu configuration, which is part
  252. in the standard distribution archive. Because of the configureable menu system,
  253. this may differ from the current settings. See @{"writing own menu entries" link MenuFiles}
  254.  
  255.  
  256. @{settabs 15 30 45}
  257. menu@{tab}item@{tab}subitem@{tab}command@{line}@{code}
  258. @{separator}
  259. Project
  260. @{tab}Open ...   @{tab}@{tab}@{"OPEN" link DTWindowRexx.hguide/OPEN}
  261. @{tab}ReOpen     @{tab}@{tab}@{"RELOAD" link DTWindowRexx.hguide/RELOAD}
  262. @{tab}~~~~~~~~~~~~~~
  263. @{tab}Save As ...@{tab}@{tab}@{"SAVEAS" link DTWindowRexx.hguide/SAVEAS}
  264. @{tab}Print      @{tab}@{tab}@{"PRINT" link DTWindowRexx.hguide/PRINT}
  265. @{tab}~~~~~~~~~~~~~~
  266. @{tab}About     »@{tab}@{tab}@{"ABOUT" link DTWindowRexx.hguide/ABOUT}
  267. @{tab}@{tab}Program@{tab}@{"ABOUT PROGRAM" link DTWindowRexx.hguide/ABOUT}
  268. @{tab}@{tab}Object @{tab}@{"ABOUT OBJECT" link DTWindowRexx.hguide/ABOUT}
  269. @{tab}@{tab}User   @{tab}@{"ABOUT USER" link DTWindowRexx.hguide/ABOUT}
  270. @{tab}~~~~~~~~~~~~~~
  271. @{tab}Quit       @{tab}@{tab}@{"QUIT" link DTWindowRexx.hguide/QUIT}
  272. Edit
  273. @{tab}Mark       @{tab}@{tab}@{"MARK" link DTWindowRexx.hguide/MARK}
  274. @{tab}Copy       @{tab}@{tab}@{"COPY" link DTWindowRexx.hguide/COPY}
  275. @{tab}~~~~~~~~~~~~~~
  276. @{tab}Select all @{tab}@{tab}@{"MARK ALL" link DTWindowRexx.hguide/MARK}
  277. @{tab}Clear selected@{tab}@{tab}@{"CLEARSELECTED" link DTWindowRexx.hguide/CLEARSELECTED}
  278. Window
  279. @{tab}Use own screen@{tab}@{tab}@{"SCREEN" link DTWindowRexx.hguide/SCREEN}
  280. @{tab}~~~~~~~~~~~~~~
  281. @{tab}Minimal   @{tab}@{tab}@{"WINDOW MIN" link DTWindowRexx.hguide/WINDOW}
  282. @{tab}Normal    @{tab}@{tab}@{"WINDOW NORM" link DTWindowRexx.hguide/WINDOW}
  283. @{tab}Maximal   @{tab}@{tab}@{"WINDOW MAX" link DTWindowRexx.hguide/WINDOW}
  284. @{tab}~~~~~~~~~~~~~~
  285. @{tab}Zoom      @{tab}@{tab}@{"WINDOW ZOOM" link DTWindowRexx.hguide/WINDOW}
  286. @{tab}Unzoom    @{tab}@{tab}@{"WINDOW UNZOOM" link DTWindowRexx.hguide/WINDOW}
  287. @{tab}~~~~~~~~~~~~~~
  288. @{tab}Foreground@{tab}@{tab}@{"WINDOW FRONT" link DTWindowRexx.hguide/WINDOW}
  289. @{tab}Background@{tab}@{tab}@{"WINDOW BACK" link DTWindowRexx.hguide/WINDOW}
  290. Preference
  291. @{tab}Save as default@{tab}@{tab}   @{"SNAPSHOT" link DTWindowRexx.hguide/SNAPSHOT}
  292. @{tab}~~~~~~~~~~~~~~~
  293. @{tab}NumPad         @{tab}@{tab}   @{"NUMPAD" link DTWindowRexx.hguide/NUMPAD}
  294. @{tab}Backdrop       @{tab}@{tab}   @{"BACKDROP" link DTWindowRexx.hguide/BACKDROP}
  295. Files
  296. @{tab}Startup-Sequence@{tab}@{tab}   @{"OPEN 'S:Startup-Sequence'" link DTWindowRexx.hguide/OPEN}
  297. @{body}@{cleartabs}
  298.  
  299. @{label dependent}
  300. @{m_name "Datatype object dependent menu"}
  301. This menu is created by loading a menu resource file for each derived class.
  302. For example a menu for a ILBM picture is created by loading the menu resource
  303. files : ilbm, picture and datatypesclass.
  304.  
  305. @{m_name "Document menu"}
  306. This menu is created by scanning the document dir (PROGDIR:Documents) and add a
  307. menu item for each file within this directory. Thus you can creat a list of
  308. favorite documents, which can easily reached.
  309.  
  310. @endnode
  311. @node MenuFiles "UniView.hguide/Menu resource files"
  312.  
  313. @{m_name "Menu resource files"}
  314. All menu resource files are placed in the @{"PROGDIR:Menu/<Language>" link PROGDIR:Menu/main}
  315. directory. The main menu resource file is the `Default' file, which contains the default menu
  316. definitions.
  317.  
  318. @{par}If you have a registered version of UniView a datatype object dependend menu is created
  319. by loading the menu resource file for each derived class of the object. Thus if you view a
  320. directory object, a menu will be created by loading the menu resource files : `directory',
  321. `hypertext' and `datatypesclass'.
  322.  
  323. @{m_name "Structure of a menu resource file"}
  324. Each menu resource file is parsed using the @{"ReadArgs()" link dos/ReadArgs()} function.
  325. The following template is used for this :
  326.  
  327. @{m_code "MENU/A/K,LABEL/K/A,COMMKEY/K,DISABLED/S,TOGGLE/S,CHECKIT/S,CHECKED/S,EXCLUDE/S,FUNCTION/K/F"}
  328.  
  329. @{definition}
  330. @{defterm}MENU
  331. @{defdata}defines the type of the menu entry. This can be one of the following three :
  332. @{definition}
  333. @{defterm}TITLE@{defdata}Defines a title menu entry
  334. @{defterm}ITEM@{defdata}Defines a menu item entry
  335. @{defterm}SUB@{defdata}Defines a sub menu item entry
  336. @{enddefinition}
  337. @{defterm}LABEL
  338. @{defdata}is used to specify the text for this menu entry
  339. @{defterm}COMMKEY
  340. @{defdata}is used to specify the menu shortcut for this menu entry
  341. @{defterm}DISABLED
  342. @{defdata}is used to initially disable the menu entry
  343. @{defterm}TOGGLE
  344. @{defdata}if this is specified the menu entry should be toggled
  345. @{defterm}CHECKIT
  346. @{defdata}if this is specified the menu entry has a check mark
  347. @{defterm}CHECKED
  348. @{defdata}if this is specified the menu entry is initially checked
  349. @{defterm}EXCLUDE
  350. @{defdata}defines a mutual exclusive menu entry
  351. @{defterm}FUNCTION
  352. @{defdata}is used to specify the @{"ARexx command" link DTWindowRexx.hguide/main} to be executed if this menu entry was selected
  353. @{enddefinition}
  354. @endnode
  355. @node ToDo "UniView.hguide/To Do"
  356. @prev Using
  357.  
  358. @{m_name "Future plans"}
  359. @{itemize}
  360. @{item}Fixing bugs (never written a bug free program, I think)
  361.  
  362. @{item}More and better documentation. Please feel free to send me
  363. some suggestions or corrections
  364.  
  365. @{item}More datatype dependent menus and ARexx scripts.
  366. @{enditemize}
  367. @endnode
  368.  
  369.