Flush stderr after printing prompt
Remove typdefs
Fix job control * Don't set SIGCHLD to SIG_DFL, otherwise we can't retrieve child process information * Make sure fg and bg have a job to operate on * Fix inverted foreground flag when calling launch_job
First commit