Patch #6210: implement ability to resize output device parameters to
[pspp-builds.git] / src / ui / terminal / ChangeLog
index 0e6e014d9b49b9c6f5c186ec442a67813e0a9d78..c626af0aae1cbebfed7a56913aec517fdbb79e3a 100644 (file)
@@ -1,3 +1,43 @@
+2007-09-25  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6210: implement ability to resize output device parameters
+       to fit terminal window size as it changes.  Reviewed by John
+       Darrington.
+       
+       * automake.mk (src_ui_terminal_libui_a_SOURCES): Add new files.
+
+       * terminal.c: New file.
+
+       * terminal.h: New file.
+
+       * main.c (main): No need to set up SIGWINCH handler any longer.
+       But we do need to call terminal_init.
+       (set_fallback_viewport): Move to terminal.c.
+       [HAVE_LIBNCURSES] (get_termcap_viewport): Ditto.
+       [!HAVE_LIBNCURSES] (get_termcap_viewport): Ditto.
+
+       * read-line.c (readln_read): After the first line of a command,
+       call terminal_check_size to allow it to re-detect the terminal
+       size.
+
+2007-09-24  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6210.  Reviewed by John Darrington.
+       * main.c (set_fallback_viewport): Make code easier to understand.
+       (get_termcap_viewport): Ditto.
+
+       * command-line.c (parse_command_line): Don't call force_long_view,
+       as that function is no longer necessary.
+
+       * msg-ui.c (handle_msg): Only wrap message output to the message
+       file to the width of the terminal if the message file is a tty.
+
+2007-09-19  John Darrington <john@darrington.wattle.id.au>
+
+       * main.c: Moved get_termcap_viewport from src/data/settings.c 
+       Added a handler for SIGWINCH to call this function.  Adjusted
+       init_settings to suit new interface. 
+
 2007-09-22  Ben Pfaff  <blp@gnu.org>
 
        Bug #21128.  Reviewed by John Darrington.