I've just installed Linux Mint on a second laptop.
I am a long-time user of tkcon, principally because it gives me
command-line recall, which I don't get from pure-and-simple tclsh.
On the old system, with the cursor on the bottom line, positioned
following the "% " prompt, if I press up-arrow, I get the last line
typed which I can edit.
On the new system, it simply moves the cursor up a line.
I wondered whether this was because I was using MATE rather than
cinnamon on the new system, but I've switched to cinnamon and it still >(mis)behaving the same way.
Please can someone suggest what I need to tweak?
Many Thanks,
Alan
I've just installed Linux Mint on a second laptop.
I am a long-time user of tkcon, principally because it gives me
command-line recall, which I don't get from pure-and-simple tclsh.
On the old system, with the cursor on the bottom line, positioned
following the "% " prompt, if I press up-arrow, I get the last line
typed which I can edit.
On the new system, it simply moves the cursor up a line.
I've just installed Linux Mint on a second laptop.
I am a long-time user of tkcon, principally because it gives me
command-line recall, which I don't get from pure-and-simple tclsh.
Am 17.01.23 um 18:39 schrieb Alan Grunwald:
I've just installed Linux Mint on a second laptop.
I am a long-time user of tkcon, principally because it gives me
command-line recall, which I don't get from pure-and-simple tclsh.
On the old system, with the cursor on the bottom line, positioned
following the "% " prompt, if I press up-arrow, I get the last line
typed which I can edit.
On the new system, it simply moves the cursor up a line.
Hi Alan,
this is a bug that came into existence with newer versions of Tcl. You
should update your version of tkcon.
You can get the patched version from the CVS repo in sourceforge:
cvs -z3 -d:pserver:[email protected]:/cvsroot/tkcon co
-P tkcon
With the tkcon.tcl found there, the issue should be gone. Also another
one, where you get an error when the mouse touches a highlighted error.
Yes, CVS is basically disabled and someone should maybe rescue tkcon and
put it into Github...
Christian
Take a look at https://github.com/wjoye/tkcon/releases
It's the most up-to-date version I've been able to find
An alternative, since you are on Linux, is to use 'rlwrap' to launch
tclsh. Rlwrap provides 'readline' services to CLI apps that do not
provide it themselves, And it provides command history across
invocations, so you can get past command lines from a prior session if
you like.
It is trivial to use:
rlwrap tclsh
And you have a full readline enabled tclsh.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 166:03:23 |
| Calls: | 12,096 |
| Calls today: | 4 |
| Files: | 15,001 |
| Messages: | 6,517,807 |