better way than hacking termcap to be ca_mode free
Anonymous
swell.k at gmail.com
Mon Aug 16 16:47:43 UTC 2010
Randy Bush <randy at psg.com> writes:
> is there a better way to achieve this?
Not sure about ~/.termcap but you can just override ti/te via TERMCAP in
environment.
$ export TERM=${TERM:-xterm}
$ export TERMCAP=${TERM}:ti@:te@:tc=${TERM}:
>
> *** termcap.FCS Tue Jun 17 15:10:46 2003
> --- termcap Tue Jun 17 15:14:15 2003
> ***************
> *** 299,305 ****
> adm3|3|lsi adm3:\
> :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80:
> xterm|xterm-color|X11 terminal emulator:\
> ! :ti@:te@:tc=xterm-xfree86:
> #
> # DESCRIPTION:
> # This file describes capabilities of various terminals, as needed by
> --- 299,305 ----
> adm3|3|lsi adm3:\
> :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80:
> xterm|xterm-color|X11 terminal emulator:\
> ! :tc=xterm-xfree86:
> #
> # DESCRIPTION:
> # This file describes capabilities of various terminals, as needed by
I guess the diff is not for termcap file from /head.
More information about the freebsd-current
mailing list