add console emulation into serial terminal support using vt100-compatible escape sequences, add --enable-serial into configure, and fix some bugs in the support.

This commit is contained in:
okuji committed 2000-08-20 12:14:14 +00:00
1 parent 7d54a86a52
commit 2455b65f2e
16 files changed
+485 -144

No files matched your search

+9
View File
@@ -639,6 +639,9 @@ int currticks (void);
/* Clear the screen. */
void cls (void);
/* The console part of cls. */
void console_cls (void);
#ifndef GRUB_UTIL
/* Turn off cursor. */
void nocursor (void);
@@ -649,9 +652,15 @@ void nocursor (void);
(RET & 0xff) is y. */
int getxy (void);
/* The console part of getxy. */
int console_getxy (void);
/* Set the cursor position. */
void gotoxy (int x, int y);
/* The console part of gotoxy. */
void console_gotoxy (int x, int y);
/* Displays an ASCII character. IBM displays will translate some
characters to special graphical ones (see the DISP_* constants). */
void grub_putchar (int c);