NAME
wish - Simple windowing shell

SYNOPSIS
wish ?options?

OPTIONS

-display display
    Display (and screen) on which to display window.

-file fileName
    Read commands from fileName rather than standard input. The last element in fileName will be used as the title for the application and name of its interpreter for send commands (unless overridden by the -name option).

-geometry geometry
    Initial geometry to use for window.

-name name
    Use name as the title to be displayed in the window, and as the name of the interpreter for send commands.

-sync
    Execute all X server commands synchronously, so that errors are reported immediately. This will result in much slower execution, but it is useful for debugging.

-help
    Print a summary of the command-line options and exit.

DESCRIPTION

Wish is a simple program consisting of the Tcl command language, the Tk toolkit, and a main program that reads commands from standard input or from a file. If wish is invoked with no arguments, it creates a small window and reads Tcl commands interactively from standard input. It will continue processing commands until all windows have been deleted or until end-of-file is reached on standard input.

If the -file option is provided to Tk, then it reads Tcl commands from the file named in the -file option. These commands will normally create an interactive interface consisting of one or more widgets. When the end of the command file is reached, wish will continue to respond to X events until all windows have been deleted.

The wish program provides a few Tcl commands in addition to those already provided by the Tcl and Tk libraries. However, these commands are intended for debugging purposes only and should not be widely used. In particular, they will probably be eliminated in some future release. If you wish to use these commands you'll have to read the code to see what they do.

KEYWORDS
shell, toolkit