From owner-freebsd-current@FreeBSD.ORG Tue Aug 5 18:23:17 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 B19A4106567C for ; Tue, 5 Aug 2008 18:23:17 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk1.360sip.com [72.236.70.240]) by mx1.freebsd.org (Postfix) with ESMTP id 7A3228FC19 for ; Tue, 5 Aug 2008 18:23:17 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.9] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.8/8.13.8) with ESMTP id m75INDVs026908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Aug 2008 11:23:13 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <48989A90.5050400@FreeBSD.org> Date: Tue, 05 Aug 2008 11:23:12 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Giorgos Keramidas References: <20080805044742.GA68586@ravenloft.kiev.ua> <87ljzcdj6t.fsf@kobe.laptop> In-Reply-To: <87ljzcdj6t.fsf@kobe.laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alex Kozlov , 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 18:23:17 -0000 Giorgos Keramidas wrote: > 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 :-) IMHO failover to /etc/termcap.small should be automatic within ncurses library. -Maxim