[comp.lang.postscript] Postscript filenames

tts@ttank.ttank.com (Karl Bunch) (05/01/91)

I know of:

  (%stdin)		- Standard input
  (%stdout)		- Standard output
  (%stderr)		- Standard error
  (%statementedit)	- ??
  (%lineedit)		- ??

What I want to know is what are %statementedit and %lineedit for
and what other special files are available?

Karl
-- 
% ----------------------------------------------------------------------------
% Karl Bunch                            ||| UUCP: ..!uunet!zardoz!ttank!karl
% Think Tank Software                   ||| INTERNET: karl@ttank.com
% "...you'd be suprised how far a hug will go with Geordi, even Worf!" -- Riker

heiney@wsl.dec.com (Bob Heiney) (05/02/91)

> What I want to know is what are %statementedit and %lineedit for

These files are for use by PostScript interpreters which support
an interactive executive.

Using the file operator on %statementedit accumulates input in
a temporary buffer, parsing editing control chars, until a statement
has been read.  A statement is (quoting from the new Redbook) "one or
more lines terminated by a newline that together form one or more
complete PostScript language tokens, with no opening brackets
( {, (, <, or <~ ) left unmatched."  When the statement has been read,
file returns.

%lineedit is like %statementedit except that it returns after a line
has been read, regardless of whether that line is a complete statement.

> and what other special files are available?

These are all of the special files that are described by the new Redbook.

See Section 3.8.3, Special Files, pp. 78-80 of the PostScript Language
Reference Manual, Second Edition.

Information about these files is also in the original Redbook.

/Bob

woody@chinacat.Unicom.COM (Woody Baker @ Eagle Signal) (05/03/91)

In article <1991Apr30.170335.863@ttank.ttank.com>, tts@ttank.ttank.com (Karl Bunch) writes:
> 
> What I want to know is what are %statementedit and %lineedit for

These are used by the executive in interactive mode.
I believe that they are documented in the red book, and in the
red /white book.
Cheers
Woody