Package: ttyrec
Version: 1:1.0.8-4
Severity: wishlist

ttyplay -p is busywaiting with a 0.25 second delay, which is suboptimal
since we have inotify on modern linux systems.

I tried changing the delay to 0.025 seconds, and found this makes
ttyplay's playback much less blocky. For example, if I scroll around in
an editor, the live ttyplay playback with the 0.25 second delay lags
well behind the actual cursor position. (I suspect that nethack.alt.org also
has this lag.) With 0.025 seconds, I could not see any lag. But polling
so many times a second is not good.

Thus, inotify. Adding support for it will be slightly tricky since it
cannot be used in the case where ttyplay is reading from stdin. But
I'm sure it will be worth the bother, doing away with the busy-waiting
and letting updates be displayed instantly.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ttyrec depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries

ttyrec recommends no packages.

ttyrec suggests no packages.

-- debconf-show failed

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to