Fwd: Re: flushpage

Ken Sharp <[email protected]> Fri, 17 Nov 2017 08:38:07 +0000
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
Putting gs-devel back in the loop.

>Date: Fri, 17 Nov 2017 02:06:53 +0000 (UTC)
>From: Michael K <[email protected]>
>To: Ken Sharp <[email protected]>
>X-Mailer: WebService/1.1.10976 YMailNorrin Mozilla/5.0 (X11; Fedora; Linux 
>x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.52 
>Safari/537.36
>Delivered-To: [email protected]
>X-CMAE-Envelope: 
>MS4wfM1XDGL+WWcwXXL0sNyuwt301xqGrC5dMDSxze5fcSDdkzxKgOuoX0XuItabAqDWGR+fRk5ozyL2z0/wCz16KfwRnMwtj/EwFZ+JojUTpYtIaqgBCpJc
> 
>yjj1Fn9Os8U6qft+UKz3vwFAMuZTAZN12yS5nROB9h1GacfAhDbTqrUZlRujquWLh16jOEth6iCgYg==
>X-PN-Virus-Filtered: by PlusNet MXCore (v5.00)
>X-PN-Spam-Filtered: by PlusNet MXCore (v5.00)
>Subject: Re: [gs-devel] flushpage
>
>The problem with 'showpage' is that it erases the screen which, in my 
>application I do not want.
>
>
>On Thursday, November 16, 2017, 4:30:46 PM EST, Ken Sharp 
><[email protected]> wrote:
>
>
>At 20:44 16/11/2017 +0000, Michael K wrote:
> >It seems that flushpage has been removed or hidden in 9.22.
> >
> >I haven't found any note that says it was removed but it gives an
> >undefined error when using it in 9.22
>
>A number of non-standard PostScriptextension operators were removed from
>Ghostscript as part of a security hardening exercise.
>
>This is mentioned (briefly) in the main points of the 9.22 release and in
>more detail:
>
>2017-05-11 13:09:29 +0100
>Ken Sharp <<mailto:[email protected]>[email protected]>
>1497d65039885a52b598b137dd8622bd4672f9be
>
>     Remove as many non-standard operators as possible
>
>     Remove all the Display PostScript operators and all the NeXT extensions
>
>     Remove all the operators which do not appear to be used in our code
>
>     Remove all the operators which are only used in bound procedures defined
>     at startup and which can therefore subsequently be removed.
>
>     The operators to be undefined are stored in arrays in PostScript and
>     the C support code is untouched. This means that it is relatively
>     simple for an end user to restore an operator if required.
>
>     Operators which are used in our test suite files are listed in the
>     arrays but commented out.
>
>     Operators which are used (by our own code) in a way which requires them
>     to be present are also listed in the arrays, but commented out.
>
>
>
> >What is the way to achieve a flush to the X11 display in 9.22 ?
>
>
>Well I would have thought showpage would work.
>
>
>
>                     Ken
>