termfix - fix termcap and execute command
termfix options [command]
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.
termfix 'so=\eE[7m' man 5 termcap
Sequence should not be two alphabetic characters.
termfix md=so man 5 termcap
Referenced capability keeps original value after any operations.
termfix so^us man 5 termcap
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.
Kazumasa Utashiro <utashiro@srekcah.org>
http://www.srekcah.org/~utashiro/perl/scripts/termfix/
$Date: 2001-12-10 02:03:45+09 $
tset(1), termcap(5)