Binary package “libterm-filter-perl” in ubuntu trusty

Perl module to run an interactive terminal session, filtering input and output

 Term::Filter is a Moose role which implements running a program in a pty
 while being able to filter the data that goes into and out of it. This
 can be used to alter the inputs and outputs of a terminal based program, or to
 intercept the data going in or out to record it or rebroadcast it.