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: Kari E. Hurtta
Subject: Re: lynx-dev Irix compile problem -- ENTER key
Date: Sun, 22 Nov 1998 12:47:05 +0200 (EET)

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".

Discription of terminfo is just little odd :-)
Problem is that it matches :-)
Therefore KEY_ENTER is returned.

/ Kari Hurtta

PS. Compare kent= between iris-ansi and xterm descriptions.


#       Reconstructed via infocmp from file: /usr/share/lib/terminfo/i/iris-ansi
iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100),
        am,
        cols#80, it#8, lines#40,
        bel=^G, bold=\E[1m, clear=\E[H\E[2J,
        cnorm=\E[9/y\E[12/y\E[=6l, cr=\r, cub=\E[%p1%dD,
        cub1=\E[D, cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC,
        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
        cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
        home=\E[H, ht=\t, hts=\EH, il=\E[%p1%dL, il1=\E[L,
        ind=\ED, is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8,
        kDC=\E[P, kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q,
        kPRT=\E[210q, kRIT=\E[167q, kSPD=\E[218q, kbs=\b,
        kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
        kcuu1=\E[A, kdch1=^?, kend=\E[146q, kent=\r,
        kf1=\E[001q, kf10=\EOQ, kf11=\EOR, kf12=\EOS,
        kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, kf5=\E[005q,
        kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\EOP,
        khome=\E[H, kich1=\E[139q, knp=\E[154q, kpp=\E[150q,
        kprt=\E[209q, krmir=\E[146q, kspd=\E[217q, nel=\EE,
        pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8, rev=\E[7m,
        ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
        smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,


#       Reconstructed via infocmp from file: /usr/share/lib/terminfo/x/xterm
xterm|vs100|xterm terminal emulator,
        am, km, mir, msgr, xenl,
        cols#80, it#8, lines#65,
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
        bel=^G, blink=@, bold=\E[1m, clear=\E[H\E[2J, cr=\r,
        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
        cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
        ed=\E[J, el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0,
        home=\E[H, ht=\t, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
        il=\E[%p1%dL, il1=\E[L, ind=\n, ka1=\EOq, ka3=\EOs,
        kb2=\EOr, kbs=\b, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM,
        kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR,
        kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl,
        kf9=\EOw, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
        rmkx=\E[?1l, rmso=\E[m,
        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
        address@hidden, sc=\E7,
        
sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
        sgr0=\E[m, smacs=^N, smkx=\E[?1h, smso=\E[7m,
        tbc=\E[3g,

reply via email to

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