Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

psh(1)

NeWS POSTSCRIPT shell

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

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

sh(1) NeWS Programmer's Guide

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.