Re: A vi for /bin?

2003-01-26 Thread Dirk-Willem van Gulik
On Sat, 25 Jan 2003, Paul Hoffman wrote: > - As pointed out off-line, you also need to get it the termcap library. Doing > cp /usr/share/misc/termcap.db /root/.termcap.db You propably want to strip that bugger down to its bones; they weight in at around 2Mb including the un-db-ed version.

RE: A vi for /bin?

2003-01-26 Thread Dirk-Willem van Gulik
> 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. When using VI in such a situation I usually also use rc.diskless2 to

Re: A vi for /bin?

2003-01-25 Thread Giorgos Keramidas
On 2003-01-25 19:22, Paul Hoffman <[EMAIL PROTECTED]> wrote: > At 1:36 AM + 1/26/03, Petersen wrote: > >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 pro

Re: A vi for /bin?

2003-01-25 Thread Dan Nelson
In the last episode (Jan 25), Paul Hoffman said: > Nice! e3 built from the ports collection linked statically > automatically. e3 didn't work correctly on my console (it didn't > recognize the Alt key), but e3vi worked fine and felt just like vi. Alt key support requires you to modify yur syscons

Re: A vi for /bin?

2003-01-25 Thread Paul Hoffman
At 1:36 AM + 1/26/03, Petersen wrote: 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. Two modifications made this work fi

Re: A vi for /bin?

2003-01-25 Thread Dan Nelson
In the last episode (Jan 25), Paul Hoffman said: > At 1:36 AM + 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 ca

RE: A vi for /bin?

2003-01-25 Thread Paul Hoffman
At 1:36 AM + 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

RE: A vi for /bin?

2003-01-25 Thread Petersen
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 kn