[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NCurses and eComStation (OS/2)
From: |
Thomas Dickey |
Subject: |
Re: NCurses and eComStation (OS/2) |
Date: |
Tue, 11 Oct 2011 06:28:37 -0400 (EDT) |
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 have an eCom 2.0 which I keep intending to make into a development
environment - hadn't noticed 2.1 ...)
I don't understand where I have sent an invalid argument.
Regards,
JKB
_______________________________________________
Bug-ncurses mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ncurses
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net