home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / jed098-4.zip / JED / DOC / EDT.TXT < prev    next >
Text File  |  1997-02-01  |  2KB  |  58 lines

  1. Included in this distribution is the file ``edt.sl''.  This requires JED
  2. version 0.84 or greater to run.  To use it, put 
  3.  
  4. () = evalfile ("edt.sl");
  5.  
  6. in your .jedrc (jed.rc) file.  This document also includes some gold key
  7. settings kindly donated by clifton@auriga.rose.brandeis.edu (James Clifton).
  8. I have not installed these settings in edt.sl but I encourage you to look at
  9. it. 
  10.  
  11.    Note: edt.sl will not work with jed386.exe.  See question 12 of
  12.    jed_faq.txt for a way around this restriction.
  13.    
  14.           Differences between EDT and Jed's EDT emulation
  15.           
  16. Hopefully, you will not notice any difference if you use the keypad keys. I
  17. have done my best to ensure that the functionality of the Application keypad
  18. is preserved.
  19.  
  20. By default, JED binds ^H (control-H) to help.  Actually, it is a prefix
  21. character for ^HC (showkey), ^Hf (describe function), ^Hm (man page), etc...
  22. EDT (VMS) uses ^H to move to the beginning of the line.  If you want this 
  23. behavior instead of JED's, then put the line
  24.  
  25.    unsetkey ("^H"); setkey ("bol", "^H");
  26.  
  27. in your jed.rc (.jedrc) file AFTER the evalfile ("edt.sl") statement.
  28.  
  29.  
  30. I tried to find out if there is a standard set of GOLD-X key definitions
  31. where X is and character A-Z.  Apparantly there is not.  Hence with the
  32. exceptions below, I have not defined any.  However, this should not stop you
  33. from defining your own.  (See what James Clifton does below)
  34.  
  35. I have defined 2 GOLD key combinitions:  GOLD-E and GOLD-Q.  Both of these
  36. are bound to the exit command.
  37.  
  38. If you would like to bind the GOLD-X key combinations, then it is very easy.
  39. For example, suppose you want GOLD-I to insert a file into the buffer,
  40. GOLD-W to write the buffer to a file, and GOLD-S to switch to a previous
  41. buffer.  Then add the following to your .jedrc (jed.rc) file:
  42.  
  43.     setkey ("insert_file",         "^[OPI");
  44.     setkey ("write_buffer",        "^[OPW");
  45.     setkey ("switch_to_buffer",    "^[OPS");
  46.  
  47. Note that the GOLD key actually returns 3 characters: escape (^[) O, and P.
  48. The escape key on DEC keyboards as well as many others is equivalent to
  49. pressing Control-[.  When JED see's the caret `^', it interprets it as
  50. CONTROL.
  51.  
  52. In addition to the standard keypad, newer DEC terminals (vt220 etc) have a
  53. smaller keypad (Find, Insert here, Prev SCreen, etc....). These have also
  54. been bound.
  55.  
  56. Finally, JED does not support any EDT line editing commands, nor will it.
  57.  
  58.