Date: Sun, 11 Aug 1996 21:03:48 +0200 (MET DST) From: "Julian H. Stacey" <jhs@FreeBSD.ORG> To: bvsmith@lbl.gov Cc: ports@FreeBSD.ORG, gj@FreeBSD.ORG, me@FreeBSD.ORG, asami@FreeBSD.ORG Subject: xfig.3.1.4 extension to support vi -C signals linkage Message-ID: <199608111903.VAA15069@vector.jhs.no_domain>
next in thread | raw e-mail | index | archive | help
I have developed an extension to xfig.3.1.4 (Ref. freebsd/ports/graphics/xfig) that allows an adjacent xterm running 'vi' to send a signal on each ':w' that xfig interprets as a re-open & redisplay command. This mechanism is compatible with my previous work on vi ghostview & chimera. The sources are viewable from here: http://www.freebsd.org/~jhs/src/bsd/fixes/FreeBSD/ as these: ports/generic/graphics/xfig/patches/ src/generic/share/mk/text.mk src/generic/usr.bin/vi/ ports/generic/print/ghostview/ ports/generic/www/chimera/ To try it: Apply the patches, compile, create a one line makefile with .include <text.mk> and then issue one of these commands make something.vfig make something.vhtml make something.vps My appropriate .ps .html or .fig viewer then starts, vi then starts, & the signal handling & any appropriate make rules are applied on every subsequent write. Makes for a sort of WYSIWYG effect with a .rof file & "make something.vps", make a handy web editor with "make something.vhtml", & makes a handy way of tweaking & viewing .fig file contents from vi, with instant zero additional mouse clicks necessary. Share & Enjoy :-) Julian -- Julian H. Stacey jhs@freebsd.org http://www.freebsd.org/~jhs/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608111903.VAA15069>