Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2019-07-03
15:02 • Ticket [ed4c610004] REPL status still Open with 4 other changes artifact: d6cb22f873 user: chrstphrchvz
2019-06-08
04:26 • Ticket [ed4c610004]: 3 changes artifact: c43a4b9d2a user: svnpenn
04:05 • New ticket [ed4c610004]. artifact: 98a843422c user: svnpenn

REPL

Opened4c6100045e9efaa2c530617476b2771cb1eba3Created 7 years agoUpdated 7 years ago
Descriptionplain2019-06-08 04:05:55
The Tcl REPL has an issue. With Python, Ruby, JavaScript and others, pressing
"up" will give you the previous command.

With Tcl, it just utterly breaks the session, requiring Ctrl+C or similar.
svnpennplain2019-06-08 04:26:57
Looks like it depends on the build - this one works as expected

https://irontcl.com
chrstphrchvzwiki2019-07-03 15:02:42

You are probably looking for interactive "readline" support. There are multiple options for this; one "official" option is tclreadline.

I think this functionality might be beneficial to have by default ("opt-out" rather than "opt-in") for usability, but I'm not sure the Tcl community would agree, for example due to the number of approaches, some of which require external software dependencies.

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