Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ok, this looks like a bug.

So what you can do is:

  1. remove the installed ttyrec.
  2. wget and install the src rpm from https://bugzilla.redhat.com/show_bug.cgi?id=741706
  3. go to the its source directory and untar it.

    tar -zxvf ttyrec-1.0.8.tar.gz

  4. patch the source with the included "ttyrec-Makefile.patch", then it works for UNIX98 pty standard.

    ttyrec-1.0.8]# patch -p1 < ../ttyrec-Makefile.patch1.2.3.3

  5. Make sure you have "libbsd-devel" installed, else

    yum install libbsd-devel

  6. make the source

    ttyrec-1.0.8]# make

  7. copy the binaries to /usr/bin

    ttyrec-1.0.8]# cp ttyrec ttytime ttyrecord /usr/bin/

  8. Execute "ttyrec"