summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-09-10 18:05:41 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-09-10 18:05:41 +0000
commitbe549330de1979ba914194bd79bfd7eb998a792e (patch)
tree0e507d51c57f7a94934c3cf2ad3eaf72461ae510 /utils
parent26482336f2919d72935a8aacc42420aa89138cbd (diff)
console/
2002-09-10 Marcus Brinkmann <marcus@gnu.org> * display.c (DISPLAY_CHANGE_FLAGS): New macro. (struct changes): New member FLAGS. (display_flush_filechange): Handle change of flags. (display_output_some): Initialize DISPLAY->changes.flags. (display_start_output): Clear CONS_FLAGS_SCROLL_LOCK in DISPLAY. (display_stop_output): Set CONS_FLAGS_SCROLL_LOCK in DISPLAY. hurd/ 2002-09-10 Marcus Brinkmann <marcus@gnu.org> * console.h (struct cons_display): New member FLAGS. (union cons_change_t): Likewise for WHAT->flags. libcons/ 2002-09-10 Marcus Brinkmann <marcus@gnu.org> * cons.h: New prototype for cons_vcons_set_scroll_lock. (struct vcons): Add member FLAGS to state. * file-changed.c (cons_S_file_changed): Handle change of flags. * vcons-refresh.c (cons_vcons_refresh): Copy FLAGS field. Call cons_vcons_set_scroll_lock. * cons-switch.c (cons_switch): Initialize VCONS_ENTRY even if DELTA is negative. utils/ 2002-09-09 Marcus Brinkmann <marcus@gnu.org> * console-ncurses.c (cons_vcons_set_scroll_lock): New function.
Diffstat (limited to 'utils')
-rw-r--r--utils/ChangeLog2
-rw-r--r--utils/console-ncurses.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/utils/ChangeLog b/utils/ChangeLog
index 496edd80..624ad649 100644
--- a/utils/ChangeLog
+++ b/utils/ChangeLog
@@ -1,5 +1,7 @@
2002-09-09 Marcus Brinkmann <marcus@gnu.org>
+ * console-ncurses.c (cons_vcons_set_scroll_lock): New function.
+
* console-ncurses.c (console_switch): Keep a reference to the port
instead refering to it by number.
diff --git a/utils/console-ncurses.c b/utils/console-ncurses.c
index 98c212f6..0d290a2f 100644
--- a/utils/console-ncurses.c
+++ b/utils/console-ncurses.c
@@ -601,6 +601,11 @@ cons_vcons_flash (vcons_t vcons)
mutex_unlock (&global_lock);
}
+void
+cons_vcons_set_scroll_lock (vcons_t vcons, int onoff)
+{
+}
+
int
main (int argc, char *argv[])