From: zmbenhal@netcom.com (Zeyd M. Ben-Halim) Subject: Re: NCURSES and serial lines Date: Wed, 28 Jul 1993 10:13:28 GMT
In article <743772638.AA00103@mitropa.gun.de> eickholt@mitropa.gun.de (Frank Eickholt) writes:
>Hi folks.
>
>I have a problem with ncurses.
>
>I wrote a littel program using ncurses. It works fine on a console
>device. (TERM=console, TERM=vt100 and TERM=xterm)
All terminfo descriptions don't define the screen size. They rely on the kernel
to supply the size of the screen for them. When using a serial line it returns
size of 0 x 0 which causes the program to crash.
The solutions are:
1) edit the terminfo description to add default screen dimensions.
2) define LINES and COLUMNS environment variables.
The next version will do a better job at checking and complaining.
Zeyd
>But.....
>I try it on a seriel port (/dev/modem....).
>The result is:
>a core dump and floating point exeption....
>this failure appears with all three TERM-Setting.
>
>What's wrong?
>
>so long
>FRANK
>