bugGNU Screen - Bugs: bug #23860, Emit timing info for log


bug #23860: Emit timing info for log

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Tue 15 Jul 2008 06:35:07 PM UTC  
Category:  Feature Request Severity:  1 - Wish
Priority:  3 - Low Status:  Need Discussion
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  Later
Work Required:  0 - Hours

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 19 Feb 2009 01:21:37 AM UTC, comment #4:

D McD: in the meantime, you can use the "script" command from the (non-GNU) linuxutils package (installed on most GNU/Linux systems, I think), and run screen under it. It allows you to do exactly this sort of thing: by specifying the -t option, it will pump timing info out to stderr, so you can save it to a file, and feed it back to a program called "scriptreplay".

There is also a program named "ttyrec" that does this sort of thing, I understand.

So this feature request is more of a convenience thing than anything: it is already easy to do this, but requires a separate program.

Micah Cowan <micahcowan>
Wed 18 Feb 2009 10:23:04 PM UTC, comment #3:

I am looking to do the exact same thing, so please post if you find an exact solution.

D McD <dirkshire>
Thu 17 Jul 2008 09:37:47 AM UTC, comment #2:

Well, what I'm specifically referring to with this feature request, is script's ability to generate timing info that, when fed along with the typescript to the scriptreplay program, can allow the user to replay a session, including pauses between each keystroke, so one has a terminal "video" of the recorded typescript.

The idea is to eliminate any need to run script within screen (you can just start screen's logging mechanism; optionally with timing info).

Micah Cowan <micahcowan>
Thu 17 Jul 2008 09:01:08 AM UTC, comment #1:

Would this be helpful here?

logtstamp [on|off]
logtstamp after [secs]
logtstamp string [string]

This command controls logfile time-stamp mechanism of screen. If time-stamps are turned "on", screen adds a
string containing the current time to the logfile after two minutes of inactivity. When output continues and
more than another two minutes have passed, a second time-stamp is added to document the restart of the output.
You can change this timeout with the second form of the command. The third form is used for customizing the
time-stamp string (`-- %n:%t -- time-stamp -- %M/%d/%y %c:%s --\n' by default).

Juergen Weigert <jnweiger>
Project Administrator
Tue 15 Jul 2008 06:35:07 PM UTC, original submission:

It would be useful for screen to produce timing information for its log outputs, equivalent to invoking "script -t" (for versions of script that support -t), suitable for playback with the scriptreplay command.

Micah Cowan <micahcowan>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by dirkshire (Posted a comment)
  • -email is unavailable- added by jnweiger (Posted a comment)
  • -email is unavailable- added by micahcowan (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-07-15 micahcowan Priority5 - Normal => 3 - Low

    Back to the top

    Powered by Savane 3.4