home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / ansi / ansib3b.arj / ANSIBAR.TXT < prev    next >
Encoding:
Text File  |  1991-10-14  |  11.6 KB  |  310 lines

  1. [A[N[S[I[[B[A[R V 0.00003ß
  2.  
  3.       -* "I hope you arn't going to print this.." - Paul King - 1991 remarking
  4.           on the lack of page numbering sequance via anything other than
  5.           guesswork.
  6.  
  7. Index    Subject                                 Page
  8.  
  9.          Equipment needed........................ 1
  10.          Explination............................. 1
  11.          Options................................. 1
  12.          More explination........................ 2
  13.          How to use it........................... 2
  14.          Begging on hands and knees.............. 3
  15.          Where to report bugs.................... 3
  16.          Registration form....................... 4
  17.          If you wanna corespond about ANSIBAR.... 5
  18.          Error codes & Pascal code............... 6
  19.          Troubleshooting......................... 7
  20.          Acknowedgments (Hack ptyoo)............. 8 
  21.  
  22.           ANSIBar .00003ß                        Page 1?
  23. -------------------------------------------------------------------------------
  24. Equipment needed:
  25.           IBM Compatible operating system (Soft-PC, AMYDOS, TANDY (?))
  26.           MS-DOS Version 2.11+ (probibly.. it works with 3.3..)
  27.           ANSI.SYS, ZANSI.SYS, NANSI.SYS, DANSI.SYS or something to display
  28.           ansi
  29.           256k memory (Probibly about 100k, but who knows)
  30.           disk space
  31.  
  32. Ever wanted a stock-market-like display in an ANSI file? ( No? jeesh, I spent 3
  33. hours on this program *WAH* ) - well, this is it.
  34.  
  35. ANSIBar comes in 2 types - 8086, and '286 instruction set.. if you have an 8086
  36. and run AB286 then you can expect your system to crash horribly.
  37.  
  38. Usage AB8086 [INFILE.EXT] [OUTFILE.EXT] <delay> <switches>
  39. that's it..
  40.  
  41. INFILE  (The file you want to read from)         [Needed]
  42. OUTFILE (the file you want ANSIBAR to make)      [Needed]
  43. delay   (The number of charcters you want delayed
  44.          at the end of the line. <SPACE><BACKSPACE>
  45.          (Nulls don't work on the ANSI drivers I've
  46.           worked with))                          [optional]
  47.  
  48. Switches:                                        [optional]
  49.  
  50. /F      (Use what I call FANCY ANSI. which will cut
  51.          the characters per updat down to 22 as
  52.          compared to the normal 56 per line.)
  53.          <Note> being as how the ANSI Delete
  54.                 command is not well known
  55.                 (Not listed in MS-DOS Bible)
  56.                 and how some terms or drivers
  57.                 don't support it.. use with
  58.                 knowedge that some people won't
  59.                 be able to see it (Telix & Telemate
  60.                 have the capability)
  61.  
  62. /D      Droptop... Pop the box down from the top.. just looks
  63.         neat..
  64.  
  65.           ANSIBar .00003ß                        Page 2?
  66. -------------------------------------------------------------------------------
  67.  
  68. AnsiBar ( for convenience ) makes the file a 1-line file so that it won't pause
  69. in BBS's like TAG, Telegard, WC!, QBBS if there is a pause turned on.. however,
  70. if you have to change it to more lines ( for BBSs like Spitfire ) you can easily
  71. edit the file using TheDraw 4.0.  However, no previous versions will work -
  72. being as how ANSIBAR files are listed VIA Pascal as sometimes a string[90345]
  73.  - with no string information.
  74.  
  75. ANSIBAR, if not the only, is definatly the fastest ANSI creator I have ever
  76. written <Grin>.. Here's a time graph showing the differances between ANSIBar
  77. and all others:
  78.  
  79. ANSIBAR   20k input - OP 8 seconds
  80. Evolution 20k input - 2 - 3 Billion years to evolve sentient life forms to
  81.                       write the software.
  82. TheDraw   User input - Total time 4-5 hours ( if you type fast )
  83.  
  84. By running this software, you agree not to hold Paul King ( dat's me ) liable,
  85. responcible, guilty of ANY problems that occur on your system .. if you're 
  86. running this for the first time, I suggest you run a program like Flu_Shot+
  87. to make sure the file hasn't been modified, or contains harmfull code.
  88. Also, being as how anybody making a trojan would put in their trojan's CRC code
  89. in the docs, I feel it completely useless to put in one (Look at the hacked
  90. copies of MccAffee's products.. they check out legit by their docs)
  91.  
  92. During execution, if for some reason you want to stop ( like you figured out
  93. the file you're doing would come to a meg or so, and you don't want to wait for
  94. it to end ), whack the spacebar.
  95.  
  96. Example of format to call ANSIBar in long line/ normal box/ high-speed to
  97. screen:
  98.  
  99. AB8086  C:\AUTOEXEC.BAT CON
  100. ^^^^^^  ^^^^^^^^^^^^^^^ ^^^
  101. Program  Infile         Outfile
  102. Name
  103.  
  104.  
  105. Here's how to call in short line / drop box / high speed to screen:
  106.  
  107. AB8086  C:\AUTOEXEC.BAT CON /D /F
  108.  
  109.  
  110. and now: short line/ normal box/ 5 char delay to LOGON.CLR:
  111.  
  112. AB8086  C:\AUTOEXEC.BAT LOGON.CLR /F 5
  113.  
  114.           ANSIBar .00003ß                        Page 3?
  115. -------------------------------------------------------------------------------
  116.  
  117. This program is Begware - gimme CA$H!! if you want to register this, the 
  118. registration fee is $2, then you either have to call and download it ( while 
  119. I'm here) OR send an additional $5 for shipping and handling of the disk.. 
  120. but, if you want the source code, it's available for $7..
  121.  
  122.   --* "With membership comes it's privalages" - Some guy on my board
  123.  
  124. Well, I bet you're thinking "Gee, why should I, being as I've got thousands
  125.  of other things to do, register something I really don't need, but produces
  126.  something that I actually use, but not on a constant basis, when I've got
  127.  hundreds of more deserving programs to donate my money for."
  128. Good point... I'll think of some counter for that once I get some money from
  129. donations to pay for some of the shareware I'm running, or to buy some really
  130. cool sneakers...
  131.  
  132. Send all checks/ Money orders / Inquiries about the program / Bug reports to:
  133.  
  134. Paul King
  135. 3807 Dartmouth LN.
  136. Nashville, TN. 37215
  137.  
  138. Or call ( for bug reports, Inquiries )
  139.  
  140. HDBBS - 9pm-7:30am central standard time - (615)297-3070
  141. (Or if ya just want to call and ask "Why in the world would a man write that
  142.  piece of )*&&", go right ahead.. same #)
  143.  
  144.           ANSIBar .00003ß                        Page 4?
  145. -------------------------------------------------------------------------------
  146.  
  147. Clip here!
  148.    O    /
  149. ------------------------------------------------
  150.    O    \
  151.  
  152. TO: Paul King
  153. Subj: ANSIBAR
  154.  
  155. Enclosed is (a) [ ] Check  [ ] Money Order  [ ] Cash   for the 
  156.  
  157. [ ] registration      [ ] Pascal Source code  (to/for) ANSIBar in the 
  158.  
  159. ammount of:  $__.___
  160.  
  161. Please send the above to:
  162.  
  163. Your Name:___________________________________
  164.  
  165. Your Address:_________________________________________
  166.  
  167. Your City/State/Zip:_________________________________________
  168.  
  169. BBS Name:___________________________________________________________
  170.  
  171. BBS Phone:(   )   -
  172.  
  173. BBS Hours:___________
  174.  
  175. Your Phone:(   )   -
  176.  
  177. Registration - $2
  178. Source       - $7
  179.  
  180. Please add $5 for shipping and handling on disk, or if you want to call and DL
  181. your personalized ANSIBar, or have it sent to you please enclose note.
  182.  
  183. Source is available in printed form for $7, or on disk for $12.
  184.  
  185. Mail to:
  186.  
  187. Paul King
  188. 3807 Dartmouth LN.
  189. Nashville, TN. 37215
  190. (615)297-3070
  191. ------------------------------------------------
  192.  
  193.  
  194.           ANSIBar .00003ß                        Page 5?
  195. -------------------------------------------------------------------------------
  196.  
  197. If you need to get in touch with me, I'm available via Fidonet @ 1:116/31,
  198. Ournet @ 65:410/27, and then there's allways my board.
  199.  
  200.  
  201.  
  202.   -* "I can't belive I wrote the whole thing.." - me
  203.  
  204. Hey, arn't you glad that I didn't put in a thousand form feeds here?
  205.  
  206.  
  207.  
  208.           ANSIBar .00003ß                        Page 6?
  209. -------------------------------------------------------------------------------
  210.  
  211. Just some Pascal code I wrote.. you can figure out what errors are what from it
  212.  
  213.  
  214. UNIT ERRORHND;
  215.  
  216. INTERFACE
  217.  
  218. FUNCTION DISKERROR(ERRORSTUFF : INTEGER) : STRING;
  219.  
  220. IMPLEMENTATION
  221.  
  222. FUNCTION DISKERROR(ERRORSTUFF : INTEGER) : STRING;
  223. BEGIN
  224.   DISKERROR := '';
  225.   CASE ERRORSTUFF OF
  226.     2   : DISKERROR := 'File not found';
  227.     3   : DISKERROR := 'Path not found';
  228.     4   : DISKERROR := 'To many open files';
  229.     5   : DISKERROR := 'File access denied';
  230.     6   : DISKERROR := 'Invalid file handle';
  231.     12  : DISKERROR := 'Invalid file access code';
  232.     15  : DISKERROR := 'Invalid drive number';
  233.     16  : DISKERROR := 'Cannot remove current directory';
  234.     17  : DISKERROR := 'Cannot rename across drives';
  235.     100 : DISKERROR := 'Disk read error';
  236.     101 : DISKERROR := 'Disk write error';
  237.     102 : DISKERROR := 'File not assigned';
  238.     103 : DISKERROR := 'File not open';
  239.     104 : DISKERROR := 'File not open for input';
  240.     105 : DISKERROR := 'File not open for output';
  241.     106 : DISKERROR := 'Invalid numeric format';
  242.     150 : DISKERROR := 'Disk is write protected';
  243.     151 : DISKERROR := 'Unknown unit';
  244.     152 : DISKERROR := 'Disk not ready';
  245.     153 : DISKERROR := 'Unknown command';
  246.     154 : DISKERROR := 'CRC error in data';
  247.     155 : DISKERROR := 'Bad drive request structure length';
  248.     156 : DISKERROR := 'Disk seek error';
  249.     157 : DISKERROR := 'Unknown media type';
  250.     158 : DISKERROR := 'Sector not found';
  251.     159 : DISKERROR := 'Printer out of paper';
  252.     160 : DISKERROR := 'Device write fault';
  253.     161 : DISKERROR := 'Device read fault';
  254.     162 : DISKERROR := 'Hardware failure';
  255.     200 : DISKERROR := 'Division by zero';
  256.     201 : DISKERROR := 'Range check error';
  257.     202 : DISKERROR := 'Stack overflow error';
  258.     203 : DISKERROR := 'Heap overflow error';
  259.     204 : DISKERROR := 'Invalid pointer operation';
  260.     205 : DISKERROR := 'Floating point overflow';
  261.     206 : DISKERROR := 'Floating point underflow';
  262.     207 : DISKERROR := 'Invalid floating point operation';
  263.     208 : DISKERROR := 'Overlay manager not installed';
  264.     209 : DISKERROR := 'Overlay file read error';
  265.   END;
  266. END;
  267.  
  268. END.
  269.  
  270.  
  271.           ANSIBar .00003ß                        Page 7?
  272. -------------------------------------------------------------------------------
  273.  
  274. Error:                     Probible Cause:          Possible Fix:
  275.  
  276.   Shareing Violation       SHARE.EXE loaded       Temporarily take
  277.                                                   out share from your
  278.                                                   CONFIG.SYS or unload from
  279.                                                   memory
  280.  
  281.   Write Protect attempt    Write Protect          Unload program from memory
  282.   on Hard Drive            program loaded
  283.  
  284.   Out of Memory ERROR      You didn't know that   1: Swich to another partition
  285.   and you have 10 megs     DOS works in 640k      2: Unload some programs from
  286.   of memory                segs no matter what.      memory
  287.  
  288.   You see garbage when     1:ANSI.SYS not noaded  1: load it in config.sys
  289.   trying to write to       2:you're in DesqView   2: run DVANSI upon opening
  290.   outfile of CON                                     that partition.
  291.  
  292.   You run the program      you sent output to     TYPE the file
  293.   and see no output        the disk (normal)
  294.  
  295.  
  296.  
  297.           ANSIBar .00003ß                        Page 8?
  298. -------------------------------------------------------------------------------
  299.  
  300. Special thanks fo out to Borland international for giving to me a copy of 
  301. Turbo Pascal for a measly sum of $99.. (Plus shipping and handling).
  302.  
  303. Also, for programming help, Turbo Pascal 6 - the complete referance written
  304. by Stephen O'Brien for Borlan/Osborne possibly one of the best books on
  305. Pascal I've ever read.
  306.  
  307. Ansibar was written in Borland's Turbo Pascal 6.0.
  308.  
  309.  
  310. All programs or orginazations are copyrighted to themselves possibly.