Wish
Original authorMary Gray
DevelopersTcl Core Team and Maintainers
ReleaseMay 20, 1988; 38 years ago (1988-05-20)
Stable release
8.6.10 / November 21, 2019; 6 years ago (2019-11-21)
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

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

References

edit
  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.
  2. ^ "ActiveState Tcl". activestate.com. Retrieved 2025-01-03.
  3. ^ "Cygwin". wiki.tcl-lang.org. Retrieved 2025-01-03.
  4. ^ "AndroWish". wiki.tcl-lang.org. Retrieved 2025-01-03.
  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
  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.
edit

📚 Artikel Terkait di Wikipedia

Tk (software)

Tcl shell (tclsh), Tk may be invoked using the command package require Tk. The program wish (WIndowing SHell) provides a way to run a tclsh shell in a

Windows shell

The Windows shell is the graphical user interface for the Microsoft Windows operating system. Its readily identifiable elements consist of the desktop

List of command-line interpreters

tkcon shell and IDE for Tcl/Tk Windows Script Host Wish (Windowing Shell) – for Tcl DEBUG gdb DDT, a PDP-10 debugger from DEC used as a command shell for

Unix shell

Shell are common for server systems. Although use of a Unix shell is popular with some users, others prefer to use a graphical shell in a windowing system

File Explorer

based shell with Windows Explorer. The release provided capabilities quite similar to that of the Windows "Chicago" (codename for Windows 95) shell during

Wish (disambiguation)

Science & Humanities, Pakistan Wish (manga), a 1996 shojo manga series created by Clamp wish (Unix shell), a windowing shell for Tcl Wireless intelligent

Bash (Unix shell)

Bash (short for "Bourne Again SHell") is an interactive command interpreter and command language developed for Unix-like operating systems. Created in

Symbolic link

Microsoft Windows, although they impose varying limitations on them. Alternatives to symbolic links include hard links, shortcut files, and Windows shell objects