From b7930c4618f93af20e2d69c366153ebdcddbef97 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 22 Sep 1995 19:41:02 +0000 Subject: (main): Call init_users. Don't initialize output_psize. Set NO_OWNER in initial termflags. --- term/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'term/main.c') 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); -- cgit v1.2.3