12-20-06 12:24 PM
Thomas Dickey wrote:
>
>
>
>
>
> You probably intended getchar().
> getch() is used for screen-oriented applications.
>
thanks so much for your help.
I realized the problem is more related to ioctl() function.
I tried to write my own terminal for com1,
/sbin/agetty is used as a terminal service and ioctl() functions
returns correctly, but the col and row size is zero.
did I miss something? thanks.
[ Post a follow-up to this message ]
|