1
0
mirror of https://github.com/aap/pdp6.git synced 2026-01-28 21:01:50 +00:00

better debugging tracing; fixed bug related to keys

This commit is contained in:
aap
2016-10-05 19:06:47 +02:00
parent 01be323fad
commit 2a67b180a8
10 changed files with 748 additions and 191 deletions

1
tty.c
View File

@@ -65,6 +65,7 @@ ttythread(void *arg)
printf("TTY attached\n");
tty.fd = newsockfd;
while(n = read(tty.fd, &buf, 1), n > 0){
fprintf(stderr, "(got.%c)", buf);
tty.tti = buf|0200;
tty.tti_flag = 1;
recalc_tty_req();