lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Irix compile problem -- ENTER key


From: Klaus Weide
Subject: Re: lynx-dev Irix compile problem -- ENTER key
Date: Sun, 22 Nov 1998 16:43:21 -0600 (CST)

On Sun, 22 Nov 1998 address@hidden wrote:

> well, it's an obvious defect in IRIX's terminfo description, for which
> there's an easy workaround.  So I'll have to stick with the latter (it's
> the curses library which is deciding which string is KEY_ENTER, not Lynx).

It is the terminfo description which comes with ncurses AFAIK.

Is there anything wrong with this trivial addition to LYStrings.c,
which probably should have been there anyway?

  Klaus

*** ../lynx2-8-1-cs/src/LYStrings.c     Tue Sep 22 06:05:12 1998
--- ../lynx2-8-1/src/LYStrings.c        Sun Nov 22 09:56:53 1998
***************
*** 1060,1065 ****
--- 1060,1070 ----
        case KEY_C3:               /* lower right of keypad */
           c = PGDOWN;
           break;
+ #ifdef KEY_ENTER
+       case KEY_ENTER:            /* Enter or send (unreliable) */
+          c = '\n';
+          break;
+ #endif /* KEY_ENTER */
  #ifdef KEY_END
        case KEY_END:              /* end key           001 */
           c = END_KEY;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]