Age | Commit message (Collapse) | Author |
|
* Fix spelling with codespell[1] and manually review it.
[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
|
|
* Makefile (SRCS): Add `trans.c'.
(LCLHDRS): Add `mach-inputdev.h'.
(HURDLIBS): Add `netfs', `fshelp' and `iohelp'.
(modules): Add `pc_mouse'.
(pc_kbd.so.$(hurd-version)): Add `kdioctlServer.o' and
`kbd-repeat.c'.
(pc_mouse.so.$(hurd-version)): New variable.
* console.c: Include <trans.h>.
(DEFAULT_CONSOLE_NODE): New macro.
(saved_id, saved_cons, consnode_path): New variables.
(console_move_mouse): New function.
(console_switch_away): New function.
(console_switch_back): Likewise.
(cons_vcons_set_mousecursor_pos): Likewise.
(cons_vcons_set_mousecursor_status): Likewise.
(options): Add the option `--console-node'.
(parse_opt): Parse the options that were added to `options'.
(main): Setup the console client translator node.
* display.h (display_ops): New members `set_mousecursor_pos' and
`set_mousecursor_status'.
* driver.c (driver_start): Change the type of `i' to `unsigned
int'.
* driver.h (driver_ops): New members `save_status' and
`restore_status'.
* input.h (console_switch_away): New prototype.
(console_switch_back): Likewise.
(console_move_mouse): Likewise.
* kbd-repeat.c: New file.
* mach-inputdev.h: Likewise.
* pc-mouse.c: Likewise.
* trans.c: Likewise.
* trans.h: Likewise.
* pc-kbd.c: Include <argp.h> and "mach-inputdev.h".
(DEFAULT_REPEATER_NODE): New macro.
(repeater_node, cnode): New variables.
(kev_type, mouse_motion, Scancode, m_deltaX, m_deltaY, MOUSE_LEFT)
(MOUSE_MIDDLE, MOUSE_RIGHT, MOUSE_MOTION, KEYBD_EVENT)
(IOCPARM_MASK, IOC_OUT, IOC_IN, _IOC, _IOR, _IOW, KDSKBDMODE,
(KB_EVENT, KB_ASCII, KDGKBDTYPE, KB_VANILLAKB, KDSETLEDS):
Removed.
(gnumach_v1_input_next): Call the repeater when repeating is
active.
(doc, options, argp): New variables.
(parse_opt): New function.
(pc_kbd_init): Function rewritten.
(pc_kbd_start): Initialize the repeater, when it is active.
(pc_kbd_fini): Destroy the console node.
* vga.c (vga_mousecursor): New struct.
(vga_mousecursor_t): New type.
(mousecursor): New variable.
(hide_mousecursor): New function.
(draw_mousecursor): Likewise.
(vga_display_restore_status): Likewise.
(vga_display_update): Likewise.
(vga_set_mousecursor_pos): Likewise.
(vga_set_mousecursor_status): Likewise.
(vga_display_scroll): Update the mousecursor state.
(driver_vga_ops): Add `vga_display_restore_status'.
(vga_display_op): Add `vga_display_update', `vga_set_mousecursor_pos'
and `vga_set_mousecursor_status'.
|
|
* pc-kbd.c (input_loop): Make the left shift key behave the same
as right shift key with regards to page up/down.
|
|
* pc-kbd.c (KDSETLEDS): New macro.
(update_leds): Add support for setting the keyboard LED state on
GNUMach 1.x (> 1.3).
(input_loop): Use size_t for `nr' instead of int to silence a gcc
warning.
|
|
* pc-kbd.c (sc_set1_to_set2): Map the set2 scancodes for F11 and
F12 properly on the set1 scancodes for F11 and F12.
|
|
* pc-kbd.c (IS_FUNC_KEY): Fix last change.
|
|
* pc-kbd.c (IS_FUNC_KEY): New macro.
(input_loop): Replaced code for set1 for console switching by set2
code. Also accept F11 and F12.
|
|
* console.c (main): Pass ERR to error invocation.
* generic-speaker.c (generic_spaker_beep): Use currently active
beep's next pointer, instead index 0.
* pc-kbd.c: New global variables led_state and gnumach_v1_compat.
(enum scancode): Change to set 2 encoding.
(enum scancode_x1): Likewise.
(enum scancode_x2): New type.
(sc_to_kc): Change to set 2 encoding.
(sc_x1_to_kc): Likewise.
(sc_set1_to_set2): New variable.
(sc_set1_to_set2_x1): Likewise.
(gnumach_v1_input_next): New function.
(update_leds): Likewise.
(input_next): Likewise.
(input_loop): Use input_next or gnumach_v1_input_next to read next
key code.
(pc_kbd_start): Add support for current GNU Mach @>=kbd interface.
Call update_leds and toggle led_state.
(pc_kbd_fini): Add support for current GNU Mach.
(pc_kbd_set_scroll_lock_status): Toggle led_state and call
update_leds.
* vga-support.c (vga_init): Add support for current GNU Mach's I/O
permission bitmap handling and its mem device.
|
|
* pc-kbd.c (sc_to_kc): Implement Meta-Backspace combinations.
|
|
* ncursesw.c: Add an entry for the clear function.
* pc-kbd.c (sv_to_kc): Add entries for unused scan codes 0x55 and
0x56.
|
|
* pc-kbd.c (input_loop): Move code that toggles NumLock after code
that handles direct entry of character codes with RightAlt.
|
|
* Makefile (prog-subdirs): Add console-client.
sutils/
2002-09-17 Marcus Brinkmann <marcus@gnu.org>
* MAKEDEV.sh (mkdev: vcs): New console device.
(mkdev: tty[0-9a-f]|tty[0-9][0-9a-f]): Replaced with new rules for
tty[1-9][0-9].
utils/
2002-09-17 Marcus Brinkmann <marcus@gnu.org>
* console-ncurses.c: File removed (the ncursesw console client is
now a driver in the console-client).
* Makefile: Revert 2002-08-22 change:
Do not include`../config.make'.
(targets) [LIBNCURSES]: Removed.
(SRCS) [LIBNCURSES]: Likewise.
(HURDLIBS) [LIBNCURSES]: Likewise.
(console-ncurses): Target removed.
(console-ncurses-CPPFLAGS): Removed.
(console-ncurses-LDLIBS): Likewise.
console-client/
2002-09-17 Marcus Brinkmann <marcus@gnu.org>
* Makefile, bdf.c, bdf.h, bell.h, console.c, display.h, driver.c,
driver.h, generic-speaker.c, input.h, pc-kbd.c, timer.c, timer.h,
unicode.h, vga.c, vga-dynacolor.c, vga-dynacolor.h, vga-dynafont.c,
vga-dynafont.h, vga-hw.h, vga-support.c, vga-support.h: New file.
|