Document revision date: 30 March 2001
[Compaq] [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]
[OpenVMS documentation]

Extensible Versatile Editor Reference Manual


Previous Contents Index

SET KEYPAD WPS provides most WPS key functions but does not fully emulate WPS. Table 2-14 explains the important differences between the WPS keypad in EVE and WPS-PLUS.

Table 2-14 EVE Differences with SET KEYPAD WPS
EVE Key or Function Difference from WPS-PLUS
PF1 GOLD. The WPS keypad makes PF1 the GOLD key, overriding any current definition of PF1. However, if you set a different key as GOLD, the WPS keypad uses your GOLD key without redefining PF1. The WPS keypad also defines the EVE default GOLD key sequences, except GOLD-F13 is defined as the Delete Beginning Sentence key.
GOLD-PF3
GOLD-PF4
RESTORE. Reinserts the line, word, or sentence you last erased. Depending on the version of WPS you are accustomed to, you may want to redefine these keys as RESTORE WORD and RESTORE CHARACTER, respectively.
PF2 MOVE BY PAGE. Moves to the next or previous page break.
GOLD-PF2 PAGINATE. Inserts a "soft" page break (FF NL ) for a 54-line page.
GOLD-C CENTER LINE. Centers the current line between the left and right margins by adding spaces at the start of the line. Does not leave a centering mark.
GOLD-F
Ctrl/Z
F10
EXIT. Ends the editing session, writes out the current buffer, and asks whether to write out any other buffers if they were modified. Exiting does not delete the old version of the input file. If you have made no changes to the buffer, EXIT is the same as QUIT.
F11 CHANGE DIRECTION. Switches the direction of the buffer from forward to reverse or conversely. EVE does not implement an ALT CHAR key.
F12 MOVE BY LINE. Moves the cursor a line at a time in the current direction of the buffer. SET FUNCTION KEYS DECWINDOWS defines F12 as START OF LINE. EVE does not implement WPS-style hyphenation.
SELECT
PERIOD
With the WPS keypad, selecting text by pressing SELECT on the minikeypad or PERIOD on the numeric keypad also sets the direction of the buffer to forward. The direction does not change if you type the SELECT command or if you use the mouse to select text.
GOLD-[ DO. Enters an EVE command.
GOLD-G INCLUDE FILE. Inserts the text of a specified file. In EVE, the GET FILE command lets you create or edit another file in the same editing session.
GOLD-N
Ctrl/L
INSERT PAGE BREAK. Inserts a "hard" page break---a form feed (FF )---on a line by itself.
GOLD-P WPS Page Marker. Inserts a "soft" page break---a form feed and null character (FF NL )---on a line by itself.
GOLD->
Ctrl/K
Starts a learn sequence so you can bind several keystrokes to a single key. To end the learn sequence, press Ctrl/R (defined as REMEMBER) or press the WPS Halt key (GOLD-`).
Ctrl/C Usually halts an operation, such as a repeat or global replace. However, if you are using keystroke journaling (instead of buffer-change journaling), Ctrl/C is not recorded in the journal file. If you use Ctrl/C, you should immediately exit to save your edits; otherwise, if the system fails, you may not be able to recover your work. This restriction does not apply with buffer-change journaling, which is the EVE default.
Case-change
continuation
With the WPS Uppercase key (KP3) or WPS Lowercase key (GOLD-KP3), if you change the case of a single character (rather than the case of a range or box), you can continue the case change by using the following WPS keys:
Word (KP4 or GOLD-KP4)
Tab Position (KP8)
Line (KP2 or GOLD-KP2)
Sentence (KP7 or GOLD-KP7)
Paragraph (KP5)
Page (PF2)
Bottom (GOLD-B)
Top GOLD T

To cancel this effect (so you can move the cursor without changing case), press any other cursor-movement key, such as <- or the WPS Advance key (KP0).

Copy, cut, and paste EVE commands and WPS keys that work on a standard linear range also work on a box. SET BOX SELECT makes the following WPS keys work like BOX CUT and BOX PASTE:
WPS Copy (GOLD-MINUS)
WPS Cut (MINUS or REMOVE)
WPS Paste (COMMA, GOLD-COMMA, or INSERT HERE)
WPS Replace (GOLD-' or GOLD-")

WPS keys do not use the DECwindows clipboard. For example, the WPS Copy, Cut, and Paste keys use the INSERT HERE buffer or an alternate paste buffer (specified by GOLD-1 through GOLD-9). EVE commands and EDT keys use either the clipboard or the INSERT HERE buffer, depending on your setting.

Cursor Setting the WPS keypad automatically sets the cursor to bound. To enable a free cursor, which can move anywhere in the buffer, use SET CURSOR FREE, which is otherwise the EVE default.
Paragraphs Paragraph boundaries for FILL (GOLD-KP5) or the WPS Paragraph key (KP5) are any of the following:
Blank line
Top or bottom of the buffer
Page break (form feed at start of line)
RUNOFF command (such as .BREAK) at start of line
VAX DOCUMENT tag (such as <LE>) at start of line
Rulers When you use the WPS Ruler key GOLD R, only one ruler can be active at a time. Rulers cannot be embedded in a document. Setting the margins or paragraph indent does not automatically rewrap or reformat text. Rulers do not have the following:
C --- centering point
H --- hyphenation zone
. --- decimal tab
> --- right-justified tab

For a list of the keys you can use with the ruler, see Table 2-15.

Scrolling Scrolling with WPS keys is halted when you press any key---not just the WPS Halt key (GOLD-`). Pressing a key to stop scrolling executes whatever function is assigned to that key.
Searches Searches follow EVE rules for case sensitivity and direction. See the description of the FIND command.
Sentences Sentence boundaries for the WPS Sentence key (KP7 or GOLD-KP7) and Delete Beginning Sentence key (GOLD-F13, GOLD-Ctrl/J, or GOLD-LINEFEED) are periods, question marks, or exclamation points. Periods in RUNOFF (DSR) commands or in decimal numbers are treated as sentence boundaries.

Table 2-15 lists the keys that you can use with the WPS ruler. These keys are enabled in the ruler regardless of how the keys are defined otherwise.

Table 2-15 WPS Ruler Keys
WPS Style Keys Effects Within the Ruler
I or i Sets the paragraph indent to the current column. Does not reformat existing text. A paragraph indent set with the ruler is independent of the left margin; set with the SET PARAGRAPH INDENT command, it is relative to the left margin.
L or l Sets the left margin to the current column. Does not reformat existing text.
P or p Same as I.
R or r Sets the right margin to the current column. Does not reformat existing text.
S or s Saves ruler settings, prompting for the ruler number (0--9).
T or t Sets or deletes a tab stop at the current column. The new tab stops are immediately applied to the buffer you are editing.
W or w Sets the WPS-style wrap point to the current column.
!@#$%^&*() Saves settings in ruler number 0--9. For example, type ! for ruler 1, @ for ruler 2, and so on. Rulers are not saved from session to session.
1234567890 Recalls the ruler of that number. Only one ruler can be active at a time.
<- Moves the cursor one column to the left in the ruler.
-> Moves the cursor one column to the right in the ruler.
Ctrl/E Moves the cursor to the end of the ruler.
Ctrl/H or
BACKSPACE
Moves the cursor to the start of the ruler.
KP0 (WPS Advance) Sets the direction of the ruler to FORWARD and moves the cursor one column to the right in the ruler.
KP1 (WPS Backup) Sets the direction of the ruler to REVERSE and moves the cursor one column to the left in the ruler.
KP2 (WPS Line) Moves the cursor to the start or end of the ruler, depending on the direction of the ruler. The default direction is FORWARD.
KP4 (WPS Word) Moves the cursor to the next or previous setting indicator (L, P, R, or T), depending on the direction of the ruler.
TAB Moves the cursor to the next or previous tab stop indicator (T), depending on the direction of the ruler.
HELP or
GOLD-H
Displays a help topic on Ruler Keys, which lists the keys you can use within the ruler.
RETURN or
GOLD-RETURN
Exits from the ruler, applying your new settings, and resumes editing.

Related Commands

SET CURSOR BOUND
SET GOLD KEY
SET KEYPAD NOWPS
SET KEYPAD NUMERIC
SET KEYPAD VT100

SET LEFT MARGIN


Format

SET LEFT MARGIN integer


Parameter

integer

The column at which you want the left margin. The default is 1 (leftmost column). The left margin must be less than the right margin. If you do not specify a number, EVE prompts for one. Pressing the Return key or the Do key at the prompt without typing anything cancels the operation.

Description

The SET LEFT MARGIN command sets the left margin of the current buffer to the column you specify. EVE starts a new line at the left margin when you press Return or use FILL commands or when EVE wraps text automatically. Setting the margins does not change existing lines but affects only new lines or text you reformat with CENTER LINE or FILL commands.

The left margin is a buffer-specific setting; you can have a different left margin for each buffer. To find out the current margins of the buffer, use the SHOW command.

You can also use the WPS Ruler key (GOLD-R) to set the left margin and right margin. In DECwindows, you can choose Set Margins from the Format menu or the Option menu in Motif EVE.

If you want a particular left margin for all or most editing sessions, put the SET LEFT MARGIN command in an initialization file (EVE$INIT.EVE). When you use that initialization file to invoke EVE, setting then applies to the MAIN (or first) buffer and to an EVE system buffer named $DEFAULTS$, so that each buffer you create has the same left margin.

If you use the SET PARAGRAPH INDENT command, the sum of the left margin and the paragraph indent must be less than the right margin and (in the case of a negative indent) must be at least 1. For example, if the paragraph indent is --4, the left margin must be at least 5.

Related Commands

CENTER LINE
FILL
SET PARAGRAPH INDENT
SET RIGHT MARGIN
SHOW

Example

The following commands set the left margin to 5 and then reformat the current paragraph according to the new margin:

Command: SET LEFT MARGIN 5
Command: FILL PARAGRAPH
      


SET NOCLIPBOARD


Format

SET NOCLIPBOARD


Description

The SET NOCLIPBOARD command disables the DECwindows clipboard for copying, cutting, and pasting text, and enables the INSERT HERE buffer in EVE. This is the default. For a list of the commands and key that use the clipboard, see Table 2-7.

Enabling the clipboard lets you transfer text between EVE and other DECwindows applications. However, for routine editing within EVE, it may be faster to use the INSERT HERE buffer, depending on the amount of text involved. WPS keys do not use the clipboard, regardless of the setting.


SET NODEFAULT COMMAND FILE


Format

SET NODEFAULT COMMAND FILE


Description

The SET NODEFAULT COMMAND FILE command cancels the default command file set with the SET DEFAULT COMMAND FILE command. It does not determine the command file executed at startup, but only the command file created for saving attributes and menu entries. This is the default.

In effect, SET NODEFAULT COMMAND FILE makes one of the following the default command file:


SET NODEFAULT SECTION FILE


Format

SET NODEFAULT SECTION FILE


Description

The SET NODEFAULT SECTION FILE command cancels the default section file set with the SET DEFAULT SECTION FILE command. It does not determine the section file executed at startup, but only the section file created when you save your customizations. This is the default.

The following table shows the effects of SET NODEFAULT SECTION FILE depending on whether you enabled or disabled the section file prompts for saving attributes:
Prompt Settings Effects with SET NODEFAULT SECTION FILE
SET SECTION FILE PROMPTING
(default)
When you save attributes, EVE asks whether to save them in a section file. If you respond YES, EVE asks for the name of the section file.
SET NOSECTION FILE PROMPTING When you save attributes, EVE asks whether you want to save them in a command file, without prompting you about saving them in a section file.

These effects apply when you use either SAVE ATTRIBUTES or SAVE SYSTEM ATTRIBUTES or when you save attributes as part of exiting or quitting.

Related Commands

SET DEFAULT SECTION FILE
SET SECTION FILE PROMPTING

SET NOEXIT ATTRIBUTE CHECK


Format

SET NOEXIT ATTRIBUTE CHECK


Description

The SET NOEXIT ATTRIBUTE CHECK command disables attribute checking on exiting so that EVE does not ask whether to save your customizations. SET NOEXIT ATTRIBUTE CHECK does not apply to the session when you first use it because the setting itself is saved in a section file or DECTPU command file. After you save it, the setting applies to future editing sessions in which you use the relevant section file or command file. See the description of the SAVE ATTRIBUTES command.

Related Commands

EXIT
QUIT
SET EXIT ATTRIBUTE CHECK

SET NOGOLD KEY


Format

SET NOGOLD KEY


Description

The SET NOGOLD KEY command cancels (undefines) the current GOLD key so that you can define it as you wish. This is the default. You can have only one key set as GOLD at a time. If you set the GOLD key other than PF1 and set the EDT keypad or WPS keypad, your GOLD key is used. You can then define PF1 like any other key, or you can use SET NOGOLD KEY to restore PF1 as the GOLD key for the EDT or WPS keypad, canceling your GOLD key.

SET NOGOLD KEY does not cancel or undefine GOLD key sequeneces, but they cannot be executed unless another key is set as GOLD, either by using the SET GOLD KEY command or by setting the EDT or WPS keypad.

Related Commands

SET GOLD KEY
SHOW KEY
UNDEFINE KEY

Example

In the following example, you set F20 as the GOLD key and then enable the EDT keypad, which ordinarily uses PF1 as the GOLD key. The SET NOGOLD KEY command then cancels F20, making PF1 the GOLD key.

Command: SET GOLD KEY F20
Command: SET KEYPAD EDT
Command: SET NOGOLD KEY
GOLD key restored to PF1 in the EDT keypad.
      


SET NOJOURNALING


Format

SET NOJOURNALING buffer


Parameter

buffer

The buffer for which you want to disable the creation of a buffer-change journal file. If you do not specify a buffer name, EVE prompts for one. Pressing the Return key or the Do key at the prompt without typing anything cancels the operation.

Description

The SET NOJOURNALING command disables buffer-change journaling for the buffer you specify. By default, EVE creates a journal file for each text buffer you create. You can disable journaling for a buffer in which you do not have to protect text against loss from a system failure (for example, a "scratchpad" buffer used to test procedures or a read-only buffer that contains text you want to view without editing).

SET NOJOURNALING does not delete the journal file for the buffer. To delete the journal file, use the DELETE command.

Related Commands

SET JOURNALING
SET NOJOURNALING ALL

SET NOJOURNALING ALL


Format

SET NOJOURNALING ALL


Description

The SET NOJOURNALING ALL command disables buffer-change journaling for all your text buffers. By default, EVE creates a journal file for each text buffer you create. You can disable buffer-change journaling if you want to rely on keystroke journaling (enabled by using the /JOURNAL qualifier and specifying a journal file when you invoked EVE). Disabling buffer-change journaling may improve performance, depending on the type of edits you make. However, it risks losing your work in case of a system failure during your editing session.

To disable journaling for a particular buffer, use the SET NOJOURNALING command and specify the buffer name. If you want to disable buffer-change journaling for all your buffers, put the SET NOJOURNALING ALL command in an initialization file (EVE$INIT.EVE).

SET NOJOURNALING ALL disables the creation of new journal files but does not delete existing journal files. To delete the journal files, use the DELETE command.

Related Commands

SET JOURNALING
SET JOURNALING ALL
SET NOJOURNALING

SET NOPENDING DELETE


Format

SET NOPENDING DELETE


Description

The SET NOPENDING DELETE command disables erasing of selected text when you use the DELETE command or type new text. This is the default. If you select text in the buffer, typing new text adds characters to the select range; using DELETE erases only the character left of the cursor. In other words, if pending delete is disabled, using DELETE and typing new text characters work the same whether there is a select range or not.

The setting applies to all buffers.

Related Commands

RESTORE BOX SELECTION
RESTORE SELECTION
SAVE ATTRIBUTES
SET PENDING DELETE

SET NOSECTION FILE PROMPTING


Format

SET NOSECTION FILE PROMPTING


Description

The SET NOSECTION FILE PROMPTING command disables prompting for a section file in which to save attributes and other customizations. The following table shows the effects of SET NOSECTION FILE PROMPTING, depending on whether you set a default section file.
Section File Settings Effects with SET NOSECTION
FILE PROMPTING
SET DEFAULT SECTION FILE When you save attributes, EVE saves them in your default section file.
SET NODEFAULT SECTION FILE When you save attributes, EVE asks whether you want to save them in a command file, bypassing any prompts about saving them in a section file.

You can disable section-file prompting to exit from EVE quickly or to save attributes faster. You can also disable section-file prompting if you prefer to save attributes in a DECTPU command file, which uses less disk space than a section file. For more information, read the online help topic on Attributes.

Related Commands

SAVE ATTRIBUTES
SET DEFAULT SECTION FILE
SET SECTION FILE PROMPTING


Previous Next Contents Index

  [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]  
  privacy and legal statement  
6021PRO_012.HTML