Don't setsid Scheme.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 2 Jun 2013 15:33:41 +0000 (15:33 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sun, 2 Jun 2013 15:33:43 +0000 (15:33 +0000)
commit69708975b718e202dd85c42cefe948747bfbd006
treed4e6fe19b1edecbf0a4258dc3f8c547c84219d28
parent78d42fabf21ab81ddf2cec96e33894bfa18b42fd
Don't setsid Scheme.

If you want to detach from the controlling terminal, use a trivial
wrapper program that calls setsid and then exec (e.g., pgrphack from
daemontools), or add a primitive to Scheme to daemonize without race
conditions.

Hitting ^C at the terminal now works to interrupt Scheme in batch
mode, e.g. when run under make during the build.
src/microcode/uxtop.c