home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / memacs.3.12_mm1.lzh / MM1.installation < prev    next >
Text File  |  1995-07-25  |  4KB  |  87 lines

  1.  
  2.   The following steps are necessary to install fully this version of
  3. microemacs on your MM/1:
  4.  
  5. 1. add to the termcap entry the codes c0 - c7 for setting the foreground
  6.    colors and the codes d0 - d7 for setting the background colors.  For your
  7.    convenience I have included here the file "termcap.entry" which contains
  8.    a complete termcap entry that I use.  Microemacs colors are : black, red,
  9.    green, yellow, blue, magenta, cyan and white, in this order.  This
  10.    version of microemacs sets the palette to represent these colors and
  11.    restores the palette to default values on exit.
  12.  
  13. 2. create a CMD subdirectory and copy there the macro definitions "*.cmd".
  14.  
  15. 3. include the path to the CMD subdirectory in your PATH environment
  16.    variable (or shell variable, if you use ksh).  This can be done in your
  17.    .login script if you use "tsmon".
  18.  
  19. 4. rename the "emacs.rc" file into ".emacsrc" and copy it into your main
  20.    directory (I call "main directory" the one that appears in the "init"
  21.    module as "system device name" - usually it is "/dd" or "/h0").
  22.  
  23. 5. copy the "emacs" executable to some convenient place, like your CMDS
  24.    directory or any other directory in your PATH.
  25.  
  26. 6. remember to switch off the cut/paste function of your middle mouse
  27.    button.  This is usually done by pressing the "Scroll Lock" key.  I could
  28.    not figure out how to do it from the program.
  29.  
  30.  
  31.    When all is done, start "emacs" by typing "emacs".  You should see the
  32. empty blue emacs screen with red menu on the top.  Type a few words - they
  33. should appear in white.  Now change the background color to black by typing
  34. "Ctrl-X M black" and the foreground color to green by typing "Ctrl-X M
  35. GREEN".  Note that the foreground color is typed in capital letters.
  36.  
  37.    The items in the red menu can be accessed by clicking on them with the
  38. left mouse button or by pressing the corresponding function keys.  Because
  39. the MM/1 function keys have special meanings, the microemacs function keys
  40. are emulated in ".emacsrc" by Ctrl-C <number>.  To try, click on "f5 fkeys"
  41. to remove the red menu.  Press "Ctrl-C 5" to restore the menu.  Note that
  42. function key f10 is accessed by "Ctrl-C 0" and that the shifted function
  43. keys also can be accessed (for instance, F8 by "Ctrl-C Shift-8").  Now click
  44. on "f6 help" to access the help/tutorial menu.  You can select the menu
  45. items with mouse or with arrow keys.
  46.  
  47.   The included "emacs.rc" file (which should become ".emacsrc", as mentioned
  48. above) contains many customizations that can be easily changed if you don't
  49. like them.  Here is the list:
  50.  
  51. 1. time and current file position are displayed on the mode line,
  52.  
  53. 2. background color is set to blue and foreground to white,
  54.  
  55. 3. menu display is arranged in the upper part of the screen and menu items
  56.    are assigned to function keys,
  57.  
  58. 4. CMODE is automatically selected for files with names ending with .c or .h
  59.    and WRAP mode for files ending with .txt,
  60.  
  61. 5. microemacs function keys are emulated by Ctrl-C <n> and Ctrl-C Shift-<n>.
  62.  
  63. Finally I have added my private customizations:
  64.  
  65. 6. Alt-S and Alt-S are assigned to incremental searches forwards and backwards,
  66.  
  67. 7. Alt-F and Alt-B are assigned to "search again" functions,
  68.  
  69. 8. ESC-Y is assigned to "save file without exiting",
  70.  
  71. 9. ESC-S is assigned to "search forward" and Ctrl-X Q to "quote character". These
  72.    functions are usually assigned to "Ctrl-S" and "Ctrl-Q" and I want to
  73.    avoid them as I sometimes work on DEC terminals,
  74.  
  75. 10. auto-save is enabled (by "set $gmode 256" - see the manual),
  76.  
  77. 11. tab stops are defined every 4 characters.
  78.  
  79.  
  80. Andrzej Kotanski
  81.  
  82. (kotanski@zeus02.desy.de or kotanski@thp1.if.uj.edu.pl)
  83.  
  84.  
  85.  
  86.  
  87.