summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-08-302002-08-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* console.c (parse_opt): If STATE->input is zero, use netfs_root_node's hook to cons.
2002-08-30.Roland McGrath
2002-08-302002-08-26 Roland McGrath <roland@frob.com>Roland McGrath
* cthreads.c (cthread_body) [HAVE_USELOCALE]: Call uselocale to initialize the thread to the global locale.
2002-08-302002-08-26 Roland McGrath <roland@frob.com>Roland McGrath
* configure.in: Check for uselocale function.
2002-08-292002-08-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* display.c (display_create): Likewise. Set DISPLAY->attr.attr_def instead the color versions. (struct attr): Remove fgcol_def, bgcol_def, and add attr_def. (handle_esc_bracket_m): Set all attributes to their defaults for case 0. Set default color using default attribute for case 49 and case 39. (display_output_one): Likewise. * console.c (options): Add --attribute option. (parse_opt): Parse --attribute option. Bail out with argp_error on error. (netfs_append_args): ... (struct cons): Replace foreground and background with new attribute member. (vcons_lookup): Pass CONS->attribute to display_create instead CONS->foreground and CONS->background. (main): Set default colors and attributes. (parse_attributes): New function.
2002-08-292002-08-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* console-ncurses.c (main): Call endwin () before bailing out because of an error. (cons_vcons_write): Use getyx and wmove on stdscr instead getsyx and setsyx (which operate on newscr, and mess up the cursor anyway, probably because we don't commit the change immediately). Submitted by David Walter <dwalter@syr.edu>.
2002-08-28hurd/Marcus Brinkmann
2002-08-28 Marcus Brinkmann <marcus@gnu.org> * console.h (struct cons_display): Fix comment on CUR_LINE. console/ 2002-08-28 Marcus Brinkmann <marcus@gnu.org> * display.c (screen_fill): Take CUR_LINES modulo LINES. (screen_shift_left): Likewise. (screen_shift_right): Likewise. (linefeed): Don't take CUR_LINES modulo LINES here. libcons/ 2002-08-28 Marcus Brinkmann <marcus@gnu.org> * file-changed.c (cons_S_file_changed): Take NEW_CUR_LINE modulo VCONS->state.screen.lines where appropriate. Adapt calculation of SCROLLING, and limit it to the screen size. Only scroll at all if there is something to scroll. Fix calculation of scrolled-in area. * vcons-refresh.c (cons_vcons_refresh): Take VCONS->state.screen.cur_line modulo VCONS->state.screen.lines.
2002-08-282002-08-28 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* display.c (display_output_one): Also set USER->cursor.status to normal for ECMA-48 <RIS> (hard reset).
2002-08-232002-08-23 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile (DIST_FILES): New variable. * hurd.ti: New file describing the terminal capabilities of the Hurd console server.
2002-08-222002-08-22 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* aclocal.m4 (hurd_LIB_NCURSESW): New test, modified from GNU inetutils 1.4.0. * configure.in: Use hurd_LIB_NCURSESW. * config.make.in (LIBNCURSESW): New variable, substituted by configure. (NCURSESW_INCLUDE): Likewise. * Makefile (lib-subdirs): Add libcons. (prog-subdirs): Add console. console/ 2002-08-22 Marcus Brinkmann <marcus@gnu.org> * console.h: Move file to ../hurd/. * Makefile (LCLHDRS): Remove console.h. * display.c: Include <hurd/console.h> instead "console.h". * console.c: Likewise. hurd/ 2002-08-22 Marcus Brinkmann <marcus@gnu.org> * console.h: Move here from ../console/. * Makefile (INSTHDRS): Add console.h. utils/ 2002-08-22 Marcus Brinkmann <marcus@gnu.org> * Makefile: Include `../config.make' early on to get LIBNCURSESW variable from configure before including Makeconf. (targets) [LIBNCURSES]: Add console-ncurses. (SRCS) [LIBNCURSES]: Add console-ncurses.c. (HURDLIBS) [LIBNCURSES]: Add cons. (console-ncurses): New target. (console-ncurses-CPPFLAGS): New variable. (console-ncurses-LDLIBS): Likewise.
2002-08-222002-08-22 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* aclocal.m4 (hurd_LIB_NCURSESW): New test, modified from GNU inetutils 1.4.0. * configure.in: Use hurd_LIB_NCURSESW. * config.make.in (LIBNCURSESW): New variable, substituted by configure. (NCURSESW_INCLUDE): Likewise. * Makefile (lib-subdirs): Add libcons. (prog-subdirs): Add console. console/ 2002-08-22 Marcus Brinkmann <marcus@gnu.org> * console.h: Move file to ../hurd/. * Makefile (LCLHDRS): Remove console.h. * display.c: Include <hurd/console.h> instead "console.h". * console.c: Likewise. hurd/ 2002-08-22 Marcus Brinkmann <marcus@gnu.org> * console.h: Move here from ../console/. * Makefile (INSTHDRS): Add console.h. utils/ 2002-08-22 Marcus Brinkmann <marcus@gnu.org> * Makefile: Include `../config.make' early on to get LIBNCURSESW variable from configure before including Makeconf. (targets) [LIBNCURSES]: Add console-ncurses. (SRCS) [LIBNCURSES]: Add console-ncurses.c. (HURDLIBS) [LIBNCURSES]: Add cons. (console-ncurses): New target. (console-ncurses-CPPFLAGS): New variable. (console-ncurses-LDLIBS): Likewise.
2002-08-22Add some recent developments.Marcus Brinkmann
2002-08-22libcons/Marcus Brinkmann
2002-08-22 Marcus Brinkmann <marcus@gnu.org> * demuxer.c, init-init.c, init-loop.c, opts-version.c, extra-version.c, dir-changed.c, file-changed.c, opts-std-startup.c, cons-lookup.c, cons-switch.c, vcons-remove.c, vcons-add.c, vcons-open.c, vcons-close.c, vcons-refresh.c, priv.h, mutations.h, cons.h: New files.
2002-08-222002-08-22 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* display.h: Add prototype for display_get_size. * display.c (display_get_size): New function. (nowait_file_changed): Update for new interfaces. * console.c (new_node): Use display_get_size to retrieve size of display node. (netfs_get_dirents): Initialize FIRST_VCONS to silence gcc warning.
2002-08-18.Roland McGrath
2002-08-182002-08-18 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.sh: Dont use "exec" command, since the original script does not and some users use sh syntax here and not just commands.
2002-08-18.Roland McGrath
2002-08-182002-08-18 Roland McGrath <roland@frob.com>Roland McGrath
* main.c (main): Open with O_RDWR only for hurdio bottomhalf.
2002-08-162002-08-16 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* proxy-defpager.c (S_default_pager_object_pages): New function. (proxy_defpager_demuxer): Use S_default_pager_server (ie add the prefix).
2002-08-142002-08-14 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile: Revert undocumented changes related to devpts that were checked in unintentionally with the last change.
2002-08-06.Roland McGrath
2002-08-062002-08-06 Roland McGrath <roland@frob.com>Roland McGrath
* proxy-defpager.c: Rename all the server functions with S_ prefix. Include "default_pager_U.h" for client stub prototypes. * Makefile (default_pager-MIGCOMSFLAGS): New variable, give -prefix S_. (OBJS): Add default_pagerUser.o here. (proxy-defpager): Depend on it.
2002-08-062002-08-06 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* inode.c (use_file_start_id): Use file_start for directories, so the inode of the directory is used for the ".." entries in all sub-directories. Contrary to ChangeLog entry 2001-11-27, this is safe, because the ISO9660 specification mandates that the first entry in every directory must be ".", so a non-file_start using directory record can not be the first one.
2002-08-052002-08-05 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* proxy-defpager.c (allowed): Check CRED, not PORT. (default_pager_info): Use real_defpager, not DEFAULT_PAGER. (proxy_defpager_demuxer): New demuxer. (main): Use it.
2002-08-042002-08-04 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* control (Uploaders): New field, suggested by Jeff Bailey. (Build-Depends): Add version requirement for mig. * shlibs: Update version to 0.3, add version restriction. * shlibs.local: Likewise. * changelog: Update for next upload.
2002-08-042002-08-04 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* control (Uploaders): New field, suggested by Jeff Bailey.
2002-08-042002-08-03 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* hurd_types.defs (fsys_statfsbuf_t): Bump size up to 22.
2002-08-042002-08-03 Jeff Bailey <jbailey@gnu.org>Marcus Brinkmann
* rules: Symlinks should point to relative location, not absolute.
2002-08-01.Roland McGrath
2002-08-012002-07-31 Roland McGrath <roland@frob.com>Roland McGrath
* dir.c (diskfs_direnter_hard): Fix test in last change.
2002-07-31Add comment to last change, for the benefit of the next merge :)Marcus Brinkmann
2002-07-312002-07-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* cthreads.c (cthread_init): Move cthread_alloc call before cproc_init call (lost in merge).
2002-07-292002-07-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* stack.c (stack_init): Put back in setting of the __hurd_threadvar_stack_mask and __hurd_threadvar_stack_offset variables (which got lost in the merge).
2002-07-142002-07-15 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* display.c: Restore copyright notice until the papers by Kalle are actually received.
2002-07-03.Roland McGrath
2002-07-032002-07-03 Roland McGrath <roland@frob.com>Roland McGrath
* elf-load.c (exec_load): Fix e_machine checking.
2002-07-03.Roland McGrath
2002-07-032002-07-03 Roland McGrath <roland@frob.com>Roland McGrath
* elf-load.c (exec_load): Fix typos in last change.
2002-06-27hurd/Marcus Brinkmann
2002-06-26 Marcus Brinkmann <marcus@gnu.org> * fs_notify.defs: Add MsgOption for send timeout. (dir_changed): Changed to simpleroutine. Change type of first argument to fs_notify_t. Add TICKNO argument. (file_changed): Likewise. * hurd_types.defs (fs_notify_t): New type. * hurd_types.h (fs_notify_t): Likewise. libdiskfs/ 2002-06-26 Marcus Brinkmann <marcus@gnu.org> * Makefile (DIST_FILES): Variable removed. (MIGSTUBS): Use fs_notifyUser.o, not ourfs_notifyUser.o. * ourfs_notify.defs: File removed. * diskfs.h (struct node): New members DIRMOD_TICK and FILEMOD_TICK. * node-make.c (diskfs_make_node): Initialize DIRMOD_TICK and FILEMOD_TICK. * dir-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h". (diskfs_S_dir_notice_changes): Use new dir_changed invocation instead nowait_dir_changed. (diskfs_notice_dirchange): Likewise. Increase tick number. Ignore send timeout error. * file-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h". (diskfs_S_file_notice_changes): Use new file_changed invocation instead nowait_file_changed. (diskfs_notice_filechange): Likewise. Increase tick number. Ignore send timeout error. console/ 2002-06-27 Marcus Brinkmann <marcus@gnu.org> * Makefile (MIGSTUBS): Add fs_notifyUser.o. (MIGSFLAGS): New variable. * console.c: Include "fs_notify_U.h". (struct modreq): New structure. (struct cons): New members DIRMOD_REQS and DIRMOD_TICK. (cons_notice_dirchange): New function. (vcons_lookup): Call cons_notice_dirchange. (netfs_S_dir_notice_changes): New function. (main): Initialize new members in CONS. * display.c (nowait_file_changed): Update to new interface (new argument TICKNO). (do_mach_notify_msg_accepted): Call nowait_file_changed with new argument. (display_notice_changes): Likewise. (display_notice_filechange): Likewise.
2002-06-26.Roland McGrath
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* term.h (struct bottomhalf): New member `fini'. * hurdio.c (hurdio_fini): New function. (hurdio_bottom): Use it. * devio.c (devio_fini): New function. (devio_bottom): Use it. * ptyio.c (ptyio_bottom): Add 0 entry for `fini'. * main.c (trivfs_runtime_argp): New variable. (options): Add --name/-N and --type/-T options. (parse_opt): Collect parsed options in temporary storage and apply them only at final success. For T_HURDIO, allow absent arg. For non-startup parsing call, allow any missing args. (tty_type_names): New const variable. (trivfs_append_args): New function. (main): Open underlying node with O_RDWR. * hurdio.c (wait_for_dtr): If tty_arg is null, use termctl->underlying instead of opening a node by name. (hurdio_desert_dtr): If tty_arg is null, don't deallocate ioport.
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* main.c (trivfs_runtime_argp): New variable. (options): Add --name/-N and --type/-T options. (parse_opt): Collect parsed options in temporary storage and apply them only at final success. For T_HURDIO, allow absent arg. For non-startup parsing call, allow any missing args. (tty_type_names): New const variable. (trivfs_append_args): New function. (main): Open underlying node with O_RDWR. * hurdio.c (wait_for_dtr): If tty_arg is null, use termctl->underlying instead of opening a node by name. (hurdio_desert_dtr): If tty_arg is null, don't deallocate ioport.
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* term.h (struct bottomhalf): New member `fini'. * hurdio.c (hurdio_fini): New function. (hurdio_bottom): Use it. * devio.c (devio_fini): New function. (devio_bottom): Use it. * ptyio.c (ptyio_bottom): Add 0 entry for `fini'.
2002-06-26.Roland McGrath
2002-06-262002-06-26 Roland McGrath <roland@frob.com>Roland McGrath
* swapon.c (swaponoff): Fix last change.
2002-06-262002-06-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* lock-acquire.c (fshelp_acquire_lock): Also wait for exclusive locks which might have been acquired while we were waiting for shared locks to finish.
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* ping.c: File removed.
2002-06-26.Roland McGrath
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* ping.c: File removed. * Makefile (targets, SRCS): Remove it. (ping-CPPFLAGS, INSTALL-ping-ops, ping): And all its little friends.
2002-06-252002-06-25 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* display.c (screen_shift_left): Don't increase DST twice in one iteration. * display.c (screen_shift_right): Likewise.