Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2474

Re: Do you ever use the obscure PostScript command '...'?

From Markus Triska <triska@metalevel.at>
Newsgroups comp.lang.postscript
Subject Re: Do you ever use the obscure PostScript command '...'?
Organization man
References <711068ba-9b2b-4535-9f7f-f0d160ded354@googlegroups.com>
Message-ID <m2shzbhc4r.fsf@metalevel.at> (permalink)
Date 2016-03-27 22:57 +0200

Show all headers | View raw


jdaw1 <jdawiseman@gmail.com> writes:

> This thread is a generalisation of that thread.

Very nice idea! Thank you for pursuing and generalising this topic!

> I'll start. Do you ever use the obscure PostScript command
> 'execstack'?

I'm pretty certain that I've never used this.

The most obscure operator I am frequently using is probably: known.

This is because many PostScript programs that I'm using for animations
of search processes start with:

   systemdict /.setlanguagelevel known { 2 .setlanguagelevel } if

Why? Because this lets me use "copypage" to obtain an X11 flush in
Ghostscript ;-) And even this is not needed when invoking Ghostscript
interactively, because an implicit flushpage is used on every newline in
any case. It's just something that was shown to me in the first
PostScript snippets I have seen (used for portable animations), and I
started many of the programs I have written since then with this line,
before I found out more about Ghostscript.

In fairness though, the documentation of Ghostscript was wrong for many
versions, and *incorrectly* stated that the implicit flushpage is
disabled when -dNOPROMPT is used, so I thought that either copypage or
an explicit flushpage were necessary to reliably obtain a redisplay.

These days, I simply use -dNOPROMPT and often no longer use the above
when piping generated instructions to Ghostscript for real-time display.

All the best!
Markus

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Do you ever use the obscure PostScript command '...'? jdaw1 <jdawiseman@gmail.com> - 2016-03-27 12:04 -0700
  Re: Do you ever use the obscure PostScript command '...'? Markus Triska <triska@metalevel.at> - 2016-03-27 22:57 +0200
    Re: Do you ever use the obscure PostScript command '...'? Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-06-01 18:37 -0700
      Re: Do you ever use the obscure PostScript command '...'? Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-06-01 18:44 -0700
  Re: Do you ever use the obscure PostScript command '...'? luser- -droog <mijoryx@yahoo.com> - 2016-03-27 14:02 -0700
    Re: Do you ever use the obscure PostScript command '...'? jdaw1 <jdawiseman@gmail.com> - 2016-03-28 06:32 -0700
      Re: Do you ever use the obscure PostScript command '...'? Markus Triska <triska@metalevel.at> - 2016-03-28 16:53 +0200
      Re: Do you ever use the obscure PostScript command '...'? luser- -droog <mijoryx@yahoo.com> - 2016-03-28 13:07 -0700
  Re: Do you ever use the obscure PostScript command '...'? Martin Leese <please@see.Web.for.e-mail.INVALID> - 2016-03-28 18:55 -0600
  Re: Do you ever use the obscure PostScript command '...'? jdaw1 <jdawiseman@gmail.com> - 2016-04-02 16:22 -0700
    Re: Do you ever use the obscure PostScript command '...'? luser- -droog <mijoryx@yahoo.com> - 2016-04-02 22:03 -0700
  Re: Do you ever use the obscure PostScript command '...'? jdaw1 <jdawiseman@gmail.com> - 2016-04-13 06:09 -0700
    Re: Do you ever use the obscure PostScript command '...'? jdaw1 <jdawiseman@gmail.com> - 2016-04-14 10:02 -0700
      Re: Do you ever use the obscure PostScript command '...'? luser- -droog <mijoryx@yahoo.com> - 2016-04-14 20:24 -0700
        Re: Do you ever use the obscure PostScript command '...'? luser- -droog <mijoryx@yahoo.com> - 2016-04-14 20:28 -0700
        Re: Do you ever use the obscure PostScript command '...'? jdaw1 <jdawiseman@gmail.com> - 2016-04-15 15:49 -0700
          Re: Do you ever use the obscure PostScript command '...'? luser- -droog <mijoryx@yahoo.com> - 2016-04-15 23:30 -0700
            Re: Do you ever use the obscure PostScript command '...'? jdaw1 <jdawiseman@gmail.com> - 2016-04-16 04:49 -0700
  Re: Do you ever use the obscure PostScript command '...'? jdaw1 <jdawiseman@gmail.com> - 2016-12-03 16:27 -0800
    Re: Do you ever use the obscure PostScript command '...'? jdaw1 <jdawiseman@gmail.com> - 2016-12-03 16:49 -0800
      Re: Do you ever use the obscure PostScript command '...'? luser droog <luser.droog@gmail.com> - 2016-12-04 13:42 -0800
    Re: Do you ever use the obscure PostScript command '...'? luser droog <luser.droog@gmail.com> - 2016-12-08 20:37 -0800
    Re: Do you ever use the obscure PostScript command '...'? Mark Carroll <mtbc@bcs.org> - 2016-12-20 17:01 +0000

csiph-web