[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Irix compile problem -- ENTER key
From: |
Kari E. Hurtta |
Subject: |
Re: lynx-dev Irix compile problem -- ENTER key |
Date: |
Sun, 22 Nov 1998 16:41:11 +0200 (EET) |
address@hidden:
> >
> > address@hidden:
> > > I've tried responding to him on the mailing list a few times, but made
> > > no impression. (I suspect he's got a mismatch between the terminal
> > > and description, or the keypad "enter" vs the return "enter" is
> > > confusing).
> >
> > If $TERM = iris-ansi or $TERM = iris-ansi-net (these are results if
> > user users IRIX's winterm) wgetch() gives KEY_ENTER instead of \n (or \r)
> > when user press return "enter".
>
> I have two "enter" keys on my keyboard. They will generate different codes.
> Are you talking about the one at the far right of the keyboard, in the numeric
> keypad, or the one in the middle section?
>
> Curses is supposed to return a KEY_ENTER if the string matches the 'kent'
> string - no matter what it is set to (in this case a '\r'). Likewise,
> there are special definitions for backspace and delete.
>
> > Discription of terminfo is just little odd :-)
> > Problem is that it matches :-)
> > Therefore KEY_ENTER is returned.
>
> then change your terminfo description.
You will get that complain every IRIX 6.2 user which uses winterm :-)
Notice that I was not that person which was problems.
I do not use winterm either.
I'm afrain that you can not avoid these complain without be
prepared to accept KEY_ENTER also. After all lynx installation
can not change terminfo defination, so that is only solution to you.
Or you can declare "That is know problem and will not be fixed."
:-)
/ Kari Hurtta