From ae116095ae5ce31b4afa06b64be90d6c9da60d42 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 24 Feb 1996 22:01:18 +0000 Subject: (main): Call ptyio_init if appropriate. --- term/main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'term/main.c') diff --git a/term/main.c b/term/main.c index 1f4057a6..d70510ec 100644 --- a/term/main.c +++ b/term/main.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -130,7 +130,7 @@ main (int argc, char **argv) fprintf (stderr, "Must be started as a translator\n"); exit (1); } - + /* Set our node */ errno = trivfs_startup (bootstrap, 0, ourcntlclass, term_bucket, ourclass, term_bucket, @@ -180,6 +180,9 @@ main (int argc, char **argv) inputq = create_queue (256, 100, 300); rawq = create_queue (256, 100, 300); outputq = create_queue (256, 100, 300); + + if (bottom == &ptyio_bottom) + ptyio_init (); condition_init (&carrier_alert); condition_init (&select_alert); -- cgit v1.2.3