Execute the specified
(default is the shell), filtering terminal input and/or output.
It can help e.g. when our terminal is unable to display non-ASCII
characters or to enter them from the keyboard. It also makes writing
various terminal filters easier.
are names of konwert's filters - they are passed as the first argument
filters only output, and
executes the shell as a login shell.
It differs from
in that the command is executed on a pseudo-terminal, so full-screen
programs work correctly.
The filters have to output the characters as soon as they receive all
necessary input, without buffering.
scripts are OK, but
scripts are not. In C you may use
R read() ,R getchar() ,R fread() ,
R write() ,
only together with
R fflush(stdout) .
R cin.get() ,R cout.put() ,
R cout << .
R sysread ,R getc ,R read ,
R syswrite ,
R $| = 1 .
The input filter will have set the environment variable
R FILTERM=in ,
and the output one -
R FILTERM=out .
This way some filters can slightly alter their behaviour when working
display help and exit
output version information and exit
FILTERS FOR FILTERM
Additionally the following konwert's filters are designed only for
ASCII with Polish letters shown as bold.
Replaces the characters
shown by the Pine (or another program) as