Up to [cvs.NetBSD.org] / src / lib / libcurses
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: prg-localcount2-base3
Revision 1.66 / (download) - annotate - [select for diffs], Thu Mar 23 00:55:39 2017 UTC (7 years ago) by roy
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-compat-base,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1
Branch point for: phil-wifi,
pgoyette-compat,
netbsd-8
Changes since 1.65: +6 -34
lines
Diff to previous 1.65 (colored)
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.