PSH(1) — USER COMMANDS
NAME
psh − NeWS POSTSCRIPT shell
SYNOPSIS
psh [ files ]
DESCRIPTION
If a files argument is specified, psh opens a connection to the server and transmits the specified files to the server. If no files argument is specified, or if ‘-’ is specified, psh opens a connection to the server and transmits stdin to the server. Any output from NeWS is copied to stdout. The files should be POSTSCRIPT programs for the NeWS server to execute.
A common use for psh is in creating applications written entirely in the POSTSCRIPT language. First, type your POSTSCRIPT program into a file. Then, add this as its first line: #! /usr/NeWS/bin/psh If you now make the file executable (with chmod), you can invoke it by name from the shell, and UNIX will use /usr/NeWS/bin/psh to execute it. psh will in turn send your program to the X11/NeWS server.
SEE ALSO
TRADEMARK
POSTSCRIPT is a registered trademark of Adobe Systems Inc.
BUGS
If #! /usr/NeWS/bin/psh is the first line, the script or file is implementation or installation dependent.
Sun Release 4.1 — Last change: 2 December 1987