hickel@cmu-ri-vi.ARPA (Kelly Hickel) (04/24/85)
Here is a fix to the problem where you cannot type in a space:
<original code>
while(bufp != obufp) {
bufp--;
putstr("\b \b");
}
****** } else if(isprint(c)) { ******
*bufp = c;
bufp[1] = 0;
putstr(bufp);
<new code (starred line)>
while(bufp != obufp) {
bufp--;
putstr("\b \b");
}
***** } else if(isprint(c) || c == ' ') { ****
*bufp = c;
bufp[1] = 0;
putstr(bufp);
Kelly Hickel
ARPA: hickel@cmu-ri-vi.arpa