HELP HPXVEDKEYS                                    Adrian Howard June 91
                                         Updated: Adrian Howard Aug 1992

A guide to the default key bindings for XVed on HP workstations.

         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 HP workstations are provided in the library LIB
*VEDHPXVEDKEYS which, in combination with the key bindings in the source
file SRC * VEDXVEDKEYS.P, give the key bindings used by XVed on HP
workstations. This file gives a description of these bindings.


-- 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 N. The amount and name of function keys vary from
    keyboard to 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
---         --------                                --------------

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

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-ENTER    Redo the last command                   vedredokey
KP-TAB      Move to the status line                 vedenterkey

KP--        Move up one screen                      vedscreenup
KP-+        Move down one screen                    vedscreendown

KP-*        Move to start of text line              vedtextleft
KP-/        Move to end of text line                vedtextright

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

PREV        Move up one screen                      vedscreenup
ESC PREV    As PREV, but in last buffer visited     ved_xup
NEXT        Move down one screen                    vedscreendown
ESC NEXT    As NEXT, but in last buffer visited     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

ESC w       Toggle normal/double length window           -
INSERT      Toggle static mode                      ved_static

f1          Delete character under the cursor       veddotdelete
f2          Delete line to the left                 vedclearhead
f3          Delete the whole line                   vedlinedelete
f4          Delete line to the right                vedcleartail

f5          Mark start of a marked range            vedmarklo
f6          Mark end of a marked range              vedmarkhi
f7          Move a marked range                     ved_m
f8          Copy a marked range                     ved_t

f9          Push position on position stack         vedpushkey
f10         Pop position from position stack        vedpopkey

f11         Move to the start of the file           vedtopfile
f12         Move to the end of the file             vedendfile

ESC f1      Refresh the screen                      vedrefesh

ESC f2      Yank a word fom -vvedworddump-         ved_yankw
ESC f3      Yank a line fom -vvedlinedump-         ved_yankl
ESC f4      Yank a word fom -vvedworddump-         ved_yankw

ESC f5      Find the start of the marked range      vedmarkfind
ESC f6      Find the end of the marked range        vedendrange
ESC f7      Move range in from last file            ved_mi
ESC f8      Copy range in from last file            ved_ti

ESC f9      Move range in from last file            ved_mi
ESC f10     Copy range in from last file            ved_ti

ESC f11     Pop position from position stack        vedpopkey
ESC f12     Clear the position stack                ved_cps

BREAK       Refresh the screen                      vedrefresh
ESC BREAK   Refresh the screen                      vedrefresh

STOP        Toggle static mode                      vedsetstatic
ESC STOP    Toggle static mode                      vedsetstatic
INSERT CHAR Toggle static mode                      vedsetstatic
ESC INS.CH. Toggle static mode                      vedsetstatic

MENU        Delete word to the left of the cursor   vedwordleftdelete
ESC MENU    Yank a word from -vvedworddump-         ved_yankw
SYSTEM      Delete word to the right of the cursor  vedwordrightdelete
ESC SYSTEM  Yank a word from -vvedworddump-         ved_yankw

CLEAR DISP. Right justify paragraph                 ved_jjp
ESC C.DISP. Right justify paragraph                 ved_jjp

CLEAR LINE  Compile current line                    vedloadline
ESC C.LINE  Compile marked range                    ved_lmr

PRINT       Go to status line                       vedenterkey
HOME        Go to status line                       vedenterkey
ESC PRINT   Toggle between status line and buffer   vedswitchstatus
ESC HOME    Toggle between status line and buffer   vedswitchstatus

INSERT LINE Insert line above current line          vedlineabove
ESC INS.L.  Insert line below current line          vedlinebelow

DELETE LINE Insert line below current line          vedlinebelow
ESC DEL. L. Yank a line from -vvedlinedump-         ved_yankl

DELETE CHAR Delete character under the cursor       veddotdelete

SELECT      Select file to edit                     vedfileselect
ESC SELECT  Print file information in base window   ved_files

BS          Delete char to left of the cursor       vedchardelete
ESC BS      Same as ESC PREV                        ved_xup

DEL         Delete char to left of the cursor       vedchardelete


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

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

HELP *XVEDKEYS - Default key bindings

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


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