Updated: 11 December 1998 |
Extensible Versatile Editor Reference Manual
Previous | Contents | Index |
SET EXIT ATTRIBUTE CHECK
The SET EXIT ATTRIBUTE CHECK command enables attribute checking on exiting so that if you set attributes, EVE asks whether you want to save your customizations. This is the default. If SET EXIT ATTRIBUTE CHECK is in effect, then on exiting, EVE checks if you have changed attributes during the editing session and not yet saved them. If so, then EVE prompts you as follows:
Command: EXIT Attributes were changed. Save them [YES]?If you want to save your settings, press the Return key. EVE then does a SAVE ATTRIBUTES before continuing with the exit. Depending on your other settings or responses to prompts, you save them in a section file or in a DECTPU command file. If you do not want to save your settings, type NO and press Return. EVE then continues exiting.
For more information, read the online help topic on Attributes.
SET FILL NOTAGS
The SET FILL NOTAGS command prevents the FILL commands from wrapping lines that start with either a RUNOFF command or a VAX DOCUMENT tag. SET FILL NOTAGS adds to the list of paragraph boundaries any RUNOFF command or VAX DOCUMENT tag at the start of a line. This prevents FILL, FILL PARAGRAPH, and FILL RANGE from wrapping lines that start with those commands or tags. Blank lines and page breaks are still recognized as paragraph boundaries.The setting applies in all buffers but is not saved in a section file or command file. If you want to keep SET FILL NOTAGS for future editing sessions, put the command in an initialization file. For more information on initialization files, see the online help on Initialization Files.
SET FILL NOTAGS is the default setting in EVE.
SET FILL TAGS
The SET FILL TAGS command enables the FILL commands to wrap lines that start with either a RUNOFF command or a VAX DOCUMENT tag. SET FILL TAGS removes from the list of paragraph boundaries any RUNOFF command or VAX DOCUMENT tag at the start of a line. This lets FILL, FILL PARAGRAPH, and FILL RANGE wrap lines that start with those commands or tags. Blank lines and page breaks are still recognized as paragraph boundaries.If you use SET FILL TAGS, you may want to redefine FILL keys---such as GOLD-KP8 with the EDT keypad---as FILL RANGE. This avoids accidentally filling a large block of text (or an entire buffer) that does not have blank lines or page breaks, making the text hard to read or causing errors with RUNOFF or DOCUMENT processing.
The setting applies in all buffers but is not saved in a section file or command file. If you want to keep SET FILL TAGS for future editing sessions, put the command in an initialization file. For more information on initialization files, see THE online help on Initialization Files.
The default is SET FILL NOTAGS; EVE does not fill lines of text that start with a RUNOFF command or a VAX DOCUMENT tag.
SET FIND CASE EXACT
The SET FIND CASE EXACT command enables case-exact searches. This is useful to find or replace lowercase occurrences only. SET FIND CASE EXACT applies to the FIND, REPLACE, and WILDCARD FIND commands.The default is SET FIND CASE NOEXACT. EVE searches for any occurrence if you enter a string in lowercase and an exact match if you enter it in uppercase or mixed case.
The setting applies in all buffers. To save your setting, use SAVE ATTRIBUTES to create a section file or to create or update a command file. For more information, read the online help topic on Attributes.
The following commands enable case-exact searches and then find the word digital if it occurs in lowercase only:
Command: SET FIND CASE EXACT Command: FIND digital |
SET FIND CASE NOEXACT
The SET FIND CASE NOEXACT command disables case-exact searches so that EVE finds any occurrence if you enter the search string in all lowercase. This is the default. SET FIND CASE NOEXACT applies to FIND, REPLACE, and WILDCARD FIND. The setting applies in all buffers. To enable case-exact searches (when you want to find or replace lowercase occurrences only) use the SET FIND CASE EXACT command.
The following commands disable case-exact searches and then find the words digital, DIGITAL, Digital, or a mixed-case occurrence:
Command: SET FIND CASE NOEXACT Command: FIND digital |
SET FIND NOWHITESPACE
The SET FIND NO WHITESPACE command enables FIND and WILDCARD FIND commands to match spaces and tabs exactly as specified in the search string and to search for multiword strings that do not cross lines. This is the default.If you want EVE to treat spaces, tabs, and up to one line break as "white space," use the SET FIND WHITESPACE command. Some WILDCARD FIND patterns may override the setting. For example, with OpenVMS-style wildcards, two asterisks (**) match any amount of text crossing lines and \W matches any amount of white space.
The setting applies in all buffers but is not saved in your section file or command file.
In the following example, you search for Mark Twain with exactly one space between the words and entirely on one line:
Command: SET FIND NOWHITESPACE Command: FIND Mark Twain |
SET FIND WHITESPACE
The SET FIND WHITESPACE command enables FIND and WILDCARD FIND commands to treat spaces, tabs, and up to one line break as "white space." With SET FIND WHITESPACE, you can search for a string of two or more words, regardless of how they are separated. The default is SET FIND NOWHITESPACE. EVE matches spaces and tabs in the search string exactly, and search strings do not span a line break.The setting applies in all buffers but is not saved in a section file or command file. To keep your setting for future editing sessions, put the command in an initialization file (EVE$INIT.EVE).
In the following example, you search for Mark Twain whether there is one or more spaces or tabs between the words or if Mark is at the end of one line and Twain at the start of the next line:
Command: SET FIND WHITESPACE Command: FIND Mark Twain |
SET FUNCTION KEYS MOTIF
The SET FUNCTION KEYS MOTIF command defines or redefines some function keys to be the same as in other Motif DECwindows applications. This is the default. SET FUNCTION KEYS MOTIF defines the keys in Table 2-9.
Table 2-9 Motif-Style Key Definitions Motif-Style Key Defined Keys CTRL/SPACE SELECT CTRL// (slash) SELECT ALL CTRL/\ (backslash) RESET CTRL/<uparrow symbol> Previous paragraph CTRL/<downarrow symbol> Next paragraph ALT/-> END OF LINE CTRL/-> EDT or WPS next word CTRL/ <- EDT or WPS previous word ALT/CTRL/-> BOTTOM ALT/ <- START OF LINE ALT/CTRL/ <- TOP CTRL/SHIFT/INSERT HERE RESTORE ALT/REMOVE Primary Cut CTRL/REMOVE EDT Delete to End of Line SHIFT/REMOVE STORE TEXT ALT/SHIFT/REMOVE Primary Copy CTRL/SHIFT/SELECT Primary Selection Restore (grab the primary selection and re-highlight EVE's previous selection) CTRL/PREV SCREEN Page Left (shift left 1 window width) CTRL/NEXT SCREEN Page Right (shift right 1 window width) SHIFT/< X| Pending Delete or EDT delete character (to the right of the cursor) This does not override any definitions of the keys, whether the EVE default, EDT keypad, WPS keypad, or definitions done with DEFINE KEY or LEARN. Learn sequences created before you enabled Motif function keys may not replay properly because the keys are now defined. To disable the keys, use the command SET FUNCTION KEYS NOMOTIF.
Shifted function keys work in DECwindows but not on character-cell terminals, such as a VT220 or VT100.
For more information about using EVE in DECwindows, see the online help topic on DECwindows Differences.
There are two ways to keep your setting for future editing sessions:
- Put the SET FUNCTION KEYS MOTIF command in an initialization file.
- Use the SAVE EXTENDED EVE command to create a section file that saves your key definitions.
SET FUNCTION KEYS NOMOTIF
The SET FUNCTION KEYS NOMOTIF command cancels Motif DECwindows-style definitions of some function keys done with the SET FUNCTION KEYS MOTIF command.There is no effect on keys you defined with DEFINE KEY or LEARN; for example, if you defined ALT/E3, your definition overrides the Motif function key definition.
Learn sequences that use DECwindows-style function keys may not replay properly because the keys are now undefined or defined differently.
SET GOLD KEY keyname
keyname
The key you want to set as GOLD. If you do not specify a key name, EVE prompts you to press the key you want to define. Pressing the Return key or Ctrl/M at the prompt cancels the operation because those keys cannot be redefined.
The SET GOLD KEY command defines a key as the GOLD key for use with other keys, and enables several GOLD key sequences. The GOLD key increases the possible key bindings. For example, you can define F20 to execute one command and define GOLD-F20 to execute another command. To execute one function, you press F20 alone; to execute the other function, you press GOLD and then press F20. You can also define combinations of GOLD and a typing key, such as GOLD-C.Setting the GOLD key, by itself or by setting the EDT or WPS keypad, automatically defines some GOLD sequences for the arrow keys and the minikeypad, unless you have defined the keys otherwise. Table 2-10 lists the default GOLD sequences. Some of these require a VT300- or VT200-series terminal (for example, GOLD-Help).
Table 2-10 EVE Default GOLD Key Sequencess EVE Default Keys Defined Keys GOLD-F13 RESTORE WORD or WPS Delete Beginning Sentence GOLD-Help HELP KEYS (list) GOLD-Find WILDCARD FIND GOLD-Insert Here RESTORE GOLD-Remove STORE TEXT GOLD-Select RESET GOLD-Prev Screen PREVIOUS WINDOW GOLD-Next Screen NEXT WINDOW GOLD-<uparrow symbol> TOP GOLD- <- START OF LINE GOLD-<downarrow symbol> BOTTOM GOLD--> END OF LINE SET GOLD KEY overrides any current definition of the key you specify, whether the key is defined by EVE, the EDT keypad, the WPS keypad, or a definition of your own. You can have only one key set as GOLD at a time. The EDT or WPS keypad makes PF1 the GOLD key, overriding any current definition of PF1. However, if you set a different key as the GOLD key, then the EDT or WPS keypad uses your GOLD key. In such a case, using the SET NOGOLD KEY command cancels your GOLD key and restores PF1 as the GOLD key for the EDT or WPS keypad.
Key definitions remain in effect throughout your editing session or until you redefine or undefine the keys. There are two ways to keep your GOLD key and other key definitions for future editing sessions:
- Put SET GOLD KEY and other key-definition commands in an initialization file (EVE$INIT.EVE).
- Use the SAVE EXTENDED EVE command to create a section file that saves your key definitions.
The following commands set PF1 as the GOLD key, and then define the combination of GOLD and the letter C as the CENTER LINE command. Typing a C or c by itself still inserts that letter. In specifying a GOLD key sequence, use a dash, slash, or underscore as a delimiter in the key name.
Command: SET GOLD KEY PF1 Command: DEFINE KEY= GOLD-C CENTER LINE |
SET JOURNALING buffer
buffer
The buffer for which you want to create a buffer-change journal file. If you do not specify a file name, EVE prompts for one. Pressing the Return key or the Do key at the prompt without typing anything cancels the operation.
The SET JOURNALING command enables buffer-change journaling for the buffer you specify, creating a journal file. By default, EVE creates a buffer-change journal file for each text buffer you create. Therefore, you would use the SET JOURNALING command only if you had disabled journaling either by invoking EVE with the /NOJOURNAL qualifier or by using the SET NOJOURNALING command during your editing session.The journal file name derives from the name of the buffer or file you are editing and the file type .TPU$JOURNAL. For example, if you edit a file named MEMO.TXT, the journal file is called MEMO_TXT.TPU$JOURNAL.
The journal file is created in the directory defined by the TPU$JOURNAL logical name. The default is SYS$SCRATCH, which is your top-level login directory.
To check the journal file name for the buffer, use the SHOW command.
You cannot enable journaling for a buffer that is modified. First write out the buffer (by using WRITE FILE or SAVE FILE), and then enable journaling.
To enable journaling for all your buffers, use the SET JOURNALING ALL command.
The following example enables buffer-change journaling for a buffer called TEST DATA. EVE then creates a journal file named TEST_ DATA.TPU$JOURNAL.
Command: SET JOURNALING TEST DATA |
SET JOURNALING ALL
The SET JOURNALING ALL command enables buffer-change journaling for all your text buffers. By default, EVE creates a journal file for each text buffer you create. Use the SET JOURNALING ALL command only if you had disabled journaling either by invoking EVE with the /NOJOURNAL qualifier or by using the SET NOJOURNALING ALL command during your editing session.To check the journal file name for the current buffer, use the SHOW command.
You cannot enable journaling for buffers that are modified. First write out the buffers by using WRITE FILE or SAVE FILE, and then enable journaling.
SET KEYPAD EDT
The SET KEYPAD EDT command enables the EDT-style keypad, defining the numeric keypad and other keys. There are three ways to keep the EDT keypad for future editing sessions:
- Put the SET KEYPAD EDT command in an initialization file (EVE$INIT.EVE).
- Use the SAVE EXTENDED EVE command to create a section file that saves your key definitions.
- Define the logical name EVE$KEYPAD to EDT before entering the editor.
<REFERENCE>(VE_EDTKEYS_TAB) lists the keys defined when you use SET KEYPAD EDT, including any EVE default keys still in effect. If you define any keys, when you use DEFINE KEY or LEARN, your definitions override the EVE or EDT definitions.
Table 2-11 EVE Keys Defined with SET KEYPAD EDT EDT Keys Defined Keys F10 EXIT F11 CHANGE DIRECTION F12 EDT Backspace (Using SET FUNCTION KEYS DECWINDOWS defines F12 as START OF LINE.) F13 EDT Delete Previous Word GOLD-F13 RESTORE WORD F14 CHANGE MODE HELP HELP KEYPAD (diagram) GOLD-Help HELP KEYS (list) DO DO FIND FIND GOLD-Find WILDCARD FIND INSERT HERE INSERT HERE GOLD-Insert Here RESTORE REMOVE REMOVE GOLD-Remove STORE TEXT SELECT SELECT GOLD-Select RESET PREV SCREEN EDT Previous Screen GOLD-Prev Screen PREVIOUS WINDOW NEXT SCREEN EDT Next Screen GOLD-Next Screen NEXT WINDOW <uparrow symbol> MOVE UP GOLD-<uparrow symbol> TOP <- MOVE LEFT GOLD- <- START OF LINE <downarrow symbol> MOVE DOWN GOLD-<downarrow symbol> BOTTOM -> MOVE RIGHT GOLD--> END OF LINE PF1 GOLD (unless you specified a different key with SET GOLD KEY) PF2 HELP KEYPAD (diagram) GOLD-PF2 HELP KEYS (list) PF3 EDT FndNxt GOLD-PF3 FIND PF4 EDT Delete Line GOLD-PF4 RESTORE LINE KP0 EDT Line GOLD-KP0 EDT Open Line KP1 MOVE BY WORD GOLD-KP1 EDT ChngCase KP2 EDT End Of Line GOLD-KP2 EDT Delete EOL KP3 EDT Character GOLD-KP3 EDT SpecIns KP4 FORWARD GOLD-KP4 BOTTOM KP5 REVERSE GOLD-KP5 TOP KP6 REMOVE GOLD-KP6 INSERT HERE KP7 MOVE BY PAGE GOLD-KP7 DO KP8 EDT Sect GOLD-KP8 FILL KP9 EDT Append GOLD-KP9 EDT Replace MINUS EDT Delete Word GOLD-MINUS RESTORE WORD COMMA EDT Delete Character GOLD-COMMA RESTORE CHARACTER PERIOD SELECT GOLD-PERIOD RESET ENTER RETURN GOLD-ENTER EDT Subs Ctrl/A CHANGE MODE Ctrl/B RECALL Ctrl/E END OF LINE Ctrl/H or BACKSPACE EDT Backspace Ctrl/I or TAB TAB Ctrl/J or LINEFEED EDT Delete Previous Word Ctrl/K LEARN Ctrl/L INSERT PAGE BREAK Ctrl/M or RETURN RETURN Ctrl/R REMEMBER Ctrl/U EDT Delete Start Line Ctrl/V QUOTE Ctrl/W REFRESH Ctrl/Z EXIT DELETE or < X| DELETE GOLD-1... GOLD-9 REPEAT 1... REPEAT 9
Previous Next Contents Index
Copyright © Compaq Computer Corporation 1998. All rights reserved.
Legal6021PRO_010.HTML