home *** CD-ROM | disk | FTP | other *** search
/ Tools en Utilities / CDASS_5.ISO / shell / file / texe10.arj / TEXE-DOC.EXE (.txt) next >
Encoding:
TEXE  |  1991-06-20  |  38.3 KB  |  622 lines

  1.         ╔═══════════════════════════════════════════════════════════╗
  2.         ║                                                           ║
  3.         ║                                                           ║
  4.         ║                                                           ║
  5.         ║                         T E X E                           ║
  6.         ║                                                           ║
  7.         ║                          V 1.0                            ║
  8.         ║                                                           ║
  9.         ║                                                           ║
  10.         ║          THE PROGRAM THAT CONVERTS A TEXT FILE            ║
  11.         ║                  INTO A READING PROGRAM                   ║
  12.         ║                                                           ║
  13.         ║                                                           ║
  14.         ║                                                           ║
  15.         ║               (C) 1991 Raymond Payette                    ║
  16.         ║                                                           ║
  17.         ║                    DISTRIBUTED BY:                        ║
  18.         ║                                                           ║
  19.         ║                   PANDA STUDIO INC.                       ║
  20.         ║                                                           ║
  21.         ║                                                           ║
  22.         ║                                                           ║
  23.         ║                                                           ║
  24.         ╚═══════════════════════════════════════════════════════════╝
  25.                                   i
  26.  
  27.  
  28.                              REQUIREMENTS
  29.  
  30.       TEXE requires an MS DOS operating system on an IBM compatible
  31.       computer with a 64K memory; code for multitasking is not supported.
  32.       Monochrome and color screens are supported.
  33.  
  34.                             ACKNOWLEDGMENTS
  35.  
  36.      This documentation refers to trademarks:
  37.      MS DOS is a trademark of Microsoft Corporation.
  38.      IBM is a trademark for International Business Machine.
  39.      LHA is the compression program copyrighted by Haruyasu Yoshizaki
  40.  
  41.                               COPYRIGHTS
  42.  
  43.      TEXE, FOR THE PURPOSE OF THE FOLLOWING TEXT, INCLUDES ALL SOFTWARE
  44.      FILES PACKAGED WITH THE TEXE.EXE PROGRAM WHICH ARE ALL COPYRIGHTED.
  45.      ANY COPYRIGHT INFRINGEMENT MAY ALSO INFRINGE UPON OTHER EMBEDDED
  46.      COPYRIGHTS SUCH AS THE LHA ARCHIVE PROGRAM. USING A TEXED FILE
  47.      ACKNOWLEDGES THE EMBEDDED COPYRIGHTS.
  48.  
  49.                                   ii
  50.  
  51.                           DISCLAIMER - AGREEMENT
  52.  
  53.         Users of TEXE must accept this disclaimer of warranty:
  54.         TEXE is supplied as is.  The author disclaims all
  55.         warranties, expressed or implied, including, without limitation,
  56.         the warranties of merchantability and of fitness for any purpose.
  57.         The author assumes no liability for damages, direct or conse-
  58.         quential, which may result from the use of TEXE.
  59.  
  60.         TEXE is a "shareware program" and is provided at no charge
  61.         to the user for evaluation.  Feel free to share it with your
  62.         friends, but please do not give it away altered or as part of
  63.         another system.  The essence of "user-supported" software is to
  64.         provide personal computer users with quality software without
  65.         high prices, and yet to provide incentive for programmers to
  66.         continue to develop new products.  If you find this program
  67.         useful and find that you are using TEXE and continue to use
  68.         TEXE after a reasonable trial period (usually of one month)
  69.         you must make a registration payment as per license agreement.
  70.  
  71.  
  72.  
  73.                                      iii
  74.         You must treat this software just like a book.  An example is
  75.         that this software may be used by any number of people and may
  76.         be freely moved from one computer location to another, so long
  77.         as there is no possibility of it being used at one location while
  78.         it's being used at another. Just as a book cannot be read by two
  79.         different persons at the same time.
  80.  
  81.         Commercial users of TEXE must register and pay for their
  82.         copies of TEXE within 30 days of first use or their license
  83.         is withdrawn.  Site-License arrangements may be made by completing
  84.         the license agreement and sending it to Panda Studio Inc.
  85.  
  86.         Anyone distributing TEXE for any kind of remuneration must
  87.         first contact Panda Studio Inc. for authorization.
  88.         This authorization will be automatically granted to distributors
  89.         recognized by the (ASP) as adhering to its guidelines for
  90.         shareware distributors, and such distributors may begin offering
  91.         TEXE immediately.
  92.  
  93.         You are encouraged to pass a copy of TEXE along to your
  94.         friends for evaluation.  Please encourage them to register their
  95.         copy if they find that they can use it.  All registered users
  96.         will receive a copy of the latest version of the TEXE  system.
  97.  
  98.  
  99.                                       iv
  100.  
  101.                                 PRODUCT SUPPORT
  102.  
  103.         Right now our product support is done by mail. Please send all
  104.         enquiries to:
  105.         Panda Studio Inc., P.O. Box 642, Sillery, QC, Canada, G1T 2W3
  106.         You can also send an E-mail message to:
  107.         CIS: 72361,1574
  108.         GENIE: XTY76342
  109.         Please specify how you want to be contacted.
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.                                C O N T E N T S
  124.  
  125.  
  126.      REQUIREMENTS  . . . . . . . . . . . . . . . . . . . . . . . . . .      i
  127.  
  128.      ACKNOWLEDGMENTS  . . . . . . . . . . . . . . . . . . . . . . . .       i
  129.  
  130.      COPYRIGHTS  . . . . . . . . . . . . . . . . . . . . . . . . . . .      i
  131.  
  132.      DISCLAIMER-AGREEMENT  . . . . . . . . . . . . . . . . . . . . . .     ii
  133.  
  134.      PRODUCT SUPPORT   . . . . . . . . . . . . . . . . . . . . . . . .     iv
  135.  
  136.  
  137.      1.  I N T R O D U C T I O N
  138.           What is TEXE     . . . . . . . . . . . . . . . . . . . . . .      1
  139.           Text files       . . . . . . . . . . . . . . . . . . . . . .      2
  140.           Hypertext tool   . . . . . . . . . . . . . . . . . . . . . .      2
  141.  
  142.      2.  G E T T I N G   S T A R T E D
  143.           Install    . . . . . . . . . . . . . . . . . . . . . . . . .      3
  144.           File List    . . . . . . . . . . . . . . . . . . . . . . . .      3
  145.  
  146.  
  147.  
  148.      3.  C O N V E R T I N G  T E X T  F I L E S   W I T H   T E X E
  149.           Usage      . . . . . . . . . . . . . . . . . . . . . . . . .      5
  150.           Help       . . . . . . . . . . . . . . . . . . . . . . . . .      6
  151.           Source files   . . . . . . . . . . . . . . . . . . . . . . .      6
  152.           Target files   . . . . . . . . . . . . . . . . . . . . . . .      7
  153.  
  154.      4.  R E A D I N G   T E X T
  155.           Usage      . . . . . . . . . . . . . . . . . . . . . . . . .      7
  156.           Cursor movement  . . . . . . . . . . . . . . . . . . . . . .      8
  157.           Functions  . . . . . . . . . . . . . . . . . . . . . . . . .      8
  158.           Mouse      . . . . . . . . . . . . . . . . . . . . . . . . .      9
  159.  
  160.      5.  P R I N T I N G
  161.           Markers and Printing . . . . . . . . . . . . . . . . . . . .      9
  162.  
  163.      6.  B A T C H  F I L E
  164.           TEXE.BAT   . . . . . . . . . . . . . . . . . . . . . . . . .     10
  165.  
  166.      7.  H Y P E R T E X T
  167.           Indexing     . . . . . . . . . . . . . . . . . . . . . . . .     11
  168.           Hypertext help . . . . . . . . . . . . . . . . . . . . . . .     11
  169.  
  170.  
  171.      8.  F I L E   E X T R A C T I O N
  172.           TEXTRACT.EXE . . . . . . . . . . . . . . . . . . . . . . . .     12
  173.  
  174.      9.  P O P - U P   R E A D E R
  175.           TEXPOP.COM   . . . . . . . . . . . . . . . . . . . . . . . .     13
  176.  
  177.     10.  W I N D O W S
  178.           TEXEd files in windows  . . . . . . . . . . . . . . . . . . .    13
  179.           TEXE with Windows       . . . . . . . . . . . . . . . . . . .    14
  180.  
  181.     11.  S H A R E W A R E
  182.           ASP        . . . . . . . . . . . . . . . . . . . . . . . . .     14
  183.           Meaning of shareware . . . . . . . . . . . . . . . . . . . .     15
  184.           License agreement    . . . . . . . . . . . . . . . . . . . .     17
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.                                       1
  195.      INTRODUCTION
  196.  
  197.      What is TEXE
  198.      ────────────
  199.      TEXE is a program which copies a text file and attaches a 15K program to
  200.      it in order to be able to read it. Currently text files larger than 64K
  201.      such as many MANUAL.TXT or README.DOC files have to be read with a text
  202.      editor (which is tedious to set up); even then the documentation is
  203.      limited to a text file of 360K or less to allow text editors to load
  204.      all the text in memory. TEXE can read text of almost any size, up to
  205.      2000 pages long! In order to be as compact as possible, TEXE
  206.      reads only 24 lines of text at a time, albeit of 256 characters per
  207.      line! TEXE uses only 15K of memory for the program and 8K for the data;
  208.      thus you can even exit from a large program and read a 500K text file
  209.      without flinching. The 15K added to the text is well worth it!
  210.      TEXEd files are self-contained with their HELP and messages.
  211.  
  212.      Text Files
  213.      ──────────
  214.      Text files are standard ASCII files; they can be read with the command:
  215.      TYPE Filename and they can be printed with PRINT Filename. The TEXE
  216.      program will work on any file, but non ASCII files will be unreadable.
  217.                                        2
  218.  
  219.      Every line must end with a Carriage Return and a Line Feed as it is
  220.      usually done with most text editors; any omission will cause errors.
  221.  
  222.      It's supposed that every page has 24 lines, because every computer
  223.      screen has 25 line mode, (some also have a 43 or 50 line mode). It's
  224.      nicer to have a text whose top of page matches the screen's top of
  225.      page as this text does; thus you have to prepare your text accordingly.
  226.  
  227.  
  228.  
  229.      Hypertext tool
  230.      ──────────────
  231.      Hypertext is a text which is accessed directly without having to search
  232.      through it. The programmer must identify the exact place to go and
  233.      embed it in his program. Then by specifying the exact byte of the TEXEd
  234.      file it will bring you right there. You can use TEXINDEX to identify
  235.      these exact bytes. TEXE.EXE uses hypertext with its /H option.
  236.  
  237.  
  238.  
  239.  
  240.  
  241.                                        3
  242.      GETTING STARTED
  243.  
  244.      Install
  245.      ───────
  246.      The original shareware program comes in the form of one file named
  247.      TEXEZIP.EXE
  248.      At the prompt typing TEXEZIP and pressing ENTER will decompress
  249.      files in the current directory including the present file.
  250.      It is best to keep TEXE.EXE in the root directory of your hard disk;
  251.      to do this, simply type COPY TEXE.EXE C:\ and press ENTER.
  252.      When you are in another directory and you want to use TEXE, simply
  253.      copy it in the current directory with COPY C:\TEXE.EXE
  254.  
  255.  
  256.      File List
  257.      ─────────
  258.      TEXEARC.EXE  is the self-extracting archive file containing the
  259.                   following files:
  260.  
  261.      TEXE-DOC.EXE is the present documentation file which has been TEXEd
  262.                   with TEXE.EXE. It contains the license agreement which
  263.                   can be directly printed. It can be extracted with
  264.                   TEXTRACT.EXE
  265.                                        4
  266.      TEXE.EXE     is the main program which converts text files into an
  267.                   executable format.
  268.  
  269.      TEXTRACT.EXE is a program used to restore the text file which is TEXEd.
  270.  
  271.      TEXED.ICO    is a generic icon image that can be used in WINDOWS to
  272.                   identify TEXEd files.
  273.  
  274.      TEXED.PIF    Is a generic PIF files to set up TEXEd files in WINDOWS.
  275.                   Replace the TEXED.EXE file name with your own file name.
  276.  
  277.      TEXE.ICO     is an icon image to use with TEXE in WINDOWS
  278.  
  279.      TEXE.PIF     is a Windows file used to set up TEXE.EXE
  280.  
  281.      TEXINDEX.EXE is a program used to index a TEXEd file
  282.  
  283.      TEXEPOP.COM  is a TSR version of the TEXE.EXE program
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.                                        5
  291.      CONVERTING TEXT FILES WITH TEXE
  292.  
  293.      Usage
  294.      ─────
  295.      TEXE [d:][\path\]source filename  [d:][\path\][target filename] [/H]
  296.  
  297.      d:              refers to the directory such as C:
  298.  
  299.      \path           means the directories where the source file is.
  300.  
  301.      source filename refers to the file to be converted
  302.  
  303.      target filename refers to the executable file to be created
  304.  
  305.      /H              accesses the help screen. With hypertext, the present
  306.                      help screen is contained in the file TEXTDOC.EXE
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.                                        6
  316.      Help
  317.      ────
  318.      To get immediate help when using TEXE simply add /H
  319.      for example: TEXE /H will type a summary of the required parameters
  320.      and their explanation.
  321.  
  322.      Source files
  323.      ────────────
  324.      The source file is the text file you want to convert. It has to be an
  325.      exact and complete file name and that file must be present in the
  326.      current directory.
  327.      For example the present file was created by this command:
  328.      TEXE TEXE-DOC.TXT
  329.      which created the file TEXE-DOC.EXE
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.                                        7
  339.      Target files
  340.      ────────────
  341.      The target file is optional. This is the file name you want the
  342.      text to be converted to. It must be a valid file name. If you don't
  343.      specify a target file name, the program will change the three letters
  344.      of the current file name to EXE
  345.      In the previous example we didn't use any target name, though we could
  346.      with: TEXE TEXE-DOC.TXT README.EXE
  347.      which would create the file README.EXE
  348.      The target file can only be specified as above. If you only type TEXE,
  349.      the program will not prompt you for a target file name, it will suppose
  350.      that it's the source file name with an .EXE extension.
  351.  
  352.      READING TEXT
  353.  
  354.      Usage
  355.      ─────
  356.      FILENAME
  357.      If you use the FILENAME as a hypertext file, the usage is
  358.      FILENAME [byte]
  359.  
  360.  
  361.  
  362.                                        8
  363.  
  364.      Cursor movement
  365.      ───────────────
  366.      To read the text use only PgUp and PgDn. The other cursor movements:
  367.      Up, Down are used simply to position the beginning and ending position
  368.      to start and end printing.
  369.  
  370.      Functions
  371.      ─────────
  372.      Left and Right shifts the text left or right one space, for text lines
  373.          as large as 256 characters.
  374.      ESC to quit the program and go back to the DOS prompt.
  375.      F1  to bring up the Help screen. Pressing any key will close the help
  376.          screen and bring you back to the text.
  377.      F2  is used to print the text bounded by the beginning and ending
  378.          markers
  379.      F3  is used to mark the beginning position of the text to be printed.
  380.      F4  is used to mark the ending position of the text to be printed.
  381.      F5  is used to go to a particular page.
  382.  
  383.  
  384.  
  385.                                        9
  386.      Mouse
  387.      ─────
  388.      If you have a mouse you can click it on the commands of the first row,
  389.      such as PGDN. Clicking on the text puts a marker. Clicking with the
  390.      right mouse button will start the printing.
  391.  
  392.  
  393.      PRINTING
  394.  
  395.      Markers and Printing
  396.      ────────────────────
  397.      In order to print part of the text, first check that the printer on LPT1
  398.      is open and on line. Then with the cursor commands PgUp and PgDn go to
  399.      the page where you want to start printing. Then with the commands Up,
  400.      Down, Left and Right, place the cursor to the exact row and column where
  401.      you want to start printing. Press F3 and you will see your first marker.
  402.      Repeat the operation to place your ending marker, but this time press
  403.      F4. Once this is completed, press F2.
  404.      You can use the left mouse buttons to place the markers and the right
  405.      mouse buttons to start printing.
  406.  
  407.  
  408.  
  409.                                       10
  410.      BATCH FILE
  411.  
  412.      READ.BAT
  413.      ────────
  414.      A secretary can prepare electronic mail with batch files because
  415.      many files can quickly be read using a batch file; simply create a
  416.      text file with the .BAT extension,such as READ.BAT, and replace
  417.      FILE1.EXE, etc. with your own file names, such as AGENDA.EXE:
  418.      FILE1.EXE
  419.      FILE2.EXE
  420.      FILE3.EXE
  421.      etc.
  422.      When the boss types READ and enter, he can read his electronic mail!
  423.      It can also be used to go directly to a page by using TEXINDEX:
  424.      AGENDA.EXE 12
  425.      AGENDA.EXE 15
  426.      AGENDA.EXE
  427.      BILLS.EXE
  428.                               Save as READ.BAT
  429.      This will lookup pages 12 and 15 of AGENDA.EXE, then read the whole
  430.      text of AGENDA.EXE, then the BILLS.EXE text.
  431.  
  432.  
  433.                                        11
  434.      H Y P E R T E X T
  435.  
  436.      INDEXING
  437.      ────────
  438.      The TEXINDEX.EXE program is meant to be used by programmers.
  439.      Usage: TEXINDEX FILENAME.EXE [byte]
  440.      byte is the start location of the text to be searched.
  441.  
  442.  
  443.      HYPERTEXT HELP
  444.      ──────────────
  445.      A TEXEd file is well adapted to read a portion of a text from
  446.      another program.
  447.      For example in a C program you could use:
  448.      spawnv (P_WAIT,"FILENAME.EXE",argv);
  449.      or execv ("FILENAME.EXE",argv);
  450.      In a QuickBasic Program you could use:
  451.      SHELL FILENAME$ + " 12345"
  452.      or COMMON SHARED BY&
  453.         BY& = 12345
  454.         RUN FILENAME$
  455.      which would access byte 12345 of the TEXEd file in FILENAME.
  456.  
  457.                                        12
  458.      The present program is used as a hyperfile text for the Help screen
  459.      of the TEXE.EXE program in the manner shown above.
  460.  
  461.  
  462.  
  463.      F I L E   E X T R A C T I O N
  464.  
  465.      TEXTRACT.EXE
  466.      ────────────
  467.       Keeping a TEXEd file plus the original file as a backup might be a
  468.       good idea; however for some it is better only to have one TEXEd
  469.       file. If you want to get the original text file back, all you have
  470.       to do is to use TEXTRACT.EXE to extract it.
  471.       For example you can extract TEXE-DOC.TXT by the following command:
  472.  
  473.       TEXTRACT TEXE-DOC.EXE
  474.  
  475.       You can also extract files in another directory, for example
  476.       let's say TEXTRACT is in drive B: , you could issue the
  477.       following command:
  478.       TEXTRACT A:TEXE-DOC.EXE
  479.  
  480.  
  481.                                       13
  482.       P O P - U P   R E A D E R
  483.  
  484.       TEXEPOP
  485.       ───────
  486.       TSR (Terminate and Stay Resident) programs such as TEXEPOP
  487.       won't work with certain other programs such as Windows which
  488.       clears all interrupts. It might also come into conflict with
  489.       other programs. Thus we discourage the use of this Pop-up.
  490.  
  491.       This program is an independent text reader. Its hot key is
  492.       Alt-R. It will ask you for the file to be read and it will
  493.       read it for you as a TEXEd file. No parameter can be added
  494.       to it for use as a hypertext help program. There isn't any
  495.       option to go directly to a page. Lines have 128 characters.
  496.  
  497.       W I N D O W S
  498.  
  499.       TEXEd files in windows
  500.       ──────────────────────
  501.       TEXEd files can be added as any regular program. A generic icon,
  502.       TEXED.ICO and TEXED.PIF are used to set up these files.
  503.  
  504.  
  505.                                       14
  506.  
  507.       TEXE with Windows
  508.       ─────────────────
  509.       The TEXE program can be used within windows. The TEXE.ICO file
  510.       and TEXE.PIF are used to set up TEXE.
  511.  
  512.  
  513.       S H A R E W A R E
  514.  
  515.       ASP
  516.       ───
  517.       The Association of Shareware Professionals defines itself as:
  518.  
  519.           The ASP is an association for shareware authors with the general
  520.           goals of educating shareware authors and distributors and the
  521.           public, setting standards, sharing resources and information
  522.           among members.
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.                                       15
  530.      The Meaning of Shareware
  531.      ────────────────────────
  532.      According to the Association of Shareware Professionals:
  533.  
  534.         Shareware distribution gives users a chance to try software
  535.         before buying it. If you try a Shareware program and continue
  536.         using it, you are expected to register. Individual programs
  537.         differ on details -- some request registration while others
  538.         require it, some specify a maximum trial period. With
  539.         registration, you get anything from the simple right to continue
  540.         using the software to an updated program with printed manual.
  541.  
  542.         Copyright laws apply to both Shareware and commercial software,
  543.         and the copyright holder retains all rights, with a few specific
  544.         exceptions as stated below. Shareware authors are accomplished
  545.         programmers, just like commercial authors, and the programs are
  546.         of comparable quality. (In both cases, there are good programs
  547.         and bad ones!) The main difference is in the method of
  548.         distribution. The author specifically grants the right to copy
  549.         and distribute the software, either to all and sundry or to a
  550.         specific group. For example, some authors require written
  551.         permission before a commercial disk vendor may copy their
  552.         Shareware.
  553.                                       16
  554.         Shareware is a distribution method, not a type of software. You
  555.         should find software that suits your needs and pocketbook,
  556.         whether it's commercial or Shareware. The Shareware system makes
  557.         fitting your needs easier, because you can try before you buy.
  558.         And because the overhead is low, prices are low also. Shareware
  559.         has the ultimate money-back guarantee -- if you don't use the
  560.         product, you don't pay for it.
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.                       L I C E N S E   A G R E E M E N T
  578.  
  579.                                  TEXE.EXE(TM)
  580.                                  SITE LICENSE
  581.         Panda Studio Inc.
  582.         P.O. Box 642,
  583.         Sillery, QC
  584.         Canada G1T 2W3
  585.  
  586.         Name:      __________________________________     Date:__________
  587.  
  588.         (Company): __________________________________
  589.  
  590.         (Title):   __________________________________
  591.  
  592.         Address:   __________________________________
  593.  
  594.         City,State:__________________________________
  595.  
  596.         Zip Code:  __________________________________
  597.  
  598.         Country:   __________________________________
  599.  
  600.  
  601.  
  602.      License Approval:
  603.      PANDA STUDIO INC. authorized officer____________________
  604.      QUEBEC, CANADA    Date ____________
  605.      This agreement is only valid after it's been completed by both parties.
  606.  
  607.                              TEXE.EXE  for MS-DOS
  608.      Diskette with programs and license for 1 computer....  @$47     ______
  609.      License for one set of programs for 1 computer ......  @$25     ______
  610.      Diskette format (choose one) 5.25" disk ____  3.5" disk ____
  611.      Shipping & Handling                                               5.00
  612.      Canadian residents add 7% GST and 8% P.S.T. in Quebec
  613.                                                                      ──────
  614.                                            Total enclosed
  615.                                                                      ══════
  616.  
  617.  
  618.      Terms:
  619.      Check or Money Order drawn in U.S. funds.  Corporate Purchase orders
  620.      (net 30 days) accepted for software from large corporations within the
  621.      USA & Canada. All licenses are prepaid only. All purchase orders outside
  622.      of the United States & Canada must be prepaid.