Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <20000606140850.26089.qmail@web109.yahoomail.com> Date: Tue, 6 Jun 2000 07:08:50 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: terminfo/termcap entry (was Re: [PATCH] fhandler_console.cc) To: "Bradley A. Town" , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- "Bradley A. Town" wrote: > 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 > I wanted to give my terminfo values for cygwin since Brad had problems with lrtest. I posted this to cygwin-apps. This cygwin terminfo passed all tests. My terminfo is below Brads. -8<- > > --- 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 --- > # Use this for cygwin (tested with version 1.1.0). # I've combined pcansi and linux. Some values of course where different and # I've indicated which of these were and which I used. # Cheers, earnie_boyd AT yahoo DOT com cygwin|ansi emulation for Cygwin, colors#8, ncv#3, pairs#64, op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, am, mir, msgr, cols#80, it#8, lines#24, bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g, blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7% t;8%;%?%p9%t;12%;m, sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\3 00n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\37 6, rmacs=\E[10m, smacs=\E[11m, #from linux. These have been tested not to cause problems. eo, xenl, xon, cnorm=\E[?25h, dch=\E[%p1%dP, dim=\E[2m, dl=\E[%p1%dM, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, kb2=\E[G, kcbt=\E[Z, 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~, kNXT=\E[6$, kPRV=\E[5$, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rs1=\Ec\E]R, sc=\E7, smir=\E[4h, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, Cheers, ===== --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Yahoo! Photos -- now, 100 FREE prints! http://photos.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com