Re: zvtwidget and vim
- From: Havoc Pennington <hp redhat com>
- To: Cristiano De Michele <demichel na infn it>
- Cc: GNOME devel <gnome-devel-list gnome org>
- Subject: Re: zvtwidget and vim
- Date: 23 Dec 2001 09:44:32 -0500
Cristiano De Michele <demichel na infn it> writes:
> case GDK_KP_0: case GDK_KP_1: case GDK_KP_2: case GDK_KP_3:
> case GDK_KP_4: case GDK_KP_5: case GDK_KP_6: case GDK_KP_7:
> case GDK_KP_8: case GDK_KP_9:
> /* if (appl_keypad) {
> p+=sprintf (p, "\0330%c", 'p' + (event->keyval - GDK_KP_0));
> } else {*/
> *p++ = '0' + (event->keyval - GDK_KP_0);
> /*}*/
> break;
>
> as you can see I simply removed the if/then/else statement,
> but I don't know whether this is the right/best solution to this
> problem, what's your opinion? could anyone help me?
Look at where appl_keypad gets set and why, apparently there's some
kind of escape sequence to toggle the numeric keypad. Look
at what xterm does maybe and see if zvt gets it wrong.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]