HDTenEightyP/NetNews huggingface dataset:
From: beaudoin@ireq-robot.hydro.qc.ca (Martin Beaudoin)
Subject: Problem with Ghostview 1.3
Organization: Le laboratoire de robotique de l'Institut de recherche
	d'Hydro-Quebec
Date: Thu, 8 Oct 1992 13:53:12 GMT

I have just installed ghostscript 2.5.2 and ghostview 1.3 with X11R5.

When I call ghostview, I get 4 warning messages:

Warning: Actions not found: GhostviewAbout
Warning: Actions not found: GhostviewAbout
Warning: Actions not found: GhostviewAbout
Warning: Actions not found: GhostviewAbout

When looking with a debugger, these messages happen when the function 
XtRealizeWidget() is called...

I know that my X11R5 version does not have the latest patches applied,
so I am wondering if the problem come from ghostview or X11R5.

Did anyone ran into a similar problem?

Thank you!

--
Martin Beaudoin                         mbeaudoin@ireq-robot.hydro.qc.ca
Institut de recherche d'Hydro-Quebec    mbeaudoin@ireq-robot.uucp
Varennes, QC, Canada   J3X 1S1          +1 514 652-8136
Newsgroups: comp.lang.postscript
From: rscott@spock.NMSU.Edu (Joseph Good)
Subject: Accessing files in Postscript (unix)
Organization: New Mexico State University
Date: Fri, 16 Oct 1992 09:32:48 GMT


Okay, bear with me - I am a very unexperienced PostScript user, and
the only PostScript book at our library is lost.. ACK!

I am trying to access files using PostScript.

I have this so far.

/fp (~/input.dat) (r) file def
/so (%stdout) (w) file def

Correct me if I am wrong, but this defines fp to read from the
~/input.dat file, while /so will print to the stdout.

Now, here is where I go screwey.. 

{
	fp (                                   )
	readstring
	not {so exch writehexstring (\n) print exit} if
	so exch writehexstring (\n) print
} loop
flush


I keep getting an invalidaccess for the readstring command.

Is there something I should be putting as an argument for fp?

suffering from severe brain drain...

-jdg

---

Joseph Good
+-------------------+ - More than just a band....
| Green Dot Brigade | - It's a whole damn army of dots...
+-------------------+ - And we've declared war on the 7-Up dots...

rscott@nmsu.edu (NeXT mail welcome!!) (main account)

atlantis@acca.nmsu.edu  (Just plain ol' Unix) (seldom used)



--

Joseph Good
+-------------------+ - More than just a band....
| Green Dot Brigade | - It's a whole damn army of dots...
+-------------------+ - And we've declared war on the 7-Up dots...

rscott@nmsu.edu (NeXT mail welcome!!) (main account)

atlantis@acca.nmsu.edu  (Just plain ol' Unix) (seldom used)
Newsgroups: comp.lang.postscript
From: jtc@gain.com (J.T. Conklin)
Subject: EPSF-1.2 preview bitmaps
Organization: Gain Technology, Inc., Palo Alto, CA
Date: Mon, 12 Oct 1992 23:38:03 GMT

I have a question about some EPS files I received.  They were created
by Adobe Illustrator 1.1, and have a non-standard preview bitmap.

Instead of:
	%%BeginPreview: 340 107 1 107

They have:
	%%BeginPreview
	%%ImageWidth:340
	%%ImageHeight:107
	%%ImageDepth:1
	%%BeginImage:107

I requested the EPSF-1.2 specification from the ps-file-server, and it
doesn't say anything about device-independant preview bitmaps.

I'm assuming that this is a private format used before the form of the
device-independant previews were finalized in EPSF-2.0.  But, as some-
one who claims to be able to import EPS files, should I have to worry
about these anachronisms, or should I go ahead and support them anyway?

Thanks,

	--jtc
--
J.T. Conklin	GAIN Technology, Inc.
		Palo Alto, California
Newsgroups: comp.lang.postscript
From: krischan@veilchen.informatik.rwth-aachen.de (Christian Engel)
Subject: FAQ? convert postscript file to landscape twin page postscript
Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
Date:  7 Oct 92 10:01:41 GMT

I want to translate postscript files for printing two on one page.
psf only works for non-postscript input. mp places headers and footers,
but doesn't rotate and reduce. Is there any tool to manage this?

What I want is:

Input:

     +--------------+     +--------------+
     |              |     |              |
     |              |     |              |
     |              |     |              |
     |              |     |              |
     |              |     |              |
     |  postscript  |     |  postscript  |
     |    page 1    |     |    page 2    |
     |              |     |              |
     |              |     |              |
     |              |     |              |
     |              |     |              |
     |              |     |              |
     +--------------+     +--------------+

Output:

            +---------------------+
            |          |          |
            |          |          |
            |          |          |
            |    ps    |    ps    |
            |  page 1  |  page 2  |
            |          |          |
            |          |          |
            |          |          |
            +---------------------+
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
krischan@informatik.rwth-aachen.de               Tel: +49-241-8021412
Christian Engel                                  Fax: +49-241-8021429
Institute for Computer Science IV,    Aachen University of Technology
Newsgroups: comp.lang.postscript
From: schaik@cnplss5.cnps.philips.nl (Willem van Schaik)
Subject: Re: Exactly What does a Transformation Matrix Do?
Organization: Philips Centre For Technology, Eindhoven
Date: Tue, 13 Oct 1992 00:06:20 GMT

When you look in the reference manual:

x' = ax + cy + e    (or tx acc. to manual)
y' = bx + dy + f    (or ty)

hope this explains

Willem van Schaik

schaik@cnplss5.cnps.philips.nl

Newsgroups: comp.lang.postscript
From: grover@mighty-joe.isri.unlv.edu (Kevin Grover)
Subject: Re: HELP! My Page- Definitions are wrong
Reply-To: grover@isri.unlv.edu
Organization: Information Science Research Institute (UNLV-ISRI)
Date: Thu, 15 Oct 92 21:05:56 GMT

In article <1992Oct14.123116.4175@wavehh.hanse.de>, cracauer@wavehh.hanse.de (Martin Cracauer) writes:
) From: cracauer@wavehh.hanse.de (Martin Cracauer)
) Subject: HELP! My Page- Definitions are wrong
) Organization: Private
) Date: Wed, 14 Oct 92 05:31:16 PDT
) 
) Hi, there!
) 
) I am developing an applications for generating tabulars. The output contains 
) several pages in one file.
) 
) As I know, the structure of the code matches the rules in 'Document Structuring
) Conventions' in the Postscript Reference Manual.
) 
) So far, everything is o.k. Our Laserjet prints all pages, the linotype attached 
) to a mac, too.
) 
) If I do a preview on screen using the NeXT Previewer or Ghostview/ Ghostscript, I 
) can see all pages. I can zoom them, too.
) 
) Now the error: If I am previewing the last page in my file, I can not get back to 
) other pages or zoom it. A postscript error occurs.
) 

A couple of notes.  I believe that the %%Pages command (in header) is
required.  At leat put "%%Pages: (attend)" in header and the actual
page count in the trailer.  I have always included "%%Trailer" even if
there is nothing after it.

Also, since you use the %%Begin(End)PageSetup, you might consider
using the %%PageTrailer (I think this is the name) to do the restore
--- I'm not sure of rules about the usage of this or not.  It seems to
me the preview might be looking for it.

If the error is PostScript, chances are your pages are not completely
independed.  Try bringing up the previewer and jumping to page 3, then
quit and try page 4, etc, to see exacly which page causes the error.

I can't say more without seeing the file (and looking at the DSC
documents again..)

- kev

--------------------------------------------------------------------------
 Kevin O. Grover      | UNLV Computer Science and Electrical Engineering
 grover@isri.unlv.edu | ISRI - Information Science Research Institute
 CServe: [73627,1677] | 4505 S. Maryland Parkway, Las Vegas NV 89154-1017
Newsgroups: comp.lang.postscript
From: mmg@doc.ic.ac.uk (M M Ghanem)
Newsgroups: comp.lang.postscript
Subject: MS word to posscript ?
Date: 13 Oct 1992 17:31:12 GMT
Organization: Department of Computing, Imperial College, University of London, UK.
Distribution: world
NNTP-Posting-Host: mfast.doc.ic.ac.uk

Does any body know how to convert Apple Mac's MS word files into postscript
files ?

Thanx

Moustafa M. Ghanem <mmg@doc.ic.ac.uk>
From: cjb3701@ritvax.isc.rit.edu (Chris Bigenwald)
Newsgroups: comp.lang.postscript
Subject: Need IBM PC graphics info
Date: 11 Oct 92 14:47:12 GMT
Reply-To: cjb3701@ritvax.isc.rit.edu
Organization: Rochester Institute of Technology

I want to combine text and clip-art (no freehand stuff) on a PC.
What is the easiest/most simple way of doing this?

(Sorry if this is not an appropriate message for this group. If so,
 what is a better one?  Also, my PC is a 286 with 1MB RAM, probably
 going to 2MB soon).

E-mailed responses would be greatly appreciated!  

-Chris  (cjb3701@ritvax.isc.rit.edu)
Newsgroups: comp.lang.postscript
From: jtgoh@athena.mit.edu (Joo T Goh)
Subject: Colour Postscript of World map.
Organization: Massachusetts Institute of Technology
Date: Thu, 15 Oct 1992 13:16:21 GMT

I am looking for colour postscript files of 
maps of South East Asia, preferably ones that
have bathymetric information. Could anyone please
tell me of any ftp site that has them? 
Email replies please.

Thanks .

 JT-GOH
From: schroede@tetons (Erich Schroeder)
Newsgroups: comp.lang.postscript
Subject: Cyrillic postscript fonts?
Keywords: cyrillic
Date: 9 Oct 92 16:29:41 GMT
Article-I.D.: news.Bvv4HI.79A
Reply-To: Schroede@tetons.igis.uiuc.edu
Organization: University of Illinois at Urbana

Is there an FTP site with cyrillic fonts for postscript?
Please respond by E-mail.

Erich Schroeder
schroede@tetons.igis.uiuc.edu
.
Newsgroups: comp.lang.postscript,comp.sys.next.programmer
From: pg@sanitas.stortek.com (Paul Gilmartin)
Subject: Re: getting the path representation of a character to server stdout
Organization: Storage Technology Corp.
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 13 Oct 1992 19:02:39 GMT

Sean Lamont (zeno@phylo.genetics.washington.edu) wrote:
 
: I messed with pathforall, but it doesn't seem to work on a NeXT (none of
: my procedures ever get called) , and it also claims to not be able to
: work with "charpath".

The Adobe PostScript Lang Ref, 2nd edition, states in the description of
the charpath operator:

    The outlines of some fonts are protected. ... charpath ... causes
    pathforall to be disabled ...

This is copy protection -- the interpreter is forbidding an action
which is believed to compromise the font author's intellectual property.
Newsgroups: comp.lang.postscript
From: pg@sanitas.stortek.com (Paul Gilmartin)
Subject: Re: stretchy bitmaps
Organization: Storage Technology Corp.
X-Newsreader: TIN [version 1.1 PL6]
Date: Fri, 9 Oct 1992 20:16:18 GMT

Rene Magritte (rene@hardy.u.washington.edu) wrote:

:     I have a normal bitmap in postscript which prints just fine.  I
: want to be able to irregularly scale it and print the results, so that
: the resultant image will be "squashed" or "thin."  How do I manage
: this -- is it easily possible?

Quite easy;  this is one of the things PostScript does best.
It will look something like this:

	[ ... ]   % PostScript header, presumably
	gsave     % save the graphic state
	    0.5 1.0 scale    % set up to "squash" the bitmap

%%BeginDocument
	    [ ... ]          % your bitmap goes here
%%EndDocument

	grestore  % put things back as we found them
	[ ... ]   % PostScript trailer, presumably

But you need to read the Adobe PostScript Language Reference
to become proficient at this; I probably forgot some details.

I hope this encourages you.

gil
Newsgroups: comp.lang.postscript
From: beaudoin@ireq-robot.hydro.qc.ca (Martin Beaudoin)
Subject: Ghostview - ghostscript with Openwindows 3.0
Organization: Le laboratoire de robotique de l'Institut de recherche
	d'Hydro-Quebec
Date: Tue, 13 Oct 1992 13:52:55 GMT

I'm having problems with the way ghostview 1.3 and ghostscript 2.5.2
are rendering colors when using Openwindows 3.0.

Everything work fine with X11R5 and the Xsun server, but when using
openwin, the colors don't come out right. Viewing the demo file
colorcir.ps in Openwindows give me all greyish colors.

I tried to play with ghostview's different options (-truecolor, etc...)
without any luck.

Is this a problem with Openwindows colormap or is this a problem with
ghostview/ghostscript? I tend to suspect the formar since everything
work just fine with X11R5/Xsun...

Any help would be much appreciated...

Thank you!
--
Martin Beaudoin                         mbeaudoin@ireq-robot.hydro.qc.ca
Institut de recherche d'Hydro-Quebec    mbeaudoin@ireq-robot.uucp
Varennes, QC, Canada   J3X 1S1          +1 514 652-8136
From: vasilioo@europa.rutgers.edu (Bill Vasiliou)
Newsgroups: comp.lang.postscript
Subject: Question about PictureThis
Date: 8 Oct 92 19:22:10 GMT
Organization: Rutgers Univ., New Brunswick, N.J.


Is there someplace (or somebody) who has a copy of shareware
PictuteThis software for MSDOS. If anybody knows an ftp site where I
can get this, please mail me the site address. I will appreciate any
info I get on this.

Thanks in advance,

Bill
email: vasiloo@europa.rutgers.edu
From: bradlee@cg-atla.UUCP (Rob Bradlee)
Newsgroups: comp.lang.postscript
Subject: Version of concatenate which does use VM
Keywords: strings
Date: 12 Oct 92 17:34:19 GMT
Distribution: comp
Organization: Agfa Compugraphic Division, Wilmington, Mass. USA

I was using Glenn Reid's concatenate routine (from "Thinking in PostScript")
in some system PostScript (outside the server loop).  However, each 
invocation consumes some VM, so I wrote a version that takes the destination
string or array as a passed in parameter.  This way, if you don't want to
bracket the code in a save/restore pair, you can use a predeclared string
to store the result (and reuse the same string later).  Any comments or
corrections welcome.

------------------------- cut here ------------------------------------
%!
%%*****************************************************************************
%% concatenate
%%*****************************************************************************
% concatenate
% concats either two strings or two arrays.
% Modified from Glenn Reid's "Thinking in PostScript".  Caller now
% passes in the destination string or array so that the routine itself
% does not allocate any VM.
% Result is string3 = string1 + string2
%
/concatenate  % (string1) (string2) (string3) concatenate string3
	      % [array1] [array2] [array3] concatenate array3
{
dup type 2 index type 2 copy ne 		% chech that both inputs are same
	{
	pop pop
	errordict begin (concatenate) typecheck end
	}
	{
	/stringtype ne exch /arraytype ne and	% must be string or array
		{
		errordict begin (concatenate) typecheck end
		} if
	} ifelse
3 1 roll
dup length 2 index length 			% st: str3 str1 str2 len2 len1
add 	 		  			% st: str3 str1 str2 len1+2 
3 index length exch lt	  			% Make sure there is enough room in dest
	{
	errordict begin (concatenate) rangecheck end
	} if
3 -1 roll					% st: str1 str2 str3
dup 0 4 index putinterval 			% str1 str2 str3(w/str1)
dup 4 -1 roll length 4 -1 roll putinterval
} def % concatenate


-- 
Rob Bradlee  w:(508)-658-5600 X5153 
Agfa Corporation.                      ...!{decvax}!cg-atla!bradlee
200 Ballardvale St.                        bradlee@cg-atla.agfa.com
Wilmington, Mass. 01887 
Newsgroups: comp.lang.idl-pvwave
From: zawodny@arbd0.larc.nasa.gov (Dr. Joseph M Zawodny)
Subject: Re: CONTTW.PRO and EXPAND.PRO - some bug fixes, enhancements
Organization: NASA Langley Research Center, Hampton, VA
Date: Fri, 9 Oct 1992 13:35:57 GMT

	Bill, good argument!  I retract my request for a bug fix.  I've been at
this IDL thing awhile, am set in my ways, and can get defensive.

At one point, I had a problem with passing keys to other routines by

	DUMMY1,KEY=KEY,...

when KEY was undefined in the calling routine.  That must have been a short
lived "feature" (I'm now leary of calling anything a bug).  After that I just
got into the habit of setting ALL keywords in a proceedure to their default
value whenever they were not passed.

 Joseph M. Zawodny   (KO4LW)                      NASA Langley Research Center
 zawodny@arbd0.larc.nasa.gov                      MS-475,    Hampton VA, 23681
From: offenberg@stars.gsfc.nasa.gov (JOEL D. OFFENBERG (301) 286-5801)
Newsgroups: comp.lang.idl-pvwave
Subject: Version 2.4.0 On Line Help
Keywords: IDL 2.4.0, Help, Man_Proc
Date: 9 Oct 92 16:38:00 GMT
Organization: NASA/GSFC-Laboratory for Astronomy and Solar Physics
News-Software: VAX/VMS VNEWS 1.4-b1

I've got a question regarding/problem with the On Line help widget utility in
IDL 2.4.0...

Sometimes, when I create a help widget, quit out of it and then create 
another one, I get booted out of IDL.  Anyone else run into this problem?
Anyone know how to avoid it?

Joel D. Offenberg
Newsgroups: comp.lang.idl-pvwave
From: thompson@stars.gsfc.nasa.gov (William Thompson, code 682.1, x2040)
Subject: Re: CONTTW.PRO and EXPAND.PRO - some bug fixes, enhancements
News-Software: VAX/VMS VNEWS 1.4-b1  
Organization: NASA/GSFC-Laboratory for Astronomy and Solar Physics
Date: Fri, 9 Oct 1992 12:37:00 GMT

In article <BvuroD.60q@news.larc.nasa.gov>, zawodny@arbd0.larc.nasa.gov (Dr. Joseph M Zawodny) writes...
>  I guess to each his own.  I do admit that the autoscaling was crude at best.
>I included it, for the same reason PV-WAVE has a point and click interface,
>there are managers out there who still like to play with data that they know
>little about ;-) .  I will take exception to the alleged "misuse" of
>keyword_set.  The only time n_elements is preferable to keyword_set is when the
>keyword needs to allow zero to be a "good" value or when you need to know
>whether the keyword is a scalar or an array.  IMHO the first exception is more
>of a bug.  Zero should not be considered a sign of a non-set keyword, an unset
>keyword has no value (be nice if the good folks at RSI could follow up on
>this).  Just to reiterate the tone of the original posting, I posted it so that
>people could hack it to suit thier needs.  I'm happy to see it was of some use
>to someone.

It's not a bug.  "Set" keywords take true or false values.  In IDL (as in most
languages), false values are encoded as zero.  Joseph Zawodny is suggesting
instituting a whole new data type to do the same thing for keywords.

When passing keywords from higher level routines to lower level routines, it is
imperative that there be a value to pass from one routine to the next.
Otherwise, how could one do the following

	PRO DUMMY1,KEY=KEY,...
		...
	DUMMY2,KEY=KEY,...
		...
	END

	PRO DUMMY2,KEY=KEY,...
		...
	END

In other words, how could you take the value of KEY that was (or was not)
passed to DUMMY1 and pass it on to DUMMY2?

Also, you can pass the true/false value of the keyword directly.  You don't
have to use the /KEY form.  You can call

	DUMMY1,KEY=0,...

or

	DUMMY1,KEY=myvalue,...

which is a lot better than

	IF myvalue THEN DUMMY1,/KEY,... ELSE DUMMY1,...

The upshot is, use KEYWORD_SET only for keywords that take true/false values,
and use N_ELEMENTS to test whether a non-T/F keyword was passed or not.

Bill Thompson
Newsgroups: comp.lang.idl-pvwave
From: zawodny@arbd0.larc.nasa.gov (Dr. Joseph M Zawodny)
Subject: Re: CONTTW.PRO and EXPAND.PRO - some bug fixes, enhancements
Organization: NASA Langley Research Center, Hampton, VA
Date: Fri, 9 Oct 1992 11:53:00 GMT

  I guess to each his own.  I do admit that the autoscaling was crude at best.
I included it, for the same reason PV-WAVE has a point and click interface,
there are managers out there who still like to play with data that they know
little about ;-) .  I will take exception to the alleged "misuse" of
keyword_set.  The only time n_elements is preferable to keyword_set is when the
keyword needs to allow zero to be a "good" value or when you need to know
whether the keyword is a scalar or an array.  IMHO the first exception is more
of a bug.  Zero should not be considered a sign of a non-set keyword, an unset
keyword has no value (be nice if the good folks at RSI could follow up on
this).  Just to reiterate the tone of the original posting, I posted it so that
people could hack it to suit thier needs.  I'm happy to see it was of some use
to someone.

 Joseph M. Zawodny   (KO4LW)                      NASA Langley Research Center
 zawodny@arbd0.larc.nasa.gov                      MS-475,    Hampton VA, 23681

Newsgroups: comp.lang.idl-pvwave
From: landsman@stars.gsfc.nasa.gov (Wayne Landsman (301)-286-3625)
Subject: Re: CONTTW.PRO and EXPAND.PRO - some bug fixes, enhancements
News-Software: VAX/VMS VNEWS 1.4-b1  
Organization: NASA/GSFC-Laboratory for Astronomy and Solar Physics
Date: Fri, 9 Oct 1992 04:57:00 GMT

I recently installed V2.4.0 and noticed that CONGRID now has a /MINUS_ONE
keyword.    Using both /MINUS_ONE and the /INTERP keyword makes CONGRID
work identical to EXPAND.PRO.   However, CONGRID still lacks the 
FILL_VALUE and /MAX_VALUE keywords, so EXPAND.PRO will still be needed.

Incidentally, I was told indirectly that V3.0 will appear soon (in a couple of
weeks or so), so that users may not want to bother upgrading to V2.4.0.

Among the interesting upgrades in 2.4.0 are

   (1)  Compiling a procedure that is active no longer gives an error.
Instead there is an automatic  RETALL and the program compiles.
   (2)  The widget help has been rewritten in C so that one can return
to the IDL prompt without losing the help display.    One can have an 
IDL help icon working throughout the session.
   (3)  Under Motif, clicking on an IDL graphics window will no longer
take the focus away from the terminal window.    (I have yet to verify
that this works under VMS Motif.)

--Wayne Landsman                                   landsman@stars.gsfc.nasa.gov
Newsgroups: comp.lang.idl-pvwave