Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ osalert(1) — OPENSTEP for Solaris 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ossave(1)

osopen(1)

osalert(1)

NAME

osalert − provides a standard OpenStep alert panel

SYNOPSIS

osalert -t title -i icon -V -H [message] [button1] [button2] [button3]

DESCRIPTION

The osalert command provides access to a standard OpenStep alert panel as implemented by the NSRunAlertPanel() function using the NSPanel class in the Application Kit.  The arguments to osalert can change all of the standard attributes of the alert panel. 

OPTIONS

The following options are supported. 

−t title
Specify the title of the alert panel window.  By default it is Alert.

−i icon
Specify a path to a TIFF image file to be displayed in the upper left corner of the alert panel.

−V Output version information. 

−H Output verbose help to stdout. 

message
The main message of the panel.

button1
The string for the default button.

button2
The string for the alternate button.

button3
The string for the other alternate button.
 

EXIT STATUS

The following exit statuses are returned:

-1 An error occurred, or the usage was incorrect. 

0 The default button was pressed (button1). 

1 The alternate button was pressed (button2). 

2 The other alternate button was pressed (button3). 
 

BUGS

If the TIFF image is not specified, the default application icon should be substituted automatically but currently is not. 
 

SEE ALSO

ossave(1), osopen(1)
 

SunOS 1.1  —  Last change: 13 Feb 1997

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