Differences From Artifact [602286f12e]:
- File tclreadlineSetup.tcl.in — part of check-in [ad8b77b1ed] at 1999-09-08 16:35:40 on branch trunk — Modified Files: Makefile.in configure.in sample.tclshrc tclreadline.c tclreadlineInit.tcl.in tclreadlineSetup.tcl.in Added Files: tclreadlineCompleter.tcl (user: johannes@zellner.org, size: 14181) [annotate] [blame] [check-ins using]
To Artifact [026fd75a9a]:
- File tclreadlineSetup.tcl.in — part of check-in [3257fb6735] at 1999-09-14 00:00:35 on branch trunk — Modified Files: src/tclreadline/tclreadline.c src/tclreadline/tclreadlineCompleter.tcl src/tclreadline/tclreadlineSetup.tcl.in Added Files: src/csym/version (user: johannes@zellner.org, size: 14623) [annotate] [blame] [check-ins using]
1 | 1 2 3 4 5 6 7 8 9 10 | - - + + | #!/usr/locanl/bin/tclsh |
| ︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - + + | # # johannes@zellner.org # http://www.zellner.org/tclreadline/ # # ================================================================== |
| ︙ | |||
294 295 296 297 298 299 300 | 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 | + + + + + + + + - + + |
} ::tclreadline::errorMsg]} {
puts stderr [list tclreadline::Loop: error. \
$::tclreadline::errorMsg]
continue
}
# Magnus Eriksson <magnus.eriksson@netinsight.se> proposed
# to add the line also to tclsh's history.
#
# I decided to add only lines which are different from
# the previous one to the history. This is different
# from tcsh's behaviour, but I found it quite convenient
# while using mshell on os9.
#
if {[string length $LINE] && [history event 0] != $LINE} {
|
| ︙ |