home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / prodrivers_451.lzh / 'Liner / Docs / 'Liner.doc < prev    next >
Text File  |  1991-02-06  |  15KB  |  265 lines

  1.                  'Liner
  2.                   Version 2.11
  3. ---------------------------------------------------------------------------
  4. 'Liner V2.11 is copyright ©1988, 1989, 1990 by Dave Schreiber.  All rights
  5. reserved.
  6.  
  7. 'Liner may be freely distributed as long as the following terms are
  8. observed:
  9.  
  10.    1.  'Liner is distributed without cost, except for the cost of media,
  11.        copying, shipping, labels, and any applicable taxes.
  12.    2.  All copyright messages in 'Liner, its source code, and its
  13.        documentation are not changed.
  14.    3.  If you use code from 'Liner in other programs, please note this
  15.        along with 'Liner's copyright message in the documentation and/or
  16.        source code.
  17.  
  18. After long deliberation, I've decided to make 'Liner shareware.  If you use
  19. 'Liner, a donation of $10 would be greatly appreciated, as well as acting
  20. as a motivator for me to enhance the program (see the end of this file for
  21. ideas I have for future improvements).    My address is below, and I
  22. encourage you to send in suggestions, bug reports, etc. even if you don't
  23. send in a donation.  Thanks.
  24.  
  25. I also request that if you distribuate 'Liner, you keep the source code
  26. with the executable program.  Thanks.
  27.  
  28. I'd like to give special thanks to Chad Netzer, who has tolerated being a
  29. beta-tester for 'Liner V2.00 for a long time.  His thoroughness has insured
  30. that almost all of 'Liner bugs have been exterminated.  I appreciate his
  31. work very much.
  32.  
  33. !!!--->NOTE:  'Liner Version 2.11 _requires_ Workbench/Kickstart 2.00 or
  34. higher!  If you're running 1.3, use 'Liner V2.00 (on Fish disk #394)
  35. instead.  Also, the file 'NewStuff' details what's changed between version
  36. 2.00 and 2.11.
  37.  
  38.      Once upon a time I tried writing a long outline with a word processor.
  39.  It was also the last time.  I wrote 'Liner so I could leave the mundane
  40. parts of writing an outline to the computer.  In essence, what 'Liner does
  41. is to let you type into an outline form, allowing you rearrange blocks of
  42. text without having to renumber everything.  It has most of the features of
  43. commercial outliners, although it is missing a few, like the ability to
  44. 'collapse' an outline.  It also has a few features that I haven't seen on
  45. commercial outliners, such as an ARexx port.
  46.  
  47.      Before starting 'Liner, you should assign liner: to the directory that
  48. you have placed 'Liner into.  The preferences for 'Liner will also be
  49. stored in that directory.  Once that's done, the program can be started
  50. from either Workbench or the CLI.  From Workbench, double click on the
  51. icon, or double click on the icon of an outline that you wish to work on.
  52. From the CLI, type either:
  53.      1> RUN 'LINER
  54. or just:
  55.      1> 'LINER
  56. Once you get in 'Liner, and assuming you haven't double clicked on an
  57. outline's icon, you are presented with a I.:  this is the first line of a
  58. new outline.  You can either load an old outline (see below) or start
  59. typing a new one.  I've included a sample outline for you to practice on,
  60. called Sample_Outline.    If you double clicked on an outline's icon, you can
  61. go straight to editing, as the old outline will have already been loaded.
  62.  
  63.      Editing a document once you typed it in is fairly straightforward.
  64. The arrows keys work normally when used by themselves, and you can also
  65. position the cursor by pointing with the pointer and pressing the left
  66. mouse button.  Shift-left-arrow and shift-right-arrow move the cursor a
  67. word at a time, instead of a letter at a time.    Shift-up-arrow moves up one
  68. screenful of text, while shift-down-arrow moves down the same amount.
  69. Control-left-arrow and control-right-arrow move the cursor to the beginning
  70. and end of a line, respectively.  Control-up-arrow moves to the top of the
  71. documents, and control-down-arrow moves to the end.  The TAB key controls
  72. what level the current line of text is in.  For example, type a line and
  73. press TAB.  The line moves in and the number or letter in front of it
  74. changes.  For example:
  75.  
  76.     I.    This is a test
  77. would turn into:
  78.      A.  This is a test
  79.  
  80. Shift-TAB has the opposite effect.
  81.  
  82.      Performing operations on blocks of text requires that you highlight
  83. the text you want to manipulate.  There are two forms of highlighting in
  84. 'Liner:  character and line.  Character highlighting involves highlighting
  85. individual characters on one line only.  To do it left to right, double
  86. click on the first character you want to highlight, then double click on
  87. the character after the last character you want to highlight.  To do it the
  88. other way, just double click on the first and last character.  Once you
  89. have highlighted your text, you can replace it with other text (just start
  90. typing), cut, copy, and delete it (see the Edit menu description below, or
  91. press backspace or DEL).
  92.  
  93.      Line highlighting is similar to character highlighting:  for both
  94. directions double click on the first and last lines.  There are several
  95. things you can do with a highlighted block of lines:  you can shift the
  96. entire block of text in and out with TAB and the SHIFT-TAB combination, you
  97. can delete a block of lines by pressing the backspace key, and you can cut
  98. and paste (again, see the Edit menu instructions below).
  99.  
  100.      Versions 2.00 and later of 'Liner now supports something version 1.32
  101. didn't:  multiple lines per number.  If you are typing in some text and you
  102. reach the end of the line, press SHIFT-RETURN to get another line, known as
  103. a "continuation."  A continuation is the same as a regular line, except
  104. that it has no number before it, and is "attached" to the regular line
  105. above it;  in effect, a parent and its continuations act as a single unit.
  106. If you TAB a parent line in or out, to change its level, its continuation
  107. lines will also be TAB'd in or out.  You cannot break apart a block of
  108. continuation lines with a regular line (you can have as many continuations
  109. attached to a regular line, as you wish).  If you highlight a block of
  110. continuation lines and CUT them, the lines highlighted are deleted, but all
  111. the continuation lines in that block are put into the clipboard (this is to
  112. prevent being able to paste continuation lines without a parent to control
  113. their attributes).  Trying to delete a parent without deleting its children
  114. at the same time isn't allowed.  COPYing continuation lines will also
  115. include the entire block.
  116.  
  117.      'Liner uses five menus.  The first, 'Project', holds what you'd expect
  118. it to:    'New', 'Open', 'Save', 'Save As', 'Print', 'About', and 'Quit'.
  119. Functions that could result in a loss of data ('New', 'Open', and 'Quit')
  120. ask for confirmation before performing their function (they will not ask,
  121. however, if the outline hasn't been changed since it was last saved.  Note
  122. that you can tell if an outline has been changed by looking at the title
  123. bar:  an asterisk will appear if the file has been changed, and will
  124. dissappear when the outline is saved).
  125.  
  126.      (Now is a good time to note that the file format of 2.00 and 2.11 is
  127. different than that of 1.32.  The addition of continuations made it a
  128. necessity;  I also took the opportunity to make the format more compact.
  129. In any case, 'Liner 2.11 can read both 1.32 and 2.x files, but writes in
  130. the 2.x format only (so someone with 1.32 couldn't read a file saved with
  131. 2.x)).
  132.  
  133.      Of all of the 'Project' menu's items, the 'Print' item is the only one
  134. that could be ambiguous.  It has two sub-items that let you chose where you
  135. want the printout to go.  'To Printer' sends it, naturally, to the printer
  136. (the number of lines per page is equal to the value in the 'Length'
  137. variable in Preferences, minus one.  'To Disk' saves it as an ASCII file
  138. (please note, however, that 'Liner cannot read in ASCII files and convert
  139. them into outlines).
  140.  
  141.      The next menu is Edit, which is again fairly standard.  'Cut', 'Copy',
  142. 'Paste', and 'Erase' do exactly what their names imply. However, their
  143. operation depends slightly on what is being manipulated.  With text on just
  144. one line, when it's cut, it's put in the Clipboard (pause, while the whole
  145. Amiga community gasps in shock and surprise...yes, that's right, the
  146. Clipboard).  What this means is that 'Liner can share text with any other
  147. application that supports the Clipboard, such as NotePad.  Of course,
  148. hardly any programs support the Clipboard, but the text had to go somewhere
  149. and the Clipboard seemed the best place to put it.  (however the clipboard
  150. is not used when a number of lines is pasted (although an ASCII copy of the
  151. CUT or COPYed lines is stored in the clipboard)).  When 'Paste' is
  152. selected, what is pasted is whatever was last cut, i.e. if a number of
  153. lines were cut, they'll be pasted back in again, but if text on one line is
  154. cut or copied, whatever is in the Clipboard will be pasted into the outline
  155. ('Liner defaults to text and not line pastes on startup).
  156.  
  157.      The next menu is the 'Search' menu.  The first item, 'Search/Replace',
  158. controls the searching and replacing capabilities of 'Liner.  When
  159. selected, a requestor pops up that let you enter the search string and the
  160. string to replace it with.  It also lets you select whether the search will
  161. be case sensitive, whether the search string can be embedded in another
  162. word, and whether or not a replace is performed.  Once finished, clicking
  163. on OK does the search.    Clicking on Cancel cancels the search and replaces
  164. what was entered in the requestor with what was there before the requestor
  165. was brought up (the close gadget has the same effect as Cancel).    Wait
  166. cancels the search as well, but keeps the new information entered in the
  167. requestor.
  168.  
  169.      There are two other items in the 'Search' menu.  'Next' searches for
  170. (and replaces if that was selected) the next instance of the search string.
  171.  'Replace All' does a global search/replace, either with verification
  172. before doing the replace (where you can chose to go ahead, skip that
  173. occurance, or cancel altogether), or without verification.
  174.  
  175.      The Prefs menu contains a number of items that let you control various
  176. aspects of 'Liner and your document.  'Icons', when selected, tells 'Liner
  177. to create an associated icon whenever it saves an outline and when it saves
  178. the preferences.  When not selected, no icons are created.  'Double
  179. spacing' switches between single and double spacing.
  180.  
  181.      'Starting Level' determines which symbols are used on what level.  For
  182. example, on the default setting of "I.", the first level uses Roman
  183. numerals, then capital letters, etc. all the way down to small letters with
  184. parenthesis.  If you were to choose "1.", it would go 1. a. 1) a) I. A.
  185. instead of I. A. 1. a. 1) a).  This is to let you do things like lists or
  186. top-down designs where the information should be numbered with Arabic
  187. numerals or start with some other symbol.
  188.  
  189.      The next two items control the remaining aspects of the display.
  190. 'Screen colors' lets you adjust the colors of the screen (a gadget marked
  191. 'Reset' will undo any color changes you make before you close the color
  192. selection window).  Please note that the color requestor will limit you in
  193. your color choices when using a productivity mode;  this is due to
  194. limitations in productivity mode itself.
  195.  
  196.      'Screen Type' is used to determine what screen type will be used.
  197. 'Liner supports eight screen types currently:  non-interlaced (in NTSC or
  198. PAL), interlaced (in NTSC or PAL), productivity, productivity-interlaced,
  199. and A2024 (in both 10 and 15Hz forms).  The last three items determine
  200. whether an interlaced or non-interlaced screen will run in NTSC, PAL, or
  201. the hardware default modes (since the other four screen types can only be
  202. used with the hardware default screen type;  the choices NTSC and PAL are
  203. ghosted when using any of those types).
  204.  
  205.      'Define Macros' I will skip for the time being and move on to the last
  206. two items.  'Load prefs' loads the preferences for 'Liner off the disk;
  207. its useful for when you've made a bunch of preferences changes to 'Liner
  208. and want to undo them all.  'Save Prefs' saves the current 'Liner settings
  209. (which includes the directories used when you last SAVEed or OPENed a
  210. document, and when you last printed a document to disk) to the file
  211. liner:liner.prefs, which is read upon startup in order to set the default
  212. 'Liner preferences.
  213.  
  214.      The final feature I've included is a two-way ARexx port.  A list of
  215. the 'Liner ARexx commands, along with descriptions and usage guidelines,
  216. can be found in the file ARexx_Commands.  There are also example scripts
  217. that can help you get a feel for using ARexx with 'Liner.
  218.  
  219.      Not only can 'Liner ARexx macros be run from the CLI;  they can be run
  220. from within 'Liner itself.  Up to four macros can be assigned to the items
  221. under the menu 'ARexx';  they and the names they go under in the ARexx menu
  222. are defined using the 'Define Macros' item under the 'Prefs' menu.
  223.  
  224.      Now that I've explained the operation of the program, it's time for a
  225. little more technical stuff.  'Liner was compiled with Lattice C V5.10;
  226. most of the source is included.  The source that isn't included is:
  227. minrexx.o (part of Tomas Rockiki's distribution on Fish Disk #188) and
  228. rexxglue.o (ditto).  Everything else is present.  To compile, simply CD to
  229. the directory 'Liner is in and execute the script "lcliner".
  230.  
  231.      Finally, I'd like to outline (!) my future plans for 'Liner.  I've got
  232. a list of features I would like to add to 'Liner, including:
  233.      1.  Better multiple line support (with true word-wrapping)
  234.      2.  Margins
  235.      3.  Outline collapse
  236.      4.  A better highlighting method
  237.      5.  A scroll bar
  238.      6.  Headers/footers/page numbers
  239.      7.  Support for multiple documents
  240.  
  241. They're in order of what I consider to be their importance.  The next
  242. version of 'Liner will take care of at least the first three items, and
  243. more of them if I have the time (I'm planning on hacking through my
  244. Christmas vacation;  debugging starts on Jan 2, 1991.  Whatever's done
  245. before that date is what goes into the next version of 'Liner (which will
  246. probably be called either 2.50 or 3.00, depending on how many features I
  247. add in)).
  248.  
  249.      Known bugs:  font support, while much improved over 2.00, is still not
  250. perfect (see the file 'NewStuff' for details).  This will be fixed in the
  251. next version.  Also, I can't guarantee that A2024 support works, as I don't
  252. have an A2024 to test it out on.  But from what testing I have been able to
  253. do, it looks like there isn't a problem.
  254.  
  255.      That's it!  If you have any questions, comments, bug reports
  256. especially, I can be reached at:
  257.  
  258. Usenet:    davids@slugmail.ucsc.edu
  259. US Mail:   Dave Schreiber
  260.        1234 Collins Lane
  261.        San Jose, CA   95129-4208 (during the summer, but
  262.        mail that comes to that address will be forwarded
  263.        to me if I'm at school).
  264.  
  265.