16. History
This chapter describes Tcl’s history mechanism. In applications where you type commands interactively, the history mechanism keeps track of recent commands and makes it easy for you to re-execute them without having to retype them from scratch. You can also create new commands that are slight variations on old commands without having to completely retype the old commands—to fix typographical errors, for example. Tcl’s history mechanism provides many of the features available in the Unix csh, but not with the same syntax in all cases.
Note
TkCon is a replacement for the standard console that comes with Tk. Among its many features is a sophisticated command history and editing functionality. You can use the arrow keys to cycle between ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access