summaryrefslogtreecommitdiff
path: root/term/main.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-12 18:53:38 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-12 18:53:38 +0000
commit53cb8351b74b52fe52f1d2cab350dde7ce38c103 (patch)
tree637fe8b01068b2170eb6992b6d8e3df2bf6b2a89 /term/main.c
parent84bf3a642c73110625f454ca99cf071d3cb5c3bf (diff)
(main): Set BOTTOM.
Diffstat (limited to 'term/main.c')
-rw-r--r--term/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/term/main.c b/term/main.c
index 886b6c64..0d5c7926 100644
--- a/term/main.c
+++ b/term/main.c
@@ -90,6 +90,7 @@ main (int argc, char **argv)
if (!strcmp (argv[2], "device"))
{
type = T_DEVICE;
+ bottom = &devio_bottom;
ourclass = tty_class;
ourcntlclass = tty_cntl_class;
ourcntl = &termctl;
@@ -101,6 +102,7 @@ main (int argc, char **argv)
else if (!strcmp (argv[2], "pty-master"))
{
type = T_PTYMASTER;
+ bottom = &ptyio_botom;
ourclass = pty_class;
ourcntlclass = pty_cntl_class;
ourcntl = &ptyctl;
@@ -111,6 +113,7 @@ main (int argc, char **argv)
else if (!strcmp (argv[2], "pty-slave"))
{
type = T_PTYSLAVE;
+ bottom = &ptyio_bottom;
ourclass = tty_class;
ourcntlclass = tty_cntl_class;
ourcntl = &termctl;