Go to the first, previous, next, last section, table of contents.


Keys And Terminals

PENG was mainly tested on PCs (Linux console and DJGPP), so there's no guarantee that other terminals will support enough function keys to be useful, but generally the key bindings should be portable.

Modifier Keys On Different Systems

ALT means the Alt key, but on some terminals it's the Meta key, or the ESC key which must be pressed before the other key. Under X11, it's modifier #1 (see `xmodmap(1)').

ALTGR is the AltGr key on PC keyboards (Linux, DJGPP), and modifier #3 under X11.

EXTRA can mean another modifier key if present. On DJGPP, it's the Scroll Lock key, under X11 it's the modifier #4, and on a local Linux console, it's the `CtrlL' modifier (value 64) which is unused on many keytabs and can be mapped e.g., to those keys on new keyboards with these ugly symbols waiting to be replaced by penguins (keycodes 125 and 127) by inserting the following two lines into your `/etc/default.keytab' and reloading the keytab with `loadkeys':

keycode 125 = CtrlL
keycode 127 = CtrlL

Trouble Shooting For Terminal Problems (Unix)

The following points may help solve problems with the terminal versions on Unix systems.

Alternative Keys

The following items list some key alternatives useful on terminals with limited function and special keys available. There are also some comments about keys on particular systems.

Alternative For The Shift Key

The SHIFT key combined with cursor movement keys, used for marking text, only works on local Linux consoles, DJGPP, and X11. As an alternative, CTRL-B can be used to virtually press/release SHIFT. However, this does not affect capitalization of letters.

Alternatives For Some Cursor Movement Keys

The following alternatives are provided for Wordstar/Borland compatibility and for terminals without function keys:

CTRL-ECTRL-XCTRL-SCTRL-DCTRL-ACTRL-FCTRL-RCTRL-CCTRL-GCTRL-P
UP
DOWN
LEFT
RIGHT
CTRL-LEFT
CTRL-RIGHT
PGUP
PGDN
DEL
INS -- this is not Wordstar/Borland compatible; they use CTRL-V, but CTRL-V is used for a different purpose in the text editor (see section Keys Used In The Text Editor) which is compatible to `bash(1)' (see section `Commands For Changing Text' in the bash manual), `csh(1)' and `vi(1)'.

Alternatives For ALT Plus Function Keys

Some hotkeys use ALT-Fn key combinations. The Linux console uses these key combinations by default to switch virtual consoles, and some window managers (when running under X11) are also configured to use them for their own purposes. Therefore, PENG provides the alternatives (on all systems, of course) ALT-n for ALT-Fn (1 <= n <= 9) and ALT-0 for ALT-F10.

Linux Keyboard Table

Besides ALT-Fn (see section Alternatives For ALT Plus Function Keys), Linux consoles also use SHIFT-PGUP/PGDN for a special purpose (scrolling) by default.

In order to mark text (see section General Keys Used By PENG) while scrolling pages, you can use the alternatives (see section Alternatives For Some Cursor Movement Keys) SHIFT-CTRL-R/SHIFT-CTRL-C.

If this annoys you, you might want to change your `/etc/default.keytab'. E.g., I moved scrolling to ALT/ALTGR-UP/DOWN/PGUP/PGDN and console switching to EXTRA-Fn on my keyboard, so I can use SHIFT-PGUP/PGDN for marking pages and ALT-Fn as hotkeys.

Notes About International Keyboards

The hotkeys ALT-- and ALT-] for the menu entries `Search/Search' (see section The Menu Entry `Search/Search') and `Search/Replace' (see section The Menu Entry `Search/Replace') are the positions on American keyboards. On international keyboards, they may vary. E.g., on German keyboards they are ALT-ß and ALT-+. (Though ALT-- and ALT-] work, too, under Linux, at least with some keytabs.)

General Keys Used By PENG

ESCENTERINSSHIFT-cursor movement SHIFT-DELCTRL-INSSHIFT-INSCTRL-DELALT-SPACE
abort most operations
accept input or selection
toggle insert/overwrite
mark text (input boxes and editors)
cut marked text (see section The Menu Entry `Edit/Cut')
copy marked text (see section The Menu Entry `Edit/Copy')
paste text (see section The Menu Entry `Edit/Paste')
delete marked text (see section The Menu Entry `Edit/Delete')
non-breaking space

Keys Used In Menus

LEFTRIGHTUPDOWNHOMEENDPGUPPGDNCTRL-LEFTCTRL-RIGHTCTRL-HOMECTRL-ENDCTRL-PGUPCTRL-PGDNF10ALT-AENTERDELhighlighted letter
move left in the main menu (with wrap-around)
move right in the main menu (with wrap-around)
move up (with wrap-around)
move down (with wrap-around) or open top-level submenu
move to the first position in the menu
move to the last position in the menu
move up one screenful
move down one screenful
move to the leftmost position in the menu
move to the rightmost position in the menu
move to the first position in the menu
move to the last position in the menu
move to the top position in the menu
move to the bottom position in the menu
go to the main menu
go to the top-level menu A
select menu item or open submenu
remove item from the menu -- some menus only, e.g., `Window/List' (see section The Menu Entry `Window/List'), `Window/Last windows' (see section The Menu Entry `Window/Last windows', `Window/Hotlist' (see section The Menu Entry `Window/Hotlist'), `Options/Tools' (see section The Menu Entry `Options/Tools') or `Options/Variables' (see section The Menu Entry `Options/Variables')
directly select a menu item
Other hotkeys as listed in the menus.

Keys Used In String Input Boxes

LEFTRIGHTHOMEENDDELBACKSPACEprintable character UP, DOWNCTRL-LEFTCTRL-RIGHTPGUPPGDNCTRL-TCTRL-YTABSHIFT-TAB
move to the left
move to the right, or when at the right end, copy characters from the current editor window, if any
move to the first position
move to the last position
delete character under the cursor
delete character left to the cursor
insert character
history (UP is compatible to many GNU programs; DOWN is Borland compatible -- this, of course, is not to be construed as an assessment ;-)
jump one word to the left
jump one word to the right
scroll to the left
scroll to the right
delete to end of word and following spaces
clear input
file name completion (only for file input boxes); handles `~', `~user' and `$ENVVAR'
file name completion (in all input boxes)
File input boxes handle the usual globbing characters: `*', `?', `[^-]', `{,}', `\' escapes (don't work well under Dos, of course), and accept several file masks separated with spaces.

Keys Used In File Selection Boxes

LEFTRIGHTUPDOWNHOME, CTRL-PGUPEND, CTRL-PGDNPGUPPGDNCTRL-LEFTCTRL-RIGHTCTRL-HOMECTRL-ENDprintable character CTRL-A .. CTRL-Z (except CTRL-J and CTRL-M) SHIFT-F4
move left (with wrap-around to the previous line)
move right (with wrap-around to the next line)
move up
move down
move to the first item
move to the last item
move up one screenful
move down one screenful
move to the first column
move to the last column
move to the first line on the screen
move to the last line on the screen
move to next file name starting with that character
go to a (user-definable) shortcut path (see section The Menu Entry `File/Shortcut paths')
enter a new path

Keys Used In Color Selection Boxes

LEFTRIGHTUPDOWNHOMEENDPGUP, CTRL-PGUPPGDN, CTRL-PGDN
move left (with wrap-around)
move right (with wrap-around)
move up (with wrap-around)
move down (with wrap-around)
move to the first item in the current line
move to the last item in the current line
move to the first line
move to the last line

Keys Used In The Text Editor

LEFTRIGHTUPDOWNHOMEENDPGUPPGDNCTRL-PGUPCTRL-PGDNCTRL-HOMECTRL-ENDCTRL-LEFTCTRL-RIGHTCTRL-UPCTRL-DOWNprintable character DELBACKSPACEENTERTABSHIFT-TABCTRL-V control character CTRL-TCTRL-YCTRL-NCTRL-WCTRL-ZCTRL-QFCTRL-QACTRL-LCTRL-U, CTRL-QLCTRL-QRCTRL-KBCTRL-KKCTRL-KTCTRL-KHCTRL-KCCTRL-KVCTRL-KPCTRL-KRCTRL-KWCTRL-KICTRL-KUCTRL-KECTRL-KACTRL-KNCTRL-KOCTRL-KGCTRL-KFCTRL-KXCTRL-KYCTRL-KSCTRL-KQ, CTRL-KDCTRL-KnCTRL-QnCTRL-QWCTRL-QECTRL-QBCTRL-QKCTRL-QSCTRL-QCCTRL-QQCTRL-QPCTRL-OSCTRL-ODCTRL-ORESC
move left
move right
move up
move down
move to the first position in the current line
move to the last position in the current line
move up one screenful
move down one screenful
move to beginning of text
move to ending of text
move to the first line on the screen
move to the last line on the screen
jump one word to the left
jump one word to the right
jump to the previous position set by an `INSERT' tool (see section `INSERT' (*))
jump to the next position set by an `INSERT' tool
insert character
delete character under the cursor, but note `Options/Editor1/Delete blocks' (see section The Menu Entry `Options/Editor1/Delete blocks')
delete character before the cursor; unindent (not in paragraph mode), but note `Options/Editor1/Delete blocks' (see section The Menu Entry `Options/Editor1/Delete blocks')
insert a newline if insert mode is on, otherwise move to next line
insert a tab character or do indentation, dependent on `Options/Editor2/Use tabs' (see section The Menu Entry `Options/Editor2/Use tabs')
file name completion
insert control character
delete to end of word and following spaces
delete line
insert line
scroll the screen down without moving the cursor
scroll the screen up without moving the cursor
search (see section The Menu Entry `Search/Search')
replace (see section The Menu Entry `Search/Replace')
search or replace again (see section The Menu Entry `Search/Search or replace again')
undo (see section The Menu Entry `Edit/Undo')
redo (see section The Menu Entry `Edit/Redo')
set the beginning of the block (see section The Menu Entry `Options/Editor1/Persistent blocks')
set the ending of the block (see section The Menu Entry `Options/Editor1/Persistent blocks')
mark current word
hide/unhide block
copy block
move block
print marked text/whole file (on Unix by using the `lpr' printer spooler, on Dos by writing to `prn')
insert from file
write marked text to file
indent marked text
unindent marked text
indent marked text from current column
unindent marked text from current column
convert marked text to lower case
convert marked text to upper case
insert the quote string into each marked line (see section The Menu Entry `Options/Editor1/Quote string')
insert the mark string into each marked line (see section The Menu Entry `Options/Editor1/Mark string')
remove first character from each marked line if it equals the first character of the first marked line
delete marked text
save
leave the editor and go to the main menu
set label n (0 <= n <= 9)
move to label n (0 <= n <= 9)
jump backward to same indentation level
jump forward to same indentation level
jump to beginning of marked text
jump to ending of marked text
re-display message
change case of the letter under the cursor
reformat the current paragraph, independently of `Options/Editor1/Paragraphs' (see section The Menu Entry `Options/Editor1/Paragraphs')
reformat all marked or all paragraphs, independently of `Options/Editor1/Paragraphs' (see section The Menu Entry `Options/Editor1/Paragraphs')
toggle simple format of status line/frame information (see section Status Information Of The Text Editor Windows)
toggle Dos line endings
toggle read-only
leave the editor and go to the main menu, if `Options/Editor2/Leave editor with Esc' (see section The Menu Entry `Options/Editor2/Leave editor with Esc') is on
The key after CTRL-K, CTRL-Q, CTRL-O may or may not be combined with control. If `Options/Editor2/Multiple block operations' (see section The Menu Entry `Options/Editor2/Multiple block operations') is enabled, you can do several CTRL-K block operations in a row without pressing CTRL-K again and again if you press CTRL with all the keys (e.g., CTRL-KIIII to indent a block multiple columns). However, this does not work for

Keys Used In The Info Reader

The info reader generally understands all those keys used in the text editor (see section Keys Used In The Text Editor) which do not modify the text, but the following keys have different meanings:

TABSHIFT-TABENTERDELESC.,<other printable characters BACKSPACE
move to next link or reference
move to previous link or reference
follow the link or reference under the cursor if any
enter a node to go to (see section The Format Of An Info Node Description). Note that CTRL-G is an alternative for DEL (see section Alternatives For Some Cursor Movement Keys).
close the info reader
follow the `Next' link if present
follow the `Prev' link if present
follow the `Up' link if present
move to the next link or reference starting with the characters entered. The characters are forgotten with every other movement.
forget the last character entered
Also, please note the `Help/Last help' (see section The Menu Entry `Help/Last help') function (hotkey: ALT-F1).

Keys Used In The Message Window

LEFTRIGHTHOMEENDUPDOWNPGUPPGDNCTRL-PGUPCTRL-PGDNCTRL-HOMECTRL-ENDENTERESC
scroll the screen right
scroll the screen left
scroll the screen to the first position
scroll the screen to the last position
move up
move down
move up one screenful
move down one screenful
move to the first line
move to the last line
move to the first line on the screen
move to the last line on the screen
seek to the position of the current message in an editor window
close the message window


Go to the first, previous, next, last section, table of contents.