Print this page
8527 tty buffer/queue sizes should be larger

*** 137,148 **** */ static struct module_info pts_info = { 0xface, "pts", 0, ! 512, ! 512, 128 }; static struct qinit ptsrint = { NULL, --- 137,148 ---- */ static struct module_info pts_info = { 0xface, "pts", 0, ! _TTY_BUFSIZ, ! _TTY_BUFSIZ, 128 }; static struct qinit ptsrint = { NULL,
*** 407,417 **** 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_lowat = 256; putnext(rqp, mop); return (0); } --- 407,417 ---- 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 = _TTY_BUFSIZ; sop->so_lowat = 256; putnext(rqp, mop); return (0); }