Initialize tty properly in "gnome-pty-helper" so that e.g. "gnome-terminal"
will work.
This commit is contained in:
parent
311c8109c9
commit
251ce69c8b
2 changed files with 29 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-sum,v 1.5 1999/09/03 07:19:25 rh Exp $
|
||||
$NetBSD: patch-sum,v 1.6 1999/11/01 22:21:24 tron Exp $
|
||||
|
||||
MD5 (patch-aa) = 0e887f8a1c32d1aa0174f817ea9d1cfc
|
||||
MD5 (patch-ab) = 911491cf3e32ffa67008d8d617f24a08
|
||||
|
@ -12,3 +12,4 @@ MD5 (patch-ai) = baca2d5270e60252cf5e9406bd52064d
|
|||
MD5 (patch-aj) = cb5dff8072ddfb84268ddf77453622e4
|
||||
MD5 (patch-ak) = aef962961191617c236950a2e60a289b
|
||||
MD5 (patch-al) = c3b644c6ec492fa08a0f57a203688e8e
|
||||
MD5 (patch-am) = 9080526528d73e464b2edf0ebcea5e5b
|
||||
|
|
27
x11/gnome-libs/patches/patch-am
Normal file
27
x11/gnome-libs/patches/patch-am
Normal file
|
@ -0,0 +1,27 @@
|
|||
$NetBSD: patch-am,v 1.1 1999/11/01 22:21:25 tron Exp $
|
||||
|
||||
--- zvt/gnome-pty-helper.c.orig Mon Sep 27 20:35:40 1999
|
||||
+++ zvt/gnome-pty-helper.c Mon Nov 1 22:50:19 1999
|
||||
@@ -398,13 +398,6 @@
|
||||
#endif
|
||||
;
|
||||
term.c_cflag = 0
|
||||
-#ifdef EXTB
|
||||
- | EXTB
|
||||
-#else
|
||||
-# ifdef B9600
|
||||
- | B9600
|
||||
-# endif
|
||||
-#endif /* EXTB */
|
||||
#ifdef CREAD
|
||||
| CREAD
|
||||
#endif
|
||||
@@ -443,6 +436,8 @@
|
||||
/* should really be a check for c_line, but maybe this is good enough */
|
||||
term.c_line = N_TTY;
|
||||
#endif
|
||||
+ cfsetispeed(&term, B9600);
|
||||
+ cfsetospeed(&term, B9600);
|
||||
|
||||
/* These two may overlap so set them first */
|
||||
term.c_cc[VTIME] = 0;
|
Loading…
Reference in a new issue