From owner-freebsd-questions@FreeBSD.ORG Mon May 22 16:23:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0047116A898 for ; Mon, 22 May 2006 16:23:35 +0000 (UTC) (envelope-from bill@wiliweld.com) Received: from typhoon.he.net (typhoon.he.net [64.62.229.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 4338F43D66 for ; Mon, 22 May 2006 16:23:35 +0000 (GMT) (envelope-from bill@wiliweld.com) Received: from liam.billschoolcraft.com ([63.204.157.14]) by typhoon.he.net for ; Mon, 22 May 2006 09:23:31 -0700 Date: Mon, 22 May 2006 09:23:31 -0700 (PDT) From: Bill Schoolcraft X-X-Sender: bill@liam.billschoolcraft.com To: Jerry McAllister In-Reply-To: <200605221542.k4MFgiQF004622@clunix.cl.msu.edu> Message-ID: References: <200605221542.k4MFgiQF004622@clunix.cl.msu.edu> System-ID: [en] (SuSE-9.3 64-bit) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: MESS (statically compiled vi ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 16:23:45 -0000 At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > > At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > > > Yup. It is in /usr/bin > > > I guess, I am so used to putting a copy of vi in /bin shortly after > > > installing a new system that I assume it is always there. > > > > > > > Can we actually 'de-install' then 're-install' vi(m) from PORTS with > > it statically compiled? > > > > Then we can move it to /bin (?) > > You don't really need to de-install it. > Just cp /usr/bin/vi /bin/. > Make sure you are happy with the permissions. > > It will work. vi is pretty well self contained. Hmm, not sure if we are talking about in single user mode with only / mounted, here is what my version does with a dependency check... I see it need libs in /lib, which I'm sure is not on it's own partition, but I was hoping to get vi statically compiled. ############################################### [root@bsd /usr/ports/editors]-> ldd `which vi` /usr/bin/vi: libncurses.so.5 => /lib/libncurses.so.5 (0x280b9000) libc.so.5 => /lib/libc.so.5 (0x280f8000) ############################################### -- Bill Schoolcraft | http://wiliweld.com "If your life was full of nothing but sunshine, you would just be a desert."