NAME

termfix - fix termcap and execute command


SYNOPSIS

termfix options [command]


DESCRIPTION

Termfix fixes current termcap temporarily and execute command specified in arguments. If no command is supplied, it just prints new capability.

There are several different style options.

xx=sequence
Specify sequence to capability xx. Next example sets sequence ``\eE[7m'' to so and execute man command.
        termfix 'so=\eE[7m' man 5 termcap

Sequence should not be two alphabetic characters.

xx=yy
This option sets xx capability same as yy's. So next example sets md capability same as so.
        termfix md=so man 5 termcap

Referenced capability keeps original value after any operations.

xx^yy
Exchange xx and yy capabilities. Next example exchanges so and us capabilities.
        termfix so^us man 5 termcap

xx@
Disable xx capability. Next example disables te capability.
        termfix ti@ te@ man 5 termcap

If you want to replace TERMCAP environment variable with new one, set the output of termfix to TERMCAP variable like this:

        setenv TERMCAP "`termfix te@`"

Multiple capabilities can be set in one operation on every cases.

        termfix mdme=sose       (md=so me=se)
        termfix sose^usue       (so^us se^ue)
        termfix mdso=us mese=ue (md=us so=us me=ue se=ue)
        termfix tite@           (ti@ te@)

If number of right values are less than left values, last right value is used repeatedly.


AUTHOR

Kazumasa Utashiro <utashiro@srekcah.org>

http://www.srekcah.org/~utashiro/perl/scripts/termfix/

$Date: 2001-12-10 02:03:45+09 $


SEE ALSO

tset(1), termcap(5)