Tijs Michels <[EMAIL PROTECTED]> typed:
:I was wondering whether
:#define TIMEOUT_USEC 5000
:means that cmd_getc probes for input almost 200 times a
:second. And if so, could this not slow down processes in
:the background?
The timeout is only in effect in certain circumstances. One
being when you have continual scrolling compiled in and are
using it, i.e. holding the up (or down) button on an rxvt or
NeXT style scrollbar. Normally, a NULL struct is passed so
it only returns on data.
:I tested a value of 50000 and noticed no effect on the
:performance of rxvt.
You will if you use continual scrolling.
:So I wondered why a value of 5000 was chosen, and
:if this really means that cmd_getc probes for input
:200 times a second?
Of course, if you're on an x86 system (which most people seem to
be these days) the granularity of the timer is usually 10000 so
you'll get timeouts up to 100 times a second.
Regards,
--
Geoff Wing : <[EMAIL PROTECTED]>
Rxvt Stuff : <[EMAIL PROTECTED]>
Zsh Stuff : <[EMAIL PROTECTED]>