Re: FVWM: Strange problems with xterm and fvwm2

From: Vikas Agnihotri <VikasA_at_att.com>
Date: Mon, 13 Jul 1998 10:02:59 -0400

On Sun, Jul 12, 1998 at 12:23:35AM -0400, Dan Espen wrote:

> I think if you check again whats going on you will find that the curses
> based application (Vim) is the cause of the problem with ^[OC changing to
> ^[[C. I don't see how fvwm would be involved.

No. You misunderstand.

1. I fire up my X session which starts up fvwm2
2. I launch a xterm with my desired VT100 translations.
3. In my shell, (ksh), I press Ctrl­V, Right
   I get ^[OC which is what I have in my VT100 translations.
4. I have the following line in my .fvwm2rc to iconify any window
   Key F8 A N2 Iconify -1
5. Using this, I press F8 to minimize the xterm
6. I click on the xterm icon in the winlist to de-iconify it
7. I do step (3) again.
   
   This time, I get ^[[C instead of ^[OC

Note that vim, slrn, mutt, etc are not even invoked during all this.

So, what I am saying is that, using keyboard-based accelerator keys to do
_anything_ in Fvwm somehow screws up things. The above is empirical
evidence. I dont know enough about Fvwm internals to figure out why it is
happening, but happening it is.

> I am not saying Vim is at fault. When I have seen this in the past, the
> TERMINFO had an initialization sequence that changed what keys emit, and
> the reset (un-initialization) sequence didn't undo the change.

I dont understand. Mind elaborating? Note that as I point out above, Vim
doesnt even come into the picture for things to get screwed up.

> I don't follow the part about the mouse, if you are talking about
> mouse clicks in the xterm window that Vim reads, it is probably
> the same terminfo problem.

Yes, I am referring to mouse clicks in a xterm that Vim reads. Indeed, it
does sound like a terminfo problem, but I doubt Vim has anything to do with
it. I cant understand why the keycodes that my keys/mouse sends out would
be changed by any application, though!

Thanks for your help. Hope we can get to the bottom of this.

Vikas
--
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 - 09:04:54 BST

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