[Top][All Lists]

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

ncurses v5.5 - some problems

From: ThMO
Subject: ncurses v5.5 - some problems
Date: Thu, 21 Sep 2006 19:26:42 +0200


I've decided to upgrade ncurses from v4.2 -> v5.5 and there were
two problems:

· ./configure --disable-largefile

  the symbol _LARGE_FILES gets defined, which shouldn't with the
  above option

· TERM=linux

  the ACS settings for *all* given linux entries imply, that the
  symbols from cp437 are present, which isn't true, if someone
  loads an iso-latin-1 console font, in order to display european
  umlaut characters, which means that all boxes look very ugly,
  since the characters displayed are french accented characters...
  (those were displayed wrong even with ncurses v4.2 and my hope
   was, that it would get corrected)

  I've attached a small terminfo source defining another entry
  called `linux2', which solves the problem by using the ascii ACS
  characters for displaying box characters

BTW, I would like to say THX for supporting the following options:

· --disable-overwrite
· --enable-echo
· --without-xterm-new
· --with-bool=int
· --with-*-symlinks

There's another thing, which may give trouble on older systems, like
mine, where stdbool.h doesn't exist, as other software using `bool',
mostly declaring this type as an enum conflict with ncurses decla=
ration of `-Dbool=char' - so it might be somehwat better to use an
int instead, or even don't use bool by encoding those flags using a
single unsigned int with some bit masks...

THX for listening.

CU Tom.
(Thomas M.Ott)
linux2|linux console for iso-8859-1 without acs (ThMO), 
        civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c, 
        am, bce, eo, mir, msgr, xenl, xon, 
        it#8, ncv#18, 
        bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
        el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
        il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, 
        kcbt=\E[Z, 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~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
        kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
        rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
        smam=\E[?7h, smir=\E[4h, smul=\E[4m, tbc=\E[3g, 
        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c, 
        blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
        rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
        sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, 
        rmacs=\E[10m, smacs=\E[11m, 
        colors#8, ncv#3, pairs#64, 
        op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 

reply via email to

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