Charles.Forsyth20060303-partialeea662d19 years agoHistory
53 lines · 1.2 KB · Text
RawDownload
.TH TKCMD 1.SH NAMEtkcmd \- enter Tk commands interactively.SH SYNOPSIS.B tkcmd[.B -iu] [.I tkarg].SH DESCRIPTION.B Tkcmdallows interactive entry of Tk commands; it is useful fortesting out features of Tk prior to incorporating them ina Limbo program. It accepts two arguments:.TP.B -iForce interactive mode. In interactive mode (the default if thestandard input is directed at.BR /dev/cons ),a prompt is printed before every tk command entered..TP.B -uSuppress the automatic tk update command afterevery entered command..PPWhen.I tkcmdis started, a new top level window is created;.I tkcmdcreates a titlebar and handles all the normalwindow window manager interactions.When the window is closed,.I tkcmdterminates.Each line typed to.I tkcmdis 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 willbe 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)