Subject: fdformat output bug
To: None <tech-userlevel@NetBSD.org>
From: Ben Collver <collver1@comcast.net>
List: tech-userlevel
Date: 04/19/2004 16:36:41
/usr/bin/fdformat has an output bug on some terminals.

The program outputs a F to represent a successfully formatted track, then a
\b, then a V to represent a verified good track.  The problem occurs in
xterm and at the wscons/vt100 console, when a character is printed at the
last column of the screen.  The cursor does not advance to the next line.
When the \b is printed, the cursor spaces back to the penultimate column.
The V overwrites the last V, and then the F overwrites the last F.  The
output should go on to the next row, but it doesn't.

This problem has been reported with a fix from Ryo HAYASAKA in
bin/15897.  Does this fix look appropriate?

Thank you,

Ben