Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ osopen(1) — OPENSTEP for Solaris 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ossave(1)

osalert(1)

osopen(1)

NAME

osopen − provides a standard OpenStep open panel

SYNOPSIS

osopen -f file -d directory -e types -p prompt -t title -i icon -m -c -V -H

DESCRIPTION

The osopen command provides access to a standard OpenStep open panel as implemented by the NSOpenPanel class in the Application Kit.  The arguments to osopen can change all of the standard attributes of the open 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 open panel.  If this is not specified, it defaults to the user’s home directory.

−e types
Specify each file type (e.g., tiff, eps, or c) that is an allowable selection.  The open panel will only display names which have the types specified.  If no type is specified, all files are displayed.

−p prompt
Specify the title for the form where the user types the file name.

−t title
Specify the title of the open panel window.  By default it is Open.

−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 to be chosen rather than files. 

−V Output version information. 

−H Output verbose help to stdout. 
 

EXIT STATUS

The following exit statuses are returned:

0 The osopen 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

ossave(1), osalert(1)
 

SunOS 1.1  —  Last change: 13 Feb 1997

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