Print this page
8527 tty buffer/queue sizes should be larger
@@ -137,12 +137,12 @@
*/
static struct module_info pts_info = {
0xface,
"pts",
0,
- 512,
- 512,
+ _TTY_BUFSIZ,
+ _TTY_BUFSIZ,
128
};
static struct qinit ptsrint = {
NULL,
@@ -407,11 +407,11 @@
mop->b_datap->db_type = M_SETOPTS;
mop->b_wptr += sizeof (struct stroptions);
sop = (struct stroptions *)mop->b_rptr;
sop->so_flags = SO_HIWAT | SO_LOWAT | SO_ISTTY;
- sop->so_hiwat = 512;
+ sop->so_hiwat = _TTY_BUFSIZ;
sop->so_lowat = 256;
putnext(rqp, mop);
return (0);
}