From owner-freebsd-questions Sat Jan 25 17:59:15 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 CB05737B401 for ; Sat, 25 Jan 2003 17:59:14 -0800 (PST) Received: from above.proper.com (mail.proper.com [208.184.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A6B843EB2 for ; Sat, 25 Jan 2003 17:59:14 -0800 (PST) (envelope-from phoffman@proper.com) Received: from [165.227.249.18] (165-227-249-18.client.dsl.net [165.227.249.18]) by above.proper.com (8.11.6/8.11.3) with ESMTP id h0Q1x2o08794; Sat, 25 Jan 2003 17:59:02 -0800 (PST) Mime-Version: 1.0 X-Sender: phoffprop@mail.proper.com Message-Id: In-Reply-To: References: X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . Date: Sat, 25 Jan 2003 17:58:00 -0800 To: "Petersen" From: Paul Hoffman Subject: RE: A vi for /bin? Cc: Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 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. >Assuming you have the object files from a buildworld hanging around, then >cd /usr/obj/usr/src/usr.bin/vi >cc -O -pipe -o vi *.o -lncurses -static && strip vi && mv vi /bin/ >should probably supply you with what you want. Thanks, I'll try that. (I haven't done a buildworld yet...) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message