Overview
| Comment: | Modified Files: Makefile.in configure.in tclreadline.h.in tclreadline.n.in tclreadlineConfig.sh.in tclreadlineInit.tcl.in tclreadlineSetup.tcl.in |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
405bab1b22f04a9749dc2ea6ff803d8c |
| User & Date: | johannes@zellner.org on 1999-08-25 14:43:15.000 |
| Other Links: | manifest | tags |
Context
|
1999-08-25
| ||
| 15:55 | Modified Files: Makefile.in tclreadline.c check-in: 5f4b6d99ea user: johannes@zellner.org tags: trunk | |
| 14:43 | Modified Files: Makefile.in configure.in tclreadline.h.in tclreadline.n.in tclreadlineConfig.sh.in tclreadlineInit.tcl.in tclreadlineSetup.tcl.in check-in: 405bab1b22 user: johannes@zellner.org tags: trunk | |
| 09:13 | Modified Files: tclreadlineSetup.tcl.in check-in: d451e5e397 user: johannes@zellner.org tags: trunk | |
Changes
Modified Makefile.in
from [8a2abff6fe]
to [0c48681c79].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | # -*- make -*- # FILE: "/diska/home/joze/src/tclreadline/Makefile.in" |
| ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | + + + | # # ================================================================== MAJOR_VERSION = @TCLREADLINE_MAJOR_VERSION@ MINOR_VERSION = @TCLREADLINE_MINOR_VERSION@ VERSION = @TCLREADLINE_VERSION@ # NOTE, that PATCHLEVEL is the complete version string # PATCHLEVEL = $(VERSION).@TCLREADLINE_PATCHLEVEL@ #host = @host@ #host_cpu = @host_cpu@ #host_vendor = @host_vendor@ #host_os = @host_os@ srcdir = @srcdir@ |
| ︙ | |||
265 266 267 268 269 270 271 | 268 269 270 271 272 273 274 275 276 277 278 279 280 281 | - - - - + + + + | ci: $(SOURCES) ci -u $(CIFLAGS) $^ co: $(SOURCES) co -l $^ distribution: $(SOURCES) configure $(AUXILIARY) tclreadline.n.html |
Modified configure.in
from [b8c8642910]
to [deb9dd7b2c].
1 | 1 2 3 4 5 6 7 8 9 10 | - - + + | # -*- autoconf -*- |
| ︙ | |||
33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | + | AC_REVISION($Revision$) AC_INIT(tclreadline.c) TCLREADLINE_MAJOR_VERSION=0 TCLREADLINE_MINOR_VERSION=9 TCLREADLINE_PATCHLEVEL=1 TCLREADLINE_VERSION=$TCLREADLINE_MAJOR_VERSION.$TCLREADLINE_MINOR_VERSION VERSION=$TCLREADLINE_VERSION AC_PREREQ(2.13) AC_CONFIG_AUX_DIR(./aux) AC_CANONICAL_HOST |
| ︙ | |||
331 332 333 334 335 336 337 | 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 | - + |
if test -z "$READLINE_LIB_DIR"; then
AC_MSG_ERROR([
Can't find libreadline$SHLIB_SUFFIX.
Use --with-readline-library to specify the directory
containing libreadline$SHLIB_SUFFIX on your system.])
else
|
| ︙ | |||
373 374 375 376 377 378 379 | 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 | - + - - + + | #-------------------------------------------------------------------- # Check for appropriate version of gnu readline # (older versions of gnu readline don't have # rl_callback_read_char ()). #-------------------------------------------------------------------- save=$LIBS |
| ︙ | |||
412 413 414 415 416 417 418 419 420 421 422 423 424 425 | 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 | + | # TODO: check for readline version # (link testprogram with -lreadline) AC_SUBST(TCLREADLINE_MAJOR_VERSION) AC_SUBST(TCLREADLINE_MINOR_VERSION) AC_SUBST(TCLREADLINE_VERSION) AC_SUBST(TCLREADLINE_PATCHLEVEL) AC_SUBST(TCL_LIB_DIR) AC_SUBST(TCL_INCLUDE_DIR) AC_SUBST(READLINE_INCLUDE_DIR) AC_SUBST(CFLAGS) AC_SUBST(DL_LIBS) |
| ︙ |
Modified tclreadline.h.in
from [a6316a5a56]
to [5ff9fe59ba].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 | - - + + | /* ================================================================== |
| ︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | + + + + + + + |
johannes@zellner.org
http://www.zellner.org/tclreadline/
================================================================== */
static char *TCLREADLINE_VERSION = "@TCLREADLINE_VERSION@";
/**
* NOTE, that PATCHLEVEL is the complete version string.
* (PATCHLEVEL is not really used here).
*/
static char *TCLREADLINE_PATCHLEVEL
= "@TCLREADLINE_VERSION@.@TCLREADLINE_PATCHLEVEL@";
|
Modified tclreadline.n.in
from [25cdb5647d]
to [7d9606e31a].
| 1 2 3 4 5 6 7 8 9 10 11 12 | - + - - + + |
|
| ︙ | |||
176 177 178 179 180 181 182 | 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | - + + + + | turns on or off the default behavior of tclsh to print the result of every command. This is turned on by default, so it will just behave as the tclsh w/o tclreadline. Turning off might be useful, when reading binary data for example. If \fB::tclreadline::Print\fP is called w/o arguments, it returns the current setting. .TP 5 |
| ︙ | |||
220 221 222 223 224 225 226 | 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | + + + - - + + + + + + + + + + | .\" .SH "EXAMPLES" .\" .SH "ENVIRONMENT VARIABLES" .SH "VARIABLES" \fItclreadline\fP defines the following variables in the global namespace: .TP 5 |
| ︙ |
Modified tclreadlineConfig.sh.in
from [b0b13d39ee]
to [59c0d36366].
1 | 1 2 3 4 5 6 7 8 9 10 | - - + + | #!/bin/sh |
| ︙ | |||
38 39 40 41 42 43 44 45 46 47 48 49 50 51 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | + + | # # The information in this file is specific to a single platform. # tclreadline's version number. TCLREADLINE_VERSION='@TCLREADLINE_VERSION@' TCLREADLINE_MAJOR_VERSION='@TCLREADLINE_MAJOR_VERSION@' TCLREADLINE_MINOR_VERSION='@TCLREADLINE_MINOR_VERSION@' # there's no leading dot here as in tclConfig.sh! TCLREADLINE_PATCHLEVEL='@TCLREADLINE_PATCHLEVEL@' # The name of the tclreadline library # (may be either a .a file or a shared library): TCLREADLINE_LIB_FILE=@TCLREADLINE_LIB_FILE@ # String to pass to linker to pick up the tclreadline library from its # build directory. |
| ︙ |
Modified tclreadlineInit.tcl.in
from [5477ab3f3e]
to [7b078b76d4].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | #!/usr/local/bin/tclsh # FILE: "/diska/home/joze/src/tclreadline/tclreadlineInit.tcl.in" |
| ︙ | |||
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | 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]
|
Modified tclreadlineSetup.tcl.in
from [d37da43a66]
to [efbc741fe2].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | #!/usr/local/bin/tclsh # FILE: "/diska/home/joze/src/tclreadline/tclreadlineSetup.tcl.in" |
| ︙ | |||
320 321 322 323 324 325 326 | 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 | - + |
if {[exec uname -s] == "Linux"} {
eval exec ls --color -FC [::tclreadline::Glob $args]
} else {
eval exec ls -FC [::tclreadline::Glob $args]
}
}
|
| ︙ | |||
388 389 390 391 392 393 394 | 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 | + + + + + + + + + - - - - + + + + + |
}
}
global env
variable historyfile
if {[string trim [llength ${args}]]} {
set historyfile ""
catch {
set historyfile [file nativename [lindex ${args} 0]]
}
if {"" == [string trim $historyfile]} {
set historyfile [lindex ${args} 0]
}
} else {
|
| ︙ | |||
426 427 428 429 430 431 432 | 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 | - + - + |
# return $commandstring
# Christian Krone <krischan@sql.de> proposed
return [eval concat $commandstring]
}
|
| ︙ |