Re: Numeric Keypad Malfunction -- Mutt, Vim, Gnome-Terminal

2002-07-26 Thread John P Verel

On 07/26/02 16:41 -0400, John P Verel wrote:
 Upon further investigation, I find that the keypad works fine under vim,
 run in an xterm and in rxvt.  So, the culprit, I suppose, is
 gnome-terminal.
 
 I'll head on over the the RedHat Limbo beta list and see if I can learn
 anything there.

I've learned that this numpad/vim issue is a well know bug with the
current gnome-terminal.  I've also learned that the Redhat Limbo Beta
version of gnome-terminal is 100% re-written and that it is working
correctly.

FWIW.

John



Re: Numeric Keypad Malfunction -- Mutt, Vim, Gnome-Terminal

2002-07-26 Thread John P Verel

Upon further investigation, I find that the keypad works fine under vim,
run in an xterm and in rxvt.  So, the culprit, I suppose, is
gnome-terminal.

I'll head on over the the RedHat Limbo beta list and see if I can learn
anything there.

John



Re: Numeric Keypad Malfunction -- Mutt, Vim, Gnome-Terminal

2002-07-26 Thread Thomas Dickey

On Fri, Jul 26, 2002 at 07:09:23PM -0400, John P Verel wrote:
 On 07/26/02 16:41 -0400, John P Verel wrote:
  Upon further investigation, I find that the keypad works fine under vim,
  run in an xterm and in rxvt.  So, the culprit, I suppose, is
  gnome-terminal.
  
  I'll head on over the the RedHat Limbo beta list and see if I can learn
  anything there.
 
 I've learned that this numpad/vim issue is a well know bug with the
 current gnome-terminal.  I've also learned that the Redhat Limbo Beta
 version of gnome-terminal is 100% re-written and that it is working
 correctly.

maybe

(I reviewed it, and was not able to see numeric keypad working properly)

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: Numeric Keypad Malfunction -- Mutt, Vim, Gnome-Terminal

2002-07-26 Thread Thomas E. Dickey

On Fri, 26 Jul 2002, John P Verel wrote:

 On 07/25/02 19:05 -0400, John P Verel wrote:
  I cannot get my numeric keypad to work with Mutt.  Here's my
  environment:

  The numeric keypad works correctly within gnome-terminal (e.g. writing
  code), works fine within mutt, if run from xterm or rxvt.  However, if I
  edit with vim, within mutt, run in a gnome-terminal, the numeric keypad
  does not work correctly.  For example, I press the number 1 on the
  keypad, I get the letter q inserted above the current line.

 I should also have noted that if I use other editors -- Emacs, Jed --
 within a gnome terminal this problem does not occur.  This makes me
 believe that this is a mutt/vim issue.

not really - emacs is termcap-oriented, rather than curses, and tends to
ignore things that have been done in curses for some time.

(vi, on many systems, is built using curses and the same issue applies)

-- 
T.E.Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net




Numeric Keypad Malfunction -- Mutt, Vim, Gnome-Terminal

2002-07-25 Thread John P Verel

I cannot get my numeric keypad to work with Mutt.  Here's my
environment:

I run Mutt 1.4-2 in gnome terminal, provided by gnome-core-1.4.0.4-54.
My editor is vim 6.1-2.  I start vim with this command:

set editor =vim +/^$ +'set nobackup'

The numeric keypad works correctly within gnome-terminal (e.g. writing
code), works fine within mutt, if run from xterm or rxvt.  However, if I
edit with vim, within mutt, run in a gnome-terminal, the numeric keypad
does not work correctly.  For example, I press the number 1 on the
keypad, I get the letter q inserted above the current line.

I tried tracking a thread in the archives on this topic, but it was
beyond my ability to follow.  However, I can report the my $TERM is set
to xterm.

mutt -v produces the following:

Mutt 1.4i (2002-05-29)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.18-5 (i686) [using slang 10405]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  -USE_DOTLOCK  -DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  +USE_GSS  +USE_SSL  +USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  -HAVE_START_COLOR  -HAVE_TYPEAHEAD  -HAVE_BKGDSET  
-HAVE_CURS_SET  -HAVE_META  -HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
++HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
ISPELL=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/share/mutt
SYSCONFDIR=/etc
EXECSHELL=/bin/sh
-MIXMASTER
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

It is the stock compilation provided by Red Hat with release 7.3.

Any help much appreciated.  I want to stay with gnome-terminal because
of the way it handles urls.

TIA

John



Re: Numeric Keypad Malfunction -- Mutt, Vim, Gnome-Terminal

2002-07-25 Thread Thomas Dickey

On Thu, Jul 25, 2002 at 07:05:43PM -0400, John P Verel wrote:
 I cannot get my numeric keypad to work with Mutt.  Here's my
 environment:
 
 I run Mutt 1.4-2 in gnome terminal, provided by gnome-core-1.4.0.4-54.
 My editor is vim 6.1-2.  I start vim with this command:
 
 set editor =vim +/^$ +'set nobackup'
 
 The numeric keypad works correctly within gnome-terminal (e.g. writing
 code), works fine within mutt, if run from xterm or rxvt.  However, if I
 edit with vim, within mutt, run in a gnome-terminal, the numeric keypad
 does not work correctly.  For example, I press the number 1 on the
 keypad, I get the letter q inserted above the current line.

for xterm it's simple to see what's going on - look at the control/middle/mouse
menu at the Enable Application Keypad line.  When you run a full-screen app
it generally initializes the cursor- and numeric-keypads to application mode.
xterm emulates a vt100 in this area, which sends escape sequences for the
numeric keypad.

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net