An off-by-one error meant that the first character from the next page was
always appended at the end of each page. And, in the case of the last page,
the contents of random memory would be displayed.
This patch also fixes some formatting issues with escaped characters,
makes the screen clear properly at initialisation and allows the decimal-
separator HAL parameter to actually work properly.
Signed-off-by: andy pugh <andy@bodgesoc.org>
groff treats '-' (the character you get when you hit the "minus" key on
the keyboard) as "hyphen", not as "minus". Thus it renders incorrectly
in some locales, and line-wraps strangely.
groff treats the two-character sequence "\-" as "minus", and the
four-character sequence "\(hy" as "hyphen".
Details here: https://lists.debian.org/debian-devel/2003/03/msg01481.html
This commit replaces every instance of "-" in our manpages where the
meaning is "minus" with "\-", so it works right.
This fixes many lintian warnings.
If no format length was specified then the formatting would break for any value with a zero in its representation.
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
Fix some bugs in the lcd component
Signed-off-by: Andy Pugh <andy@bodgesoc.org>