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: "Fri Aug 20 15:37:08 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: "/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
#
|
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
namespace export Init
}
proc ::tclreadline::Init {} {
global tclreadline_version
global tclreadline_library
set tclreadline_version @TCLREADLINE_VERSION@
set tclreadline_library @TCLREADLINE_LIBRARY@
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]
|
>
>
>
>
|
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
namespace export Init
}
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]
|