home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware GOLD / NuclearComputingVol3No1.cdr / utils / f1500 / q&d.doc next >
Text File  |  1991-05-14  |  5KB  |  114 lines

  1. Q¬D - A Quick and Dirty tool to view & manipulate ASCII Text Files
  2.  
  3. Installation: copy the two Q&D files to any directory, launch them
  4.     in any reasonable manner. Note, the two files should reside
  5.     in the same directory.
  6.  
  7. Prerequisites: Q&D requires a fair amount of virtual memory to run.
  8.     It runs only in regular or enhanced 386 mode with 1MB or more
  9.         of free virtual memory.
  10.  
  11. Constraints:Q&D reads text files up to about 900K in length; max
  12.     record size 15k, max number of records 15k. The file is
  13.     loaded entirely into memory, although some operations 
  14.     use a temporary disk file which is reloaded.
  15.  
  16. Operation: Choose File/Open and select a text file using the file
  17.     dialog box. Once the file is open, use the Next/Prior
  18.     buttons to navigate the records of the file. You can use
  19.     the slider control to move quickly thru the file.  
  20.  
  21.     Various manipulation options are available from the Edit
  22.     menu which alter the in-memory image. Your disk file is only
  23.     changed if you choose File/Save and save to the same file name
  24.     (not recommended!).
  25.  
  26.     Q&D displays one record at a time in the bottom pane of the
  27.     main window. The record is displayed 50 characters per line
  28.     with a ruler line above. At the left is a displacement number
  29.     to calculate where you are in the record. If the record is longer
  30.     than will fit in the window, you can scroll it to view the rest.
  31.  
  32. Options:
  33.     File/Open: open a new file and load into memory. 
  34.     Click Next button to see first record.
  35.         
  36.     File/Save: save the memory image to a disk file. 
  37.  
  38.     File/PrintRecord: print the current record to the currently
  39.         selected printer in the current font. This option presupposes
  40.         a monospaced printer font for the output to look right. Sorry folks,
  41.     this is rather crude, but hey, this is Quick & Dirty, no? 
  42.  
  43.     File/Setup Printer: run the printer driver dialog box, lets you
  44.     select various options. Unfortunately, no way to change the 
  45.     current font.
  46.  
  47.     Edit/UpperCase:convert all records to upper case alphabetics. 
  48.     Runs a bit slowly for an in-memory operation.
  49.  
  50.     Edit/LowerCase: convert all records to lower case alphabetics. 
  51.  
  52.     Edit/Find: enter a string (no surrounding quotes, pls) 
  53.     you wish to find from the current record forward. 
  54.     The string is remembered from one request to another 
  55.     to make multiple searches faster.
  56.  
  57.     Edit/Replace: enter a search for and replace string.  
  58.     If a column number is specified, only strings starting 
  59.       in that column number will be replaced; if 0 is entered,
  60.     all strings matching the search-for string will be replaced. 
  61.     Note: searches only in forward direction from the current 
  62.     record forward.
  63.  
  64.     Edit/PadTruncate: pad or truncate every record in the memory 
  65.     image to length x. Truncated characters are dropped, 
  66.     short records are padded with spaces.
  67.  
  68.     Edit/DeleteRecords: delete a range of records from the
  69.      in-memory image.
  70.  
  71.     Edit/SubsetRecords: specify a starting column & target string. 
  72.     Keep only those records which match both criteria.
  73.  
  74.     Edit/DivideRecords: divide the in memory records into 
  75.     n records of m length each. Pad or truncate each current 
  76.     record as needed.
  77.  
  78.     Edit/JoinRecords: concatenate n records sequentially to form one 
  79.     record m characters long. Pad or truncate as needed.
  80.  
  81.     Display/Hex: change the display to a hex display with the ruler
  82.     on top, the ANSI characters on line two, and the two 
  83.     hex characters     that describe each byte on lines three & four.
  84.     If you choose File/Print with hex display enabled, 
  85.     you will get a hex print out of your record. 
  86.     This can consume a number of pages to display a long record.
  87.  
  88.     Status: puts up a message box with two kinds of info
  89.       Dynamic Free: the amount of free memory available to Q&D to 
  90.                 hold file objects. Must have about 20k over file size.
  91.       Static Free: code space available. You can ignore this.
  92.       Windows free: total free memory reported by Windows system.
  93.       Max free block: the largest free block available to Windows 
  94.         apps. as reported by the Windows kernel.
  95.  
  96.         Help: a poor joke of a help file.
  97.  
  98.  
  99. Notes: Q&D was written in Actor 3.0, an object oriented programming 
  100.     environment for Windows 3.0. The .exe file is the basic 
  101.     Actor kernel and primitives, while the .ima file contains
  102.     the compiled methods of the application.
  103.  
  104. Author: Doug Overmyer
  105.     5/13/91
  106.         CIS 71021,2535
  107.  
  108. Disclaimer: You use this program entirely at your own risk.
  109.  
  110. Problems, Bug Reports: please drop me a line on Compuserve. This is
  111.         my first real effort with Actor and I would appreciate feedback.
  112.  
  113.     
  114.