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 EDT


Format

SET KEYPAD EDT


Description

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:

Table 2-11 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

SET KEYPAD EDT does not completely emulate EDT. Table 2-12 explains the important differences between the EVE EDT keypad and the VAX EDT keypad.

Table 2-12 EVE Differences with SET KEYPAD EDT
EVE Keys or Function Difference From VAX EDT
PF1 GOLD. The EDT keypad makes PF1 the GOLD key, overriding any current definition of PF1. However, if you set a different key as GOLD, the EDT keypad uses your GOLD key without redefining PF1. The EDT keypad also defines the EVE default GOLD key sequences, such as GOLD-Find. See the description of the SET GOLD KEY command.
GOLD-PF2 HELP KEYS. Displays a list of all defined keys.
KP1 MOVE BY WORD. Uses slightly different word boundaries from EDT. In EVE, a "word" includes the trailing white space (spaces or tabs).
GOLD-KP7 DO. Enters an EVE command. EVE does not support or emulate EDT line-mode or "nokeypad" commands.
GOLD-KP8 FILL. Reformats the current paragraph, range, or box. If you want the key to fill only a range or box, redefine GOLD-KP8 as FILL RANGE. EVE paragraph boundaries are different (see the description of the FILL command.)
ENTER RETURN. Terminates a command or starts a new line. You can redefine ENTER, but you cannot redefine RETURN or Ctrl/M.
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. After using 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 to buffer-change journaling, which is the EVE default.
Ctrl/K LEARN. Starts a learn sequence so you can bind several keystrokes (commands, text, or both) to a single key.
Ctrl/R REMEMBER. Ends a learn sequence and prompts you to press the key you want to define for it. EVE defines Ctrl/W as REFRESH.
Ctrl/Z EXIT. Ends the editing session and writes out the current buffer and asks whether to write out any other buffers if they were modified. To emulate EDT-style exit-to-line-mode, redefine Ctrl/Z as DO.
F12
Ctrl/H
BACKSPACE
EDT Backspace. The command SET FUNCTION KEYS DECWINDOWS overrides the EDT definition, redefining F12 as START OF LINE (the EVE command), which is slightly different from the EDT definition.
Cursor By default EVE uses a free cursor, which you can move anywhere in the buffer regardless of the shape of your text. To enable an EDT-style bound cursor, use SET CURSOR BOUND. The EDT Character key (KP3) uses bound-cursor motion even if the cursor is set to free.
Exiting EXIT creates a new file (or new version of a file) only if you made changes to the buffer and have not yet written it out. QUIT discards your edits, but if you made changes to the buffer, EVE asks you to confirm that you want to quit. Also, on exiting or quitting, if you changed attributes and have not saved them, EVE asks if you want to save the changes.
Input file When you invoke EVE, if you do not specify a file on the command line, EVE creates an empty buffer named MAIN, whereas VAX EDT prompts you to specify a file. Also, you can use wildcards to specify the file, for example, *.TXT.
Journaling By default, EVE uses buffer-change journaling, which creates a journal file for each text buffer. You can recover buffers individually and even from different editing sessions. You can also use keystroke journaling and recovery, similar to that in EDT.
Mode Some commands or keys depend on the mode of the buffer---insert or overstrike, for example, the EDT Delete Character and EDT SpecIns keys.
Paste buffer Commands or keys to copy, cut, and paste text use either the INSERT HERE buffer or the DECwindows clipboard, depending on your setting. See the description of the SET CLIPBOARD command.
Scrolling SET SCROLL MARGINS corresponds to SET CURSOR in VAX EDT, except EVE scroll margins are measured from the top and the bottom, respectively. For example, with a 24-line screen (21-line main window), SET SCROLL MARGINS 5 6 is equivalent to SET CURSOR 5:15 in VAX EDT. The default settings are 0 0 (scrolling begins when you move past the top or bottom of the window).
Searches Searches follow EVE rules for case sensitivity and direction (see help on FIND). Because EVE does not treat RETURN and ENTER differently, as EDT does, search strings cannot contain a carriage return. However, you can use WILDCARD FIND for these searches, or use SET FIND WHITESPACE to enable searching across line breaks.
Selections Commands or keys that work on a standard linear range also work on a box. For example, you can use BOX SELECT and the EDT ChngCase key.
Shift right SHIFT RIGHT and SHIFT LEFT move the window right and left relative to the buffer; the EDT "nokeypad" commands SHL and SHR move the buffer relative to the window. Thus, in EVE, SHIFT RIGHT 8 is equivalent to SHL in EDT and column 9 of your text appears in the leftmost column of the screen.
Startup file By default, EVE tries to execute an initialization file named EVE$INIT.EVE, looking first in your current directory and, if necessary, in SYS$LOGIN. This is roughly equivalent to using an EDTINI.EDT file with VAX EDT.

For information on converting from EDT to EVE, read the online help topic on EDT Conversion.

Related Commands

SET FUNCTION KEYS DECWINDOWS
SET GOLD KEY
SET KEYPAD NOEDT
SET KEYPAD NUMERIC
SET KEYPAD VT100

SET KEYPAD NOEDT


Format

SET KEYPAD NOEDT


Description

The SET KEYPAD NOEDT command disables (undefines) the EDT keypad, restoring the default keypad for the type of terminal you are using. SET KEYPAD NOEDT is the same as SET KEYPAD NUMERIC or SET KEYPAD VT100, depending on the type of terminal you are using.

Keys defined with DEFINE KEY, LEARN, or SET GOLD KEY commands remain defined. However, any learn sequences that use EDT keys will not work properly because the keys are now undefined or defined differently. SET KEYPAD NOEDT cancels the current GOLD key if it was set by enabling the EDT keypad; it does not cancel the GOLD key if you set it with the SET GOLD KEY command.

Related Commands

SET KEYPAD EDT
SET KEYPAD NUMERIC
SET KEYPAD VT100

SET KEYPAD NOWPS


Format

SET KEYPAD NOWPS


Description

The SET KEYPAD NOWPS command disables (undefines) the WPS keypad, restoring the default keypad for the type of terminal you are using. SET KEYPAD NOWPS is the same as SET KEYPAD NUMERIC or SET KEYPAD VT100, depending on the type of terminal you are using.

Keys defined with DEFINE KEY, LEARN, or SET GOLD KEY commands remain defined. However, any learn sequences that use WPS keys will not work properly because the keys are now undefined or defined differently. SET KEYPAD NOWPS cancels the current GOLD key if it was set by enabling the WPS keypad; it does not cancel the GOLD key if you set it with the SET GOLD KEY command.

Disabling the WPS keypad does not restore free cursor motion. To restore free cursor motion, use the SET CURSOR FREE command.

Related Commands

SET KEYPAD NUMERIC
SET KEYPAD VT100
SET KEYPAD WPS

SET KEYPAD NUMERIC


Format

SET KEYPAD NUMERIC


Description

The SET KEYPAD NUMERIC command sets the numeric keypad to the default state, canceling the current keypad setting (EDT, VT100, or WPS). SET KEYPAD NUMERIC is the default except on VT100-series terminals. The command is not valid on VT100-series terminals. Figure 2-1 shows the EVE default keypad.

Using SET KEYPAD NUMERIC to cancel the EDT, WPS, or VT100 keypad does not affect keys defined with DEFINE KEY, LEARN, or SET GOLD KEY commands. However, any learn sequences that use EDT or WPS keys will not work properly because the keys are now undefined or defined differently. SET KEYPAD NUMERIC cancels the current GOLD key if it was set by the EDT or WPS keypad; it does not cancel the GOLD key if you set it with the SET GOLD KEY command.

Figure 2-1 EVE Default Keys


Related Commands

SET KEYPAD EDT
SET KEYPAD VT100
SET KEYPAD WPS

SET KEYPAD VT100


Format

SET KEYPAD VT100


Description

The SET KEYPAD VT100 command enables the VT100-style keypad and cancels the current keypad setting (EDT, NUMERIC, or WPS). This is the default setting on VT100-series terminals. Figure 2-2 shows the EVE default keys on VT100-series terminals.

Using SET KEYPAD VT100 to cancel the EDT, WPS, or VT100 keypad does not affect keys defined with DEFINE KEY, LEARN, or SET GOLD KEY commands. However, any learn sequences that use EDT or WPS keys will not work properly because the keys are now undefined or defined differently. SET KEYPAD VT100 cancels the current GOLD key if it was set by the EDT or WPS keypad.

If you want the VT100 keypad enabled for all or most editing sessions---even if you run EVE on VT300- or VT200-series terminals---do either of the following:

Figure 2-2 EVE Default Keys on VT100-Series Terminals


Related Commands

SET KEYPAD EDT
SET KEYPAD NUMERIC
SET KEYPAD WPS

SET KEYPAD WPS


Format

SET KEYPAD WPS


Description

The SET KEYPAD WPS command enables the WPS-style keypad, defines the numeric keypad and other keys, and sets the cursor to bound. There are three ways to keep the WPS keypad for future editing sessions:

Table 2-13 lists the keys defined when you use SET KEYPAD WPS, including any EVE default keys still in effect. If you use DEFINE KEY or LEARN to define any keys, your definitions override the EVE or WPS definitions.

Table 2-13 EVE Keys Defined with SET KEYPAD WPS
WPS Keys Defined Keys
F10 EXIT
F11 CHANGE DIRECTION
F12 MOVE BY LINE (Using SET FUNCTION KEYS DECWINDOWS defines F12 as START OF LINE.)
F13 WPS Delete Previous Word
GOLD-F13 WPS Delete Beginning Sentence
F14 CHANGE MODE
HELP HELP KEYPAD (diagram)
GOLD-Help HELP KEYS (list)
DO DO
FIND FIND
GOLD-Find WILDCARD FIND
Insert Here WPS Paste
GOLD-Insert Here RESTORE
REMOVE WPS Cut
GOLD-Remove STORE TEXT
SELECT SELECT
GOLD-Select RESET
PREV SCREEN PREVIOUS SCREEN
GOLD-Prev Screen PREVIOUS WINDOW
NEXT SCREEN 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 MOVE BY PAGE
GOLD-PF2 PAGINATE
PF3 WPS Delete Word
GOLD-PF3 RESTORE
PF4 WPS Delete Character
GOLD-PF4 RESTORE
KP0 WPS Advance
GOLD-KP0 WPS Scroll Advance
KP1 WPS Backup
GOLD-KP1 WPS Scroll Backup
KP2 WPS Line
GOLD-KP2 WPS Line
KP3 WPS Uppercase
GOLD-KP3 WPS Lowercase
KP4 WPS Word
GOLD-KP4 WPS Word
KP5 WPS Paragraph
GOLD-KP5 FILL
KP6 (not defined)
GOLD-KP6 (not defined)
KP7 WPS Sentence
GOLD-KP7 WPS Sentence
KP8 WPS Tab Position
GOLD-KP8 (not defined)
KP9 (not defined)
GOLD-KP9 (not defined)
MINUS WPS Cut
GOLD-MINUS WPS Copy
COMMA WPS Paste
GOLD-COMMA WPS Paste
PERIOD SELECT
GOLD-PERIOD RESET
ENTER WPS Search Right Angle (<>)
GOLD-ENTER WPS Swap
Ctrl/A CHANGE MODE
Ctrl/B RECALL
Ctrl/E END OF LINE
Ctrl/H or BACKSPACE START OF LINE
Ctrl/I or TAB TAB
Ctrl/J or LINEFEED WPS Delete Previous Word
GOLD-Ctrl/J or
GOLD-LINEFEED
WPS Delete Beginning Sentence
Ctrl/K LEARN
Ctrl/L INSERT PAGE BREAK
Ctrl/M or RETURN RETURN
Ctrl/R REMEMBER
Ctrl/U ERASE START LINE
Ctrl/V QUOTE
Ctrl/W REFRESH
Ctrl/Z EXIT
DELETE or < X| DELETE
GOLD-DELETE
or GOLD-< X|
WPS Delete Start Line
GOLD-1 ... GOLD-9 REPEAT 1 ... REPEAT 9, or to specify a WPS-style alternate paste buffer
GOLD-B BOTTOM
GOLD-C CENTER LINE
GOLD-F EXIT
GOLD-G INCLUDE FILE
GOLD-H HELP KEYPAD (diagram)
GOLD-K QUIT
GOLD-N INSERT PAGE BREAK
GOLD-P WPS Page Marker
GOLD-R WPS Ruler
GOLD-S SPELL
GOLD-T TOP
GOLD-W WRITE FILE
GOLD-` (grave accent) WPS Halt
GOLD-$ SPAWN
GOLD-[ (left bracket) DO
GOLD-: REPLACE
GOLD-; REPLACE
GOLD-' WPS Replace
GOLD-" WPS Replace
GOLD-\ (backslash) WPS Insert Date/Time
GOLD-| WPS Insert Date/Time
GOLD-> (right angle) LEARN
GOLD-, (comma) FIND
GOLD-. (period) WPS Continue Search
GOLD-/ (slash) WPS Continue Search/Select
GOLD-? WPS Continue Search/Select


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_011.HTML