Re: home/end/pageup/pagedown don´t work

2000-03-01 Thread Thomas Ribbrock
On Tue, Feb 22, 2000 at 12:43:50AM +0200, Mikko Hänninen wrote: > I've used cat > /dev/null followed by pressing the key, and seeing > which characters get printed. This may or may not work for you... [...] At least under tcsh (haven't tried it under any other shell), it's as easy to simply t

Re: home/end/pageup/pagedown don´t work

2000-02-28 Thread David DeSimone
John E. Davis <[EMAIL PROTECTED]> wrote: > > > If I remember rightly, slang does not use terminfo > > It uses terminfo on systems that have it. For others, it uses termcap. Thanks, I'll stop spreading misinformation now. :) -- David DeSimone | "The doctrine of human equality reposes on this

Re: home/end/pageup/pagedown don´t work

2000-02-28 Thread John E. Davis
David DeSimone <[EMAIL PROTECTED]> wrote: >If I remember rightly, slang does not use terminfo, but termcap instead. It uses terminfo on systems that have it. For others, it uses termcap. --John

Re: home/end/pageup/pagedown don´t work

2000-02-28 Thread David DeSimone
Jens Wilhelm Wulf <[EMAIL PROTECTED]> wrote: > > I thought that the codes from terminfo are the ones programs see (if > they use it, no matter how it is done), and so it is important that > terminfo is correct. The codes you refer to in terminfo are actually strings, whereas the value KEY_NPAGE i

Re: home/end/pageup/pagedown don´t work

2000-02-26 Thread Mikko Hänninen
Jens Wilhelm Wulf <[EMAIL PROTECTED]> wrote on Sat, 26 Feb 2000: > Thanks a lot for the describtion of how keys are handled...it surprises me that > it's done this way, as there is one layer more than I expected. I thought > that the codes from terminfo are the ones programs see (if they use it, n

Re: home/end/pageup/pagedown don´t work

2000-02-26 Thread Jens Wilhelm Wulf
Hi there, The little program David send (linked to ncurses) returns 0522 and 0523, both curses.h and ncurses.h look like this: #define KEY_NPAGE 0522/* Next page */ #define KEY_PPAGE 0523/* Previous page */ So terminfo has to be OK if I understood your expl

Re: home/end/pageup/pagedown don´t work

2000-02-26 Thread Jens Wilhelm Wulf
Hi David and others, Thanks a lot for the describtion of how keys are handled...it surprises me that it's done this way, as there is one layer more than I expected. I thought that the codes from terminfo are the ones programs see (if they use it, no matter how it is done), and so it is important

Re: home/end/pageup/pagedown don´t work

2000-02-25 Thread Mikko Hänninen
David DeSimone <[EMAIL PROTECTED]> wrote on Fri, 25 Feb 2000: > As you can see, Mutt calls a function called wgetch(), to get a "key" > from the keyboard. If that function returns 0522, then Mutt knows that > you pressed the "next page" key, which Mutt calls "". If you (Jens) really want to debu

Re: home/end/pageup/pagedown don´t work

2000-02-25 Thread David DeSimone
Jens Wilhelm Wulf <[EMAIL PROTECTED]> wrote: > > now tried xkeycaps and changed keysym from next/prior to > KP_next/KP_prior. Doesn't help, too. That's probably because they were already set correctly. > To finally see what happens it must be possible to make mutt tell me > which key(sym/code)

Re: home/end/pageup/pagedown don´t work

2000-02-25 Thread Jens Wilhelm Wulf
Some "news" again... now tried xkeycaps and changed keysym from next/prior to KP_next/KP_prior. Doesn't help, too. To finally see what happens it must be possible to make mutt tell me which key(sym/code) it sees I can't believe that this should be impossible. Maybe there's a patch. Doesn't t

Re: home/end/pageup/pagedown don´t work

2000-02-22 Thread Jens Wilhelm Wulf
> in Mutt, you can press : for "enter command", and then press , and > then the key for which you want to see the char sequence. The reason > why you need to press is that the first character from your > home/pageup/whatever key is likely to be , and Mutt won't display > that -- but if it receiv

Re: home/end/pageup/pagedown don´t work

2000-02-21 Thread Mikko Hänninen
Jens Wilhelm Wulf <[EMAIL PROTECTED]> wrote on Tue, 22 Feb 2000: > > I've used cat > /dev/null followed by pressing the key, and seeing > > which characters get printed. This may or may not work for you... > well, if I tell mutt to use those keys, it won´t recognize them, too. Is > there a way

Re: home/end/pageup/pagedown don´t work

2000-02-21 Thread Jens Wilhelm Wulf
> I've used cat > /dev/null followed by pressing the key, and seeing > which characters get printed. This may or may not work for you... well, if I tell mutt to use those keys, it won´t recognize them, too. Is there a way to make mutt display the code it sees, like in jed? > It's possible to

Re: home/end/pageup/pagedown don´t work

2000-02-21 Thread Mikko Hänninen
Jens Wilhelm Wulf <[EMAIL PROTECTED]> wrote on Mon, 21 Feb 2000: > I just updated my whole system, now mutt tells me that the keys I mentioned are > not bound. Well, of course they are, but mutt doesn´t seem to get their > standard-codes. Is there a possibility to find out which codes mutt receive

home/end/pageup/pagedown don´t work

2000-02-21 Thread Jens Wilhelm Wulf
I just updated my whole system, now mutt tells me that the keys I mentioned are not bound. Well, of course they are, but mutt doesn´t seem to get their standard-codes. Is there a possibility to find out which codes mutt receives so I can bind them? I linked mutt against the current slang-version,