From owner-freebsd-current@FreeBSD.ORG Sun Nov 23 11:58:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D02416A4CE for ; Sun, 23 Nov 2003 11:58:30 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 562F743FDD for ; Sun, 23 Nov 2003 11:58:29 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org ([66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id hANJw5kX043739; Sun, 23 Nov 2003 11:58:06 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <3FC1114D.6060602@acm.org> Date: Sun, 23 Nov 2003 11:58:05 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "M. Warner Losh" References: <3FBD5CCE.40905@acm.org> <20031121010211.GD84421@saboteur.dek.spc.org> <20031122.120100.16269141.imp@bsdimp.com> In-Reply-To: <20031122.120100.16269141.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: bv@wjv.com cc: bms@spc.org cc: jhs@berklix.org cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: /bin and /sbin are now dynamically linked X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 19:58:30 -0000 M. Warner Losh wrote: > In message: <20031121010211.GD84421@saboteur.dek.spc.org> > Bruce M Simpson writes: > : On Thu, Nov 20, 2003 at 04:31:10PM -0800, Tim Kientzle wrote: > : > * /rescue/vi is currently unusable if /usr is missing because > : > the termcap database is in /usr. One possibility > : > would be to build a couple of default termcap entries > : > into ncurses or into vi. > : > : My suggested candidates are vt100 and cons25. The comconsole port installs > : an /etc/ttys entry using vt100. This is also the default terminal type for > : most dialup entries. > > Timing Solutions uses the following minimal termcap for its embedded > applications. It has a number of terminals that it supports, while > still being tiny. it is 3.5k in size, which was the goal ( < 4k block > size we were using). One could SED this down by another 140 bytes or > so. Removing the comments and the verbose names would net another 300 > odd bytes. > > The terminals supported are vt220, vt102, vt100, xterm, xterms, > cons25w, cons25 and ansi. This seems a reasonable number: neither too > few, nor too many. It lets people connect 'normal' terminals to the > serial port (most PCs have vt100/vt220 emulation), as well as PC to PC > connection on the console or xterm. > > I'd be happy to commit this as /etc/termcap.tiny. vi could then look > for both termcap and termcap.tiny and things would just work. > > Comments? Sounds like a good idea to me. I only wonder if it makes sense to commit it as /rescue/termcap.tiny to make the purpose clear? I see no point in trying to prune any smaller. As you point out, it's already smaller than a typical block size. Tim