okuji
bf88d91883
2002-11-30 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/Makefile.am (man_MANS): Added grub-terminfo.8.
($(srcdir)/grub_terminfo.8): New target.
* utils/grub-terminfo.in: New file.
* util/Makefile.am (sbin_SCRIPTS): Added grub-terminfo.
* configure.in (AC_OUTPUT): Added util/grub-terminfo.
* docs/grub.texi (terminfo): New subsection.
(Invoking grub-terminfo): New chapter.
From Tilmann Bubeck <t.bubeck@reinform.de >:
* stage2/Makefile.am (noinst_HEADERS): Added terminfo.h and
tparm.h.
(libgrub_a_SOURCES): Added terminfo.c and tparm.c.
(pre_stage2_exe_SOURCES): Likewise.
* stage2/terminfo.c: New file.
* stage2/terminfo.h: Likewise.
* stage2/tparm.c: Likewise.
* stage2/tparm.h: Likewise.
* stage2/stage2.c (get_line_from_config): Fix handling of
backslashes.
* stage2/char_io.c (grub_putstr): New function.
(grub_printf): Use grub_putstr.
(substring): Add const into both arguments.
* stage2/builtins.c [SUPPORT_SERIAL]: Include terminfo.h.
[SUPPORT_SERIAL] (terminfo_func): New function.
[SUPPORT_SERIAL] (builtin_terminfo): New variable.
(builtin_table) [SUPPORT_SERIAL]: Added a pointer to
BUILTIN_TERMINFO.
* stage2/serial.c (serial_gotoxy): Use ti_cursor_address.
(serial_cls): Use ti_clear_screen.
(serial_highlight): use ti_enter_standout_mode and
ti_exit_standout_mode.
2002-11-29 20:39:24 +00:00
okuji
2369202e83
2002-06-12 Yoshinori K. Okuji <okuji@enbug.org>
...
The terminal handling code is rewritten radically.
* stage2/console.c: New file.
* stage2/term.h: Likewise.
* stage2/Makefile.am (noinst_HEADERS): Added term.h.
(libgrub_a_SOURCES): Added serial.c.
(pre_stage2_exec_SOURCES): Added console.c.
* stage2/asm.S (console_putchar): Rewritten from scratch.
[!STAGE1_5] (translation_table): New variable.
[!STAGE1_5] (translate_keycode): New function.
[!STAGE1_5] (console_getkey): Call translate_keycode.
[!STAGE1_5] (console_checkkey): Likewise.
[!STAGE1_5] (nocursor): Renamed to ...
[!STAGE1_5] (console_nocursor): ... this.
[!STAGE1_5] (console_set_attrib): Removed.
* stage2/builtins.c: Include term.h.
(terminal): Removed.
(normal_color): Likewise.
(highlight_color): Likewise.
(cat_func): Display a question mark when a non-printable
character was read.
(terminal_func): Rewritten almost from scratch.
* stage2/char_io.c: Include term.h.
[!STAGE1_5] (auto_fill): Removed.
[!STAGE1_5] (term_table): New variable.
[!STAGE1_5] (current_term): Likewise.
[!STAGE1_5] (real_get_cmdline): New function. The code was
stolen from the previous version of get_cmdline.
[!STAGE1_5] (get_cmdline): Rewritten from scratch.
[!STAGE1_5] (translate_keycode): Removed.
[!STAGE1_5] (getkey): Rewritten from scratch.
[!STAGE1_5] (checkkey): Likewise.
(grub_putchar): Likewise.
[!STAGE1_5] (gotoxy): Likewise.
[!STAGE1_5] (getxy): Likewise.
[!STAGE1_5] (cls): Likewise.
[!STAGE1_5] (nocursor): New function.
[SUPPORT_SERIAL] (serial_getxy): Removed.
[SUPPORT_SERIAL] (serial_gotoxy): Likewise.
[SUPPORT_SERIAL] (serial_cls): Likewise.
[SUPPORT_SERIAL] (serial_getxy): Likewise.
[!STAGE1_5] (set_attrib): Likewise.
* stage2/cmdline.c (init_cmdline): Set COUNT_LINES to -1.
* stage2/common.c [!STAGE1_5] (err_list): Removed
ERR_NEED_SERIAL and added ERR_DEV_NEED_INIT.
* stage2/hercules.c: Rewritten almost from scratch.
* stage2/hercules.h (herc_putchar): Removed.
(herc_cls): Likewise.
(herc_getxy): Likewise.
(herc_gotoxy): Likewise.
(herc_set_attrib): Likewise.
* stage2/serial.c: Rewritten almost from scratch.
* stage2/serial.h: Likewise.
* stage2/shared.h [GRUB_UTIL] (DISP_UL): Set to the same value
as VGA's.
[GRUB_UTIL] (DISP_UR): Likewise.
[GRUB_UTIL] (DISP_LL): Likewise.
[GRUB_UTIL] (DISP_LR): Likewise.
[GRUB_UTIL] (DISP_HORIZ): Likewise.
[GRUB_UTIL] (DISP_VERT): Likewise.
[GRUB_UTIL] (DISP_LEFT): Likewise.
[GRUB_UTIL] (DISP_RIGHT): Likewise.
[GRUB_UTIL] (DISP_UP): Likewise.
[GRUB_UTIL] (DISP_DOWN): Likewise.
(grub_error_t): Removed ERR_NEED_SERIAL.
Added ERR_DEV_NEED_INIT.
(normal_color): Removed.
(highlight_color): Likewise.
(console_cls): Removed, because this is declared in term.h.
(console_getxy): Likewise.
(console_gotoxy): Likewise.
(console_putchar): Likewise.
(console_getkey): Likewise.
(console_checkkey): Likewise.
(console_set_attrib): Removed.
(set_attrib): Likewise.
[GRUB_UTIL] (nocursor): Declared.
(auto_fill): Removed.
(terminal): Likewise.
(TERMINAL_CONSOLE): Likewise.
(TERMINAL_SERIAL): Likewise.
(TERMINAL_HERCULES): Likewise.
(TERMINAL_DUMB): Likewise.
(translate_keycode): Likewise.
* stage2/stage2.c: Include term.h.
(print_entry): Rewritten from scratch.
(print_entries): Likewise.
(print_border): Likewise.
(set_line): Removed.
(set_line_normal): Likewise.
(set_line_highlight): Likewise.
* grub/Makefile.am (AM_CFLAGS): Added -DSUPPORT_HERCULES=1.
* grub/asmstub.c: Don't include hercules.h. Include term.h.
(console_current_color): New variable.
(console_translate_key): New function.
(console_checkkey): Rewritten from scratch.
(console_getkey): Likewise.
(console_putchar): Likewise.
(console_set_attrib): Removed.
(console_highlight): New function.
(console_setcolor): Likewise.
(console_nocursor): Likewise.
(serial_getkey): Removed.
(serial_checkkey): Likewise.
(serial_putchar): Likewise.
(serial_exists): Likewise.
(serial_get_port): Likewise.
(serial_init): Likewise.
(serial_hw_fetch): New function.
(serial_hw_put): Likewise.
(serial_hw_delay): Likewise.
(serial_hw_get_port): Likewise.
(serial_hw_init): Likewise.
(set_serial_device): Renamed to ...
(serial_set_device): ... this.
(herc_putchar): Renamed to ...
(hercules_putchar): ... this.
(herc_cls): Renamed to ...
(hercules_cls): ... this.
(herc_getxy): Renamed to ...
(hercules_getxy): ... this.
(herc_gotoxy): Renamed to ...
(hercules_gotoxy): ... this.
(hercules_highlight): New function.
(hercules_setcolor): Likewise.
(hercules_nocursor): Likewise.
(herc_set_attrib): Removed.
* grub/main.c: Include term.h.
(main): If USE_CURSES is false, set CURRENT_TERM->FLAGS to
TERM_NO_EDIT | TERM_DUMB. TERMINAL is not used any longer.
2002-06-11 16:36:54 +00:00
jthomas
60ea787e84
Fixed typo in Makefile.am which left out xfs, md5cyrpt, serial support and hercules support
2002-02-04 04:55:48 +00:00
okuji
d619861976
JFS and XFS support is added.
2001-10-27 16:04:25 +00:00
gord
e5fd53e574
Update to Automake 1.5
2001-10-15 04:49:50 +00:00
jochen
cd403b1f05
* stage2/Makefile.am (libgrub_a_CFLAGS): Enable USE_MD5_PASSWORDS
...
for libgrub. Previously that was implicitly done by configure.in
until the patch from 2001-07-04, which moved that flag from CFLAGS
to FSYS_CFLAGS. Reported by YAMAGUCHI Shingo
<shingo@kip.iis.toyama-u.ac.jp >
2001-07-26 13:24:15 +00:00
okuji
60415d246c
Use automake-1.4h instead of our own version. Some required changes are made.
2001-07-04 07:33:48 +00:00
okuji
2f97c78528
Add VSTa filesystem support.
2001-06-22 02:32:56 +00:00
okuji
e85272f436
add hercules support.
2001-02-27 12:59:00 +00:00
okuji
1f2d29244a
add apm support.
2000-10-19 21:10:42 +00:00
okuji
6664288bbc
segregate grub_setjmp and grub_longjmp to another file.
2000-10-19 18:24:28 +00:00
okuji
9790818856
add stage2/md5.h into the distribution.
2000-10-17 20:10:16 +00:00
jochen
2315cb466c
Added MD5 passwords and extended the password command.
2000-10-17 13:37:27 +00:00
okuji
2455b65f2e
add console emulation into serial terminal support using vt100-compatible escape sequences, add --enable-serial into configure, and fix some bugs in the support.
2000-08-20 12:14:14 +00:00
okuji
4e0e3cc8af
fix a violation against the network boot image proposal.
2000-08-15 10:08:21 +00:00
okuji
fbd0ada4bb
add a serial device driver. serial console support is not implemented yet.
2000-08-11 20:38:56 +00:00
okuji
fa003769c5
fix a gcc warning in builtins.c.
2000-07-12 06:28:07 +00:00
okuji
3899310dca
leave the vga option for Linux, remove unnecessary compile scripts and add a really necessary compile script into the top dir.
2000-06-17 03:44:43 +00:00
okuji
bec90507d7
add a prefix * into each ljmp/lcall operand only if GAS supports it.
2000-05-31 02:15:13 +00:00
okuji
f85b90abd2
add diskless support.
2000-05-27 07:40:53 +00:00
okuji
3792b0a01e
add reiserfs support.
2000-04-15 13:39:38 +00:00
okuji
4e418f40bc
Update the build environment. You need the latest CVS version of Automake.
2000-03-27 07:57:31 +00:00
okuji
098d98d047
doc updates.
2000-02-26 08:48:49 +00:00
okuji
85c66cb4c8
add long filename support into FAT, fix a typo in configure.
2000-02-18 04:34:42 +00:00
okuji
899a275d55
add some new commands to the stage2 for the network support.
2000-02-09 21:14:33 +00:00
okuji
9fe0449a36
heavily rewrite the netboot support.
2000-02-07 06:26:45 +00:00
okuji
2745c43fd4
skip CD-ROMs, avoid an automake bug, make sure that LBA read/write are supported, increase the number of devices to be probed.
1999-12-29 01:27:35 +00:00
okuji
1f9a7e6efc
fix many bugs in grub-install.
1999-11-19 07:55:46 +00:00
okuji
ca0ad141b6
add grub-install.
1999-11-18 06:00:32 +00:00
okuji
c95941d65d
fix several bugs.
1999-11-11 20:43:20 +00:00
gord
a3d2f9bee9
Merge back Debian changes.
1999-11-08 17:19:38 +00:00
okuji
8d19545f6b
add an experimental version of setup and embed.
1999-10-13 02:45:01 +00:00
okuji
3764236446
now stage1 supports both LBA and CHS.
1999-10-12 07:36:23 +00:00
okuji
bd47df86dc
add --with-binutils into configure.
1999-10-08 00:34:30 +00:00
okuji
adadc62ff3
move some source files in the directory grub into the new directory lib.
1999-09-30 12:13:55 +00:00
okuji
be514997d2
add netboot support.
1999-09-14 06:55:57 +00:00
okuji
694616c180
modify the implement of the maintainer mode.
1999-09-13 13:32:31 +00:00
okuji
8d969f6798
fix some curses problems and improve the configure script.
1999-09-13 04:31:52 +00:00
okuji
6608e1b9e2
The internal of the command handling is heavily modified, and a new command help is added.
1999-09-05 05:54:33 +00:00
okuji
83b3d5eee0
add hide and unhide commands. add additional minix fs support. some code cleanups.
1999-08-29 16:23:12 +00:00
okuji
434d8607cc
add minix fs support. use the name "the grub shell" instead of "the stage2 emulator".
1999-08-26 09:42:57 +00:00
okuji
25de0c4bba
new options, --disable-ext2fs, --disable-fat and --disable-ffs
1999-08-13 14:52:37 +00:00
okuji
c19c1a588f
added getopt source files
1999-07-30 17:02:52 +00:00
okuji
5cbce8e5a6
do not include smp-imps.c but link smp-imps.o instead.
1999-07-15 11:22:19 +00:00
okuji
95dfefd185
fix a bug in stage1_lba, and move all the constants in stage1 to stage1.h
1999-07-13 15:46:28 +00:00
okuji
6336679de2
fix a potential problem in configure and fix the function chain_stage2
1999-06-27 07:32:43 +00:00
okuji
9350d46a2a
build process is cleaned up
1999-06-24 00:03:29 +00:00
okuji
a0ca5d0c06
/sbin/grub is always built and grub.8 is produced automatically
1999-06-23 00:00:54 +00:00
okuji
d3b0391801
fix a dist bug
1999-06-21 17:42:31 +00:00
okuji
0d6c15713b
The debug version of Stage 2 is removed
1999-06-06 01:40:59 +00:00