home *** CD-ROM | disk | FTP | other *** search
/ Rockford Magazine / Rockford_Magazine_040_19xx_-_de_Disk_1_of_5_Side_A.d64 / browser.doc < prev    next >
Text File  |  2023-02-26  |  21KB  |  527 lines

  1.                   +++++++++++ Browser V2 +++++++++++
  2.  
  3.                             by Rod Gasson
  4.  
  5.             90 Hilliers Rd.  Reynella 5161,  Sth.Australia
  6.                             June 29th  1995
  7.    -----------------------------------------------------------------
  8.  
  9.    This program is FREEWARE. It may be freely copied, distributed and used.
  10. It must NOT be sold or distributed within the archives of any other program
  11. without written consent of the author, Rod Gasson.
  12.  
  13. It must NOT be distributed without this text file intact.
  14. It must NOT be altered in any way other than for personal use.
  15. It must NOT be distributed in any form other than the original .SFX
  16. (Self Extracting Archive) format, or a UUencode (or similar) of same.
  17.  
  18. This program comes with no guarantees, express or implied.
  19.  
  20. In case you aren't sure exactly what FREEWARE is, here are the means by which
  21. an author can release his/her software, with a description of each:
  22.  
  23. Public domain:  The author has relinquished all rights to the program.
  24.                 PD programs can be freely modified and distributed as the
  25.                 user sees fit.  Don't expect any support or bug fixes.
  26.  
  27. Freeware     :  The author maintains all rights to the program. It may be
  28.                 freely used and distributed but only as long as any
  29.                 distribution clauses are adhered to. (See above for an
  30.                 example of such clauses).
  31.  
  32.                 Freeware is essentially the same as shareware but no payment
  33.                 is required, hence the name FREEware. Don't expect any
  34.                 support or bug fixes.
  35.  
  36. Donorware#1  :  Similar to Freeware, but the author gratefully accepts
  37.                 voluntary donations.
  38.  
  39. Donorware#2  :  Similar to Shareware but the author asks that voluntary
  40.                 monetary contributions be sent to a charity.
  41.  
  42. Shareware    :  Similar to Freeware. The author maintains all rights to
  43.                 the program, it may be freely distributed in accordance to
  44.                 any shareware agreements. Payment for continued use of the
  45.                 program is a legal requirement. Generally, shareware
  46.                 programs are well supported by the author.
  47.  
  48. Commercial   :  This is where you have to pay your money before you even see
  49.                 the program. If it isn't what you expect that's tough luck.
  50.                 If it has bugs and you are lucky enough that the program is
  51.                 still supported then expect to pay more to get it fixed. You
  52.                 usually pay more than the program is actually worth because
  53.                 you are also paying for advertising and distribution costs.
  54.  
  55. IMPORTANT:
  56.       Shareware, Freeware, PD, and Commercial are METHODS OF DISTRIBUTION. It
  57.       does not in any way reflect the quality of the software itself, nor
  58.       does the method of distribution relieve the end user of any legal
  59.       responsibilities. It is just as much of a theft to use shareware (or
  60.       required donorware) software beyond the evaluation period, as it is to
  61.       keep a car that you have taken for a test drive and not paying for it.
  62.  
  63. I have elected to release this program as FREEware. Whilst I won't reject any
  64. donations sent to me for this program, I will not class it as donorware
  65. because I am not actively asking for or expecting anything for it.
  66.  
  67.  
  68.                   +++++++++++ Browser V2 +++++++++++
  69.  
  70.  
  71. What is Browser ?
  72. -----------------
  73.  
  74. Browser, in its simplest form, can be considered little more than a text
  75. reader.  However, it does have several features that makes it stand
  76. apart from all other CBM text readers, including:
  77.  
  78.  * The ability to read HUGE text files and BASIC listings (up to
  79.    about 16meg) with paging and backscrolling facilities.
  80.  
  81.                 >>>>>   REU is NOT required.  <<<<
  82.  
  83.  * Handles QWK mail packets and Fidonet compliant .PKT files of almost
  84.    any length for both the entire packet AND the individual messages
  85.    they contain.
  86.  
  87.  * Views ANSI graphic files, both single screens and multiple page 
  88.    types (with paging and backscrolling)
  89.  
  90.  * ANSI debug mode that displays the ANSI escape sequences as they are
  91.    being performed.
  92.  
  93.  * Displays character sets from almost all CBM programs (Desterm,
  94.    Dialogue, BASIC8, etc)
  95.  
  96.  * Program files can be RUN.  (C128 files only)
  97.  
  98.  * Screen blanking.
  99.  
  100.  * Fully compatible with 1541/71/81, FDxx, CMD Hard Drives and
  101.    CMD's Ramlink.
  102.  
  103. *  Supports 1581 and CMD sub-directories.
  104.  
  105.  * User configurable screen size.
  106.  
  107.  * 100% machine code for maximum speed.
  108.  
  109.  * Inbuilt DOS wedge.
  110.  
  111.  * Small in size (Just over 10k including the 2k used for the internal
  112.    ANSI capable character set).
  113.  
  114.  * Easy to use.
  115.  
  116.  * Cheap.  (costs nothing)
  117.  
  118.  
  119. Requirements
  120. ------------
  121. The Minimum requirements for Browser are:
  122.  
  123.  * The best 8 byte computer ever made. (The C128 you fool).
  124.  * An 80 column monitor.
  125.  * A disk drive.  (would you wanna read a 16meg file from datasette?)
  126.  
  127. A CMD RAMLink is *HIGHLY RECOMMENDED* not only for its speed, but
  128. because Browser will work your physical drives like they've never been
  129. worked before!
  130.  
  131.                                                                        Page 2
  132.  
  133.  
  134.                   +++++++++++ Browser V2 +++++++++++
  135.  
  136. Browser doesn't really need much in the way of documentation 'cos almost
  137. all options are shown onscreen.  If you haven't already run the program
  138. (you can use it to read this file), it really is little more than an
  139. enhanced text reader.
  140.  
  141. Browser selects drives, files, etc on a 'tree' type structure, starting
  142. with the drive selection, followed by partition selection, directories,
  143. subdirectories, and finally, files. Each 'level' being selected by using
  144. the cursor keys and return.  You can go back one 'level' at a time by
  145. pressing the backarrow key. At the top level (drive selection) pressing
  146. this key will exit the program. An alternate exit is to press the
  147. backarrow key from the options menu, this will leave the currently
  148. selected partition/directory 'active' on exit and is often a quicker
  149. and more desirable way to exit. (Aren't you glad you read this now?) <grin>
  150.  
  151. When you first run the program, a blue box is drawn on the screen, and a
  152. list of your disk drives will appear in numeric order. Cursor to the disk
  153. drive of choice and press return.  On CBM drives (1541, 1571, 1581), you
  154. will see a list of the files for the disk in the drive.
  155.  
  156. CMD owners will see "System" and a list of partitions. The "System"
  157. partition is the current active partition and subdirectory of the CMD drive.
  158. If you select a partition, the files and/or subdirectories in this partition
  159. will be displayed.
  160.  
  161. 1581 directories (CBM directories) ARE recognised by Browser and files can be
  162. read in these directories. Although it will recognise a CP/M partition on CMD
  163. hard drives, it can't actually access these. FDxx owners will note that 1581
  164. disks formatted with the FD drive will also have a CMD "System" partition and
  165. a 1581 partition/directory. You can select either and the contents of the
  166. disk will be displayed.
  167.  
  168. The files (as well as partitions and subdirectories) are colour coded in the
  169. following manner:
  170.  
  171. Green  - PRG       Lt Purple - CBM Directories
  172. Yellow - SEQ       Yellow    - CMD "System" dir
  173. Grey   - USR       Dk Purple - CMD Partitions
  174. Red    - REL       Cyan      - CMD Subdirectories
  175.  
  176. * See customising notes at the end of this file if you wish to alter these.
  177.  
  178. About the only file types which Browser will not display are REL, USR, GEOS
  179. and Screen Code files.  However, it WILL read QWKRR's USR files.
  180.  
  181. Cursor to the file of choice and press return.  A new menu will appear at the
  182. bottom of the screen:
  183.  
  184.       <A>scii  <P>etscii  a<N>si  <B>asic  <D>at  P<KT>  <R>un
  185.  
  186. Choose the type of file by pressing the appropriate key (lower case), or by
  187. moving the cursor and pressing <RETURN>, and the text will appear on the
  188. screen.
  189.  
  190. Note: <R>un will appear only if you've selected a PRG file.
  191.  
  192. If you selected the wrong type for the file (ie, selected "b" for BASIC
  193. instead of "p" for Petscii, the text will be displayed in the format
  194. selected. To view the file again properly, just press the stop key twice
  195. (to stop the text display and exit the file). Reselect the file and chose
  196. the the proper file type.
  197.                                                                        Page 3
  198.  
  199.  
  200. Viewing & Paging
  201. ----------------
  202.  
  203. Text is displayed within the window a 'page' at a time.
  204.  
  205.  
  206.  *  A 'page' is what is on screen at any given page break. *
  207.  
  208.  
  209. In the bottom right corner you will see "Page 1 of 1", which will be
  210. incremented as you continue to read the text.
  211.  
  212. You can use the spacebar and RETURN keys to page through text, or use
  213. Cursor down to scroll any subsequent text on a line by line basis. The
  214. DOWN Arrow key functions the same as the cursor down key. When scrolling
  215. text by line, you will note the page number changes to the next page when
  216. you you've reached the actual "page break" for the screen height and width
  217. you are using.
  218.  
  219. Browser V2 has reverse scrolling for all modes. The UP Arrow key (the one to
  220. the right of the "No Scroll" key) is the "page back" key. If you have been
  221. scrolling text (ie line by line), Browser will move you to the top of the
  222. page you are currently on and wait for the next keypress. Continuing to
  223. press this key will page the text in reverse order until you reach the first
  224. page of the file.
  225.  
  226. Page numbers are selectable in all modes. Simply type the number of the page
  227. you wish to move to at any page break. If you haven't already read that page
  228. number, Browser will move to the highest page that it has read.
  229.  
  230. Note : The drive error light might flash if you select the very last page
  231.        of a file. Ignore it. It will stop flashing when you read a lower
  232.        page number.
  233.  
  234. <STOP>
  235. In all modes, this will stop the reading of text. If you hit this key twice,
  236. it will return you to the files listing.
  237.  
  238.  
  239. <A>gain
  240. Pressing the "a" key at the end of a file will take you to to the beginning
  241. of the file.
  242.  
  243. A "semi-undocumented" keypress is the uparrow key next to the RESTORE key.
  244. It functions the same as if you had hit the "a" key. This key may or may not
  245. be in future versions, so remember, you didn't read about it here.  ;-)
  246.  
  247.  
  248.  
  249. Browsing Modes
  250. --------------
  251.  
  252. <A>SCII.
  253. Text produced by non CBM computers (and some CBM word processors).
  254.  
  255.  
  256. <P>ETSCII.
  257. CBM text files (doc files etc).
  258. Note: CBM colour graphics files are NOT supported at this time, nor are
  259.       they planned.
  260.  
  261.  
  262.  
  263.                                                                        Page 4
  264.  
  265.  
  266. A<N>SI
  267. IBM style colour graphics files (BBS logon screens etc).
  268.  
  269. Often, one of the first commands in an ANSI file is to clear the screen.
  270. Browser treats this as the first "page" but doesn't display it the first time
  271. (who needs to see a blank screen?). If you have an ANSI file which has more
  272. than one screen clear, these are considered as "pages" and you can browse
  273. them forward or back as you would any other file.
  274.  
  275. Note: Holding the shift key whilst selecting the 'n' for a<N>si file type
  276. will display ANSI files in 'debug' mode. The output will pause for a keypress
  277. prior to acting on the next ANSI escape sequence. The ANSI sequence about to
  278. be performed is displayed on the menu line.
  279.  
  280.  
  281. <B>ASIC.
  282. Colourised listings of BASIC programs.
  283.  
  284. When paging through a BASIC file sometimes the first line will appear
  285. corrupted. This is something which can not be easily corrected as Browser
  286. expects this to be a new BASIC line (therefore a line number). However, due
  287. to wrapping, this is not always going to be the case, so whatever is there
  288. gets converted to a number instead of being detokenised. This doesn't occur
  289. when scrolling forward because the file is being read in a sequential manner
  290. and the preceding carriage return signifies a new line. Most of the CBM
  291. graphics characters aren't displayed correctly in this mode either.
  292.  
  293.  
  294. <R>un
  295. Browser has the ability to RUN C128 programs. This will appear as an option
  296. for any PRG type file. It is up to you to only use this option for C128
  297. runable files. Trying to run a C64 program or other non runable programs
  298. will almost certain cause a lockup.
  299.  
  300. Almost all C128 programs are 'runable'. :-)
  301.  
  302.  
  303. <D>AT.
  304. QWK formatted files (as used by Offline mail readers for BBS usage)
  305.  
  306.  
  307. P<K>T
  308. The standard FidoNet compliant files used to move Fidonet mail.
  309.  
  310. Except where differences are noted, DAT and PKT files are treated the same
  311. and have the same options.
  312.  
  313. The message "header" field is displayed when viewing. The MSG (message)
  314. number is displayed in the top left corner, followed by the date, time and
  315. Conference field.
  316.  
  317. When viewing a DAT file, the Conference field will show a number which
  318. corresponds with the conference number and name in the control.dat file.
  319. In PKT mode, the actual Fidonet conference name is displayed.
  320.  
  321. Fidonet addresses may appear in the To and From fields. The appearance of
  322. these addresses depends on whether specific "kludgelines" are included in
  323. the message. Browser uses the MSGID and REPLY kludgelines for addressing.
  324.  
  325. Both modes show a "Flags" field, but these are not yet being used by Browser.
  326.  
  327.  
  328.  
  329.                                                                        Page 5
  330.  
  331.  
  332. You can return to a message you've previously read by typing in its number
  333. when at the *END of a message*.  It's easy at first to confuse this with
  334. paging (ie, typing in a message number at a page break) but with a little
  335. experience you'll see this is a very easy method to move to a specific
  336. message.
  337.  
  338. If you stop reading a file then start again (providing you haven't read any
  339. other file or changed directories) Browser will keep the "index" of how far
  340. you have read. Although you will be at MSG #1 again you can return to the
  341. highest read message (or any other message) by entering its number.
  342.  
  343. Note that as with paging, if you type in a message number higher than what
  344. Browser has read, it will tell you and move you to the highest message number
  345. that it has read.
  346.  
  347.  
  348. <N>ext
  349. The "n" key can be used at the page prompts (or the end of a message) to move
  350. to the next message. Please note that the data still needs to be read by the
  351. program at least once, so there may be a slight pause on long messages the
  352. first time reading through.
  353.  
  354.  
  355. <P>revious
  356. The "p" key can be used at any page prompt (or at the end of a message) to
  357. return to the previous message.
  358.  
  359.  
  360. The RIGHT Arrow (Next) and the LEFT Arrow (Previous) keys can be used at the
  361. end of messages. The UP Arrow (backpage) and DOWN Arrow (Cursor/line down)
  362. keys are available when reading DAT or PKT files.
  363.  
  364. Note: these are the directional keys to the right of the "No Scroll" key.
  365.  
  366.  
  367. Colours used when reading in DAT and PKT modes:
  368.  
  369. Grey      - Kludgelines
  370. White     - Plain text
  371. Cyan      - Quoted text.  Note that quotes are white. Only the actual quoted
  372.             material will appear as cyan. The logic was to show what the
  373.             person writing the message has added, even when quoting.
  374. Red       - Taglines (any line which begins with "...")
  375. Purple    - QWKRR braglines (any line which has a space, Q and W in the 4th,
  376.             5th, and 6th positions on a line).
  377. Lt Purple - Origin lines (any line which begins with a space and "*").
  378.  
  379.  * See customising notes at the end of this file.
  380.  
  381.  
  382. When reading DAT files, if you find that Browser has suddenly started seeing
  383. several messages as one long one, it is out of "sync".  Press the stop key
  384. ONCE, enter a message number lower than the current one (preferably 2 or 3
  385. lower) and then read the next message(s). The program will re-sync with the
  386. DAT file and carry on.  Note, if it doesn't re-sync there maybe be a problem
  387. with the DAT file itself. This is almost certainly the case if it loses sync
  388. at the same place each time.
  389.  
  390. Browser can read (as DATs) QWKRR's SMALL.DAT file and MSG/REP files which
  391. have been ZIPped using QWKRR (since these are only stored). Naturally
  392. Browser can't read a compressed REP or DAT file. It will display the file,
  393. but reading what you see may prove difficult. :-)
  394.  
  395.                                                                        Page 6
  396.  
  397.  
  398. <O>ptions Menu
  399. --------------
  400.  
  401. <F>iles
  402. Returns you to the files listing.
  403.  
  404. <C>harset
  405. Browser has its own character set inbuilt (in fact this takes up 25% of the
  406. program), but user defined character sets can be loaded from the options
  407. menu.  Although *ANY* character set can be loaded and viewed, only those
  408. sets with the alpha-numeric characters in the same order as those used by
  409. Desterm will give meaningful output. It is recommended that the internal (or
  410. compatible) character set be used when viewing ANSI files.
  411.  
  412. All character sets MUST be named (or renamed) with ".chr" as an extension.
  413. eg, filename.chr.
  414.  
  415. Browser will NOT display ".chr" files during normal directory listings but
  416. will ONLY display them from the Charset menu. The internal character set can
  417. be reloaded at any time from this menu by pressing the backarrow key.
  418.  
  419. All 'system' text, directory listings, etc will use the internal set.
  420. User loaded character sets are only used when viewing files.
  421.  
  422. Two additional character sets are provided with this release of Browser:
  423. STD-IBM.CHR and STD-CBM.CHR.
  424.  
  425. STD-CBM.CHR may be more suitable for viewing some text files which have
  426. CBM graphics included. Please note you do NOT have to use this set to read
  427. Petscii files. The full CBM set (with reversed characters) was not
  428. implemented for technical reasons.
  429.  
  430. STD-IBM.CHR was included for those who use QWKRR and wish to read text
  431. using the same alpha-numerics as QWKC.STD.  This set includes the same IBM
  432. graphics set used as Browser's internal set and is suitable for viewing ANSI
  433. files.
  434.  
  435.  
  436. <T>all  <S>hort  <W>ide  <N>arrow
  437. These let you select your preferred screen size for text output height and
  438. width, and will only come into effect when reading files. The two exceptions
  439. to this are with ANSI output - the maximum height/width is always used, and
  440. with DAT or PKT modes - the minimum output width is limited to 38 characters,
  441. the minimum height is limited to 2 text lines, plus the headers.
  442.  
  443. Although Browser has been tested on an NTSC system with no problems, even at
  444. maximum screen sizes, I strongly suspect that due to the extended screen size
  445. there will be some NTSC setups that will have problems with it. At worse this
  446. will simply mean that some of you will not be able to use the ANSI options.
  447. If you do have problems, let me know.  I don't know if I'll be able to do
  448. anything about it or not, but I would like to be aware of the problem.
  449.  
  450. <@> DOS commands
  451. DOS commands are sent to the current disk/directory.
  452.  
  453.  
  454. <L>F's - (or +)    Linefeed on/off
  455. Linefeeds are not acted on by Browser, but will either display or hide the LF
  456. character as specified by this option:
  457.  
  458.   - (Default) Does not display the LF character.
  459.   + Displays all linefeeds in a text file as a character.
  460.  
  461.                                                                        Page 7
  462.  
  463.  
  464. TA<B>s + (or -)    TABs on/off
  465. TABS are either acted on or displayed as a character:
  466.  
  467.   - (Default) TABS are on, text is formated as it was intended.
  468.     TAB character(s) are not shown.
  469.   + Displays the TAB character(s) but doesn't act on them.
  470.  
  471.  
  472. Customising:
  473. ------------
  474.  
  475.  For those that are interested there are several pokes that can be used to
  476. customise Browser to your liking.
  477.  
  478.  
  479.  poke 7238, x             Sets time for screen blanking.
  480.                           x = 0-255
  481.                           Approx 4 seconds for each value of 'x'
  482.  
  483.  
  484. Colours:
  485.  
  486.  poke 7360,x              Border colour
  487.  
  488.  poke 7361,x              Header text               (PKT/DAT)
  489.                           System menu
  490.                           Line numbers              (BASIC)
  491.  
  492.  poke 7362,x              Header data               (PKT/DAT)
  493.                           System menu highlight
  494.                           Variables                 (BASIC)
  495.                           CMD "System" Dir          (Files)
  496.  
  497.  poke 7363,x              Text                      (normal view)
  498.                           Tokens                    (BASIC)
  499.  
  500.  poke 7364,x              Kludgelines               (PKT/DAT)
  501.                           Literals                  (BASIC)
  502.  
  503.  poke 7365,x              Quoted text               (PKT/DAT)
  504.                           Page numbers
  505.  
  506.  poke 7366,x              Taglines                  (PKT/DAT)
  507.  poke 7367,x              ORIGIN lines              (PKT/DAT)
  508.  poke 7368,x              QWKRR ID                  (PKT/DAT)
  509.  
  510.  poke 7369,x              PRG type files
  511.  poke 7370,x              SEQ type files
  512.  poke 7371,x              USR type files
  513.  poke 7372,x              DIR type files
  514.  poke 7373,x              REL type files
  515.  poke 7374,x              CBM/CPM type files
  516.  poke 7375,x              CMD partitions and any other types
  517.  
  518.  
  519. * colours
  520. * 128 black     132 dk green   136 dk red     140 brown
  521. * 129 dk grey   133 lt green   137 lt red     141 yellow
  522. * 130 dk blue   134 dk cyan    138 dk purple  142 lt grey
  523. * 131 lt blue   135 lt cyan    139 lt purple  143 white
  524. *-------------------------------
  525.  
  526.                                                                        Page 8
  527.