Re: FVWM: Strange problems with xterm and fvwm2

From: Pete Forman <gsez020_at_compo.bedford.waii.com>
Date: Mon, 13 Jul 1998 16:16:31 +0100

The cursor arrow keys can generate a prefix of ^[O (escape capital-O,
aka SS3) or ^[[ (escape left-bracket, aka CSI). Which prefix is used
may be set by one of the DEC Private Mode sequences.

    ^[[?1h sets the SS3 prefix.
    ^[[?1l resets to the CSI prefix.

One of these codes is often called when something like vi is started.
On my platform the xterm terminfo entry includes

    smcup=\E[?7l\E[?1l\E(B\E=

Try doing

    echo '\033[?1h'

after you deiconify and see whether you get your preferred prefix
back. Alternatively try the menu on ctrl-MS2 in xterm to toggle the
Application Cursor Keys.

After that it will be a matter of searching through fvwm,
xterm, vim, etc. to see what is resetting the prefix. Turning on
logging on the xterm may help as all escape sequences are recorded
literally. This may not be an option as since X11R5 you need to
explicitly enable the logging feature when compiling xterm.

Sorry if this seems unclear. The notes I made on this matter are 8
years old. See also appcursor and friends in the xterm man page and
the Xterm Control Sequences document in X11.
-- 
Pete Forman
Western Geophysical
pete.forman_at_bedford.waii.com
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Jul 13 1998 - 10:20:54 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST