From 6b474c533020ea50fe0b2118027a9cea9318ba13 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 16 Apr 2011 00:25:41 +0000 Subject: [PATCH] Make `--batch-mode' without `--interactive' imply non-interactive. In this case, don't check whether stdin/stdout/stderr are ttys to determine whether we are interactive. This keeps `scheme --batch-mode' from futzing with the tty interrupt characters, so that if you run it from a script, there is no window during which ^G becomes the terminal's interrupt character and ^C its quit character. E.g., if you have set `stty intr ^C', then Scheme won't interfere with that while you run your script. --- src/etc/build-bands.sh | 2 +- src/etc/compile.sh | 2 +- src/microcode/uxtop.c | 14 +++++++++----- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/etc/build-bands.sh b/src/etc/build-bands.sh index d9fa10c3e..7aca80ba6 100755 --- a/src/etc/build-bands.sh +++ b/src/etc/build-bands.sh @@ -29,7 +29,7 @@ set -e FASL=`get_fasl_file` run_cmd_in_dir runtime ../microcode/scheme --library ../lib --heap 6000 \ - --fasl "${FASL}" <