dterror.ds(1)

NAME
dterror.ds - simple error/notice dialog utility

SYNOPSIS
dterror.ds message_text dialog_title button_label

DESCRIPTION
This dtksh script can be used by applications or actions to display an error dialog when it would be difficult or impossible to do in the context of the executing program. For example, it can be used when exec fails in a child process or if an error is detected before an application's main window can be realized. It can also be used from a shell script to display an error dialog.

This script is used by several system actions to display error dialogs or event notices.

EXAMPLES

  /usr/dt/bin/dterror.ds 'Action XYZ problem' 'notice' 'continue'
Executed from a command line, this displays a dialog. The dialog consists of the message text, "Action XYZ problem", the "continue" button, within a dialog with title of "notice". Clicking on button dismisses the dialog.

  execl(/usr/dt/bin/dtfile_error, /usr/dt/bin/dtfile_error,
          message_text, dialog_title, button_label, NULL); Executed from within a program, this displays notice dialog constructed from the specified strings: message_text, dialog_title, and button_label. Same result as when executed from command line.

SEE ALSO
dtfile_error(1X), dtksh(1)