From owner-freebsd-hackers Mon Apr 13 22:59:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00307 for freebsd-hackers-outgoing; Mon, 13 Apr 1998 22:59:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from jeeves.egr.msu.edu (jeeves.egr.msu.edu [35.9.37.127]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA00294 for ; Tue, 14 Apr 1998 05:59:48 GMT (envelope-from mcdougall@ameritech.net) Received: from ameritech.net by jeeves.egr.msu.edu (SMI-8.6/SMI-SVR4) id BAA16625; Tue, 14 Apr 1998 01:59:39 -0400 Message-ID: <3532FB4B.541EC6EE@ameritech.net> Date: Tue, 14 Apr 1998 01:59:39 -0400 From: Adam Ryan Mcdougall X-Mailer: Mozilla 4.04 [en] (X11; U; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: "Matthew D. Fuller" CC: hackers@FreeBSD.ORG Subject: Re: the place of vi References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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) 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/ :) > > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > | 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 -- "To err is human, to forgive, beyond the scope of the Operating System" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message