Cecil Westerhof <
Ce...@decebal.nl> wrote:
>When I have the following ~/.tclshrc:
> if {${tcl_interactive}} {
> package require tclreadline
>
> ::tclreadline::Loop
> }
>
>I get a very strange behaviour. When I enter:
> expr {![catch {package present Tk}]}
>
>I get what looks like a secondary prompt and the only sensible thing
>it seems that I can do is Ctrl-c.
>
>Nope, that is not completely true. If I enter a ] I get:
> in
> while evaluating {error in history expansion
> ![catch: event not found
>
> ]}
>
>
>But when I remove the ::tclreadline::Loop I get the result I expect:
> 0
> %
>
>So am I doing something wrong, or did I find a bug in
>::tclreadline::Loop?
>