[OpenBIOS] [commit] r1198 - trunk/openbios-devel/forth/device

repository service svn at openbios.org
Sat Jul 27 15:17:50 CEST 2013


Author: mcayland
Date: Sat Jul 27 15:17:49 2013
New Revision: 1198
URL: http://tracker.coreboot.org/trac/openbios/changeset/1198

Log:
terminal.fs: fix handling of backspace (0x8) control code

Annex B.2 of the IEEE1275 specification mentions that this code moves the
cursor one position to the left on the current line (i.e. it shouldn't
attempt to redraw any characters).

Remove the character redraw code to bring in line with the specification
which also has the side-effect of fixing the spinner used by quik.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>

Modified:
   trunk/openbios-devel/forth/device/terminal.fs

Modified: trunk/openbios-devel/forth/device/terminal.fs
==============================================================================
--- trunk/openbios-devel/forth/device/terminal.fs	Sat Jul 27 15:17:47 2013	(r1197)
+++ trunk/openbios-devel/forth/device/terminal.fs	Sat Jul 27 15:17:49 2013	(r1198)
@@ -240,10 +240,8 @@
   endof
   8 of \ BS
     column# 0<> if
-      column# dup
-      to column#
-      20 draw-character 1-
-      to column#
+      column# 1- to column#
+      toggle-cursor exit
     then
   endof
   9 of \ TAB



More information about the OpenBIOS mailing list