Overview
Comment: | config.h.in configure.in tclreadline.c tclreadlineSetup.tcl.in |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
21ee93bcbd5629fe310e8a36d997c713 |
User & Date: | johannes@zellner.org on 1999-09-19 23:49:07 |
Other Links: | manifest | tags |
Context
1999-09-19
| ||
23:58 | configure.in check-in: c5d46281e7 user: johannes@zellner.org tags: trunk | |
23:49 | config.h.in configure.in tclreadline.c tclreadlineSetup.tcl.in check-in: 21ee93bcbd user: johannes@zellner.org tags: trunk | |
23:27 | configure.in tclreadline.c check-in: 4b7e7ab8e4 user: johannes@zellner.org tags: trunk | |
Changes
Modified config.h.in from [79c57abe6e] to [2aa2f18478].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 | - - + + | /* ================================================================== |
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 | + + | johannes@zellner.org http://www.zellner.org/tclreadline/ ================================================================== */ #undef EXECUTING_MACRO_HACK #undef CLEANUP_AFER_SIGNAL |
Modified configure.in from [32372d11e8] to [20b5590ffc].
1 | 1 2 3 4 5 6 7 8 9 10 | - - + + | # -*- autoconf -*- |
︙ | |||
374 375 376 377 378 379 380 | 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 | - + | #endif main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }], res="OK", res="FAIL", res="FAIL") if test "$res" = "OK"; then TERMLIB_DIR=-L${dir} if test "`(uname) 2>/dev/null`" = SunOS && uname -r | grep '^5' >/dev/null; then |
︙ | |||
428 429 430 431 432 433 434 435 436 437 438 439 440 441 | 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 | + + + + + + + + + + + + | extern char* _rl_executing_macro; int main () { _rl_executing_macro = (char*) 0; return 0; }], AC_MSG_RESULT(yes); AC_DEFINE_UNQUOTED(EXECUTING_MACRO_HACK, 1), AC_MSG_RESULT(no)) # check for readline's rl_cleanup_after_signal AC_MSG_CHECKING([for rl_cleanup_after_signal() in -lreadline]) AC_TRY_LINK(,[ extern void rl_cleanup_after_signal(); int main () { rl_cleanup_after_signal(); return 0; }], AC_MSG_RESULT(yes); AC_DEFINE_UNQUOTED(CLEANUP_AFER_SIGNAL, 1), AC_MSG_RESULT(no)) AC_MSG_CHECKING([for the readline version number]) AC_TRY_RUN([ #include <stdio.h> int main () { FILE *fp = fopen("conftestversion", "w"); |
︙ |
Modified tclreadline.c from [8b36fd5d73] to [448ae7324b].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 | - - + + | /* ================================================================== |
︙ | |||
373 374 375 376 377 378 379 | 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 | + - + + + | break; case TCLRL_RESET_TERMINAL: /* TODO: add this to the completer */ if (argc > 3) { Tcl_WrongNumArgs(interp, 2, objv, "?terminal-name?"); return TCL_ERROR; } |
︙ |
Modified tclreadlineSetup.tcl.in from [3563bc89b4] to [e794a68b50].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | #!/usr/locanl/bin/tclsh # FILE: "/home/joze/src/tclreadline/tclreadlineSetup.tcl.in" |
︙ | |||
201 202 203 204 205 206 207 208 209 210 211 212 213 214 | 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | + + + + + | if {[catch { ::tclreadline::readline write \ [::tclreadline::HistoryFileGet] } ::tclreadline::errorMsg]} { puts stderr $::tclreadline::errorMsg } # this call is ignored, if tclreadline.c # was compiled with CLEANUP_AFER_SIGNAL # not defined. This is the case for # older versions of libreadline. # ::tclreadline::readline reset-terminal if [catch "eval ::tclreadline::Exit $args" message] { puts stderr "error:" puts stderr "$message" } # NOTREACHED |
︙ |