From owner-freebsd-current@FreeBSD.ORG Tue Aug 5 07:35:35 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E2BB1065681 for ; Tue, 5 Aug 2008 07:35:35 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id E3ABA8FC1F for ; Tue, 5 Aug 2008 07:35:34 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl19-159.kln.forthnet.gr [77.49.146.159]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m757Hoj3008225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 5 Aug 2008 10:17:56 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m757Ho4v039605; Tue, 5 Aug 2008 10:17:50 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m757HkZO039598; Tue, 5 Aug 2008 10:17:46 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Alex Kozlov References: <20080805044742.GA68586@ravenloft.kiev.ua> Date: Tue, 05 Aug 2008 10:17:46 +0300 In-Reply-To: <20080805044742.GA68586@ravenloft.kiev.ua> (Alex Kozlov's message of "Tue, 5 Aug 2008 07:47:42 +0300") Message-ID: <87ljzcdj6t.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m757Hoj3008225 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.267, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.13, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: current@freebsd.org, Antony Mawer Subject: Re: termcap under single luser X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2008 07:35:35 -0000 On Tue, 5 Aug 2008 07:47:42 +0300, Alex Kozlov 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 :-)