/sys$common/syshlp/EVE$HELP.HLB  —  SET_BUFFER
  SET BUFFER

  Sets the editing attributes of the buffer---whether you can modify the
  buffer or whether EVE writes out the buffer on exiting.

  You can specify one of the following keywords per command:

     Keywords       Effects
     ----------------------------------------------------------------------
     READ_ONLY      Buffer is write-locked---on exiting, EVE does not write
                    out the buffer. Also makes the buffer unmodifiable, so
                    that text editing functions do not work in the buffer
                    unless you then make the buffer modifiable.

     WRITE          (Default.)   Buffer is write-enabled (opposite of
                    READ_ONLY) and modifiable. On exiting, if the buffer has
                    been modified, EVE writes it out or asks if you want to
                    write it out.

     MODIFIABLE     (Default.)   Buffer can be modified. Also restores the
                    previous mode of the buffer (insert or overstrike).

     UNMODIFIABLE   Buffer cannot be modified. Commands or keys to cut text
                    (such as REMOVE, BOX CUT, or the EDT Append key) copy
                    the text instead. In the status line, Unmodifiable
                    replaces the Insert or Overstrike indicator.

  Examples:

     Commands                  Effects
     ----------------------------------------------------------------------
     SET BUFFER READ_ONLY      Makes the buffer read-only and unmodifiable
                               ---useful to prevent inadvertently changing
                               text you want to keep intact, such as
                               reference data or a previous draft. To undo
                               the settings, use SET BUFFER WRITE.

     SET BUFFER READ_ONLY      Makes the buffer read-only and also makes it
     SET BUFFER MODIFIABLE     modifiable---useful for a "scratchpad" you
                               want to edit but do not want EVE to write out
                               on exiting.

  Usage notes:

  o  Invoking EVE with the /READ_ONLY, /NOWRITE, /NOMODIFY, or /NOOUTPUT
     qualifier affects the MAIN buffer (or buffers initially created from
     your input files) but does not affect other buffers you create. See DCL
     help on EDIT/TPU or see the EVE Reference Manual.

  o  If your system has a mouse, you can toggle the read/write attribute of
     the buffer by clicking M1 on the indicator in the status line---
     clicking on Write makes the buffer read-only and unmodifiable; clicking
     on Read-only makes the buffer write-enabled and modifiable. This works
     on DECwindows, DECterm, or UIS. See help on Status Line.

  o  On DECwindows, you can toggle the read/write and modification
     attributes of the buffer as follows:

        1.  Choose Buffer Attributes from the Customize menu.
        2.  Click M1 on Set Buffer Read Only or Set Buffer Modifiable.

  Related topics:

     Status Line     DELETE BUFFER     SHOW     SHOW BUFFERS
Close Help