Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
wish (Unix shell)
Simple scripting or interactive Unix shell based on TCL/Tk

wish (Windowing Shell) is a Tcl interpreter extended with Tk commands, available for Unix-like operating systems supporting the X Window System, as well as macOS, Microsoft Windows, and Android. It provides developers the ability to create GUI widgets using the Tk toolkit and the Tcl programming language.

wish is open-source under the BSD License, and is currently part of the Tcl/Tk programming suite.

We don't have any images related to wish (Unix shell) yet.
We don't have any YouTube videos related to wish (Unix shell) yet.
We don't have any PDF documents related to wish (Unix shell) yet.
We don't have any Books related to wish (Unix shell) yet.
We don't have any archived web articles related to wish (Unix shell) yet.

Usage

wish can be run without parameters. Then the % prompt is displayed and the interpreter awaits for commands entered interactively by the user. An empty window is opened in which the widgets created by user commands are displayed. This mode is suitable for experimenting.

More often wish is run with a name of a file containing a Tcl/Tk script as a parameter. It is also possible to run directly Tcl/Tk scripts; in Unix using the shebang construction; in Windows by associating the .tcl extension with the wish program.

See also

References

  1. Welch, Brent B.; Jones, Ken; Hobbs, Jeffrey (2003). Practical Programming in Tcl and Tk (4th ed.). Upper Saddle River: Pearson Education, Inc. - Prentice Hall PTTR. p. 25. ISBN 0-13-038560-3. 0-13-038560-3

  2. "ActiveState Tcl". activestate.com. Retrieved 2025-01-03. https://www.activestate.com/platform/supported-languages/tcl/

  3. "Cygwin". wiki.tcl-lang.org. Retrieved 2025-01-03. https://wiki.tcl-lang.org/page/Cygwin

  4. "AndroWish". wiki.tcl-lang.org. Retrieved 2025-01-03. https://wiki.tcl-lang.org/page/AndroWish

  5. Gray, Mary (May 20, 1988), Wish – A Window-Based Shell for X (PDF), Computer Science Department, University of California, Berkeley, retrieved November 8, 2016 https://www2.eecs.berkeley.edu/Pubs/TechRpts/1988/CSD-88-420.pdf

  6. Flynt, Clif (2012-01-17). Tcl/Tk: A Developer's Guide (3rd ed.). Elsevier: Morgan Kaufman. p. 17. ISBN 978-0-12-384717-1. 978-0-12-384717-1