HELP LOGICAL_KEYS Rosalind Barrett, September 1985
Updated A.Sloman, Dec 1990
LOGICAL NAMES FOR VED KEYS
Documentation on VED should, wherever possible, be terminal independent.
(See also HELP * STANDARDS). Refer to keys or key-sequences by their
logical names as opposed to their numbers and position on your keyboard.
Derive logical names for ENTER commands (listed in REF * VEDCOMMS), by
removing the prefix "ved_" from the procedure name, and replacing it
with ENTER. E.g.
ENTER q
ENTER lcp
Derive logical names for other VED functions by omitting the prefix
"ved" from names of procedures. E.g. the key that invokes
-vedscreendown- is referred to as the SCREENDOWN key. Use upper case in
documentation. Users can look at REF * VEDPROCS to find the full
definition of corresponding VED procedures.
To distinguish function keys set up for VED and the standard terminal
keys (e.g. <SHIFT>, <TAB>, <RETURN>), the names of the latter are
sometimes put between angle brackets in VED documentation.
Below is a list of standard logical names for VED keys or KEY sequences,
including a sample of ENTER commands.
CHARDELETE - delete character to the left of the cursor
CHARDOWN - move cursor down a character
CHARDOWNLEFT - move cursor down a character and left a character
CHARDOWNLEFTLOTS - move cursor down 8 and left 20 characters
CHARDOWNLOTS - move cursor down 8 characters
CHARDOWNRIGHT - move cursor down a character and right a character
CHARDOWNRIGHTLOTS - move cursor down 8 and right 20 characters
CHARLEFT - move cursor left a character
CHARMIDDLE - move cursor to character in middle of current line of text
CHARRIGHT - move cursor right a character
CHARRIGHTLOTS - move cursor right 20 characters
CHARUP - move cursor up a character
CHARUPLEFT - move cursor up a character and left a character
CHARLEFTLOTS - move cursor left 20 characters
CHARUPLEFTLOTS - move cursor up 8 and left 20 characters
CHARUPLOTS - move cursor up 8 characters
CHARUPRIGHT - move cursor up a character and right a character
CHARUPRIGHTLOTS - move cursor up 8 and right 20 characters
CLEARHEAD - delete current line to left of cursor
CLEARTAIL - delete current line to right of cursor
ENDFILE - go to the end of the file
ENTER - put cursor on the status line
FILECOMPLETE - complete file name (path name) to left of cursor
(See HELP * VEDFILECOMPLETE)
LINEABOVE - insert line above current
LINEBELOW - insert line below current
LINEDELETE - delete current line
MARKHI - mark end of range
MARKLO - mark beginning of range
NEXTHELP - move cursor to next cross reference to a documentation
file (e.g. the asterisk in HELP * DOCUMENTATION)
NEXTLINE - move cursor to beginning of next line
NEXTSCREEN - move edit window one screenful down. See also PREVSCREEN
POPKEY - go to position pushed onto the stack
PREVHELP - move cursor to previous cross-reference to a documentation
file (e.g. the asterisk in HELP * DOCUMENTATION)
PREVSCREEN - move edit window one screenful up. See also NEXSCREEN
PUSHKEY - push current position onto the stack
REFRESH - refresh the screen
SCREENDOWN - move to the bottom of the window or down a window if at
bottom
SCREENLEFT - move to beginning of current line
SCREENRIGHT - move to right of window
SCREENUP - move to top of window, or up a window if already at top
SETSTATIC - switch static mode on and off
STATUSSWITCH - move cursor from staus line to file, or vice versa,
leaving a mark at the left of the current cursor line when putting
the cursor on the status line.
TEXTLEFT - move to beginning of text on current line
TEXTRIGHT - move to right of text on current line
TOPFILE - go to the top of the file
WORDLEFT - move cursor left a word
WORDLEFTDELETE - delete word to left of cursor
WORDRIGHT - move cursor right a word
WORDRIGHTDELETE - delete word to right of cursor
ENTER commands:
These can be indicated as ENTER or <ENTER> followed by the command to be
typed. For a full list see REF * VEDCOMMS. Examples are:
ENTER m
- move marked range to after current line
ENTER t
- transcribe marked range to after current line
ENTER yankw
- undelete last part line/word deleted by CLEARHEAD, CLEARTAIL,
DELETEWORDLEFT, DELETEWORDRIGHT
ENTER yankl
- undelete line last deleted by LINEDELETE
ENTER ti
- transcribe (copy) in marked range from previously edited file
ENTER mi
- move in marked range from previously edited file
ENTER jp
- Justify current paragraph
ENTER lmr
- load marked range
ENTER lcp
- load current procedure (or other definition, e.g. in ML).
ENTER mcp
- mark current procedure (or other definition, e.g. in ML).
Warning, ENTER commands that make use of an argument cannot be mapped
on to key sequences without taking special precautions to set up the
argument string. The "ENTER dk <vedfunction>" command makes this easy.
See HELP * DK
See also:
HELP * VEDKEYS
Gives a list of the default mappings between key sequences and VED
functions
HELP * VEDEMACS
Describes the mappings set up by LIB * VEDEMACS.
HELP * VED
Gives information about additional documentation specific to
particular terminals
REF *VEDPROCS, REF * VEDCOMMS
Give information about ved functions available, which may be mapped
on to key strokes.
REF * VEDTERMINALS, HELP * TERMINAL
These give help on how to tailor VED to different screens and
keyboards.
HELP * DK
Describes a utility for defining new key mappings.
HELP * VEDSET, * VEDSETKEY
Notations for defining VED tailoring commands.
--- C.all/help/logical_keys
--- Copyright University of Sussex 1993. All rights reserved. ----------Author: Rosalind Barrett, September 1985