Changes between Version 22 and Version 23 of CommittersTipsAndTricks


Ignore:
Timestamp:
Jun 24, 2009, 8:00:32 PM (15 years ago)
Author:
giorgio_v@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CommittersTipsAndTricks

    v22 v23  
    140140tclsh does not offer readline support by itself, which is quite annoying. When writing portfiles or tinkering with changes to Macports base, I need to experiment in a Tcl shell all the time to tests small things. But for that, command history and Emacs-like navigation within the line are essential. Unfortunately tclsh does not offer this.
    141141
     142You can also use Emacs’ tcl-mode: from within a tcl buffer, the tcl shell is just a {{{C-t}}} away. More info in [http://wiki.tcl.tk/_/search?S=emacs tcler’s wiki].
     143
    142144Solution: use port {{{rlwrap}}} together with tclsh. When you invoke tclsh via rlwrap you get all the convenience you know from bash.
    143145{{{