From owner-freebsd-hackers Mon Apr 13 23:05:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA01203 for freebsd-hackers-outgoing; Mon, 13 Apr 1998 23:05:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA01197 for ; Tue, 14 Apr 1998 06:05:48 GMT (envelope-from fullermd@futuresouth.com) Received: from localhost (fullermd@localhost) by shell.futuresouth.com (8.8.8/8.8.8) with SMTP id BAA16914; Tue, 14 Apr 1998 01:05:41 -0500 (CDT) Date: Tue, 14 Apr 1998 01:05:41 -0500 (CDT) From: "Matthew D. Fuller" To: Adam Ryan Mcdougall cc: hackers@FreeBSD.ORG Subject: Re: the place of vi In-Reply-To: <3532FB4B.541EC6EE@ameritech.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 14 Apr 1998, Adam Ryan Mcdougall wrote: > Matthew D. Fuller wrote: > > > > OK, here's a question... > > Is vi statically linked? > > If so, what's the chance that it could be stuck in /bin, say? > > It's kinda aggravating to bring the system up in single user mode and have > > to fsck and mount /usr jsut to be able to change something stupid in > > rc.conf that I forgot. > > He shoots... OHH HE MISSES! > > % ldd /usr/bin/vi > /usr/bin/vi: > -lcurses.2 => /usr/lib/libcurses.so.2.0 (0x20056000) > -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x20062000) > -lc.3 => /usr/lib/libc.so.3.1 (0x20066000) Doh, I figured it probably was, but I can pray, can't I? > btw you can try to make a static vi by editing the Makefile in the src > dir for vi and adding CFLAGS = -static > remember the bin will be in /usr/obj/ :) Any thoughts on the wisdom of this? I *CAN'T* be the only one who thinks this way... *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message