diff options
author | Miles Bader <miles@gnu.org> | 1996-02-24 22:01:18 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-02-24 22:01:18 +0000 |
commit | ae116095ae5ce31b4afa06b64be90d6c9da60d42 (patch) | |
tree | c8eeeee19a647624e1414f13fd133d6ee27638dd /term | |
parent | bfaa14615fa880f744a9167d0a626505e8d37b10 (diff) |
(main): Call ptyio_init if appropriate.
Diffstat (limited to 'term')
-rw-r--r-- | term/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
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); |