<<< Date Index >>>     <<< Thread Index >>>

Re: Weird Solaris headers (again)



On Fri, 23 Dec 2005, Steve Kennedy wrote:

Indeed this was an ncurses issue, however that's sorted (on the system
with ncurses it does the right thing and those without use Sun's
curses).

However both still have the problem with dttem and weird hearders

As I understood the description of the problem, it was that some lines
extended long enough that they forced the terminal to wrap to the next
line, and that the application did not know about that.

There are a couple of possibilities that come to mind:

        a) the terminal and terminal description do not match (so it's
           actually wrapping in a case where the curses library does not
           expect it).  That sounded unlikely.

        b) there's an environment variable such as $COLUMNS set which is
           telling the curses library a different value than the actual
           terminal size.  Normally, unless use_env() is called to tell
           curses to ignore it, it allows $LINES and $COLUMNS to override
           other sources of the screen size.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net