Messages in this thread Patch in this message | | | Date | Sat, 15 May 1999 12:29:41 +0000 | From | Marko Macek <> | Subject | PATCH: /dev/vcs devices cursor positioning problem (x,y) >= 128 |
| |
Hi!
/dev/vcs* devices can't position the cursor to coordinates >= 128. The patch should probably be applied to 2.0, 2.2 and 2.3 kernels. (Patch tested on 2.2.9, but 2.0.35 in redhat 5.2 has the same problem).
--- cut-here --- linux/drivers/char/console.c.old Thu May 13 18:21:11 1999 +++ linux/drivers/char/console.c Thu May 13 18:20:57 1999 @@ -2784,7 +2784,7 @@ void putconsxy(int currcons, char *p) { - gotoxy(currcons, p[0], p[1]); + gotoxy(currcons, (unsigned char)p[0], (unsigned char)p[1]); set_cursor(currcons); } --- cut-here Thanks to Martin Frydl for spotting the bug.
MArk -- ... GUI: WPS. ------------------------------------------------------------------------ Marko.Macek@gmx.net http://www.kiss.uni-lj.si/~k4fr0235/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |