home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / openloo / 3743 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  3.2 KB

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