From 71a1935eec0e651a74ddfc51d2e291d6376e04f0 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 24 Jun 2002 23:46:55 +0000 Subject: 2002-06-25 Marcus Brinkmann * Makefile (LCLHDRS): Add priv.h and mutations.h. (MIGSTUBS): Add tioctlServer.o * console.c: Include . (new_node): Bump up st_size for display node. (S_tioctl_tiocflush, S_tioctl_tiocgwinsz, S_tioctl_tiocstart, S_tioctl_tiocstop, S_tioctl_tiocoutq, S_tioctl_tiocspgrp, S_tioctl_tiocgpgrp): New functions. (S_tioctl_tiocmodg, S_tioctl_tiocmods, S_tioctl_tiocexcl, S_tioctl_tiocnxcl, S_tioctl_tiocgeta, S_tioctl_tiocseta, S_tioctl_tiocsetaw, S_tioctl_tiocsetaf, S_tioctl_tiocgetd, S_tioctl_tiocsetd, S_tioctl_tiocdrain, S_tioctl_tiocmget, S_tioctl_tiocmset, S_tioctl_tiocsig, S_tioctl_tiocext, S_tioctl_tiocswinsz, S_tioctl_tiocremote, S_tioctl_tiocmbic, S_tioctl_tiocmbis, S_tioctl_tiocpkt, S_tioctl_tiocsti, S_tioctl_tioccdtr, S_tioctl_tiocsdtr, S_tioctl_tioccbrk, S_tioctl_tiocsbrk): New stubs. (console_demuxer): New function. (main): Don't call netfs_server_loop, but call ports_manage_port_operations_multithread, so we can use our own demuxer. * mutations.h: Use intran and outtran for netfs. * priv.h: Likewise. * console.h (cons_change_t): Add bits for bell_audible and bell_visible. (struct cons_display): Add member BELL. * display.c (struct changes): Add new members bell_audible and bell_visible. Add bit flag macro names for those. (display_flush_filechange): Start with first index in buffer. Signal bell events. (display_record_filechange): Set DISPLAY_CHANGE_MATRIX bit in the disjoint case after flushing the update. (display_output_one): Recognize '\a' as audible bell and '\Eg' as visible bell. (display_output_some): Handle bell updates. --- console/mutations.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'console/mutations.h') diff --git a/console/mutations.h b/console/mutations.h index b0ec7e16..a8183fc0 100644 --- a/console/mutations.h +++ b/console/mutations.h @@ -20,8 +20,8 @@ /* Only CPP macro definitions should go in this file. */ -#define IO_INTRAN trivfs_protid_t trivfs_begin_using_protid (io_t) -#define IO_DESTRUCTOR trivfs_end_using_protid (trivfs_protid_t) +#define IO_INTRAN protid_t begin_using_protid_port (io_t) +#define IO_DESTRUCTOR end_using_protid_port (protid_t) + +#define TIOCTL_IMPORTS import "priv.h"; -#define IO_IMPORTS import "priv.h"; -#define TIOCTL_IMPORTS IO_IMPORTS -- cgit v1.2.3