On 26/06/07 at 15:28 +0200, Vincent Lefevre wrote:
> On 2007-06-26 12:50:02 +0200, Lucas Nussbaum wrote:
> > ttyrec does the same thing as /usr/bin/script with the -t option. And
> > outputs recorded like that can be played back using
> > /usr/bin/scriptreplay (also in bsdutils).
> > 
> > Maybe ttyrec should just be removed from Debian?
> 
> I don't know. The man page says that it can records timing information
> with microsecond accuracy.
 
script does that as well:
     -t      Output timeing data to standard error. This data contains two
             fields, separated by a space. The first field indicates how much
             time elapsed since the previous output. The second field indi‐
             cates how many characters were output this time. This information
             can be used to replay typescripts with realistic typing and out‐
             put delays.

example timing file:
0.804626 29
0.304363 87
0.012679 134
1.332325 180
0.123226 2
0.148655 131
0.007716 114
0.004021 117
0.000320 127
0.000118 114
0.000113 111
0.000115 117
0.000112 124
0.000110 122
0.000113 112
0.000113 122
0.000111 3
0.000101 29
0.001273 87

So this looks like sub-second accuracy as well.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to