Skip to content
Tcl Source Code View Ticket
Login

View Ticket

How to use the UP and DOWN arrow keys in the tclsh interactive shell

Openfcf9b3a0b410a64727112fea1a25e0e0b0de0bc3Created 7 years agoUpdated 7 years ago
Descriptionplain2019-06-22 09:32:12
How to use the UP and DOWN arrow keys in the tclsh interactive shell ?
I want to run previous command using up arrow.
I am running TCL on Linux.
anonymous94 Ticket [fcf9b3a0b4]: 3 changes [History diff]2019-06-22 09:33:56
adrianmedranocalvoplain2019-06-24 07:41:48
I suggest to install and use the `rlwrap` program:

    rlwrap tclsh
chrstphrchvzwiki2019-07-03 14:43:17

Another option is tclreadline.

Log in (anonymous is fine) to add a comment.