vt: increase buffer size
This patch increases the buffer sizes in vt(1) to reduce the latency from the roundtrip between terminal and cpu server.
This commit is contained in:
parent
e614e819e3
commit
0aa0096066
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ struct Consstate{
|
|||
extern Consstate cs[];
|
||||
|
||||
#define INSET 2
|
||||
#define BUFS 32
|
||||
#define BUFS 256
|
||||
#define HISTSIZ (64*1024) /* number of history characters */
|
||||
#define BSIZE (8*1024)
|
||||
|
||||
|
|
|
@ -311,7 +311,7 @@ threadmain(int argc, char **argv)
|
|||
sysfatal("initkeyboard failed: %r");
|
||||
|
||||
hc[0] = chancreate(sizeof(char*), 256); /* input to host */
|
||||
hc[1] = chancreate(sizeof(Rune*), 8); /* output from host */
|
||||
hc[1] = chancreate(sizeof(Rune*), 256); /* output from host */
|
||||
|
||||
cs->raw = rflag;
|
||||
|
||||
|
|
Loading…
Reference in a new issue