home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!pirates!emory!mathcs.emory.edu!km
- From: km@mathcs.emory.edu (Ken Mandelberg)
- Newsgroups: comp.windows.open-look
- Subject: Re: ToolTalk, PageView, Filemgr
- Message-ID: <9480@emory.mathcs.emory.edu>
- Date: 5 Sep 92 15:51:53 GMT
- References: <1992Sep4.174242.18954@jpl-devvax.jpl.nasa.gov>
- Sender: news@mathcs.emory.edu
- Reply-To: km@mathcs.emory.edu
- Organization: Emory University, Dept of Math and CS
- Lines: 59
-
- In article 18954@jpl-devvax.jpl.nasa.gov, rouquett@Aig.Jpl.Nasa.Gov (Nicolas Rouquette) writes:
- >
- >With 'strings pageview' I can tell that the program can respond
- >to a tooltalk protocol. Does anyone know what message format needs to be
- >broadcasted for a pageview to accept it and display a postscript file?
- >
- >I'm interested for two reasons:
- >
- >filemgr: if you open a ps file, a new pageview program is started;
- > that's usually slow. Loading a new ps file instead would be faster.
- >
- >tex/latex & emacs: Same concept from a different environment.
- > From emacs, it's very easy to invoke tex, latex, bibtex, or dvips.
- > It would be even more convevient to send a tooltalk msg to pageview
- > for a quick preview.
- >
-
- I'm interested in about the same thing. I would at least like to be
- able to do as well as the old "suntroff" previewer. With suntroff you
- had the option of either specifying a file or a shell pipeline as
- input. So what you did was bring up suntroff with the right pipeline
- (tbl|eqn|troff, etc) and bring up an editor window with the source. To
- get a quick preview you did a "commit" in the editor, and hit the input
- button in suntroff. Suntroff let you specify the pipeline as a command
- line argument, so this meant you could hide the details of setup.
-
- As it sits, pageview is less flexible than suntroff since it can only
- take a file (or a drop) as input. The best logistics I can come up with
- is to manually give pageview a temp file name, pin its load button, and
- arrange a pipleine into the temp file externally. So to preview you do
- an editor commit, run the pipeline into the temp file, and then hit the
- pinned load button. I don't use emacs, but I presume you could manage
- running the editor buffer directly into the pipeline with one macro in
- emacs, then hit the pinned load button.
-
-
- In pageview the load button does not inherit the command line filename
- as its default value, so there is always some muss and fuss arranging
- the startup, even if you can make the editor side easy and can stand
- specifying a temp file.
-
- I'm a "vi" user myself, who has more or less moved to textedit. What I
- really want is an application that brings up a textedit window, with a
- button that runs the window contents through a specified pipeline, and
- uses tooltalk to bring up (or reuse) a pageview to rasterize the
- output. No temp files, no multiple clicks, just one click to update the
- preview.
-
- If there was a program that would take its stdin, use tooltalk to
- bring up (or reuse) a pageview, triggering the rasterize, you could
- approximate this with editor side mapping/macros.
-
-
- ---
- Ken Mandelberg | km@mathcs.emory.edu PREFERRED
- Emory University | {rutgers,gatech}!emory!km UUCP
- Dept of Math and CS | km@emory.bitnet NON-DOMAIN BITNET
- Atlanta, GA 30322 | Phone: Voice (404) 727-7963, FAX 727-5611
-
-