chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[sympathy.git]
/
src
/
ptty.c
diff --git
a/src/ptty.c
b/src/ptty.c
index
98f1282
..
b8e77b1
100644
(file)
--- a/
src/ptty.c
+++ b/
src/ptty.c
@@
-10,6
+10,9
@@
static char rcsid[] = "$Id$";
/*
* $Log$
/*
* $Log$
+ * Revision 1.12 2008/02/27 01:31:14 james
+ * *** empty log message ***
+ *
* Revision 1.11 2008/02/26 23:23:17 james
* *** empty log message ***
*
* Revision 1.11 2008/02/26 23:23:17 james
* *** empty log message ***
*
@@
-137,7
+140,7
@@
ptty_write (TTY * _t, void *buf, int len)
}
TTY *
}
TTY *
-ptty_open (char *path, char *argv[])
+ptty_open (char *path, char *argv[]
,int width
)
{
PTTY *t;
pid_t child;
{
PTTY *t;
pid_t child;
@@
-150,7
+153,7
@@
ptty_open (char *path, char *argv[])
client_termios (&ctermios);
winsize.ws_row = VT102_ROWS;
client_termios (&ctermios);
winsize.ws_row = VT102_ROWS;
- winsize.ws_col = VT102_COLS_80;
+ winsize.ws_col =
width ? width:
VT102_COLS_80;
child = forkpty (&fd, name, &ctermios, &winsize);
child = forkpty (&fd, name, &ctermios, &winsize);