HELP DXVEDKEYS                                      Adrian Howard Aug 92

A guide to the default key bindings for XVed on a DECwindow terminal.

         CONTENTS - (Use <ENTER> g to access required sections)

 -- INTRODUCTION
 -- MOTIF AND XVED
 -- NOTATION
 -- KEY BINDINGS
 -- RELATED DOCUMENTATION


-- INTRODUCTION -------------------------------------------------------

XVed will normally attempt to determine the type of keyboard it is
attached to and apply appropriate key bindings. The key bindings
specific to DECwindow terminals are provided in the library LIB
*VEDDXVEDKEYS which, in combination with the key bindings in the source
file SRC * VEDXVEDKEYS.P, give the key bindings used by XVED on
DECwindow terminals. This file gives a description of these bindings
which are meant to emulate the VED bindings used on VT100 terminals,
with PF1 replacing the "gold" key.


-- MOTIF AND XVED -----------------------------------------------------

See HELP *XVEDKEYS for information on possible interactions between
Motif and XVed.


-- NOTATION -----------------------------------------------------------

The descriptions of the key bindings use the following notation:

    ^A
    The single character generated by pressing the <CTRL> key and the
    "A" key simultaneously.

    ESC A
    The sequence of pressing and releasing the <ESCAPE> (ESC) key and
    then pressing the "A" key.

    KP-X
    The "X" key on the keypad (usually on the right hand side of the
    keyboard

    fN
    Function key at the top of the keyboard.

    LF
    The line-feed key.

    BS
    The back-space key.

    DEL
    The delete or erase key.

    UP, DOWN, LEFT, RIGHT
    The normal cursor keys.


-- KEY BINDINGS -------------------------------------------------------

 Key         Function                                XVed Procedure
 ---         --------                                --------------
 UP          Move cursor up one screen               vedscreenup
 DOWN        Move cursor down one screen             vedscreendown
 LEFT        Move cursor to the left screen edge     vedscreenleft
 RIGHT       Move to the end of the text line        vedtextright

 ESC UP      Move to the top of the file             vedtopfile
 ESC DOWN    Move to the bottom of the file          vedendfile
 ESC LEFT    Move to start of text                   vedtextleft
 ESC RIGHT   Move to the right screen edge           vedscreenright

 f1          Move to the status line                 vedenter

 f2          Delete line to the left                 vedclearhead
 f3          Delete the whole line                   vedlinedelete
 f4          Delete line to the right                vedcleartail
 f5          Delete word to the left                 vedwordleftdelete
 f6          Delete line to the left                 vedclearhead
 f7          Delete the whole line                   vedlinedelete
 f8          Delete line to the right                vedcleartail
 f9          Delete word to the left                 vedwordleftdelete
 f10         Delete word to the right                vedwordrightdelete

 f11         Mark start of a range                   vedmarklo
 f12         Mark end of a range                     vedmarkhi
 f13         Move current marked range               ved_m
 f14         Copy current marked range               ved_c

 f17         Push position on position stack         vedpushkey
 f18         Swap position with the top of stack     vedexchangeposition

 f19         Toggle static mode                      vedsetstatic

 f20         Delete character under cursor           veddotdelete

 ESC f1      Refresh the screen                      vedrefresh

 ESC f2      Yank a word from -vvedworddump-         ved_yankw
 ESC f3      Yank a line from -vvedlinedump-         ved_yankl
 ESC f4      Yank a word from -vvedworddump-         ved_yankw
 ESC f5      Yank a word from -vvedworddump-         ved_yankw
 ESC f6      Yank a word from -vvedworddump-         ved_yankw
 ESC f7      Yank a line from -vvedlinedump-         ved_yankl
 ESC f8      Yank a word from -vvedworddump-         ved_yankw
 ESC f9      Yank a word from -vvedworddump-         ved_yankw
 ESC f10     Yank a word from -vvedworddump-         ved_yankw

 ESC f11     Mark from the start of the file         ved_mbf
 ESC f12     Mark from the end of the file           ved_mef
 ESC f13     Move range in from last file            ved_mi
 ESC f14     Copy range in from last file            ved_ti

 ESC f17     Pop position from position stack        vedpopkey
 ESC f18     Clear the position stack                ved_cps

 ESC f19     Toggle line-breaking                    ved_break

 ESC f20     Refresh the screen                      vedrefresh

 HELP        Get help (defaults to ved_hkeys)        vedhelpkey
 ESC HELP    Get help on the purpose of a key        ved_hkey

 DO          Compile the current line                vedloadline
 ESC DO      Compile the current marked range        ved_lmr

 FIND        Move to the start of the marked range   vedmarkfind
 ESC FIND    Move to the end of the marked range     vedendrange

 INSERT HERE Insert line above current line          vedlineabove
 ESC INSERT  Insert line below current line          vedlinebelow

 PREV SCREEN Move to the previous screen             vedprevscreen
 ESC PREV S. As for PRIOR, but in last buffer        ved_xup
 NEXT SCREEN Move to the next screen                 vednextscreen
 ESC NEXT S. As for NEXT, but in last buffer         ved_xdn

 HOME        Move to start of text line              vedtextleft
 ESC HOME    Move to the left screen edge            vedscreenleft
 END         Move to end of text line                vedtextright
 ESC END     Move to the right screen edge           vedscreenright

 PF1 PF1     Refresh the screen                      vedrefresh
 PF1 PF2     Insert line above current line          vedlineabove
 PF1 PF3     Insert line below current line          vedlinebelow
 PF1 PF4     Toggle static mode                      vedsetstatic

 KP-8        Move cursor up one char                 vedcharup
 KP-2        Move cursor down one char               vedchardown
 KP-4        Move cursor left one char               vedcharleft
 KP-6        Move cursor right one char              vedcharright
 KP-7        Move cursor north-west one char         vedcharupleft
 KP-9        Move cursor north-east one char         vedcharupright
 KP-1        Move cursor south-west one char         vedchardownleft
 KP-3        Move cursor south-east one char         vedchardownright

 ESC KP-8    Move cursor up several lines            vedcharuplots
 ESC KP-2    Move cursor down several lines          vedchardownlots
 ESC KP-4    Move cursor left several lines          vedcharleftlots
 ESC KP-6    Move cursor right several lines         vedcharrightlots
 ESC KP-7    Move cursor north-west several chars    vedcharupleft
 ESC KP-9    Move cursor north-east several chars    vedcharupright
 ESC KP-1    Move cursor south-west several chars    vedchardownleft
 ESC KP-3    Move cursor south-east several chars    vedchardownright

 ENTER       Move to the status line                 vedenter
 KP-0        Move one word to the left               vedwordleft
 KP-.        Move one word to the right              vedwordright
 KP-,        Switch between buffer and status line   vedstatusswitch
 KP--        Redo last command                       vedredocommand

 ^?          Delete char to left of the cursor       vedchardelete
 DEL         Delete char to left of the cursor       vedchardelete
 ^h          Delete char under cursor                veddotdelete
 BS          Delete char under cursor                veddotdelete

 ESC w       Toggle normal/double length window           -


-- RELATED DOCUMENTATION ----------------------------------------------

HELP *XVED/Server Keyboard Setup - A description of keyboard setup in
                                   XVed

HELP *XVEDKEYS - Default key bindings

HELP *SUNXVEDKEYS - Key bindings for Sun workstations
HELP *NCDXVEDKEYS - Key bindings for NCD X terminal
HELP *HPXVEDKEYS  - Key bindings for HP workstations
HELP *VEDKEYS     - Default key bindings for all terminals


--- C.x/x/ved/help/dxvedkeys
--- Copyright University of Sussex 1993. All rights reserved. ----------