Keyboard Interface

This page tells you about the default keyboard interface used by all DP4 programs. The interface may be changed to some extent by using the Keyboard Customisation facility. The keyboard interface is also dependent on your keying convention, selected when you create userdata.sys by running USERDATA. There are three keying conventions, which differ principally in how they handle the Tab and Enter keys (or more strictly, keys designated as Tab or Cr in your userdata.sys).

You can use whichever convention suits your tastes. However a few Help messages for standard DP4 utilities are not accurate if -windows mode is in effect. It is however, the convention that will probably best suit experienced users of Microsoft Windows.

Default Key Assignments

In the table below, entries in the Ctrl+Key column work on all keyboards unless otherwise noted, entries in the PC Keyboard column work on PC style keyboards (except under some defective terminal emulators), unless SAA or Windows keying conventions are in effect and there is a different entry in the SAA/Windows column . Entries in the third column work with SAA and Windows keying convention

Function Ctrl + key PC keyboard SAA/Windows mode
Backspace Ctrl + H Backspace  
Block mode Ctrl + K    
Char left Ctrl + S  
Char right Ctrl + D  
Copy block Ctrl + L    
Cr Ctrl + M Enter  
Delete word Ctrl + T    
Delete char Ctrl + G Del  
Delete (rest of) line Ctrl + Y    
Display keys Ctrl + _    
Draw box Ctrl + ]    
Dump screen to file Ctrl + ^    
End of line Ctrl + \ * End  
Escape Ctrl+[ Esc  
Help Ctrl + J F10** F1
Help Author**** Ctrl + O F9 none
Insert/Split line Ctrl + N    
(Toggle) Insert mode Ctrl + V*** Insert  
Line down Ctrl + X***  
Line up Ctrl + E ↑­  
Page down Ctrl + C*** Page down  
Page up Ctrl + R Page up  
Prompt/Paintbrush Ctrl + P   F4 (but not in Windows)
Previous field Ctrl + @ * Shift + Tab  
Redirect Key Ctrl + B    
Scroll up Ctrl + Z Ctrl+↓  
Scroll down Ctrl + W Ctrl+ ↑­  
Start of line Ctrl + Q Home  
Tab Tab Ctrl+I  
Undo Ctrl + U    
Word right Ctrl + F Ctrl + →  
Word left Ctrl + A Ctrl + ←  

* Not supported on a PC

** The F10 key is reserved by Windows, so this key is not available

*** This Ctrl+Key combination will be interpreted as a copy/cut/paste type command in edit fields with text selected

**** Help Author is only available if you turn on help authoring mode with AUTHOR. If help authoring is turned off, the author key works like the 'Help' key. F9 is set up as the help authoring key

Notes

Ctrl+S can usually be used to pause report type programs. When a program is paused Ctrl+C will stop it, any other key will cause the program to resume. In this situation the normal function of the keys pressed is ignored. On dumb terminals Ctrl+S functionality is sometimes hard coded into the terminal itself. Ctrl+S cannot be used as an normal editing key on such terminals.

In SAA mode, but not in a Windows userdata.sys, F3 is mapped to Esc. F3 is also mapped to Esc for some terminal types, because Esc is used as a leadin for a function key sequence and is not recognised.