Re: [dwm] [ANNOUNCE] dvtm - dynamic virtual terminal manager - aka dwm for the console

From: Jon Valdés <juanval_AT_gmail.com>
Date: Sat, 8 Dec 2007 16:06:52 +0100

On Dec 8, 2007 3:49 PM, Marc Andre Tanner <mat_AT_brain-dump.org> wrote:
> > The only serious problem I've found with it is its performance :-S At
> > least on my computer, it's significantly slower than a normal
> > terminal. If this could be improved, this program would be absolutely
> > great :)
>
> Try adjusting the TIMEOUT in config.h this specifies the amount of time
> in milliseconds that getch will block before returning an error when
> trying to read a keypress. So the currently selected window is repainted
> every 150ms all others (see interval variable in dvtm.c:main) are
> updated all 10*150ms. This was actually done to reduce cpu usage but
> since dvtm hasn't seen much real world usage yet it may be total crap.

Yes, setting TIMEOUT to 50ms seems to give a much more responsive
system!. Almost as fast as a normal terminal :)

Thanks again :)

Byeee
Received on Sat Dec 08 2007 - 16:06:58 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:09:38 UTC