bug-ncurses
[Top][All Lists]
Advanced

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

ncurses and blocking?


From: Simon Richter
Subject: ncurses and blocking?
Date: Tue, 9 Jul 2002 00:43:29 +0200 (CEST)

Hi,

I'm currently writing a program that has a number of input and output
streams operating at various speeds (sockets, local files, NFS files, AFS
files, a Tivoli storage server, ...) that should also get an ncurses
interface. While I realize that ncurses performing blocking I/O will not
be a major problem in most cases, it might be that the controlling tty is
on a slow link (ssh over a modem) while the network around the box running
the program is saturated. Is there a way to tell ncurses to do nonblocking
I/O, probably (though not required) with the option of discarding output
that has not been written to the tty yet but has already been overwritten
on stdscr?

   Simon

-- 
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: 040E B5F7 84F1 4FBC CEAD  ADC6 18A0 CC8D 5706 A4B4




reply via email to

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