[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MIT-Scheme-devel] tty interrupt characters
From: |
Joe Marshall |
Subject: |
Re: [MIT-Scheme-devel] tty interrupt characters |
Date: |
Mon, 11 Apr 2011 09:50:16 -0700 |
Sounds reasonable to me.
On Sun, Apr 10, 2011 at 5:46 PM, Taylor R Campbell <address@hidden> wrote:
> When I use Scheme in batch mode, e.g. from `make' or shell scripts,
> it's confusing that the tty interrupt characters change for a non-
> interactive program: since my terminal is set up to deliver SIGINT on
> ^C, I expect ^C to interrupt the foreground process group -- not make
> everything dump core and leave temporary files lying around, which is
> what happens (as intended) when the process group receives SIGQUIT.
>
> I could change the microcode not to set up the tty interrupt
> characters by default, and have Edwin, and perhaps the REPL, do it
> explicitly so that ^G does the right thing in Edwin.
>
> I could change the logic in uxtop.c to decide that --batch-mode
> without --interactive implies non-interactive, irrespective of whether
> any of stdin, stdout, or stderr is a tty.
>
> Opinions?
>
> _______________________________________________
> MIT-Scheme-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/mit-scheme-devel
>
--
~jrm