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
32235c2e41
commit
5eda53a050
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ struct Consstate{
|
||||||
extern Consstate cs[];
|
extern Consstate cs[];
|
||||||
|
|
||||||
#define INSET 2
|
#define INSET 2
|
||||||
#define BUFS 32
|
#define BUFS 256
|
||||||
#define HISTSIZ (64*1024) /* number of history characters */
|
#define HISTSIZ (64*1024) /* number of history characters */
|
||||||
#define BSIZE (8*1024)
|
#define BSIZE (8*1024)
|
||||||
|
|
||||||
|
|
|
@ -311,7 +311,7 @@ threadmain(int argc, char **argv)
|
||||||
sysfatal("initkeyboard failed: %r");
|
sysfatal("initkeyboard failed: %r");
|
||||||
|
|
||||||
hc[0] = chancreate(sizeof(char*), 256); /* input to host */
|
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;
|
cs->raw = rflag;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue