1
2
3
4
5
6
7
8
9
10
|
#!/usr/local/bin/tclsh
# FILE: "/diska/home/joze/src/tclreadline/tclreadlineInit.tcl.in"
# LAST MODIFICATION: "Wed Aug 25 16:27:19 1999 (joze)"
# (C) 1998, 1999 by Johannes Zellner, <johannes@zellner.org>
# $Id$
# ---
#
# tclreadline -- gnu readline for tcl
# Copyright (C) 1999 Johannes Zellner
#
|
|
|
|
1
2
3
4
5
6
7
8
9
10
|
#!/usr/local/bin/tclsh
# FILE: "/home/joze/src/tclreadline/tclreadlineInit.tcl.in"
# LAST MODIFICATION: "Sun Aug 29 00:03:22 1999 (joze)"
# (C) 1998, 1999 by Johannes Zellner, <johannes@zellner.org>
# $Id$
# ---
#
# tclreadline -- gnu readline for tcl
# Copyright (C) 1999 Johannes Zellner
#
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
}
proc ::tclreadline::Init {} {
global tclreadline_version
global tclreadline_library
global tclreadline_patchLevel
set tclreadline_version @TCLREADLINE_VERSION@
set tclreadline_library @TCLREADLINE_LIBRARY@
# NOTE, that tclreadline_patchLevel is the complete patchlevel string.
#
set tclreadline_patchLevel @TCLREADLINE_VERSION@.@TCLREADLINE_PATCHLEVEL@
if [catch {load @TCLREADLINE_LIBRARY@/@TCLREADLINE_LIB_FILE@} msg] {
puts stderr $msg
exit 2
}
}
tclreadline::Init
source [file join [file dirname [info script]] tclreadlineSetup.tcl]
|
|
>
>
>
>
>
>
>
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
}
proc ::tclreadline::Init {} {
global tclreadline_version
global tclreadline_library
global tclreadline_patchLevel
variable version
variable library
variable patchLevel
set tclreadline_version @TCLREADLINE_VERSION@
set version @TCLREADLINE_VERSION@
set tclreadline_library @TCLREADLINE_LIBRARY@
set library @TCLREADLINE_LIBRARY@
# NOTE, that tclreadline_patchLevel is the complete patchlevel string.
#
set tclreadline_patchLevel @TCLREADLINE_VERSION@.@TCLREADLINE_PATCHLEVEL@
set patchLevel @TCLREADLINE_VERSION@.@TCLREADLINE_PATCHLEVEL@
if [catch {load @TCLREADLINE_LIBRARY@/@TCLREADLINE_LIB_FILE@} msg] {
puts stderr $msg
exit 2
}
}
tclreadline::Init
source [file join [file dirname [info script]] tclreadlineSetup.tcl]
|