summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
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-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-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-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-25.Roland McGrath
2002-06-252002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (INSTALL-vminfo-ops): Variable removed (no setuid). * vmstat.c (ensure_def_pager_info): If get_privileged_ports fails with EPERM, try to open /servers/default-pager instead. * Makefile (INSTALL-vmstat-ops): Variable removed (no setuid).
2002-06-252002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* vmstat.c (ensure_def_pager_info): If get_privileged_ports fails with EPERM, try to open /servers/default-pager instead. * Makefile (INSTALL-vmstat-ops): Variable removed (no setuid).
2002-06-13.Roland McGrath
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* vminfo.c: Use `z' modifier format modifier for address/size values.
2002-06-11.Roland McGrath
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* ftpdir.c (pdirent): Use %lld format for off_t value.
2002-05-28.Roland McGrath
2002-05-282002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* fakeauth.c (idvec_copyout): Fix argument type. * pids.c (add_fn_pids): unsigned -> size_t * w.c (add_utmp_procs): Likewise. * login.c (add_canonical_host): Likewise. * ps.c (main): Likewise. * login.c (add_entry, main): Likewise. * settrans.c (main): int -> size_t * showtrans.c (main): Likewise. * fsysopts.c (main): Likewise. * vmstat.c (main): Use int for FWIDTHS. * ping.c (main): size_t -> socklen_t * fakeauth.c (S_auth_getids, S_auth_makeauth, S_auth_server_authenticate): u_int -> size_t * showtrans.c (main): Cast field width/precision args to int.
2002-05-282002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* pids.c (add_fn_pids): unsigned -> size_t * w.c (add_utmp_procs): Likewise. * login.c (add_canonical_host): Likewise. * ps.c (main): Likewise. * login.c (add_entry, main): Likewise. * settrans.c (main): int -> size_t * showtrans.c (main): Likewise. * fsysopts.c (main): Likewise. * vmstat.c (main): Use int for FWIDTHS. * ping.c (main): size_t -> socklen_t * fakeauth.c (S_auth_getids, S_auth_makeauth, S_auth_server_authenticate): u_int -> size_t * showtrans.c (main): Cast field width/precision args to int.
2002-05-282002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* storeinfo.c (print_store): Use %z format.
2002-05-282002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* rpctrace.c (print_data): Use if instead of switch to handle FP type sizes, in case double == long double.
2002-05-212002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann
* rpctrace.c (parse_msgid_list): Fixed the check that tests if we read exactly 3 fields from each line.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeauth.c (main): Register NEWTASK as a child with the proc server.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* devprobe.c: Include <version.h>. (argp_program_version): New variable. * storecat.c: Include <version.h>. (argp_program_version): New variable. * storeread.c: Include <version.h>. (argp_program_version): New variable. * gcore.c: Include <version.h>. (argp_program_version): New variable.
2002-05-12.Roland McGrath
2002-05-122002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.sh: Inside the chroot'd fakeauth environment, run a shell that chdir's to what was our original current directory (by name) before exec'ing the user's command.
2002-05-12.Roland McGrath
2002-05-122002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* fakeauth.c (main): Don't use posix_spawnp. Use _hurd_exec instead.
2002-05-062002-05-06 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* settrans.c (main): Return 0 instead of using break (which only gets us out of the while loop).
2002-05-052002-05-05 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeauth.c (main): Add ARGP_IN_ORDER to argp_parse invocation. (main: parse_opt): New function. (main): Set parser in ARGP to parse_opt.
2002-05-04.Roland McGrath
2002-05-042002-05-04 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.sh: New file. * Makefile (targets, special-targets, SRCS): Add it.
2002-05-042002-05-04 Roland McGrath <roland@frob.com>Roland McGrath
* fakeauth.c (main): Update doc strings, clean up argp_parse call.
2002-05-04.Roland McGrath
2002-05-042002-05-04 Roland McGrath <roland@frob.com>Roland McGrath
* settrans.c (options): Add --chroot/-C option. (main_opt): Parse that option, take following args until "--" as a command to exec chroot'd to the translated node.
2002-05-042002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* vmstat.c (print_val): Use %lld printf format for val_t.
2002-05-042002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* msgport.c (str2flags): Add break after default: label.
2002-05-03.Roland McGrath
2002-05-032002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* fakeauth.c: New file. * Makefile (fakeauth): New target. (targets): Add it. (SRCS): Add fakeauth.c. (auth-MIGSFLAGS, fakeauth-CPPFLAGS, authServer-CPPFLAGS, auth_requestUser-CPPFLAGS): New variables.
2002-05-032002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* shd.c: Include <error.h> for `error' decl.
2002-05-032002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* fakeauth.c: New file. * Makefile (fakeauth): New target. (targets): Add it. (SRCS): Add fakeauth.c. (auth-MIGSFLAGS, fakeauth-CPPFLAGS, authServer-CPPFLAGS, auth_requestUser-CPPFLAGS): New variables. * Makefile (rpctrace): Put libthreads before libports.
2002-03-26*** empty log message ***Neal H. Walfield
2002-03-262002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield
* rpctrace.c (parse_msgid_list): Use ERR, not errno. * shd.c (reap): Use error, not perror. (command): Likewise. (main): Likewise. (run): Use error, not perror. Use ERR, not errno.
2002-01-30.Roland McGrath
2002-01-302002-01-30 Roland McGrath <roland@frob.com>Roland McGrath
* rpctrace.c (struct msgid_info): New type. (msgid_ihash_cleanup): Updated to use it. (parse_msgid_list): Use it to also record subsystem name in table. (msgid_info): New function, guts of msgid_name. (msgid_name): Use that. (msgid_display, msgid_trace_replies): New stub functions. (trace_and_forward): Use them to conditionalize tracing and printing.
2002-01-29.Roland McGrath
2002-01-292002-01-29 Roland McGrath <roland@frob.com>Roland McGrath
* rpctrace.c (options): Add -I/--rpc-list. (msgid_ihash): New static variable. (msgid_ihash_cleanup): New function. (parse_msgid_list, magid_name): New functions. (main: parse_opt): Grok -I using parse_msgid_list. (trace_and_forward, print_request_header, print_reply_header): Look up msgh_id values using msgid_name and print strings if possible.
2002-01-05.Roland McGrath
2002-01-052002-01-04 Roland McGrath <roland@frob.com>Roland McGrath
* msgport.c (str2flags): Use const in argument type; make static. Set O_CREAT for "w" mode. Grok "a" to set O_APPEND. (cmd_setfd): Always call str2flags, giving it a default string. (cmd_stdin, cmd_stdout, cmd_stderr): Likewise. (cmd_options): Update doc strings.
2002-01-02.Roland McGrath
2002-01-022002-01-02 Roland McGrath <roland@frob.com>Roland McGrath
* rpctrace.c (traced_spawn) [KERN_INVALID_LEDGER]: Pass extra arguments to task_create for OSF variant. * shd.c (run): Likewise.