From owner-freebsd-ports Sun Aug 11 12:27:38 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA07926 for ports-outgoing; Sun, 11 Aug 1996 12:27:38 -0700 (PDT) Received: from po1.glue.umd.edu (po1.glue.umd.edu [129.2.128.44]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA07915; Sun, 11 Aug 1996 12:27:35 -0700 (PDT) Received: from thurston.eng.umd.edu (thurston.eng.umd.edu [129.2.103.25]) by po1.glue.umd.edu (8.7.5/8.7.3) with ESMTP id PAA20084; Sun, 11 Aug 1996 15:27:33 -0400 (EDT) Received: from localhost (chuckr@localhost) by thurston.eng.umd.edu (8.7.5/8.7.3) with SMTP id PAA10553; Sun, 11 Aug 1996 15:27:33 -0400 (EDT) X-Authentication-Warning: thurston.eng.umd.edu: chuckr owned process doing -bs Date: Sun, 11 Aug 1996 15:27:32 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@thurston.eng.umd.edu To: "Julian H. Stacey" cc: bvsmith@lbl.gov, ports@FreeBSD.ORG, gj@FreeBSD.ORG, me@FreeBSD.ORG, asami@FreeBSD.ORG Subject: Re: xfig.3.1.4 extension to support vi -C signals linkage In-Reply-To: <199608111903.VAA15069@vector.jhs.no_domain> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 11 Aug 1996, Julian H. Stacey wrote: > 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. I like the matchup, I wonder if there's some way to make something like this work inside the standard ports setup. There's not port of nvi (Keith Bostic's latest version of vi) although it compiles easily on FreeBSD. Do you have pointers to your work on ghostview and and chimera? I sure like the basic idea, a timesaver for sure. > > 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 > 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/ > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and n3lxx, both FreeBSD (301) 220-2114 | version 2.2 current -- and great FUN! ----------------------------+-----------------------------------------------