[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses, pthreads, and serial port
From: |
Thomas Dickey |
Subject: |
Re: ncurses, pthreads, and serial port |
Date: |
Thu, 30 May 2002 15:16:57 -0400 |
User-agent: |
Mutt/1.2.5i |
On Thu, May 30, 2002 at 10:14:28AM -0500, Troy Davis wrote:
> Ah-
> That answers that question. Now I have a new problem. When I call
> open("/dev/ttys0", O_RDWR | O_NOCTTY | O_NONBLOCK) I get screen corruption -
> my left menu is partially overwritten by what I use as a background color
> (blue), and the scroll functions no longer work. I have tracked it down to
> this specific call that does it. Of course, I was doing this call in a
> thread before which did not result in screen corruption but resulted in odd
> behavior of the serial output window. Any ideas anyone?
not really. does strace work on threaded code? if so, perhaps it could
should the output which is corrupting the window (admittedly with some work).
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net