SAY(1) — USER COMMANDS
NAME
say − execute fragment
SYNOPSIS
say [ options ] [ strings ]
DESCRIPTION
say connects to the NeWS server and displays the strings provided on the command line in a window. An option is provided to interpret the command line, or the standard input, as a program to be executed by the server.
say is used to implement some of the NeWS demo programs. This technique allows window applications to be shell scripts.
OPTIONS
−bstring
Use string as the title for the window.
−c Center the text in the window.
−p The command line contains a program rather than simply text strings.
−P The standard input contains a program, which is executed after the commands on the command line (if any).
−r Make the window round.
−snn Use nn as the point size of the text.
−w Wait for the window to be destroyed. The default is for the window to vanish when execution of its program is finished.
−W Do not create a window for the to be executed in. This can be used to implement operations that do not require a window; for example toggling drag mode in the window manager, or running code that creates its own window.
−xxx,yyy
The first xxx,yyy pair of numbers sets the X and Y coordinates of the window. If a second −xxx,yyy command line option is given, it sets the size of the window.
USAGE
Older programs that use say solely to send to the server (by specifying the -P -w -W " " options to say ), should be converted to use psh (1).
SEE ALSO
NeWS Manual
PostScript Language Reference Manual , Adobe Systems Inc, Addison-Wesley
TRADEMARK
is a registered trademark of Adobe Systems Inc.
Sun Release 4.1 — Last change: 2 December 1987