[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: memory leak problems, I might be doing something wrong
From: |
Thomas Dickey |
Subject: |
RE: memory leak problems, I might be doing something wrong |
Date: |
Thu, 14 Dec 2006 19:04:50 -0500 (EST) |
On Thu, 14 Dec 2006, chinlu chinawa wrote:
There's another thing I wanted to ask you. I've been
reading about the mouse support in curses, though I
might be doing something wrong cose is too slow, a
click event is received almost half a second after the
actual click (I mean is not real-time), which makes it
not usable for production.
That sounds high - the default interval is 166
(see the mouseinterval() function)
Then I discovered ctlseqs.txt, which is the xterm's
control suquences text, and I wonder if you could tell
me something about. I can see some functions who claim
to return values but I don't know where to, nor how to
catch them.
Essentially - the application prints to the terminal (usually stdout),
and the terminal prints back (to the application's stdin).
The application has to allow uncooked input, since the replies
don't contain newlines, etc.
I've been looking at midnight-commander's source code,
and it does open file descriptors for stdin, stdout,
maybe is that what I should do?
Am I wrong willing to do this through xterm? i.e.
other x-based terminal emulators won't support it.
When enough applications use the feature, it happens that someone adds the
feature to other terminal emulators.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
- memory leak problems, I might be doing something wrong, chinlu chinawa, 2006/12/12
- RE: memory leak problems, I might be doing something wrong, chinlu chinawa, 2006/12/13
- RE: memory leak problems, I might be doing something wrong, chinlu chinawa, 2006/12/14
- RE: memory leak problems, I might be doing something wrong,
Thomas Dickey <=
- RE: memory leak problems, I might be doing something wrong, chinlu chinawa, 2006/12/15
- RE: memory leak problems, I might be doing something wrong, chinlu chinawa, 2006/12/15