termfix - fix termcap and execute command
SYNOPSIS
termfix [ options ] [ command ]
DESCRIPTION
Termfix fixes current termcap temporarily and execute com-
mand 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 ``\E[7m'' to so and execute man com-
mand.
termfix 'so=\E[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
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@sra.co.jp>
Software Research Associates, Inc.
1-1-1 Hirakawa-cho, Chiyoda-ku, Tokyo 102, Japan
SEE ALSO
tset(1), termcap(5)
Man(1) output converted with
man2html