From owner-freebsd-questions Sat Jan 25 18:30: 8 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB07837B405 for ; Sat, 25 Jan 2003 18:30:07 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 428B343EB2 for ; Sat, 25 Jan 2003 18:30:06 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h0Q2U5Kh051305; Sat, 25 Jan 2003 20:30:05 -0600 (CST) (envelope-from dan) Date: Sat, 25 Jan 2003 20:30:04 -0600 From: Dan Nelson To: Paul Hoffman Cc: Petersen , questions@FreeBSD.ORG Subject: Re: A vi for /bin? Message-ID: <20030126023004.GG18454@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jan 25), Paul Hoffman said: > At 1:36 AM +0000 1/26/03, Petersen wrote: > >Paul Hoffman wrote: > >> I'm kinda surprised this isn't in the FAQ (or at least not in a > >> place that I could find it). It is really impossible to build a vi > >> with no external dependencies that can be installed in /bin? > > > >What made you think it was impossible? > > The book "FreeBSD" by Anderson (which was highly recommended by some) > says so on page 371. I'm glad to hear that's wrong. One major problem is that without /usr, you have no termcap file. You might want to install e3, which is only 13k statically linked and uses generic ANSI escape codes so it doesn't need a termcap file. If run as e3vi, it acceptes vi keystrokes. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message