Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psh(1) — SunOS 4.1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

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

sh(1)

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. 

{:heading=>"PSH\|(\|1\|)\0\0\(em\0\0\∗(]D"}  —  Last change: 2 December 1987  —  Last change: 2 December 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026