rlwrap + tclsh
rlwrap is a 'readline wrapper', a small utility that uses the GNU Readline library to allow the editing of keyboard input for any command.
% tclsh
% info patch^[[D
%rlwrap tclsh
% info patch
rlwrap is a 'readline wrapper', a small utility that uses the GNU Readline library to allow the editing of keyboard input for any command.
% tclsh
% info patch^[[D
%rlwrap tclsh
% info patch