Make `--batch-mode' without `--interactive' imply non-interactive.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 16 Apr 2011 00:25:41 +0000 (00:25 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 16 Apr 2011 00:32:33 +0000 (00:32 +0000)
commit6b474c533020ea50fe0b2118027a9cea9318ba13
tree400d59aac6cf5f2f1076aa0d1d2a6e621941e27d
parentb9717273c8ff40fc1c8b5a06acddf7f638e86451
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
src/etc/compile.sh
src/microcode/uxtop.c