termcap under single luser
spam at rm-rf.kiev.ua
Tue Aug 5 16:50:20 UTC 2008
On Tue, Aug 05, 2008 at 10:17:46AM, Giorgos Keramidas wrote:
> On Tue, 5 Aug 2008 07:47:42 +0300, Alex Kozlov <spam at rm-rf.kiev.ua> wrote:
> > cp src/release/picobsd/mfs_tree/etc/termcap /etc/termcap.small
> > TERMCAP=/etc/termcap.small
> > Or if You need only vi: TERMCAP="cons25:cm=\E[%i%d;%dH"; TERM=cons25
> Aha, that's great. We should probably move picobsd's termcap in src/etc
> and install it as `/etc/termcap.small' by default. It is only 6 KB and
> # export TERMCAP='/etc/termcap.small'
Maybe it will be better to add /etc/termcap.small to ncurses search path.
> is far nicer than trying to use vi, failing, and falling back on ed.
> /me heads off to prepare a patch for review :-)
More information about the freebsd-current