bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NCurses and eComStation (OS/2)


From: BERTRAND Joel
Subject: Re: NCurses and eComStation (OS/2)
Date: Tue, 11 Oct 2011 12:50:11 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.1.19) Gecko/20110929 Iceape/2.0.14

Thomas Dickey a écrit :
On Tue, 11 Oct 2011, BERTRAND Joel wrote:

Hello,

I'm trying to use ncurses on an OS/2 workstation (eComStation 2.1 +
gcc 4.4.4). I obtain without any difficulties an usable library but
some fonctions does work as expected.

For example :

struct termios tp;

if (tcgetattr(0, &tp) == -1)
{
perror("tcgetattr");
}

returns :
tcgetattr: Invalid argument

perhaps tcgetattr is seeing a /dev/tty that isn't a tty?

        I don't have any /dev/tty in /dev directory.

(I have an eCom 2.0 which I keep intending to make into a development
environment - hadn't noticed 2.1 ...)

        I'm not sure there are many differences between 2.0 and 2.1.

        Regards,

        JKB



reply via email to

[Prev in Thread] Current Thread [Next in Thread]