2002-01-20 Yoshinori K. Okuji <okuji@gnu.org>

* grub/asmstub.c (console_putchar): When not using curses,
	ignore a carriage return, because a newline in Unix is only a
	line feed.
This commit is contained in:
okuji 2002-01-19 19:05:43 +00:00
parent 4388810ef9
commit 278681dc7b
2 changed files with 18 additions and 7 deletions

View file

@ -1,15 +1,22 @@
2002-01-20 Yoshinori K. Okuji <okuji@gnu.org>
* grub/asmstub.c (console_putchar): When not using curses,
ignore a carriage return, because a newline in Unix is only a
line feed.
2002-01-18 Klaus Reichl <Klaus.Reichl@alcatel.at>
* stage2/fsys_minix.c (minix_dir): Fixed bug getting filenames
with MAXNAMELEN right.
* stage2/char_io.c (get_cmdline, cl_refresh): If TERMINAL_DUMB
section is always 0.
Line is only cleared if !TERMINAL_DUMB.
* stage2/char_io.c (get_cmdline, cl_refresh): If TERMINAL_DUMB
section is always 0.
Line is only cleared if !TERMINAL_DUMB.
* grub/main.c (use_curses): Initialize to 0 if !HAVE_LIBCURSES
(main): Check for curses use and set terminal to dumb if we don't
use it (helps for --batch and variants of non-curses setup).
* grub/main.c (use_curses): Initialize to 0 if !HAVE_LIBCURSES
(main): Check for curses use and set terminal to dumb if we
don't use it (helps for --batch and variants of non-curses
setup).
2002-01-15 Yoshinori K. Okuji <okuji@gnu.org>

View file

@ -572,7 +572,11 @@ console_putchar (int c)
}
else
#endif
putchar (c);
{
/* CR is not used in Unix. */
if (c != '\r')
putchar (c);
}
}