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':

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

If it seems that the allowed time between the escape key and the
following key is too small, or function keys or key combinations
do not work reliably, especially on slow network connections, you
can set the allowed time in milliseconds in the environment variable
`ESCDELAY' (in such cases, 1000 is often a useful value).

On the other hand, if it takes a long time until an ESC key
press takes effect, and you are on a fast connection or a local
console, it might help to set `ESCDELAY' to a low value.

If the display is corrupted or (some) function keys or key
combinations don't work at all or e.g., the number of lines on the
screen is not recognized correctly, please check if your `TERM'
environment variable is set correctly and make sure an appropriate
`terminfo' entry is present on the host system.

If you get an error message like
`Error opening terminal: linux.' when starting PENG, it might
be that your terminfo database is in `/usr/lib/terminfo' (or
perhaps `/usr/local/share/terminfo' or
`/usr/local/lib/terminfo') rather than where PENG expects it
(`/usr/share/terminfo' under, e.g., Linux, or
`/usr/local/share/terminfo' under, e.g., Solaris). In this
case, either create a symlink. E.g., under Linux, if your terminfo
database is in `/usr/lib/terminfo', do (as root):
`ln -s /usr/lib/terminfo /usr/share/terminfo', or (as the user
who wants to use PENG) set the environment variable `TERMINFO'
to the directory where your terminfo database lives. In the unlikely
case that you don't have a terminfo database on your system at all,
you'll have to install it as part of the ncurses library.

On Linux consoles, if an editor window becomes corrupted when the
opened file contains some non-printable characters (e.g., ASCII #128
and the following ones), you probably need to load a correct unimap
with `loadunimap(8)'. This mostly affects speakers of languages
with "high" characters (e.g., German) which load an appropriate font
with `setfont(8)'. The `loadunimap' call should be done
right after the `setfont' call in the system startup scripts,
but at least one of the big German Linux distributions forgets the
`loadunimap' call in its default configuration.

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.

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

CTRL-E

UP

CTRL-X

DOWN

CTRL-S

LEFT

CTRL-D

RIGHT

CTRL-A

CTRL-LEFT

CTRL-F

CTRL-RIGHT

CTRL-R

PGUP

CTRL-C

PGDN

CTRL-G

DEL

CTRL-P

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)'.

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.

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.

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.)

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

CTRL-K0 .. CTRL-K9 (setting labels -- quite pointless),

CTRL-KxH (where x is any letter) because CTRL-H can't be distinguished from BACKSPACE and

CTRL-KxK because the second CTRL-K is assumed to start a new block operation.