Date: Mon, 30 Dec 1996 17:38:30 +0800 From: Peter Wemm <peter@spinner.DIALix.COM> To: Peter Wemm <peter@freefall.freebsd.org> Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/vi Makefile Message-ID: <199612300938.RAA02449@spinner.DIALix.COM> In-Reply-To: Your message of "Mon, 30 Dec 1996 01:24:20 PST." <199612300924.BAA11106@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm wrote: > (This is the optional stuff to use perl scripts as a vi scripting language. > eg, to load a sample script, type: :perl do 'wc.pl'; > this loads /usr/share/vi/perl/wc.pl to add the "wc" command. Then, one can > do this: :perl wc Yes, this is a trivial example. There are more > useful examples, eg 'make' output parsing along the lines of emacs's > "compile" mode. The tcl extension is similar and enabled by default since > we ship with tcl.) BTW, the tcl stuff seems to be accessed with ":tcl source <filename>", but unlike the perl extension it doesn't seem to search it's /usr/share/vi/tcl directory by default, I don't know why. (I don't know tcl at all, it kinda annoys me that we have tcl in the tree and and can use it with vi, but we don't have perl5) Double BTW: I noticed that the majordomo-1.94.1 port no longer works with perl4. /usr/bin/perl explodes on one of the regexps in majordomo.pl. The port needs to be updated to be dependent on the perl5 port (and the default use of /usr/tmp needs to be fixed too since it's not a standard part of FreeBSD and the port can't be built as is) Cheers, -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612300938.RAA02449>