tcl-hacks

Check-in [3eaba8d90c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix tclish symlink resolution
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:3eaba8d90ce352ede6509c9325141ac7466c6912
User & Date: aspect 2019-04-26 14:22:00
Context
2019-04-26
14:22
refchan pipe ? Leaf check-in: b93d0b1571 user: aspect tags: trunk
14:22
Fix tclish symlink resolution check-in: 3eaba8d90c user: aspect tags: trunk
2019-03-02
13:06
install hack for starpacks to use modules check-in: 601b5ddac7 user: aspect tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to bin/tclish.

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# It needs a bit more snazz, eventually to be provided by:
#  - ../cli:  loading scripts, interactive helpers, repl scope
#  - ../procmap:  semi-intelligent completion
#
# History and Completion will get re-used in tksh (part of snot).
#
catch {source [file dirname [info script]]/../boot.tcl}

package require getline

namespace eval tclish {
    namespace path ::getline

    proc complete-word {s t} {







|







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# It needs a bit more snazz, eventually to be provided by:
#  - ../cli:  loading scripts, interactive helpers, repl scope
#  - ../procmap:  semi-intelligent completion
#
# History and Completion will get re-used in tksh (part of snot).
#
catch {source [file dirname [file dirname [file normalize [info script]/...]]]/../boot.tcl}

package require getline

namespace eval tclish {
    namespace path ::getline

    proc complete-word {s t} {