Merge remote-tracking branches 'cgyarvin/nostop' and 'ohaitch/speech-eval'

Abort instead of suspend
No identifier named "speeeeeeeeeeeech"
This commit is contained in:
Raymond Pasco 2015-12-02 19:28:41 -05:00
commit a1c09592b8

View File

@ -371,6 +371,13 @@ report(void)
printf("libuv: %s\n", uv_version_string());
}
void
_stop_exit(c3_i int_i)
{
fprintf(stderr, "\r\n[received keyboard stop signal, exiting]\r\n");
u3_lo_bail();
}
c3_i
main(c3_i argc,
c3_c** argv)
@ -423,6 +430,10 @@ main(c3_i argc,
}
}
// Handle SIGTSTP as if it was SIGTERM.
//
signal(SIGTSTP, _stop_exit);
printf("~\n");
// printf("welcome.\n");
printf("urbit: home is %s\n", u3_Host.dir_c);