diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-09-22 19:41:02 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-09-22 19:41:02 +0000 |
commit | b7930c4618f93af20e2d69c366153ebdcddbef97 (patch) | |
tree | 6d8f856617534dc204512680fa12352dd85ec98c /term/main.c | |
parent | 0b9a470868f15457978dc8bafe105eaca7d318bc (diff) |
(main): Call init_users. Don't initialize output_psize. Set NO_OWNER
in initial termflags.
Diffstat (limited to 'term/main.c')
-rw-r--r-- | term/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/term/main.c b/term/main.c index b1e384c3..1a9aae20 100644 --- a/term/main.c +++ b/term/main.c @@ -67,6 +67,8 @@ main (int argc, char **argv) trivfs_protid_portclasses[0] = tty_class; trivfs_cntl_portclasses[0] = tty_cntl_class; + init_users (); + task_get_bootstrap_port (mach_task_self (), &bootstrap); if (bootstrap == MACH_PORT_NULL) @@ -125,8 +127,7 @@ main (int argc, char **argv) } bzero (&termstate, sizeof (termstate)); - termflags = NO_CARRIER; - output_psize = 0; + termflags = NO_CARRIER | NO_OWNER; mutex_init (&global_lock); inputq = create_queue (256, 100, 300); |