Adi
Adi

Reputation: 1639

Auto completion by typing TAB in TCL

How can I achieve auto-completion of key words and directories by typing TAB (or something else) in TCL shell , tclsh.

Upvotes: 2

Views: 2324

Answers (1)

Donal Fellows
Donal Fellows

Reputation: 137637

You need to find a copy of tclreadline, or switch to using tkcon (a graphical terminal written in Tcl that acts as a console) if using a GUI app is acceptable at all. FWIW, I can definitely recommend tkcon; the only reason I don't use it that much is because I'm often working with a custom build of Tcl that's hooked up to other things.

Upvotes: 4

Related Questions