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 RequestSeverity: 1 - Wish
Priority: 3 - LowStatus: Need Discussion
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned Release: Later
Work Required: 0 - Hours

Add a New Comment (Rich MarkupRich 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>
Project Member
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>
Project Member
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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 15 Jul 2008 06:35:39 PM UTCmicahcowanPriority5 - Normal=>3 - Low

    Back to the top


    Powered by Savane 3.1-cleanup