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?

> All I want is 
> something that knows how to full-screen edit on the console, nothing 
> else. I dread the day that I can only mount / and not /usr and need 
> to edit fstab or rc.conf, and have to use ed.
> (Just in case the answer is "no, you really can't do that", I have 
> put a plain-text copy of the ed man page in /bin, but still...)

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.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to