ttyrex

ttyrec with more options
git clone https://a3nm.net/git/ttyrex/
Log | Files | Refs | README

ttyrec.1 (1632B)


      1 .\"
      2 .\" This manual page is written by NAKANO Takeo <nakano@webmasters.gr.jp>
      3 .\"
      4 .TH TTYREC 1
      5 .SH NAME
      6 ttyrec \- a tty recorder
      7 .SH SYNOPSIS
      8 .br
      9 .B ttyrec
     10 .I "[\-a] [\-f] [\-u] [\-e command] [\-l limit] [file]"
     11 .br
     12 .SH DESCRIPTION
     13 .B Ttyrec
     14 is a tty recorder.
     15 It is a derivative of
     16 .BR script (1)
     17 command for recording timing information with microsecond accuracy as well.
     18 It can record emacs -nw, vi, lynx, or any programs running on tty.
     19 .PP
     20 .B Ttyrec
     21 invokes a shell and records the session until the shell exits.
     22 Recorded data can be played back with
     23 .BR ttyplay (1).
     24 If the argument
     25 .I file
     26 is given, the session will be recorded in that file.
     27 Otherwise,
     28 .I ttyrecord
     29 is used as default.
     30 .SH OPTIONS
     31 .TP
     32 .B \-a
     33 Append the output to
     34 .I file
     35 or
     36 .IR ttyrecord ,
     37 rather than overwriting it.
     38 .TP
     39 .B \-f
     40 Instead of failing, try hard to just run a shell without recording.
     41 .TP
     42 .B \-u
     43 With this option,
     44 .B ttyrec
     45 automatically calls
     46 .BR uudecode (1)
     47 and saves its output when uuencoded data appear on the session.
     48 It allow you to transfer files from remote host.
     49 You can call
     50 .B ttyrec
     51 with this option, login to the remote host
     52 and invoke
     53 .BR uuencode (1)
     54 on it for the file you want to transfer.
     55 .TP
     56 .BI \-e " command"
     57 Invoke 
     58 .I command
     59 when ttyrec starts.
     60 .TP
     61 .BI \-l " limit"
     62 Only log the first limit bytes of each second.
     63 .SH ENVIRONMENT
     64 .TP
     65 .I SHELL
     66 If the variable
     67 .I SHELL
     68 exists, the shell forked by
     69 .B ttyrec
     70 will be that shell.
     71 If it's not set,
     72 the Bourne shell is assumed.
     73 (Most shells set this variable automatically).
     74 .SH "SEE ALSO"
     75 .BR script (1),
     76 .BR ttyplay (1),
     77 .BR ttytime (1),
     78 .BR uuencode (1),
     79 .BR uudecode (1)
     80