patch-1.3.50 linux/drivers/char/console.c

Next file: linux/drivers/net/depca.c
Previous file: linux/drivers/block/rd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.49/linux/drivers/char/console.c linux/drivers/char/console.c
@@ -1874,6 +1874,10 @@
 			if (c == 10 || c == 13)
 				continue;
 		}
+		if (c == 8) {		/* backspace */
+			bs(currcons);
+			continue;
+		}
 		scr_writew((attr << 8) + c, (unsigned short *) pos);
 		if (x == video_num_columns - 1) {
 			need_wrap = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this