Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Aug 2008 10:17:46 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        Alex Kozlov <spam@rm-rf.kiev.ua>
Cc:        current@freebsd.org, Antony Mawer <fbsd-current@mawer.org>
Subject:   Re: termcap under single luser
Message-ID:  <87ljzcdj6t.fsf@kobe.laptop>
In-Reply-To: <20080805044742.GA68586@ravenloft.kiev.ua> (Alex Kozlov's message of "Tue, 5 Aug 2008 07:47:42 %2B0300")
References:  <20080805044742.GA68586@ravenloft.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Aug 2008 07:47:42 +0300, Alex Kozlov <spam@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 :-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ljzcdj6t.fsf>