NetBSD/lib/libcurses
roy 5128a2ed79 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.
2017-03-23 00:55:39 +00:00
..
EXAMPLES
PSD.doc
acs.c
add_wch.c
add_wchstr.c
addbytes.c
addch.c
addchnstr.c
addnstr.c
addwstr.c
attributes.c
background.c
bell.c
border.c
box.c
cchar.c
chgat.c
clear.c
clearok.c
clrtobot.c
clrtoeol.c
color.c
copywin.c
cr_put.c
ctrace.c
cur_hash.c
curs_set.c
curses_addch.3
curses_addchstr.3
curses_addstr.3
curses_attributes.3
curses_background.3
curses_border.3
curses_chgat.3
curses_clear.3
curses_color.3
curses_cursor.3
curses_default_colors.3
curses_delch.3
curses_deleteln.3
curses_echochar.3
curses_fileio.3
curses_inch.3
curses_input.3
curses_insdelln.3
curses_insertch.3
curses_insertln.3
curses_keyname.3
curses_line.3
curses_pad.3
curses_print.3
curses_private.h
curses_refresh.3
curses_scanw.3
curses_screen.3
curses_scroll.3
curses_slk.3
curses_standout.3
curses_termcap.3
curses_touch.3
curses_tty.3
curses_underscore.3
curses_window.3
curses.3
curses.c
curses.h
delch.c
deleteln.c
delwin.c
echo_wchar.c
echochar.c
erase.c
fileio.c
fileio.h
flushok.c
fullname.c
genfileioh.awk
get_wch.c
get_wstr.c
getch.c
getstr.c
getyx.c
id_subwins.c
idcok.c
idlok.c
immedok.c
in_wch.c
in_wchstr.c
inch.c
inchstr.c
initscr.c
ins_wch.c
ins_wstr.c
insch.c
insdelln.c
insertln.c
insstr.c
instr.c
inwstr.c
keymap.h
keyname.c
keypad.c
leaveok.c
line.c
Makefile
meta.c
move.c
mvwin.c
newwin.c
nodelay.c
notimeout.c
overlay.c
overwrite.c
pause.c
printw.c
putchar.c
refresh.c
resize.c
ripoffline.c
scanw.c
screen.c
scroll.c
scrollok.c
setterm.c
shlib_version
slk.c
standout.c
syncok.c
timeout.c
toucholap.c
touchwin.c
tscroll.c
tstp.c
tty.c
unctrl.c
unctrl.h
underscore.c