Re: termcap under single luser

From: Giorgos Keramidas <keramida_at_freebsd.org>
Date: Tue, 05 Aug 2008 10:17:46 +0300
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
typing

    # export TERMCAP='/etc/termcap.small'

is far nicer than trying to use vi, failing, and falling back on ed.

/me heads off to prepare a patch for review :-)
Received on Tue Aug 05 2008 - 05:35:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC