On Sun, Dec 09, 2001 at 12:37:12PM -0600, Skylar Thompson wrote:
> I have a Wy30+ serial terminal that is currently sitting in my living room.
> It is currently connected to my workstation in my room, which in turn is
> connected to my mail server in my basement via Cat-5. I would like to be
> able to use mutt using the serial terminal, so I don't have to get up to read
> me mail. ;)
>
> The problem is that mutt does not display correctly on the terminal. I can
> get the header and footer of the main screen to display, but not all the
> messages are displayed, and some of them are wrapped over onto the next line,
> which throws everything underneath it off.
>
> I use ssh to connect to the mail server, and I am using the wy30 entry
> /etc/termcap for terminal emulation. I have attached the output of "stty -a"
> to this message.
mutt probably isn't using /etc/termcap, but terminfo instead. This is
what I would guess for wy30:
# Reconstructed via infocmp from file: /usr/lib/terminfo/w/wy30
wy30|wyse30|Wyse 30,
am, bw, hs, mc5i, mir, msgr, xon,
cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
cud1=^J, cuf1=^L, cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K,
dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, dsl=\EF\r,
ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, ind=\n$<2>,
ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, kHOM=\E{, kbs=^H,
kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW,
kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf2=^AA\r,
kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
kf8=^AG\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ,
krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
pfx=\Ez%p1%'?'%+%c%p2%s\177,
pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
smso=\E`7\E), tbc=\E0, tsl=\EF,
It's possible that one or more of the strings are corrupt - I corrected
several of the entries for Wyse terminals from having seen that some
typos were introduced by back/forth translation with infocmp (e.g.,
adding commas or other punctuation). I'd suggest debugging the terminal
entry using 'tack', which exercises a large portion of the terminfo
entry in individual tests. (tack is part of ncurses).
--
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net