in reply to Re^4: Capture Keystroke
in thread Capture Keystroke
No, it is a UNIX command, which appeared in BSD 3.0. It spawns your $SHELL and makes a typescript of everything printed to the terminal, including backspaces, terminal control sequences and such. See 'man script'. The script(1) command's STDERR can be directed to a file to record the timing of all that appears on the terminal. Of course, anything typed while the terminal is in '-echo' mode won't appear (e.g. passwords). The script file and the timing file can be used to replay the captured outout. Joey Hess wrote a public domain perl script called scriptreplay which does that.
|
|---|