home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / vmsnet / tpu / 509 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  5.0 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!canterbury.ac.nz!lincoln.ac.nz!wronz.org.nz!trounson
  2. Newsgroups: vmsnet.tpu
  3. Subject: Re: EVE global settings (was: Annoying informational EVE messages)
  4. Message-ID: <1992Nov20.094923.82@wronz.org.nz>
  5. From: trounson@wronz.org.nz
  6. Date: 20 Nov 92 09:49:23 +1300
  7. References: <1992Nov16.221022.67@dymaxion.ns.ca> <1992Nov18.154603.71@dymaxion.ns.ca>
  8. Lines: 131
  9.  
  10. In article <1992Nov18.154603.71@dymaxion.ns.ca>, bg@dymaxion.ns.ca writes:
  11. > As it appears that many people didn't quite understand my original
  12. > post, here is some clarification:
  13. > In article <1992Nov16.221022.67@dymaxion.ns.ca>, bg@dymaxion.ns.ca writes:
  14. >> Would someone please post a patch to the EVE routines which will
  15. >> prevent informational messages from being displayed in the messages
  16. >> window for settings saved via the "SAVE EXTENDED EVE" command.  They
  17. >> really bug me.
  18. > I'm talking about the following messages:
  19. > Default select behavior is now active.
  20. > Box operations will now overstrike your buffer.
  21. > The cursor is now bound to the flow of your text.
  22. > Default command file is undefined.
  23. > Default section file is undefined.
  24. > Editor will not check for modified attributes on exit.
  25. > Pending delete disabled.
  26. > Prompting for section file enabled.
  27. > Tab mode set to insert a TAB character.
  28. > Tabs will no longer be visible.
  29. > All of these messages flash by rapidly (or not so rapidly at 2400
  30. > baud) at the beginning of an editing session which uses my saved
  31. > section file.  The messages are annoying and furthermore obilterate
  32. > any useful messages which may have been displayed at the start of
  33. > the session, like:
  34. > Editing new file.  Could not find: BG.TMP
  35. > The procedure which creates my new section file looks like this:
  36. >     SET KEYPAD EDT
  37. >     SET CURSOR BOUND
  38. >     SET NOEXIT ATTRIBUTE CHECK
  39. >     INCLUDE DYULIB:DSPELL.TPU
  40. >     INCLUDE DYULIB:GETFRO.TPU
  41. >     INCLUDE DYULIB:FILBAR.TPU
  42. >     INCLUDE DYULIB:OUTSEL.TPU
  43. >     INCLUDE DYULIB:MARGIN.TPU
  44. >     TPU COMPILE(current_buffer)
  45. >     TPU DEFINE_KEY("dy_getfile_ronly",CTRL_G_KEY)
  46. >     TPU DEFINE_KEY("dy_getfile_ronly",KEY_NAME("G",SHIFT_KEY))
  47. >     TPU DEFINE_KEY("eve_spell",KEY_NAME("S",SHIFT_KEY))
  48. >     TPU DEFINE_KEY("vertical_bar",FS_KEY)
  49. >     TPU DEFINE_KEY("output_select",KEY_NAME("O",SHIFT_KEY))
  50. >     TPU DEFINE_KEY("tilde_bar",RS_KEY)
  51. >     TPU DEFINE_KEY("right_70",KEY_NAME("7",SHIFT_KEY))
  52. >     TPU DEFINE_KEY("right_80",KEY_NAME("8",SHIFT_KEY))
  53. >     SAVE EXTENDED EVE DYM$DISK:[DYMAX.205000]TPUEDT.NEW
  54. > I never had a problem with the extra messages appearing until
  55. > I added the lines:
  56. >     SET CURSOR BOUND
  57. >     SET NOEXIT ATTRIBUTE CHECK
  58. > Ben.
  59. > ---
  60. > Ben Armstrong, Software Development                  bus: (902)422-1973
  61. > Dymaxion Research Ltd.,                              fax: (902)421-1267
  62. > Halifax, Nova Scotia, Canada B3J 1R2            Internet: bg@dymaxion.ns.ca
  63.  
  64.  
  65. As I mentioned in a previous post the use of EVE$BUILD.TPU found in sys$examples
  66. - documentation in VAXTPU Reference Manual Part II Appendix G is the best way to
  67. get rid of these messages. (We used to get them with a section file which I'd
  68. created with save extended eve - I used eve$build and the problem disappeared.)
  69. We use similar commands, but have set them up in a command file so as to use
  70. eve$build  eg         
  71. .
  72. .
  73. .
  74. define_key ('eve_show_buffers', key_name ('m',shift_key),
  75.                 "show_buffers",eve$x_wps_keys);
  76. define_key ('eve_show_system_buffers', key_name ('o',shift_key),
  77.                 "show_system_buffers",eve$x_wps_keys);
  78. .
  79. .
  80. .
  81. eve_set_keypad_wps;
  82. eve_set_cursor_free;
  83. eve_set_noexit_attribute_check;
  84.  
  85. You will need to set up a master file  facility_MASTER.FILE  (where facility is
  86. the name of your TPU facility) containing the names of command files you wish to
  87. include in the section file the contents of which will appear similar to below
  88.  
  89. DYULIB:DSPELL.TPU
  90. DYULIB:GETFRO.TPU
  91. DYULIB:FILBAR.TPU
  92. DYULIB:OUTSEL.TPU
  93. DYULIB:MARGIN.TPU
  94. DYULIB:DEFINE_KEYS.TPU
  95.  
  96. You will also need a version file facility_VERSION.DAT the contents of which are 1
  97. line similar to that below
  98.  
  99. V05.04-000
  100.  
  101. For the set noexit attribute check you will also need, as another poster has
  102. said, to place somewhere in an init procedure the line 
  103.  
  104. eve$$x_attr_exit_check  := false;
  105.  
  106. as until I did this no matter that I'd set noexit attribute check, on exiting
  107. I'd always get the question about saving attibutes if I'd changed any. 
  108.  
  109. set up a symbol build 
  110. $ BUILD == "EDIT/TPU/NODISPLAY/SECTION=SYS$SHARE:EVE$SECTION /COMMAND=SYS$EXAMPL
  111. ES:EVE$BUILD/NOINITIALIZATION"
  112.  
  113. use the command
  114.  
  115. $ BUILD facility
  116.  
  117. you will have created your sevtion file of type tpu$section, plus a .list file
  118. (results of the build) and a .init file (dynamically-generated code) the last 2
  119. files can be deleted.
  120.  
  121. If you need any more help, feel free to contact me direct.
  122.  
  123. Mary Trounson                    Internet:  TROUNSON@WRONZ.ORG.NZ
  124. Computer Systems Officer         PSI:  (05301)30000047::TROUNSON
  125. Wool Research Organisation
  126. Christchurch                    Telephone:  (+64) (+3) 325 2421
  127. New Zealand                           Fax:  (+64) (+3) 325 2717
  128.