wish (Unix shell)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Wish
Original authorMary Gray
DevelopersTcl Core Team and Maintainers
Initial releaseMay 20, 1988; 37 years ago (1988-05-20)
Stable release
8.6.10 / November 21, 2019; 6 years ago (2019-11-21)
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemCross-platform
    TypeUnix shell
    LicenseBSD License
    Websitesourceforge.net/projects/tcl/files/Tcl/

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

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

    Usage

    [edit | edit source]

    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

    [edit | edit source]

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    5. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]