scripting - How to get Command history by cursor key in Linux tclsh -


In TCL Shell (texlsh) you can get command history using the cursor keys (like up arrow key).

I'm running tclsh on Fedora with Linux version 2.6.21.

If you want to access the Readline Library, you can:

  $ rlwrap tclsh  

Useful options are -c file name completion, and -f from a file To add to the completion list:

  $ rlwrap-cf my_complete_file tclsh  

Because you almost always use rlwrap Want to add a shell nickname is useful:

  alias tclsh = 'rlwrap tclsh'  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -