This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: terminfo/termcap entry (was Re: [PATCH] fhandler_console.cc)


Sigh.  I broke `less' with the previous termcap entry.  The
problem appears to be that either `less' or the termcap
library expects there to be a setting for `sr' (terminfo
`ri') for scrolling text down.  You can fix it by adding
"sr=\EM" to the termcap file and "ri=\EM" to the terminfo
file.  Modified versions are provided below.

I had left it out because ncurses's `lrtest' gets hosed
after a few seconds if it's set, but that's the only
program I've seen have trouble.  That might be attributable
to a bug in cygwin, a bug in ncurses, or a bug in `lrtest'.

Sorry.

Brad Town

--- cut here (termcap) ---
# Blink and dim are not implemented
# ENQ (u9)/ACK (u8) may not work as expected
#
# (untranslatable capabilities removed to fit entry within 1023 bytes)
cygwin|ansi emulation for cygwin32:\
        :am:ms:xo:\
        :Co#8:it#8:pa#64:\
        :&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
        :DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
        :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
        :FA=\E[34~:IC=\E[%d@:K1=\E[1~:K2=\E[G:K3=\E[5~:K4=\E[4~:\
        :K5=\E[6~:\

:ac=+\020\054\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\3
62{\343|\330}\234~\376:\
        :bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:\
        :cr=^M:cs=\E[%i%d;%dr:do=\E[B:ei=:ho=\E[H:im=:\
        :is=\E[m\E[?7h:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:\
        :k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
        :k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
        :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:\
        :me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[39;49m:r1=\Ec:\
        :rc=\E[u:sc=\E[s:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:\
        :ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\
        :ue=\E[24m:up=\E[A:us=\E[4m:
--- cut here ---

--- cut here (terminfo) ---
# Blink and dim are not implemented
# ENQ (u9)/ACK (u8) may not work as expected
#
cygwin|ansi emulation for cygwin32,
        am, msgr, xon,
        colors#8, it#8, pairs#64,

acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\36
2{\343|\330}\234~\376,
        bel=^G, bold=\E[1m, clear=\E[2J, cr=^M,
        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%dP, dl=\E[%dM,
        ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH,
        ich=\E[%d@, il=\E[%dL, ind=^J, invis=\E[8m, is2=\E[m\E[?7h,
        ka1=\E[1~, ka3=\E[5~, kb2=\E[G, kbs=^H, kc1=\E[4~, kc3=\E[6~,
        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
        kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
        kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
        op=\E[39;49m, rc=\E[u, rev=\E[7m, ri=\EM, rmso=\E[27m,
        rmul=\E[24m, rs1=\Ec, sc=\E[s, setab=\E[4%dm,
        setaf=\E[3%dm,
        sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p7%t;8%;m,
        sgr0=\E[m, smso=\E[7m, smul=\E[4m, u6=\E[%i%d;%dR,
        u7=\E[6n, u8=\E[?6c, u9=\E[c,
--- cut here ---


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]