Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-17 Thread Thomas E. Dickey
On Mon, 17 Sep 2001, Vincent Lefevre wrote: > On Sun, Sep 16, 2001 at 19:18:19 -0400, Thomas Dickey wrote: > > but as I said before, you can get what you're looking for by modifying the > > terminfo description. there's no need to modify the C code. > > But then, this will break the applications

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-16 Thread Vincent Lefevre
On Sun, Sep 16, 2001 at 19:18:19 -0400, Thomas Dickey wrote: > but as I said before, you can get what you're looking for by modifying the > terminfo description. there's no need to modify the C code. But then, this will break the applications that expect appplication-mode escape sequences. --

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-16 Thread Thomas Dickey
On Mon, Sep 17, 2001 at 12:43:42AM +0200, Vincent Lefevre wrote: > On Sun, Sep 16, 2001 at 16:59:29 -0400, Thomas Dickey wrote: > > because if you don't use the keypad() function, you won't get KEY_xxx > > symbols usable in the curses application. > > This is annoying to have a function that does

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-16 Thread Vincent Lefevre
On Sun, Sep 16, 2001 at 16:59:29 -0400, Thomas Dickey wrote: > because if you don't use the keypad() function, you won't get KEY_xxx > symbols usable in the curses application. This is annoying to have a function that does two different things... -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web:

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-16 Thread Thomas Dickey
On Sun, Sep 16, 2001 at 10:06:45PM +0200, Vincent Lefevre wrote: > On Sun, Sep 16, 2001 at 14:17:25 -0400, Thomas Dickey wrote: > > The thing to fix is the terminfo description. For instance, you could make > > a terminfo that doesn't set application-mode for cursor- and keypad-keys, > > and use

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-16 Thread Vincent Lefevre
On Sun, Sep 16, 2001 at 14:17:25 -0400, Thomas Dickey wrote: > The thing to fix is the terminfo description. For instance, you could make > a terminfo that doesn't set application-mode for cursor- and keypad-keys, > and use that instead of the standard one. Perhaps, but what I don't understand i

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-16 Thread Thomas Dickey
On Sun, Sep 16, 2001 at 07:39:01PM +0200, Vincent Lefevre wrote: > On Thu, Sep 13, 2001 at 18:50:41 -0400, Thomas Dickey wrote: > > On Fri, Sep 14, 2001 at 12:01:22AM +0200, Vincent Lefevre wrote: > [snip] > > > I use Mutt 1.3.22.1i under Linux 2.2.17 with ncurses 4.0. > > > > ncurses 4.0 is a bi

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-16 Thread Vincent Lefevre
On Thu, Sep 13, 2001 at 18:50:41 -0400, Thomas Dickey wrote: > On Fri, Sep 14, 2001 at 12:01:22AM +0200, Vincent Lefevre wrote: [snip] > > I use Mutt 1.3.22.1i under Linux 2.2.17 with ncurses 4.0. > > ncurses 4.0 is a bit old (unless you're using one of Redhat's broken-rpm's - > I'm assuming that

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-13 Thread Thomas Dickey
On Fri, Sep 14, 2001 at 01:32:30AM +0200, Vincent Lefevre wrote: > On Thu, Sep 13, 2001 at 18:50:41 -0400, Thomas Dickey wrote: > > ncurses 4.0 is a bit old (unless you're using one of Redhat's broken-rpm's - > > I'm assuming that's the case if you have a 2.2x kernel). > > We have RedHat 6.2. I c

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-13 Thread Vincent Lefevre
On Thu, Sep 13, 2001 at 18:50:41 -0400, Thomas Dickey wrote: > ncurses 4.0 is a bit old (unless you're using one of Redhat's broken-rpm's - > I'm assuming that's the case if you have a 2.2x kernel). We have RedHat 6.2. I could also install a new ncurses version in my HOME. > rxvt's terminfo defi

Re: pb with arrows and numeric keypad (rxvt terminfo)

2001-09-13 Thread Thomas Dickey
On Fri, Sep 14, 2001 at 12:01:22AM +0200, Vincent Lefevre wrote: > I switched from xterm-color to rxvt because of some terminfo problems > with xterm-color, but now the arrow keys and the numeric keypad don't > work any longer with my terminal. I think the problem comes from the > fact that Mutt s

pb with arrows and numeric keypad (rxvt terminfo)

2001-09-13 Thread Vincent Lefevre
I switched from xterm-color to rxvt because of some terminfo problems with xterm-color, but now the arrow keys and the numeric keypad don't work any longer with my terminal. I think the problem comes from the fact that Mutt switches to the application keypad but doesn't support it! Could this be c