home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / basic / library / qb_pds / edit / myed.doc < prev    next >
Encoding:
Text File  |  1988-05-29  |  9.1 KB  |  201 lines

  1.                                     MyEd 2.0
  2.  
  3.  
  4.      This software is copyrighted.  See the license agreement at the end of
  5.      this file for information on rights to use and copy this software.
  6.  
  7.      MyEd is a resident text editor that can be popped up from within any
  8.      program.  I named it the somewhat corny MyEd mainly because it's getting
  9.      darned hard to come up with clever new names.  But I hope that after you
  10.      try it you will call it "MyEd" too. <groan>
  11.  
  12.      If you can program in BASIC, you can really make this into an editor to
  13.      suit your own tastes, since the QuickBASIC source code is available.
  14.  
  15.      Requirements:  EMS Memory or
  16.                       DOS 3+ plus either Extended Memory or a Hard Disk
  17.                     (Uses 7k of RAM while awaiting calling.)
  18.                     MyEd can also be used in a non-resident mode, in which
  19.                       case the above requirements do not apply.
  20.  
  21.      Limitations:  Maximum line length - 80 characters.
  22.                      Lines longer than 80 in a file being loaded can either
  23.                      be truncated at 80 or wrapped to the next line.
  24.                      The option is user selectable during loading.
  25.                    Files up to 500 lines can be edited in memory.  MyEd will
  26.                      let you edit any size file, but only in 500-line segments.
  27.                      Once a segment is stored, you cannot page back to it
  28.                      without saving the file and reloading it.  Saving a 500-
  29.                      line segment and loading the next segment takes what seems
  30.                      like a long time (30 seconds on my machine).  But despite
  31.                      these drawbacks, the net result is that now you at least
  32.                      have a memory-resident editor that only takes 7k of DOS
  33.                      RAM and can edit files of unlimited size.
  34.  
  35.  
  36.      The following table is both a list of features and a reference sheet for
  37.      the keys to press to use those features.
  38.  
  39.      KEYS                  FEATURES
  40.      ===== ==================================================================
  41.      Alt-B defines the beginning/end of a block of lines. See Alt-E/P/U.
  42.      Alt-C clears all lines, ie: wipes the slate clean.
  43.      Alt-D deletes the line at the cursor position.
  44.      Alt-E erases a block of lines. See Alt-B/P/U
  45.      Alt-F finds specified text. Automatically wraps around the end of the
  46.            file. If matching text is found, it is displayed highlighted.
  47.      Alt-G get the next section.
  48.      Alt-I toggles auto-indent, ie: next line starts at the same cursor
  49.            position as the preceeding line. Can be overridden with cursor keys.
  50.      Alt-K automatically caps the first letter of each word. Good for names
  51.            and addresses.
  52.      Alt-M set the right margin.
  53.      Alt-N to load a new file without saving current file.
  54.      Alt-P pastes (copies) a block of lines. See Alt-B/E/U.
  55.      Alt-R reforms paragraph from the current line down.  End of Paragraph is
  56.            when the next line starts with at least 3 blanks unless auto-indent
  57.            is on, then End of Paragraph is when the next line does not have
  58.            the same margin as the preceeding line.
  59.      Alt-U unmarks a block of lines. See Alt-B/E/P.
  60.      Alt-W toggles word-wrap on/off.
  61.      Alt-X save and exit.
  62.      Esc   exit without saving.
  63.      Ctrl-End deletes from the cursor to the end of the line.
  64.      Ins   toggles Insert mode.
  65.      ENTER pressed in the Insert mode splits a line at the cursor position.
  66.      Del   at end of text joins two lines.
  67.      Cursor movement keys:
  68.          Up, Down, Left, Right.
  69.          Home, End - Move to start or end of text.
  70.             Press again - Move to start or end of line.
  71.          Ctrl-Left Ctrl-Right - move cursor 1 word left or right.
  72.  
  73.      Upper-ASCII characters can be entered by holding down the Alt key and
  74.      entering the ASCII code on the number pad.
  75.  
  76.  
  77.                                TO LOAD INTO MEMORY
  78.  
  79.      MyEd was written primarily to serve as a resident editor; however, it
  80.      can be used in the non-resident mode just by typing  MYED  in DOS.
  81.  
  82.  
  83.                        Use With EMS Memory - Enter MYED /E
  84.  
  85.      As a resident editor, MyEd is best utilized on systems that have an EMS
  86.      memory expansion card.  If you have such a card, MyEd will use only 7k
  87.      of DOS RAM while waiting for you to call it up.
  88.  
  89.  
  90.                     Use With Disk-Swapping - Enter MYED /Sd:\path
  91.                 (where d:\path is the drive\path to use for swapping)
  92.                      NOTE: DOS 3+ REQUIRED FOR THE SWAPPING MODE
  93.  
  94.  
  95.      If you do not have EMS memory, the next best choice is a RAM disk in
  96.      Extended memory. (eg: If you have an AT with, say, 1 meg of memory, the
  97.      memory over 640k is Extended memory.)
  98.  
  99.      If you do not have Extended memory, it does no good to use the swapping
  100.      mode on a regular RAM disk since it takes as much (or more) memory to
  101.      store it on a RAM disk as to load it all into memory.
  102.  
  103.      If you have a hard disk, it will take 5 or 6 seconds for the program to
  104.      "pop" up in the disk-swapping mode. This is not too bad when you take
  105.      into consideration that this lets MyEd use less than 10k instead of over
  106.      140k of RAM.
  107.  
  108.      If you do not have a hard disk either, sorry. Disk-swapping on a floppy
  109.      is just too slow and complicated. However, you can still use the editor
  110.      in the non-resident mode. If fact, you can still use it in the full-
  111.      resident mode if you don't mind giving up 140k of RAM.
  112.  
  113.      Work files, with names SR00-SR99, are created in the specified drive and
  114.      path.  You should never delete these files while MyEd is loaded into
  115.      memory. Let your AUTOEXEC.BAT delete them before loading MyEd.
  116.  
  117.  
  118.                        Loading Order of Resident Programs:
  119.  
  120.      The safest place to load MyEd is first.  In particular, it is known that
  121.      it must be loaded before Newkey.  If it does not work, try changing the
  122.      order that you load your TSR's in. If you keep having problems, load
  123.      MyEd first and try it; if it works, then keeping loading your other TSRs
  124.      one at a time and trying it until it quits working. Once you find the
  125.      culprit, try changing the order around.
  126.  
  127.  
  128.                              CHANGING SCREEN COLORS
  129.  
  130.      MyEd  comes with colors set to black and white. You can change the
  131.      colors on the command line as follows:
  132.  
  133.      MYED /FGnn /HLnn /BGnn  where nn is a color number from the following
  134.      lists:
  135.  
  136.      FG, HL or BG:
  137.          0-Black 1-Blue 2-Green 3-Cyan 4-Red 5-Magenta 6-Yellow 7-White
  138.  
  139.      FG or HL only: add 8 to the above numbers for bright colors.
  140.  
  141.  
  142.                              QUIETING ALL SOUNDS
  143.  
  144.      To completely eliminate all beeps, enter MYED /Q.
  145.  
  146.  
  147.                        SAMPLE COMMAND LINE WITH PARAMETERS
  148.  
  149.      ALL parameters can be combined on one command line. eg:
  150.  
  151.      MYED /Q /FG15 /BG1 /HL12 /SE:\MYSUB
  152.  
  153.      tells MyEd to quiet the sounds, use bright white for foreground (text)
  154.      color, blue for background  and bright red for highlight colors,  and
  155.      load MyEd into memory, using drive E: for disk swapping,
  156.  
  157.      IMPORTANT NOTE: If specifying more than one parameter, the swapping
  158.      parameter must come last.
  159.  
  160.  
  161.                                   RUNNING MYED
  162.  
  163.      When you load MyEd into memory the first time (in the resident mode), it
  164.      will immediately return to DOS.  It can then be called up at any time by
  165.      pressing the "hot keys":  Alt-Ctrl-E.  (Note: all three must be pressed
  166.      at the same time.)  (Note2: The hot-key combination can be changed in
  167.      the source code if you have StayRes to recompile the source with.)
  168.  
  169.      You will be prompted for a file name. (In the non-resident mode, you can
  170.      type QUIT here to exit the program.)  Press Enter alone in order to edit
  171.      a new file.  Follow the prompts for seeing directory listings and read
  172.      the table of features above for more information.
  173.  
  174.  
  175.                                  LIMITED LICENSE
  176.  
  177.      This software and associated files are being marketed as shareware.
  178.  
  179.      That means the files are copyrighted, but may be used for an evaluation
  180.      period of up to thirty days. If after evaluating the program you do
  181.      decide to use it, the license fee is $25, payable to Ford Software.
  182.  
  183.      Payment by individuals is optional. Payment by businesses and government
  184.      offices, etc, is NOT optional. Individuals may also make a few copies
  185.      for friends to try so long as such copying is not done as part of nor
  186.      adjunct to any group, association or business.
  187.  
  188.      NOTE: This limited license does not apply to the source code. Read the
  189.      source code file for more information.
  190.  
  191.  
  192.                                     WARRANTY
  193.  
  194.      The author is not responsible for any damages resulting from the use of
  195.      this program, including the loss of time or income.  Good data processing
  196.      procedures dictate that any new software be tested by the the user with
  197.      non-critical data.  If you do not agree to this warranty, do not use this
  198.      program.
  199.  
  200.  
  201.