On 2015-03-11, John Long <[email protected]> wrote: >> If you connect from, say, an xterm, you'll need TERM=xterm. > > I tried TERM=xterm and TERM=vt100 before I sent my initial mailing list > post. Nothing changed.
Probably you had already run tset(1) before, which had set the tty rows/columns to the values from the "sun" termcap entry. IIRC, the fallback sequence by which curses(3) et al. determine the terminal dimensions goes like this: 1. use the LINES, COLUMNS environment variables. If unset, 2. use the tty values, see stty -e. If unset, 3. use the co, li capabilities from the termcap(5) entry corresponding to TERM. -- Christian "naddy" Weisgerber [email protected]

