Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!in2.uu.net!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!skate.demon.co.uk!skate.demon.co.uk!not-for-mail From: plunky@skate.demon.co.uk (Iain Hibbert) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: vim for NetBSD 1.1 - diffs Date: 16 Mar 1996 12:53:57 -0000 Organization: The Bath Room Lines: 24 Distribution: world Message-ID: <4iedl5$a55@skate.demon.co.uk> References: <4i8avj$4f@teal.csn.net> NNTP-Posting-Host: skate.demon.co.uk X-NNTP-Posting-Host: skate.demon.co.uk X-Newsreader: Brians News Reader V0.8 [NetBSD] Bruce Ediger <bediger@csn.net> writes: > I like Bram Molenaar's "vim" vi editor lookalike. I've got a SPARCStation > IPC at home, and I'm running NetBSD 1.1 on it. Here are the "diffs" > for vim 3.0, as the sources were posted to comp.sources.misc on 16 Aug, > 1994. > The only real changes I had to make were because NetBSD uses "termios", > while the #define's had it using the old sgttyb stuff. surely, instead of testing for a __NetBSD__ define, you should test for something like TERMIOS, and get that included in the Makefile or whatever - that way, all of a sudden it should work on all systems that use termios instead of "old sgttyb stuff". I only say this, because I find it irritating trying to compile programs that compile OK on FreeBSD, but they used __FreeBSD__ for such patches instead of a more generic word.. > ! # ifdef __NetBSD__ > ! # include <termios.h> > ! # else > ! # include <sgtty.h> > ! # endif ]ain