DEIMOS
tkmessage script

Name

tkmessage -- post a warning message using Tcl/Tk widget

Purpose

Display an error message on the user's terminal using Tcl/Tk

Usage

tkmessage [-type <type>]

Arguments

type = [ error | info | question | warning ]
type of message to deliver.
This will determine the icon displayed on the message window.

Input

Error message is delivered on STDIN

Output

Window displaying the message is placed onto the current
display.

Restrictions

DISPLAY must be set appropriately

Exit values

0 = normal completion
1 = wrong number of arguments

Example

1) Display the text of the file "error_message" on the current display:
tkmessage < error_message

See Also

The shell script tkmessage
DEIMOS script index


Go to: DEIMOS Home Page - Instruments Home Page - Keck Home Page

Last modified: Wed Jun 9 16:30:31 2004