Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

EVE SET_BUFFER — VMS 5.4

 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:

    Keyword        Effects
    ---------------------------------------------------------------------
    READ_ONLY      Buffer is write-locked and unmodifiable.  Text editing
                   functions do not work in the buffer, and exiting does
                   not write out the buffer.

    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.  In the status line,
                   Unmodifiable replaces Insert or Overstrike as an
                   indicator.

 Examples:

    Commands                  Purpose or 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  To toggle the read/write attribute, click MB1 on the Read-only or Write
    indicator in the status line.  For example, clicking on Write makes the
    buffer read-only and unmodifiable; clicking on Read-only makes the
    buffer write-enabled and modifiable.

 o  If you invoked EVE using /READ_ONLY, /NOWRITE, or /NOMODIFY, you can
    use SET BUFFER commands to change the attributes of the Main (or first)
    buffer.  The qualifiers do not affect other buffers you create.  See
    DCL help on EDIT/TPU.

 o  If a buffer is unmodifiable, commands or keys to cut a range or box
    (such as REMOVE, BOX CUT, or the EDT Append key) copy the range or box
    instead.

 Related topics:

    Status Line     DELETE BUFFER     SHOW     SHOW BUFFERS

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026