aboutsummaryrefslogtreecommitdiffstats
path: root/src/ptty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptty.c')
-rw-r--r--src/ptty.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ptty.c b/src/ptty.c
index b0b247a..e268825 100644
--- a/src/ptty.c
+++ b/src/ptty.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.9 2008/02/23 13:05:58 staffcvs
+ * *** empty log message ***
+ *
* Revision 1.8 2008/02/23 11:48:37 james
* *** empty log message ***
*
@@ -134,12 +137,14 @@ ptty_open (char *path, char *argv[])
pid_t child;
char name[1024];
struct winsize winsize = { 0 };
- struct termios termios;
+ struct termios termios = { 0 };
int fd;
char *default_argv[] = { "-", (char *) 0 };
default_termios (&termios);
+ cfsetispeed (&termios, B9600);
+ cfsetospeed (&termios, B9600);
winsize.ws_row = VT102_ROWS;
winsize.ws_col = VT102_COLS;