🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #9039

Re: How to resume 'normal' error handling?

#9039
From: Chung-Pang Lai
Date: Wed, 21 Feb 1990 22:44
14 lines
1177 bytes
In article <4068@hydra.Helsinki.FI> pihlaja@cs.Helsinki.FI (Markku Pihlaja) writes:
>	error message pages.  Our printer server does not seem to add an
>	EOF character (ctrl-D) at the end of each job, so downloading
>	the ehanldler produced lots of pages reporting timeout.

You can keep the error handler resident without reporting the time-out
message pages.  You only need to add one line to it.  It works for us.

     known{nl nl(STACK:)prnt nl nl $error/ostack get aload length{==}repeat}if
%    errorname (timeout) eq {erasepage}  % don't show timeout errors
     {systemdict/showpage get exec}ifelse  

Just add the line beginning with % to your ehandler, it will screen off
all the time-out error.
Technical Details
Message-ID: <3872@daisy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!sgi!daisy!cplai
References: <4809@brazos.Rice.edu> <4068@hydra.Helsinki.FI>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!sgi!daisy!cplai
From: cplai@daisy.UUCP (Chung-Pang Lai)
Newsgroups: comp.lang.postscript
Subject: Re: How to resume 'normal' error handling?
Keywords: error,undo
Message-ID: <3872@daisy.UUCP>
Date: 21 Feb 90 22:44:31 GMT
References: <4809@brazos.Rice.edu> <4068@hydra.Helsinki.FI>
Reply-To: cplai@daisy.com (C. P. Lai)
Organization: Daisy/Cadnetix
Lines: 14