On Fri, Sep 14, 2001 at 09:58:05AM +0200, Johannes Zellner wrote:
> Hi,
> 
> when I use a cygwin terminal to log in to my linux box from windows,
> the terminal is set to cygwin. As there are no termcap entries for
> cygwin on my linux machine, I set the $TERM to 'ansi' which works
> nicely and gives correct output for 'ls', 'vim', 'slrn' for example.
> Unfortunately mutt doesn't work correctly with this setting.
> What should I do to get the correct output ?

generally -
generate a termcap entry using infocmp and paste it into termcap.

however, it's unlikely that you are using termcap on linux, especially
for mutt, but more likely that your terminfo database is old.

see
        ftp://invisible-island.net/ncurses/terminfo.src.gz

This is current (from that source):

#       Reconstructed via infocmp from file: /usr/local/ncurses/share/terminfo/c/cygwin
cygwin|ansi emulation for Cygwin, 
        am, eo, in, msgr, xon, 
        colors#8, cols#80, it#8, lines#25, ncv#3, 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\362{\343|\330}\234~\376,
 
        bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub1=^H, 
        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 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, 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, invis=\E[8m, kbs=^H, 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, nel=^M^J, op=\E[39;49m, 
        rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmpch=\E[10m, 
        rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
        
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
 
        sgr0=\E[0;10m, smir=\E[4h, smpch=\E[11m, smso=\E[7m, 
        smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u9=\E[c, 
        vpa=\E[%i%p1%dd, 

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

Reply via email to