tcl-hacks

Check-in [66c776ae7e]
Login

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

Overview
Comment:some todos in tclish, but it works for now
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:66c776ae7eacd5766aa9d3d2f5853be545b56708
User & Date: aspect 2018-05-30 04:10:13
Context
2018-05-30
04:10
requirements for a simple package manager check-in: 89f27f96a9 user: aspect tags: trunk
04:10
some todos in tclish, but it works for now check-in: 66c776ae7e user: aspect tags: trunk
2018-05-24
11:05
make [exec stty] use a bit more portable check-in: 3256e23b42 user: aspect tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to bin/tclish.

1








2
3
4
5
6
7
8
#!/usr/bin/env tclsh








#
catch {source [file dirname [info script]]/../boot.tcl}

package require getline

namespace eval tclish {
    namespace path ::getline

>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env tclsh
#
# This is a basic interactive tclsh helper using getline for line-editing and completion.
#
# 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