Module Name: src Committed By: roy Date: Thu Mar 23 00:55:39 UTC 2017
Modified Files: src/lib/libcurses: setterm.c src/lib/libterminfo: setupterm.c Log Message: POSIX says that use_env(3) must precede setupterm(3). The former lives in curses.h, but the latter lives in term.h. This is solved by moving the function to libterminfo. Because the environment can affect the terminal capabilities for lines and columns, it follows that the tty size should affect it to. So move that code to libterminfo and adjust in libcurses. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/lib/libcurses/setterm.c cvs rdiff -u -r1.6 -r1.7 src/lib/libterminfo/setupterm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.