Artifacts Associated With Ticket 1116205
Ticket change [f0ea7bc736] (rid 109278) by davidw on 2005-02-04 14:22:11:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
It would be a very noticeable change to a lot of people if tclsh had command line editing support. One way to get this would by using the 'editline' library which is released under a BSD style license. Here is a page outlining how to use it: http://www.cs.utah.edu/~bigler/code/libedit.html Support could be added a step at a time, initially obtained via a configure flag, and then gradually transitioned over to be the default. Perhaps I'll work on this myself if there is interest.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "davidw"
- subsystem initialized to: "55. Other Tools"
- title initialized to: "Add editline"
- type initialized to: "RFE"
Ticket change [dfbcee24ed] (rid 115062) by hobbs on 2005-02-05 09:09:00:
- icomment:
Logged In: YES user_id=72656 I'd be interesting in adding this as a configure option at a minimum.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [646580865b] (rid 92761) by davidw on 2005-02-08 18:22:39:
- icomment:
Logged In: YES user_id=240 Update: I have a basic editline framework functioning. I decided to use a channel to take advantage of Tcl_Main, but that's not set in stone. I had a close look at the resources it uses: libtcleditline0.1.so: libedit.so.2 => /usr/lib/libedit.so.2 (0x6ff9c000) libc.so.6 => /lib/libc.so.6 (0x6fe3d000) libncurses.so.5 => /lib/libncurses.so.5 (0x6fdd4000) /lib/ld.so.1 => /lib/ld.so.1 (0x08000000) -rw-r--r-- 1 root root 132864 2004-08-31 01:30 /usr/lib/libedit.so.2.9 Personally, I don't think it would be unreasonable to include that in Tcl. Actually, good ./configure logic could make things work well: 1) --enable-editline - otherwise, forget it. 2) Check and see if there is a system editline. If so, use it. 3) Attempt to build editline locally. - login: "davidw"
- mimetype: "text/plain"
- username: "davidw"
- icomment:
Ticket change [7dfd2e35ba] (rid 97327) by hobbs on 2006-04-23 05:34:51:
- icomment:
Logged In: YES user_id=72656 I was looking into this ... and unfortunately the reference page doesn't have the code anymore. Any ideas?
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [725ed8d22d] (rid 100846) by msofer on 2006-04-23 05:48:50:
- icomment:
Logged In: YES user_id=148712 Google is your friend: http://softs.laas.fr/openrobots/libs/editline.php Remark also http://softs.laas.fr/openrobots/tools/eltclsh.php
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment: