Tcl Source Code

View Ticket
Login
Ticket UUID: ed4c6100045e9efaa2c530617476b2771cb1eba3
Title: REPL
Type: Bug Version:
Submitter: svnpenn Created on: 2019-06-08 04:05:55
Subsystem: 20. [interp] Assigned To: nobody
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2019-07-03 15:02:42
Resolution: None Closed By: nobody
    Closed on:
Description:
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.
User Comments: chrstphrchvz added on 2019-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.


svnpenn added on 2019-06-08 04:26:57:
Looks like it depends on the build - this one works as expected

https://irontcl.com