summaryrefslogtreecommitdiff
path: root/console-client
AgeCommit message (Collapse)Author
2011-04-08Avoid hashing garbage for short keynames.Diego Nieto Cid
2011-04-08Rule vmod returns an int with the vmod's bit on.Diego Nieto Cid
This allows to combine virtual modifiers safely.
2011-04-08Recreate xkb/keymap/hurd from xkeyboard-config-1.8's xfree86 keymap.Diego Nieto Cid
modified: xkb/keymap/hurd * Don't include inexistant symbol file: pc104. * en_US was replaced by pc(pc105). * Append us layout by default as pc(pc105) no longer describes a full keyboard.
2011-04-08Update key type assigment routine.Diego Nieto Cid
2011-04-08Skip to main file's default section when needed.Diego Nieto Cid
2011-04-08Lexer support for keycodes with +/- symbols and arbitrary level numbers.Diego Nieto Cid
2011-04-08debian patch: 04_cleanups.patchDiego Nieto Cid
2011-04-08debian patch: 03_hurd_keymap.patchDiego Nieto Cid
2011-04-08Install XKB data files.Diego Nieto Cid
* console-client/Makefile (XKB_DATA_DIR, XKB_DATA_FILES): New variables. (DIST_FILES): Use XKB_DATA_FILES to list data files. (pc-kbd-CFLAGS): Use XKB_DATA_DIR variable. (intall): Add XKB data files to it's dependencies. ($(XKB_DATA_DIR), $(XKB_DATA_DIR)/%): New targets.
2011-04-08Translate scancodes using XKB.Diego Nieto Cid
* console-client/Makefile (pc-kbd-CFLAGS): New variable. (PC_KBD_SO_SRCS): Add sources from xkb directory. (LCLHDRS): Add includes from xkb directory. (lex.c, parser.tab.h): New targets. (VPATH): New variable. (CPPFLAGS): Add xkb directory to include search path. (LFLAGS, YFLAGS): New variables. (DIST_FILES): New variable. * console-client/pc-kbd.c [XKB_SUPPORT]: Include xkb/xkb.h. (cd): Removed static qualifier. [XKB_SUPPORT] (ctrlaltbs): New variable. [XKB_SUPPORT] (xkb_repeat_delay, xkb_repeat_interval): Likewise. (gnumach_v1_input_next) [XKB_SUPPORT]: Skip conversion to set 2. [XKB_SUPPORT] (read_keycode): New function. [XKB_SUPPORT] (input_loop): Pass keycode to xkb_input_key. (struct arguments): New type. (options) [XKB_SUPPORT]: New options xkbdir, keymapfile, keymap compose, ctrlaltbs, no-ctrlaltbs, repeat-delay and repeat-interval. (parse_opt) [XKB_SUPPORT]: Handle new options. (pc_kbd_init) [XKB_SUPPORT]: Initialize XKB and load layout. (pc_kbd_start) [XKB_SUPPORT]: Initialize xkb timers.
2011-04-04Add missing semicolons bison was inserting.Diego Nieto Cid
* console-client/xkb/parser.y: Add semicolons where needed.
2011-04-04Add type to $$ in mid-rules.Diego Nieto Cid
(see http://www.mail-archive.com/help-bison@gnu.org/msg02159.html )
2011-04-04debian patch: 06_gcc-4.1_fix.patchDiego Nieto Cid
2011-04-04Use external encoding converter.Diego Nieto Cid
* console-client/xkb/xkb.c (cd): Change storage class to extern.
2011-04-04Export function to load the keaboard layout.Diego Nieto Cid
* console-client/xkb/xkb.c (xkb_load_layout): New function. * console-client/xkb/xkb.h (xkb_load_layout): Export prototype.
2011-04-04Remove keyboard driver from XKB implementation.Diego Nieto Cid
* console-client/xkb/xkb.c (kbd_dev): Deleted variable. (gnumach_v1_compat, repeater_node,cnode, arguments): Likewise. (options, ctrlaltbs, argp, xkb_ops, driver_xkb_ops): Likewise. (gnumach_v1_input_next, read_scancode): Deleted functions. (input_loop, xkb_start, xkb_init, parse_opt): Likewise. (xkb_start, xkb_fini, xkb_set_scroll_lock_status): Likewise.
2011-03-17Add XKB parser and implementation.Marco Gerards
* console-client/xkb/Compose: New file. * console-client/xkb/MISSING-FEATURES: Likewise. * console-client/xkb/README: Likewise. * console-client/xkb/TODO: Likewise. * console-client/xkb/compose.c: Likewise. * console-client/xkb/default.xkb: Likewise. * console-client/xkb/keysymdef.h: Likewise. * console-client/xkb/ks_tables.h: Likewise. * console-client/xkb/kstoucs.c: Likewise. * console-client/xkb/lex.l: Likewise. * console-client/xkb/makeconf.sh: Likewise. * console-client/xkb/parser.y: Likewise. * console-client/xkb/symname.c: Likewise. * console-client/xkb/xkb-data/keymap/hurd: Likewise. * console-client/xkb/xkb-data/symbols/hurd: Likewise. * console-client/xkb/xkb-data/types/hurd: Likewise. * console-client/xkb/xkb.c: Likewise. * console-client/xkb/xkb.h: Likewise. * console-client/xkb/xkbdata.c: Likewise. * console-client/xkb/xkbdefaults.c: Likewise. * console-client/xkb/xkbtimer.c: Likewise.
2011-01-02Strictly adhere to the VGA register conventionSamuel Thibault
Not writing a value to the "enable display" register works for tested cards, but Linux writes a 0, and you can never know what manufacturers think. * console-client/vga-support.c (vga_exchange_palette_attributes): Write a 0 value to the "enable display" register.
2010-08-01Fix "make dist" in `console-client'.Ludovic Courtès
This patch updates the list of headers to be included in the distribution, and makes it so that `kdioctlServer.c' isn't built and distributed by "make dist". * console-client/Makefile (PC_KBD_SO_SRCS): Remove `kdioctlServer.c'. (LCLHDRS): Remove `vga.h', add `vga-support.h' and `trans.h'. (OBJS): Add `kdioctlServer.o'. (pc_kbd.so.$(hurd-version)): Add dependency on `kdioctlServer_pic.o'.
2010-08-01Fix copyrightsSamuel Thibault
2010-08-01Add wide character support to the Hurd consoleJeremie Koenig
* hurd/console.h (CONS_WCHAR_MASK, CONS_WCHAR_CONTINUED): New macros. * console/console.c: Include <locale.h> (main): Call setlocale. * console/display.c (display_output_one): Call wcwidth() to know the width of the character to be displayed. Iterate over this with to insert characters with the additional CONS_WCHAR_CONTINUED flag. Update screen_shift_right and display_record_filechange calls accordingly. * console-client/vga-dynafont.c (WCHAR_BOLD, WCHAR_ITALIC, WCHAR_MASK): Change macro values. (dynafont_new): Use glyph->bbox.{width,height} instead of df->font->bbox.{width,height}. (dynafont_change_font): Likewise. (dynafont_lookup_internal): Likewise. Mask out CONS_WCHAR_CONTINUED before calling bdf_find_glyph, but test it for the second position of a double-width glyph. (dynafont_activate): Enable 9-bit width only when font width is not dividable by 8.
2010-07-27Fix -g/-m console vga driver optionsSamuel Thibault
* console-client/vga.c (parse_opt): Reverse -g and -m option effect to match documentation.
2009-10-25Fix current_vcs driver loadSamuel Thibault
* console-client/current-vcs.c (vcs_repeat_init): Rename function into... (current_vcs_init): ... this. (vcs_repeat_start): Rename function into... (current_vcs_start): ... this. (vcs_repeat_fini): Rename function into... (current_vcs_fini): ... this.
2009-07-11Switch to the new ChangeLog style.Thomas Schwinge
* ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
2008-12-082008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* Makefile: Rework, so that dependency tracking is done for all files. * Makefile (HURDLIBS): Add ihash and shouldbeinlibc.
2007-11-132007-11-13 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* trans.c (netfs_attempt_utimes): Adapt to ``struct stat'' changes.
2007-05-082007-05-08 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* generic-speaker.c (generic_speaker_start): Call ioperm() on GNU Mach 1 too.
2007-05-082007-05-08 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* vga-support.c (vga_fini): Fix call to ioperm().
2005-07-13Fix last change.Marcus Brinkmann
2005-07-132005-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>Marcus Brinkmann
* current-vcs.c (repeater_node): Set default.
2005-07-112005-07-11 Samuel Thibault <samuel.thibault@ens-lyon.org>Marcus Brinkmann
* Makefile (modules): Add `current-vcs' and its rules. * console.c (console_current_id): New function. * input.h (console_current_id): New prototype. * trans.c (struct netnode): New member `symlink_path'. (console_demuxer): Handle case when node it anonymous. (netfs_S_io_select): Likewise. (netfs_S_io_read): Likewise. (netfs_S_io_write): Likewise. (netfs_report_access): Likewise. (netfs_attempt_mksymlink): Implement symlinks. (netfs_attempt_lookup): Likewise. (netfs_attempt_unlink): Likewise. (netfs_attempt_link): Likewise. (netfs_attempt_mkfile): Likewise. (netfs_attempt_readlink): Likewise. (netfs_get_dirents): Likewise. (netfs_create_consnode): Likewise. * trans.h (struct consnode): New members `readlink' and `mksymlink'. * current-vcs.c: New file.
2005-01-172005-01-10 Alfred M. Szmidt <ams@gnu.org>Alfred M. Szmidt
* console.c (consnode_path): Renamed to ... (console_node): ... this. Updated all references.
2005-01-062005-01-06 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* 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'.
2004-11-152004-11-15 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* pc-kbd.c (input_loop): Make the left shift key behave the same as right shift key with regards to page up/down.
2004-10-222004-10-22 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* driver.c (driver_start): Don't underflow I.
2004-09-29.Alfred M. Szmidt
2004-09-292004-09-29 Alfred M. Szmidt <ams@kemisten.nu>Alfred M. Szmidt
* Makefile (vga-CPPFLAGS): New variable. * vga.c (DEFAULT_VGA_FONT, DEFAULT_VGA_FONT_ITALIC) (DEFAULT_VGA_FONT_BOLD, DEFAULT_VGA_FONT_BOLD_ITALIC): Use `DEFAULT_VGA_FONT_DIR' instead of hardcoding the filename.
2004-03-212004-03-21 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* console.c (main): Make sure the arguments are parsed in order. * driver.c (driver_add): Set up argc and argv so they can be used by argp. * generic-speaker.c: Include <string.h> and <argp.h>. (struct melody): New member `name'. Every melody was given a name. (BELL_CLASSIC, BELL_LINUX, BELL_ALARM, BELL_CMAJOR): New macros. (doc, options, argp): New variables. (parse_opt): New function. (generic_speaker_init): Parse the arguments using argp. * vga.c (doc, options, argp): New variables. (parse_opt): New function. (parse_startup_args): Function removed. (vga_display_init): Use argp_parse instead of parse_startup_args.
2004-03-072004-03-07 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* bdf.c (bdf_read): Change the types of has_size, has_fbbx, has_metricset, glyph_has_encoding, glyph_has_bbx, glyph_bwidth, glyph_bheight and glyph_blines to unsigned int. * bell.h (struct bell_ops): Change the type of the argument KEY of the interface `deprecated' to unsigned int. All callers changed. * display.h (struct display_ops): Changed the type of the arguments width and height to unsigned int. All callers changed. * driver.c (driver_fini): Change the type of `i' to unsigned int to silence a gcc warning. (driver_start): Likewise. (driver_remove): Likewise. (ADD_REMOVE_COMPONENT): Likewise. (driver_add): Likewise. * generic-speaker.c (beep_on): Cup pitch at 20000, not 327677. Also silences a gcc warning. * ncursesw.c: Changed all calls to the function `ncurses_refresh' to `refresh_screen'. (current_width): Changed type to unsigned int. (current_height): Likewise. (padx): Likewise. (pady): Likewise. (refresh_screen): Cast LINES and COLS to unsigned int. (input_loop): Change `i' from int to unsigned int to silence a gcc warning. * vga.c (current_width): Changed type to unsigned int to silence a gcc warning. (current_heigh): Likewise. (struct vga_display): Changed the type of the members `width' and `height' to unsigned int to silence a gcc warning. (vga_display_change_font): Disabled the unused code for now.
2004-03-01auth/Marcus Brinkmann
2003-08-17 Marcus Brinkmann <marcus@gnu.org> * auth.c: Include <stddef.h>. (pending_users, pending_server): Change type to struct hurd_ihash, initialize with HURD_IHASH_INITIALIZER. (struct pending): Change type of member LOCP to hurd_ihash_locp_t. (S_auth_user_authenticate): Use hurd_ihash_* functions instead ihash_*. (S_auth_server_authenticate): Likewise. (main): Do not allocate the hash tables. console-client/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * vga-dynafont.c: Include <stddef.h>. (struct mapped_character): Change type of LOCP to hurd_ihash_locp_t. (struct dynafont): Change type of CHARMAP to struct hurd_ihash. (dynafont_new): Use hurd_ihash_init instead of ihash_create. Remove variable ERR. Call hurd_ihash_add instead of ihash_add. (dynafont_free): Call hurd_ihash_destroy, no ihash_free. (dynafont_lookup_internal): Use hurd_ihash_find, not ihash_find. (dynafont_lookup_internal): Call hurd_ihash_locp_remove instead ihash_locp_remove, and hurd_ihash_add instead ihash_add. (dynafont_change_font): Likewise. Clean out LOCP if character is unmapped. ftpfs/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ftpfs.h: Include <hurd/ihash.h>. (struct ftpfs): Change type of INODE_MAPPINGS to struct hurd_ihash. (struct ftpfs_dir_entry): Change type of INODE_LOCP to hurd_ihash_locp_t. * node.c (ftpfs_create_node): Call hurd_ihash_add, not ihash_add. (netfs_node_norefs): Call hurd_ihash_locp_remove, not ihash_locp_remove. * fs.c: Include <stddef.h>. (ftpfs_create): Call hurd_ihash_init, not hurd_ihash_create. Call hurd_ihash_destroy on error. libihash/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ihash.c: Rewritten. * ihash.h: Rewritten. * Makefile (SRCS): Remove sizes.c. (LCLHDRS): Remove priv.h. * primes.c, sizes.c, priv.h: Files removed. 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ports.h (struct port_bucket): Change type of HTABLE to struct hurd_ihash. (struct port_info): Change type of HENTRY to hurd_ihash_locp_t. * lookup-port.c (ports_lookup_port): Use hurd_ihash_find instead ihash_find. * bucket-iterate.c (_ports_bucket_class_iterate): Use HURD_IHASH_ITERATE instead ihash_iterate. * inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Likewise. * inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Likewise. * create-internal.c (_ports_create_port_internal): Use hurd_ihash_add instead ihash_add. * import-port.c (ports_import_port): Likewise. * reallocate-from-external.c (ports_reallocate_from_external): Likewise. * reallocate-port.c (ports_reallocate_port): Likewise. * transfer-right.c (ports_transfer_right): Likewise. * create-bucket.c: Include <stddef.h>. (ports_create_bucket): Use hurd_ihash_init instead hurd_ihash_create. * class-iterate.c: Do not include <hurd/ihash.h>. * claim-right.c (ports_claim_right): Call hurd_ihash_locp_remove instead ihash_locp_remove. * complete-deallocate.c (_ports_complete_deallocate): Likewise. * destroy-right.c (ports_destroy_right): Likewise. * reallocate-from-external.c (ports_reallocate_from_external): Likewise. * reallocate-port.c (ports_reallocate_port): Likewise. * transfer-right.c (ports_transfer_right): Likewise. libps/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ps.h (struct ps_context): Change type of members procs, ttys, ttys_by_cttyid and users to struct hurd_ihash. * context.c (ps_context_create): Remove variables err_procs, err_ttys, err_ttys_by_cttyid and err_users. Use hurd_ihash_init instead of ihash_create. Call hurd_ihash_set_cleanup and the hurd_ihash_cleanup_t type instead of ihash_set_cleanup. (ps_context_free): Call hurd_ihash_destroy instead of ihash_free. (lookup): Call hurd_ihash_find instead ihash_find, hurd_ihash_add instead ihash_add. (ps_context_find_proc_stat): Take pointer of hash object. (ps_context_find_tty): Likewise. (ps_context_find_tty_by_cttyid): Likewise. (ps_context_find_user): Likewise. libpthread/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * sysdeps/hurd/pt-key.h (PTHREAD_KEY_MEMBERS): Change type of THREAD_SPECIFICS to hurd_ihash_t. * sysdeps/hurd/pt-setspecific.c (pthread_setspecific): Call hurd_ihash_create instead ihash_create, and hurd_ihash_add instead ihash_add. * sysdeps/hurd/pt-getspecific.c (pthread_getspecific): Call hurd_ihash_find instead of ihash_find. * sysdeps/hurd/pt-destroy-specific.c (__pthread_destroy_specific): Call hurd_ihash_find instead of ihash_find, hurd_ihash_remove instead of ihash_remove, and hurd_ihash_free instead of ihash_free. proc/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * proc.h: Include <hurd/ihash.h>. (struct proc): Change type of members p_pidhashloc and p_taskhashloc to hurd_ihash_locp_t. (struct pgrp): Likewise for pg_hashloc. (struct session): Likewise for s_hashloc. * hash.c: Change type of pghash, pidhash, taskhash and sidhash to struct hurd_ihash and initialize them with HURD_IHASH_INITIALIZER. Include stddef.h. (pid_find): Call hurd_ihash_find instead ihash_find. (pid_find_allow_zombie): Likewise. (task_find): Likewise. (task_find_nocreate): Likewise. (pgrp_find): Likewise. (session_find): Likewise. (add_proc_to_hash): Call hurd_ihash_add instead ihash_add. (add_pgrp_to_hash): Likewise. (add_session_to_hash): Likewise. (remove_pgrp_from_hash): Call hurd_ihash_locp_remove instead ihash_locp_remove, and provide hash table pointer. (remove_proc_from_hash): Likewise. (remove_session_from_hash): Likewise. (prociterate): Use HURD_IHASH_ITERATE instead ihash_iterate. trans/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * fakeroot.c: Include <stddef.h>. (struct netnode): Change type of member idport_locp to hurd_ihash_locp_t. (idport_ihash): Change type to struct hurd_ihash and initialize with HURD_IHASH_INITIALIZER. (new_node): Call hurd_ihash_add instead of ihash_add. (netfs_node_norefs): Call hrd_ihash_locp_remove instead ihash_locp_remove. (netfs_S_dir_lookup): Call hurd_ihash_find instead ihash_find. utils/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * rpctrace.c: Include <stddef.h>. (struct traced_info): Change type of LOCP to hurd_ihash_locp_t. (msgid_ihash): Change type to struct hurd_ihash, and initialize with HURD_IHASH_INITIALIZER, don't set cleanup here. (traced_names): Likewise. (main): Call hurd_ihash_set_cleanup for msgid_ihash. Don't create traced_names. (parse_msgid_list): Call hurd_ihash_add instead ihash_add. (new_send_wrapper): Likewise. (msgid_info): Likewise. Call hurd_ihash_find instead ihash_find. (rewrite_right): Likewise. (traced_dropweak): Call hurd_ihash_locp_remove instead ihash_locp_remove.
2004-02-11formatoRoland McGrath
2004-02-022004-02-02 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* 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.
2003-08-152003-08-11 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* console.c (cons_vcons_set_dimension): New function. * display.h (display_ops): New interface set_dimension. * ncursesw.c (ncursesw_set_dimension): New function. (ncursesw_displ): Add ncursesw_set_dimension. (ncurses_lock): Make variable static. (current_width): New variable. (current_height): Likewise. (cursor_state): Likewise. (cursor_hidden): Likewise. (driver_ncursesw_ops): Added ncursesw_set_dimension. * vga.c (current_width): New variable. (current_height): Likewise. (vga_display_set_cursor_status): If the cursor is outside the screen, don't change the visibility. (vga_display_set_cursor_pos): Don't set the cursor outside the physical screen. Update cursor_hidden and hide/unhide to match cursor_hidden. Function moved to above vga_display_set_cursor_status. (vga_display_scroll): Report an error when scrolling is not possible. (vga_display_clear): Recalculate cols, rows and length. (vga_display_write): Make it wrap around the edge. (vga_set_dimension): New function. (vga_disp_ops): Added vga_set_dimension. * ncursesw.c (conspad): New variable. (padx): Likewise. (pady): Likewise. (autoscroll): Likewise. (refresh_screen): new function. (input_loop): Use conspad instead of (the default) stdscr. Call console_exit instead of exiting here. Add keybindings 'j, 'k', 'l' and 'i' to scroll the console, add keybinding 'a' to switch autoscroll. (mvwputsn): Use conspad instead of (the default) stdscr. (ncursesw_scroll): Likewise. (ncursesw_write): Likewise. (ncursesw_driver_start): Likewise. Initialize conspad. (ncursesw_update): Call refresh_screen to refresh the console. (ncursesw_set_cursor_pos): Use conspad instead of (the default) stdscr. Make the console autoscroll. * ncursesw.c (ncursesw_driver_start): Remove endwin call at the end of the function. * ncursesw.c (ncursesw_set_cursor_status): If the status can not be set, use another status that can sanely be used instead of the unavailable status.
2003-07-282003-07-14 Marco Gerards <metgerards@student.han.nl>Jeff Bailey
* vga.c: New global variable vga_display_max_glyphs. (parse_startup_args): New macro PARSE_FONT_OPT_NOARGS. (parse_startup_args): Parse --max-colors and --max-glyphs. (vga_display_init): Set disp->df_size to match the color setting.
2003-05-052003-02-24 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* pc-kbd.c (sc_set1_to_set2): Map the set2 scancodes for F11 and F12 properly on the set1 scancodes for F11 and F12.
2002-11-252002-11-25 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* pc-kbd.c (IS_FUNC_KEY): Fix last change.
2002-11-222002-11-21 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* 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.
2002-11-182002-11-18 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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.
2002-09-302002-09-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* vga-support.c (vga_get_font_width): New function. * vga-support.h: Add prototype for vga_get_font_width. * vga-dynafont.c (create_system_font): Call vga_get_font_width to determine real font width.
2002-09-222002-09-22 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* pc-kbd.c (sc_to_kc): Implement Meta-Backspace combinations.