From ccc4092e238c5e074a32e2c5794ab01934f272df Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 13 Jun 2002 00:24:26 +0000 Subject: 2002-06-13 Marcus Brinkmann * Makefile (DIST_FILES): New target. (MIGSTUBS): Likewise. (OBJS): Add $(MIGSTUBS). * ourfs_notify.defs: New file. * console.c: Diddle order of typedefs. (netfs_attempt_read): Clip AMT to bytes left to read before calling display_read. (netfs_S_file_notice_changes): New function. * console.h: Include , not . Change all types from u_int32_t to uint32_t. * display.c: Include and "outfs_notify_U.h". Change all u_int_32 types to uint32_t. (struct modreq): New structure. (struct display): New member filemod_reqs. (free_modreqs): New function. (display_notice_changes): Likewise. (display_notice_filechange): Likewise. (display_destroy): Free filemod_reqs member of DISPLAY. (MATRIX_POS): Macro removed. (screen_fill): Rewritten. (screen_shift_left): New function. (screen_shift_right): Likewise. (screen_scroll_up): Function removed. (screen_scroll_down): Likewise. (screen_scroll_left): Likewise. (screen_scroll_right): Likewise. (handle_esc_bracket): Use new screen_* functions. (display_output_one): Store old cursor and screen attributes, and if they have been changed, send file change notifications. * display.h: New prototype for display_notice_changes. --- console/display.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'console/display.h') diff --git a/console/display.h b/console/display.h index c48aec99..303c42e2 100644 --- a/console/display.h +++ b/console/display.h @@ -60,6 +60,8 @@ mach_port_t display_get_filemap (display_t display, vm_prot_t prot); ssize_t display_read (display_t display, int nonblock, off_t off, char *data, size_t len); +error_t display_notice_changes (display_t display, mach_port_t notify); + /* Resume the output on the display DISPLAY. */ void display_start_output (display_t display); -- cgit v1.2.3