removed debug code.
parent
5ce6c5c032
commit
df5c5ed045
4
st.c
4
st.c
|
@ -392,11 +392,9 @@ ttyread(void) {
|
||||||
|
|
||||||
if((ret = read(cmdfd, buf, LEN(buf))) < 0)
|
if((ret = read(cmdfd, buf, LEN(buf))) < 0)
|
||||||
die("Couldn't read from shell: %s\n", SERRNO);
|
die("Couldn't read from shell: %s\n", SERRNO);
|
||||||
else {
|
else
|
||||||
printf("ttyread %d\n", ret);
|
|
||||||
tputs(buf, ret);
|
tputs(buf, ret);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ttywrite(const char *s, size_t n) {
|
ttywrite(const char *s, size_t n) {
|
||||||
|
|
Reference in New Issue