ossave(1)
NAME
ossave − provides a standard OpenStep save panel
SYNOPSIS
ossave -f file -d directory -e type -p prompt -t title -i icon -u -m -c -V -H
DESCRIPTION
The ossave command provides access to a standard OpenStep save panel as implemented by the NSOpenPanel class in the Application Kit. The arguments to ossave can change all of the standard attributes of the save panel. The file or files chosen are written to stdout separated by a newline.
OPTIONS
The following options are supported.
−f file Specify the name of the file in initial directory to select.
−d directory
Specify a path to a directory that will be the initial location of the save panel. If this is not specified, it defaults to the user’s home directory.
−e type
Specify the file type (e.g., tiff, eps, or c) that is going to be saved. This will force the appending of a ’.’ and type to the file name specified.
−p prompt
Specify the title for the form where the user types the file name.
−t title
Specify the title of the save panel window. By default it is Save.
−i icon
Specify a path to a TIFF image file to be displayed in the upper left corner of the window.
−m Allow the selection of multiple files.
−c Allow directories as valid rather than files.
−V Output version information.
−H Output verbose help to stdout.
EXIT STATUS
The following exit statuses are returned:
0 The ossave command executed without error and the files selected have been written to stdout.
-1 An error occurred, or the usage was incorrect.
BUGS
If the TIFF image is not specified, the default application icon should be substituted automatically but currently is not.
SEE ALSO
SunOS 1.1 — Last change: 13 Feb 1997