How to get Command history by cursor key in Linux tclsh

前端 未结 2 574
悲哀的现实
悲哀的现实 2021-02-07 02:13

Can get the command history by using cursor key (like up arrow key) in TCL shell (tclsh).

I am running tclsh on fedora with linux version 2.6.21.

2条回答
  •  不知归路
    2021-02-07 03:18

    I usually use tkcon which comes with ActiveTcl, or as a separate installation. tkcon has many features, but the one I use the most is the command-line editing aspect.

提交回复
热议问题