aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-01 22:27:15 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-01 22:27:15 +1000
commite95effb043c5e082e53db814088190f7152993f2 (patch)
tree1247cd12f5fe758a14896b2b2c47e677f7fc0246 /proc.h
parent7a1a5a6f015f7e6e8b745b3efc1b4281a063d931 (diff)
Readd the terminal flag for jobs, as not all jobs under job control should be given the terminal.
darcs-hash:20060201122715-ac50b-7efc499e8905e9898c214816d0a3468e077c7005.gz
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proc.h b/proc.h
index a0cba675..a6825331 100644
--- a/proc.h
+++ b/proc.h
@@ -166,6 +166,9 @@ typedef struct job
/** Whether the job is under job control */
int job_control;
+ /** Whether the job wants to own the terminal when in the foreground */
+ int terminal;
+
/** Pointer to the next job */
struct job *next;
}