ttyrex

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

README (1364B)


      1 ttyrex is ttyrec with Debian patches applied and with two additional options:
      2 
      3   * -f, to try to exec a shell instead of failing
      4   * -l limit, to restrict the quantity of data logged to something
      5     around 2*limit bytes per second
      6 
      7 The rationale of these additions is to make it possible to use ttyrec in all
      8 your shells. -f is useful to ensure that you can get a shell even if Bad Things
      9 occur. -l is useful whenever you cat large files and don't want them to make the
     10 record grow huge: with -l, you will get something like the first limit bytes of
     11 garbage, 2*limit bytes every second spent displaying garbage, and the last limit
     12 bytes of the garbage, which resembles more or less what you are likely to see.
     13 
     14 ttyplay now has an additional -j option to jump to a specific time.
     15 
     16 ttytime now display the start timestamp of each file along with the duration.
     17 
     18 -- Antoine Amarilli <a3nm@a3nm.net>
     19 
     20 %%%%% Original readme follows %%%%%
     21 
     22 ttyrec is a tty recorder. ttyplay is a tty player.
     23 
     24 Installation:
     25 
     26   % make
     27 
     28 or if your system is SVR4 system (Solaris etc.),
     29 
     30   % make CFLAGS=-DSVR4
     31 
     32 or if your system supports getpt(3),
     33 
     34   % make CFLAGS=-DHAVE_getpt
     35 
     36 HAVE_getpt is required if your linux system uses devfs.
     37 
     38 
     39 Usage:
     40 
     41   % ttyrec
     42   (In the excuted shell, do whatever you want and exit)
     43 
     44   % ttyplay ttyrecord
     45 
     46 Have fun!
     47 
     48 -- Satoru Takabayashi <satoru@namazu.org>
     49