vizard@dartvax.UUCP (04/29/87)
<munch...munch>
There is a simple fix to prevent the tty driver from erasing
past the begining of the line. In file 'tty.c', change in the routine
in_char() [around line 3610 in the book]
chuck(tp);
echo(tp,'\b');
echo(tp,' ');
echo(tp,'\b');
return;
to
if (chuck(tp) != -1) {
echo(tp,'\b');
echo(tp,' ');
echo(tp,'\b');
}
return;
In this way, it won't erase if 'chuck' says it shouldn't.
Todd Krein
vizard@dartvax