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

Bradley A. Town townba@pobox.com
Thu Jun 1 11:13:00 GMT 2000

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


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:\

--- 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,

        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,
        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

More information about the Cygwin mailing list