diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/inferno/man1/tkcmd.1 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/inferno/man1/tkcmd.1')
| -rw-r--r-- | static/inferno/man1/tkcmd.1 | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/static/inferno/man1/tkcmd.1 b/static/inferno/man1/tkcmd.1 new file mode 100644 index 00000000..9d1e76e8 --- /dev/null +++ b/static/inferno/man1/tkcmd.1 @@ -0,0 +1,53 @@ +.TH TKCMD 1 +.SH NAME +tkcmd \- enter Tk commands interactively +.SH SYNOPSIS +.B tkcmd +[ +.B -iu +] [ +.I tkarg +] +.SH DESCRIPTION +.B Tkcmd +allows interactive entry of Tk commands; it is useful for +testing out features of Tk prior to incorporating them in +a Limbo program. It accepts two arguments: +.TP +.B -i +Force interactive mode. In interactive mode (the default if the +standard input is directed at +.BR /dev/cons ), +a prompt is printed before every tk command entered. +.TP +.B -u +Suppress the automatic tk update command after +every entered command. +.PP +When +.I tkcmd +is started, a new top level window is created; +.I tkcmd +creates a titlebar and handles all the normal +window window manager interactions. +When the window is closed, +.I tkcmd +terminates. +Each line typed to +.I tkcmd +is passed directly to the function +.B Tk->cmd +(see +.IR tk (2)) +and executed in the context of the top level window; +a Tk ``update'' command is then issued. +Any return value from the command is printed. +There is one predefined Tk channel, +named ``stdout''; anything sent down this channel will +be printed to the standard output. +.SH SOURCE +.B /appl/cmd/tkcmd.b +.SH SEE ALSO +.IR tk (2), +.IR intro (9), +.IR sh-tk (1) |
