summaryrefslogtreecommitdiff
path: root/src/curses
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-13 19:52:12 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-13 19:52:12 -0400
commitc93dd9bc67485586f3fad4958e70a1fd3c83c2d4 (patch)
tree70dccb9034eceaa3d8df4330207c3d7756e0334e /src/curses
parentefeeb5db9e8178a5f0ade3f99832782ab0cb4442 (diff)
split out curses
Diffstat (limited to 'src/curses')
-rw-r--r--src/curses/ACS_BLOCK.h5
-rw-r--r--src/curses/ACS_BOARD.h5
-rw-r--r--src/curses/ACS_BTEE.h5
-rw-r--r--src/curses/ACS_BULLET.h5
-rw-r--r--src/curses/ACS_CKBOARD.h5
-rw-r--r--src/curses/ACS_DARROW.h5
-rw-r--r--src/curses/ACS_DEGREE.h5
-rw-r--r--src/curses/ACS_DIAMOND.h5
-rw-r--r--src/curses/ACS_HLINE.h5
-rw-r--r--src/curses/ACS_LANTERN.h5
-rw-r--r--src/curses/ACS_LARROW.h5
-rw-r--r--src/curses/ACS_LLCORNER.h5
-rw-r--r--src/curses/ACS_LRCORNER.h5
-rw-r--r--src/curses/ACS_LTEE.h5
-rw-r--r--src/curses/ACS_PLMINUS.h5
-rw-r--r--src/curses/ACS_PLUS.h5
-rw-r--r--src/curses/ACS_RARROW.h5
-rw-r--r--src/curses/ACS_RTEE.h5
-rw-r--r--src/curses/ACS_S1.h5
-rw-r--r--src/curses/ACS_S9.h5
-rw-r--r--src/curses/ACS_TTEE.h5
-rw-r--r--src/curses/ACS_UARROW.h5
-rw-r--r--src/curses/ACS_ULCORNER.h5
-rw-r--r--src/curses/ACS_URCORNER.h5
-rw-r--r--src/curses/ACS_VLINE.h5
-rw-r--r--src/curses/A_ALTCHARSET.h6
-rw-r--r--src/curses/A_ATTRIBUTES.h5
-rw-r--r--src/curses/A_BLINK.h6
-rw-r--r--src/curses/A_BOLD.h6
-rw-r--r--src/curses/A_CHARTEXT.h5
-rw-r--r--src/curses/A_COLOR.h5
-rw-r--r--src/curses/A_DIM.h6
-rw-r--r--src/curses/A_INVIS.h6
-rw-r--r--src/curses/A_PROTECT.h6
-rw-r--r--src/curses/A_REVERSE.h6
-rw-r--r--src/curses/A_STANDOUT.h6
-rw-r--r--src/curses/A_UNDERLINE.h6
-rw-r--r--src/curses/COLORS.h6
-rw-r--r--src/curses/COLOR_BLACK.h5
-rw-r--r--src/curses/COLOR_BLUE.h5
-rw-r--r--src/curses/COLOR_CYAN.h5
-rw-r--r--src/curses/COLOR_GREEN.h5
-rw-r--r--src/curses/COLOR_MAGENTA.h5
-rw-r--r--src/curses/COLOR_PAIR.h6
-rw-r--r--src/curses/COLOR_PAIRS.h6
-rw-r--r--src/curses/COLOR_RED.h5
-rw-r--r--src/curses/COLOR_WHITE.h5
-rw-r--r--src/curses/COLOR_YELLOW.h5
-rw-r--r--src/curses/COLS.h6
-rw-r--r--src/curses/EOF.ref3
-rw-r--r--src/curses/ERR.h6
-rw-r--r--src/curses/FALSE.h6
-rw-r--r--src/curses/KEY_A1.h5
-rw-r--r--src/curses/KEY_A3.h5
-rw-r--r--src/curses/KEY_B2.h5
-rw-r--r--src/curses/KEY_BACKSPACE.h5
-rw-r--r--src/curses/KEY_BEG.h5
-rw-r--r--src/curses/KEY_BREAK.h5
-rw-r--r--src/curses/KEY_BTAB.h5
-rw-r--r--src/curses/KEY_C1.h5
-rw-r--r--src/curses/KEY_C3.h5
-rw-r--r--src/curses/KEY_CANCEL.h5
-rw-r--r--src/curses/KEY_CATAB.h5
-rw-r--r--src/curses/KEY_CLEAR.h5
-rw-r--r--src/curses/KEY_CLOSE.h5
-rw-r--r--src/curses/KEY_CODE_YES.h6
-rw-r--r--src/curses/KEY_COMMAND.h5
-rw-r--r--src/curses/KEY_COPY.h5
-rw-r--r--src/curses/KEY_CREATE.h5
-rw-r--r--src/curses/KEY_CTAB.h5
-rw-r--r--src/curses/KEY_DC.h5
-rw-r--r--src/curses/KEY_DL.h5
-rw-r--r--src/curses/KEY_DOWN.h5
-rw-r--r--src/curses/KEY_EIC.h5
-rw-r--r--src/curses/KEY_END.h5
-rw-r--r--src/curses/KEY_ENTER.h5
-rw-r--r--src/curses/KEY_EOL.h5
-rw-r--r--src/curses/KEY_EOS.h5
-rw-r--r--src/curses/KEY_EXIT.h5
-rw-r--r--src/curses/KEY_F0.h5
-rw-r--r--src/curses/KEY_FIND.h5
-rw-r--r--src/curses/KEY_HELP.h5
-rw-r--r--src/curses/KEY_HOME.h5
-rw-r--r--src/curses/KEY_IC.h5
-rw-r--r--src/curses/KEY_IL.h5
-rw-r--r--src/curses/KEY_LEFT.h5
-rw-r--r--src/curses/KEY_LL.h5
-rw-r--r--src/curses/KEY_MARK.h5
-rw-r--r--src/curses/KEY_MESSAGE.h5
-rw-r--r--src/curses/KEY_MOVE.h5
-rw-r--r--src/curses/KEY_NEXT.h5
-rw-r--r--src/curses/KEY_NPAGE.h5
-rw-r--r--src/curses/KEY_OPEN.h5
-rw-r--r--src/curses/KEY_OPTIONS.h5
-rw-r--r--src/curses/KEY_PPAGE.h5
-rw-r--r--src/curses/KEY_PREVIOUS.h5
-rw-r--r--src/curses/KEY_PRINT.h5
-rw-r--r--src/curses/KEY_REDO.h5
-rw-r--r--src/curses/KEY_REFERENCE.h5
-rw-r--r--src/curses/KEY_REFRESH.h5
-rw-r--r--src/curses/KEY_REPLACE.h5
-rw-r--r--src/curses/KEY_RESET.h5
-rw-r--r--src/curses/KEY_RESTART.h5
-rw-r--r--src/curses/KEY_RESUME.h5
-rw-r--r--src/curses/KEY_RIGHT.h5
-rw-r--r--src/curses/KEY_SAVE.h5
-rw-r--r--src/curses/KEY_SBEG.h5
-rw-r--r--src/curses/KEY_SCANCEL.h5
-rw-r--r--src/curses/KEY_SCOMMAND.h5
-rw-r--r--src/curses/KEY_SCOPY.h5
-rw-r--r--src/curses/KEY_SCREATE.h5
-rw-r--r--src/curses/KEY_SDC.h5
-rw-r--r--src/curses/KEY_SDL.h5
-rw-r--r--src/curses/KEY_SELECT.h5
-rw-r--r--src/curses/KEY_SEND.h5
-rw-r--r--src/curses/KEY_SEOL.h5
-rw-r--r--src/curses/KEY_SEXIT.h5
-rw-r--r--src/curses/KEY_SF.h5
-rw-r--r--src/curses/KEY_SFIND.h5
-rw-r--r--src/curses/KEY_SHELP.h5
-rw-r--r--src/curses/KEY_SHOME.h5
-rw-r--r--src/curses/KEY_SIX.h5
-rw-r--r--src/curses/KEY_SLEFT.h5
-rw-r--r--src/curses/KEY_SMESSAGE.h5
-rw-r--r--src/curses/KEY_SMOVE.h5
-rw-r--r--src/curses/KEY_SNEXT.h5
-rw-r--r--src/curses/KEY_SOPTIONS.h5
-rw-r--r--src/curses/KEY_SPREVIOUS.h5
-rw-r--r--src/curses/KEY_SPRINT.h5
-rw-r--r--src/curses/KEY_SR.h5
-rw-r--r--src/curses/KEY_SREDO.h5
-rw-r--r--src/curses/KEY_SREPLACE.h5
-rw-r--r--src/curses/KEY_SRESET.h5
-rw-r--r--src/curses/KEY_SRIGHT.h5
-rw-r--r--src/curses/KEY_SRSUME.h5
-rw-r--r--src/curses/KEY_SSAVE.h5
-rw-r--r--src/curses/KEY_SSUSPEND.h5
-rw-r--r--src/curses/KEY_STAB.h5
-rw-r--r--src/curses/KEY_SUNDO.h5
-rw-r--r--src/curses/KEY_SUSPEND.h5
-rw-r--r--src/curses/KEY_UNDO.h5
-rw-r--r--src/curses/KEY_UP.h5
-rw-r--r--src/curses/LINES.h6
-rw-r--r--src/curses/OK.h6
-rw-r--r--src/curses/PAIR_NUMBER.h6
-rw-r--r--src/curses/SCREEN.h8
-rw-r--r--src/curses/TRUE.h6
-rw-r--r--src/curses/WACS_BLOCK.h5
-rw-r--r--src/curses/WACS_BOARD.h5
-rw-r--r--src/curses/WACS_BTEE.h5
-rw-r--r--src/curses/WACS_BULLET.h5
-rw-r--r--src/curses/WACS_CKBOARD.h5
-rw-r--r--src/curses/WACS_DARROW.h5
-rw-r--r--src/curses/WACS_DEGREE.h5
-rw-r--r--src/curses/WACS_DIAMOND.h5
-rw-r--r--src/curses/WACS_HLINE.h5
-rw-r--r--src/curses/WACS_LANTERN.h5
-rw-r--r--src/curses/WACS_LARROW.h5
-rw-r--r--src/curses/WACS_LLCORNER.h5
-rw-r--r--src/curses/WACS_LRCORNER.h5
-rw-r--r--src/curses/WACS_LTEE.h5
-rw-r--r--src/curses/WACS_PLMINUS.h5
-rw-r--r--src/curses/WACS_PLUS.h5
-rw-r--r--src/curses/WACS_RARROW.h5
-rw-r--r--src/curses/WACS_RTEE.h5
-rw-r--r--src/curses/WACS_S1.h5
-rw-r--r--src/curses/WACS_S9.h5
-rw-r--r--src/curses/WACS_TTEE.h5
-rw-r--r--src/curses/WACS_UARROW.h5
-rw-r--r--src/curses/WACS_ULCORNER.h5
-rw-r--r--src/curses/WACS_URCORNER.h5
-rw-r--r--src/curses/WACS_VLINE.h5
-rw-r--r--src/curses/WA_ALTCHARSET.h6
-rw-r--r--src/curses/WA_BLINK.h6
-rw-r--r--src/curses/WA_BOLD.h6
-rw-r--r--src/curses/WA_DIM.h6
-rw-r--r--src/curses/WA_HORIZONTAL.h6
-rw-r--r--src/curses/WA_INVIS.h6
-rw-r--r--src/curses/WA_LEFT.h6
-rw-r--r--src/curses/WA_LOW.h6
-rw-r--r--src/curses/WA_PROTECT.h6
-rw-r--r--src/curses/WA_REVERSE.h6
-rw-r--r--src/curses/WA_RIGHT.h6
-rw-r--r--src/curses/WA_STANDOUT.h6
-rw-r--r--src/curses/WA_TOP.h6
-rw-r--r--src/curses/WA_UNDERLINE.h6
-rw-r--r--src/curses/WEOF.ref3
-rw-r--r--src/curses/WINDOW.h8
-rw-r--r--src/curses/_XOPEN_CURSES.c6
-rw-r--r--src/curses/_curses.h52
-rw-r--r--src/curses/add_wch.c15
-rw-r--r--src/curses/add_wchnstr.c15
-rw-r--r--src/curses/add_wchstr.c14
-rw-r--r--src/curses/addch.c15
-rw-r--r--src/curses/addchnstr.c15
-rw-r--r--src/curses/addchstr.c14
-rw-r--r--src/curses/addnstr.c15
-rw-r--r--src/curses/addnwstr.c15
-rw-r--r--src/curses/addstr.c14
-rw-r--r--src/curses/addwstr.c14
-rw-r--r--src/curses/attr_get.c14
-rw-r--r--src/curses/attr_off.c14
-rw-r--r--src/curses/attr_on.c14
-rw-r--r--src/curses/attr_set.c14
-rw-r--r--src/curses/attr_t.h9
-rw-r--r--src/curses/attroff.c14
-rw-r--r--src/curses/attron.c14
-rw-r--r--src/curses/attrset.c14
-rw-r--r--src/curses/baudrate.c11
-rw-r--r--src/curses/beep.c11
-rw-r--r--src/curses/bkgd.c14
-rw-r--r--src/curses/bkgdset.c14
-rw-r--r--src/curses/bkgrnd.c14
-rw-r--r--src/curses/bkgrndset.c14
-rw-r--r--src/curses/bool.c11
-rw-r--r--src/curses/border.c14
-rw-r--r--src/curses/border_set.c14
-rw-r--r--src/curses/box.c11
-rw-r--r--src/curses/box_set.c12
-rw-r--r--src/curses/can_change_color.c11
-rw-r--r--src/curses/cbreak.c11
-rw-r--r--src/curses/cchar_t.h8
-rw-r--r--src/curses/chgat.c14
-rw-r--r--src/curses/chtype.c8
-rw-r--r--src/curses/clear.c14
-rw-r--r--src/curses/clearok.c11
-rw-r--r--src/curses/clrtobot.c14
-rw-r--r--src/curses/clrtoeol.c14
-rw-r--r--src/curses/color_content.c11
-rw-r--r--src/curses/color_set.c14
-rw-r--r--src/curses/copywin.c11
-rw-r--r--src/curses/curs_set.c11
-rw-r--r--src/curses/curscr.c6
-rw-r--r--src/curses/def_prog_mode.c11
-rw-r--r--src/curses/def_shell_mode.c11
-rw-r--r--src/curses/delay_output.c11
-rw-r--r--src/curses/delch.c15
-rw-r--r--src/curses/deleteln.c14
-rw-r--r--src/curses/delscreen.c10
-rw-r--r--src/curses/delwin.c10
-rw-r--r--src/curses/derwin.c12
-rw-r--r--src/curses/doupdate.c11
-rw-r--r--src/curses/dupwin.c12
-rw-r--r--src/curses/echo.c11
-rw-r--r--src/curses/echo_wchar.c14
-rw-r--r--src/curses/echochar.c14
-rw-r--r--src/curses/endwin.c11
-rw-r--r--src/curses/erase.c14
-rw-r--r--src/curses/erasechar.c11
-rw-r--r--src/curses/erasewchar.c11
-rw-r--r--src/curses/filter.c10
-rw-r--r--src/curses/flash.c11
-rw-r--r--src/curses/flushinp.c11
-rw-r--r--src/curses/get_wch.c14
-rw-r--r--src/curses/get_wstr.c15
-rw-r--r--src/curses/getbegyx.c5
-rw-r--r--src/curses/getbkgd.c11
-rw-r--r--src/curses/getbkgrnd.c14
-rw-r--r--src/curses/getcchar.c11
-rw-r--r--src/curses/getch.c14
-rw-r--r--src/curses/getmaxyx.c5
-rw-r--r--src/curses/getn_wstr.c15
-rw-r--r--src/curses/getnstr.c14
-rw-r--r--src/curses/getparyx.c5
-rw-r--r--src/curses/getstr.c14
-rw-r--r--src/curses/getwin.c12
-rw-r--r--src/curses/getyx.c5
-rw-r--r--src/curses/halfdelay.c11
-rw-r--r--src/curses/has_colors.c11
-rw-r--r--src/curses/has_ic.c11
-rw-r--r--src/curses/has_il.c11
-rw-r--r--src/curses/hline.c14
-rw-r--r--src/curses/hline_set.c14
-rw-r--r--src/curses/idcok.c10
-rw-r--r--src/curses/idlok.c11
-rw-r--r--src/curses/immedok.c10
-rw-r--r--src/curses/in_wch.c14
-rw-r--r--src/curses/in_wchnstr.c14
-rw-r--r--src/curses/in_wchstr.c14
-rw-r--r--src/curses/inch.c14
-rw-r--r--src/curses/inchnstr.c14
-rw-r--r--src/curses/inchstr.c14
-rw-r--r--src/curses/init_color.c11
-rw-r--r--src/curses/init_pair.c11
-rw-r--r--src/curses/initscr.c14
-rw-r--r--src/curses/innstr.c14
-rw-r--r--src/curses/innwstr.c14
-rw-r--r--src/curses/ins_nwstr.c14
-rw-r--r--src/curses/ins_wch.c14
-rw-r--r--src/curses/ins_wstr.c14
-rw-r--r--src/curses/insch.c14
-rw-r--r--src/curses/insdelln.c14
-rw-r--r--src/curses/insertln.c14
-rw-r--r--src/curses/insnstr.c14
-rw-r--r--src/curses/insstr.c14
-rw-r--r--src/curses/instr.c14
-rw-r--r--src/curses/intrflush.c11
-rw-r--r--src/curses/inwstr.c14
-rw-r--r--src/curses/is_linetouched.c11
-rw-r--r--src/curses/is_wintouched.c11
-rw-r--r--src/curses/isendwin.c11
-rw-r--r--src/curses/key_name.c12
-rw-r--r--src/curses/keyname.c12
-rw-r--r--src/curses/keypad.c11
-rw-r--r--src/curses/killchar.c11
-rw-r--r--src/curses/killwchar.c11
-rw-r--r--src/curses/leaveok.c11
-rw-r--r--src/curses/longname.c11
-rw-r--r--src/curses/meta.c12
-rw-r--r--src/curses/move.c14
-rw-r--r--src/curses/mvcur.c11
-rw-r--r--src/curses/mvderwin.c12
-rw-r--r--src/curses/mvprintw.c12
-rw-r--r--src/curses/mvscanw.c12
-rw-r--r--src/curses/mvwin.c11
-rw-r--r--src/curses/mvwprintw.c12
-rw-r--r--src/curses/mvwscanw.c12
-rw-r--r--src/curses/napms.c11
-rw-r--r--src/curses/newpad.c11
-rw-r--r--src/curses/newterm.c12
-rw-r--r--src/curses/newwin.c12
-rw-r--r--src/curses/nl.c11
-rw-r--r--src/curses/nocbreak.c11
-rw-r--r--src/curses/nodelay.c11
-rw-r--r--src/curses/noecho.c11
-rw-r--r--src/curses/nonl.c11
-rw-r--r--src/curses/noqiflush.c10
-rw-r--r--src/curses/noraw.c11
-rw-r--r--src/curses/notimeout.c11
-rw-r--r--src/curses/overlay.c11
-rw-r--r--src/curses/overwrite.c11
-rw-r--r--src/curses/pair_content.c11
-rw-r--r--src/curses/pecho_wchar.c11
-rw-r--r--src/curses/pechochar.c11
-rw-r--r--src/curses/pnoutrefresh.c11
-rw-r--r--src/curses/prefresh.c11
-rw-r--r--src/curses/printw.c12
-rw-r--r--src/curses/putwin.c12
-rw-r--r--src/curses/qiflush.c10
-rw-r--r--src/curses/raw.c11
-rw-r--r--src/curses/redrawwin.c11
-rw-r--r--src/curses/refresh.c14
-rw-r--r--src/curses/reset_prog_mode.c11
-rw-r--r--src/curses/reset_shell_mode.c11
-rw-r--r--src/curses/resetty.c11
-rw-r--r--src/curses/ripoffline.c11
-rw-r--r--src/curses/savetty.c11
-rw-r--r--src/curses/scanw.c12
-rw-r--r--src/curses/scr_dump.c11
-rw-r--r--src/curses/scr_init.c11
-rw-r--r--src/curses/scr_restore.c11
-rw-r--r--src/curses/scr_set.c11
-rw-r--r--src/curses/scrl.c14
-rw-r--r--src/curses/scrollok.c11
-rw-r--r--src/curses/set_term.c11
-rw-r--r--src/curses/setcchar.c11
-rw-r--r--src/curses/setscrreg.c14
-rw-r--r--src/curses/slk_attr_off.c11
-rw-r--r--src/curses/slk_attr_on.c11
-rw-r--r--src/curses/slk_attr_set.c11
-rw-r--r--src/curses/slk_attroff.c11
-rw-r--r--src/curses/slk_attron.c11
-rw-r--r--src/curses/slk_attrset.c11
-rw-r--r--src/curses/slk_clear.c11
-rw-r--r--src/curses/slk_color.c11
-rw-r--r--src/curses/slk_init.c11
-rw-r--r--src/curses/slk_label.c12
-rw-r--r--src/curses/slk_noutrefresh.c11
-rw-r--r--src/curses/slk_refresh.c11
-rw-r--r--src/curses/slk_restore.c11
-rw-r--r--src/curses/slk_set.c11
-rw-r--r--src/curses/slk_touch.c11
-rw-r--r--src/curses/slk_wset.c11
-rw-r--r--src/curses/standend.c14
-rw-r--r--src/curses/standout.c14
-rw-r--r--src/curses/start_color.c11
-rw-r--r--src/curses/stdscr.c6
-rw-r--r--src/curses/subpad.c11
-rw-r--r--src/curses/subwin.c12
-rw-r--r--src/curses/syncok.c11
-rw-r--r--src/curses/term_attrs.c11
-rw-r--r--src/curses/termattrs.c11
-rw-r--r--src/curses/termname.c12
-rw-r--r--src/curses/timeout.c13
-rw-r--r--src/curses/touchline.c11
-rw-r--r--src/curses/touchwin.c11
-rw-r--r--src/curses/typeahead.c11
-rw-r--r--src/curses/unget_wch.c11
-rw-r--r--src/curses/ungetch.c11
-rw-r--r--src/curses/untouchwin.c11
-rw-r--r--src/curses/use_env.c10
-rw-r--r--src/curses/vid_attr.c11
-rw-r--r--src/curses/vid_puts.c11
-rw-r--r--src/curses/vidattr.c11
-rw-r--r--src/curses/vidputs.c11
-rw-r--r--src/curses/vline.c14
-rw-r--r--src/curses/vline_set.c14
-rw-r--r--src/curses/vw_printw.c12
-rw-r--r--src/curses/vw_scanw.c12
-rw-r--r--src/curses/wchar_t.ref3
-rw-r--r--src/curses/wcursyncup.c10
-rw-r--r--src/curses/wint_t.ref3
-rw-r--r--src/curses/wnoutrefresh.c11
-rw-r--r--src/curses/wprintw.c12
-rw-r--r--src/curses/wredrawln.c11
-rw-r--r--src/curses/wscanw.c12
-rw-r--r--src/curses/wsyncdown.c10
-rw-r--r--src/curses/wsyncup.c10
-rw-r--r--src/curses/wtouchln.c11
-rw-r--r--src/curses/wunctrl.c11
410 files changed, 0 insertions, 3627 deletions
diff --git a/src/curses/ACS_BLOCK.h b/src/curses/ACS_BLOCK.h
deleted file mode 100644
index 73f79738..00000000
--- a/src/curses/ACS_BLOCK.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_BLOCK /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_BOARD.h b/src/curses/ACS_BOARD.h
deleted file mode 100644
index 606bb3f2..00000000
--- a/src/curses/ACS_BOARD.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_BOARD /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_BTEE.h b/src/curses/ACS_BTEE.h
deleted file mode 100644
index ff2caace..00000000
--- a/src/curses/ACS_BTEE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_BTEE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_BULLET.h b/src/curses/ACS_BULLET.h
deleted file mode 100644
index 57db68c6..00000000
--- a/src/curses/ACS_BULLET.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_BULLET /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_CKBOARD.h b/src/curses/ACS_CKBOARD.h
deleted file mode 100644
index 5f71599d..00000000
--- a/src/curses/ACS_CKBOARD.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_CKBOARD /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_DARROW.h b/src/curses/ACS_DARROW.h
deleted file mode 100644
index 779cc3f0..00000000
--- a/src/curses/ACS_DARROW.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_DARROW /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_DEGREE.h b/src/curses/ACS_DEGREE.h
deleted file mode 100644
index 5e955465..00000000
--- a/src/curses/ACS_DEGREE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_DEGREE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_DIAMOND.h b/src/curses/ACS_DIAMOND.h
deleted file mode 100644
index 22b485a5..00000000
--- a/src/curses/ACS_DIAMOND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_DIAMOND /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_HLINE.h b/src/curses/ACS_HLINE.h
deleted file mode 100644
index 80e9f034..00000000
--- a/src/curses/ACS_HLINE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_HLINE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_LANTERN.h b/src/curses/ACS_LANTERN.h
deleted file mode 100644
index 9405c80d..00000000
--- a/src/curses/ACS_LANTERN.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_LANTERN /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_LARROW.h b/src/curses/ACS_LARROW.h
deleted file mode 100644
index 55aed32e..00000000
--- a/src/curses/ACS_LARROW.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_LARROW /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_LLCORNER.h b/src/curses/ACS_LLCORNER.h
deleted file mode 100644
index c384c320..00000000
--- a/src/curses/ACS_LLCORNER.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_LLCORNER /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_LRCORNER.h b/src/curses/ACS_LRCORNER.h
deleted file mode 100644
index 9fcf3d26..00000000
--- a/src/curses/ACS_LRCORNER.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_LRCORNER /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_LTEE.h b/src/curses/ACS_LTEE.h
deleted file mode 100644
index 81ea5d23..00000000
--- a/src/curses/ACS_LTEE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_LTEE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_PLMINUS.h b/src/curses/ACS_PLMINUS.h
deleted file mode 100644
index 1dd9ceab..00000000
--- a/src/curses/ACS_PLMINUS.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_PLMINUS /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_PLUS.h b/src/curses/ACS_PLUS.h
deleted file mode 100644
index 4de904d9..00000000
--- a/src/curses/ACS_PLUS.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_PLUS /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_RARROW.h b/src/curses/ACS_RARROW.h
deleted file mode 100644
index eeba948a..00000000
--- a/src/curses/ACS_RARROW.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_RARROW /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_RTEE.h b/src/curses/ACS_RTEE.h
deleted file mode 100644
index dc4083f5..00000000
--- a/src/curses/ACS_RTEE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_RTEE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_S1.h b/src/curses/ACS_S1.h
deleted file mode 100644
index 477579da..00000000
--- a/src/curses/ACS_S1.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_S1 /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_S9.h b/src/curses/ACS_S9.h
deleted file mode 100644
index 42453b56..00000000
--- a/src/curses/ACS_S9.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_S9 /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_TTEE.h b/src/curses/ACS_TTEE.h
deleted file mode 100644
index 34a61a3f..00000000
--- a/src/curses/ACS_TTEE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_TTEE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_UARROW.h b/src/curses/ACS_UARROW.h
deleted file mode 100644
index f08953fb..00000000
--- a/src/curses/ACS_UARROW.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_UARROW /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_ULCORNER.h b/src/curses/ACS_ULCORNER.h
deleted file mode 100644
index 5c50e890..00000000
--- a/src/curses/ACS_ULCORNER.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_ULCORNER /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_URCORNER.h b/src/curses/ACS_URCORNER.h
deleted file mode 100644
index 26d66219..00000000
--- a/src/curses/ACS_URCORNER.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_URCORNER /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/ACS_VLINE.h b/src/curses/ACS_VLINE.h
deleted file mode 100644
index 39590bdf..00000000
--- a/src/curses/ACS_VLINE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define ACS_VLINE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/A_ALTCHARSET.h b/src/curses/A_ALTCHARSET.h
deleted file mode 100644
index 36967f90..00000000
--- a/src/curses/A_ALTCHARSET.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define A_ALTCHARSET (1<<8)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/A_ATTRIBUTES.h b/src/curses/A_ATTRIBUTES.h
deleted file mode 100644
index 2d10d083..00000000
--- a/src/curses/A_ATTRIBUTES.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define A_ATTRIBUTES (0x1ff00)
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/A_BLINK.h b/src/curses/A_BLINK.h
deleted file mode 100644
index 87201c35..00000000
--- a/src/curses/A_BLINK.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define A_BLINK (1<<9)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/A_BOLD.h b/src/curses/A_BOLD.h
deleted file mode 100644
index 6c47c1f5..00000000
--- a/src/curses/A_BOLD.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define A_BOLD (1<<10)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/A_CHARTEXT.h b/src/curses/A_CHARTEXT.h
deleted file mode 100644
index 2b657383..00000000
--- a/src/curses/A_CHARTEXT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define A_CHARTEXT (0xff)
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/A_COLOR.h b/src/curses/A_COLOR.h
deleted file mode 100644
index 518ef5cb..00000000
--- a/src/curses/A_COLOR.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define A_COLOR (0xff000000)
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/A_DIM.h b/src/curses/A_DIM.h
deleted file mode 100644
index bc980956..00000000
--- a/src/curses/A_DIM.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define A_DIM (1<<11)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/A_INVIS.h b/src/curses/A_INVIS.h
deleted file mode 100644
index 148a7786..00000000
--- a/src/curses/A_INVIS.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define A_INVIS (1<<12)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/A_PROTECT.h b/src/curses/A_PROTECT.h
deleted file mode 100644
index 56a363f1..00000000
--- a/src/curses/A_PROTECT.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define A_PROTECT (1<<13)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/A_REVERSE.h b/src/curses/A_REVERSE.h
deleted file mode 100644
index 0d7856ae..00000000
--- a/src/curses/A_REVERSE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define A_REVERSE (1<<14)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/A_STANDOUT.h b/src/curses/A_STANDOUT.h
deleted file mode 100644
index 5e6e13f9..00000000
--- a/src/curses/A_STANDOUT.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define A_STANDOUT (1<<15)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/A_UNDERLINE.h b/src/curses/A_UNDERLINE.h
deleted file mode 100644
index 133b587e..00000000
--- a/src/curses/A_UNDERLINE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define A_UNDERLINE (1<<16)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/COLORS.h b/src/curses/COLORS.h
deleted file mode 100644
index 9842c697..00000000
--- a/src/curses/COLORS.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-int COLORS;
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/COLOR_BLACK.h b/src/curses/COLOR_BLACK.h
deleted file mode 100644
index f8aa5d1c..00000000
--- a/src/curses/COLOR_BLACK.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define COLOR_BLACK (0)
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/COLOR_BLUE.h b/src/curses/COLOR_BLUE.h
deleted file mode 100644
index ad785ff8..00000000
--- a/src/curses/COLOR_BLUE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define COLOR_BLUE (4)
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/COLOR_CYAN.h b/src/curses/COLOR_CYAN.h
deleted file mode 100644
index c0920fd5..00000000
--- a/src/curses/COLOR_CYAN.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define COLOR_CYAN (6)
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/COLOR_GREEN.h b/src/curses/COLOR_GREEN.h
deleted file mode 100644
index 48449375..00000000
--- a/src/curses/COLOR_GREEN.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define COLOR_GREEN (2)
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/COLOR_MAGENTA.h b/src/curses/COLOR_MAGENTA.h
deleted file mode 100644
index f04b8386..00000000
--- a/src/curses/COLOR_MAGENTA.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define COLOR_MAGENTA (5)
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/COLOR_PAIR.h b/src/curses/COLOR_PAIR.h
deleted file mode 100644
index e664a419..00000000
--- a/src/curses/COLOR_PAIR.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define COLOR_PAIR(__n) /* TODO */
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/COLOR_PAIRS.h b/src/curses/COLOR_PAIRS.h
deleted file mode 100644
index 30adcb91..00000000
--- a/src/curses/COLOR_PAIRS.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-int COLOR_PAIRS;
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/COLOR_RED.h b/src/curses/COLOR_RED.h
deleted file mode 100644
index 5961bb64..00000000
--- a/src/curses/COLOR_RED.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define COLOR_RED (1)
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/COLOR_WHITE.h b/src/curses/COLOR_WHITE.h
deleted file mode 100644
index 24bb2327..00000000
--- a/src/curses/COLOR_WHITE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define COLOR_WHITE (7)
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/COLOR_YELLOW.h b/src/curses/COLOR_YELLOW.h
deleted file mode 100644
index ba1cbeeb..00000000
--- a/src/curses/COLOR_YELLOW.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define COLOR_YELLOW (3)
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/COLS.h b/src/curses/COLS.h
deleted file mode 100644
index 6135c424..00000000
--- a/src/curses/COLS.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-int COLS;
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/EOF.ref b/src/curses/EOF.ref
deleted file mode 100644
index 0efe5271..00000000
--- a/src/curses/EOF.ref
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <curses.h>
-REFERENCE(stdio/EOF.c)
-XOPEN(4)
diff --git a/src/curses/ERR.h b/src/curses/ERR.h
deleted file mode 100644
index c9a0861a..00000000
--- a/src/curses/ERR.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define ERR (-1)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/FALSE.h b/src/curses/FALSE.h
deleted file mode 100644
index 07cd0875..00000000
--- a/src/curses/FALSE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define FALSE (0)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/KEY_A1.h b/src/curses/KEY_A1.h
deleted file mode 100644
index 42a6fbc1..00000000
--- a/src/curses/KEY_A1.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_A1 /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_A3.h b/src/curses/KEY_A3.h
deleted file mode 100644
index 330ac626..00000000
--- a/src/curses/KEY_A3.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_A3 /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_B2.h b/src/curses/KEY_B2.h
deleted file mode 100644
index 51de96ed..00000000
--- a/src/curses/KEY_B2.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_B2 /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_BACKSPACE.h b/src/curses/KEY_BACKSPACE.h
deleted file mode 100644
index 3684173a..00000000
--- a/src/curses/KEY_BACKSPACE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_BACKSPACE /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_BEG.h b/src/curses/KEY_BEG.h
deleted file mode 100644
index 5601362e..00000000
--- a/src/curses/KEY_BEG.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_BEG /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_BREAK.h b/src/curses/KEY_BREAK.h
deleted file mode 100644
index a0ad22a1..00000000
--- a/src/curses/KEY_BREAK.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_BREAK /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_BTAB.h b/src/curses/KEY_BTAB.h
deleted file mode 100644
index ae557d4a..00000000
--- a/src/curses/KEY_BTAB.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_BTAB /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_C1.h b/src/curses/KEY_C1.h
deleted file mode 100644
index 7e7d9b92..00000000
--- a/src/curses/KEY_C1.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_C1 /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_C3.h b/src/curses/KEY_C3.h
deleted file mode 100644
index fe6e25ff..00000000
--- a/src/curses/KEY_C3.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_C3 /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_CANCEL.h b/src/curses/KEY_CANCEL.h
deleted file mode 100644
index 34d4354e..00000000
--- a/src/curses/KEY_CANCEL.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_CANCEL /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_CATAB.h b/src/curses/KEY_CATAB.h
deleted file mode 100644
index 0aa49e2e..00000000
--- a/src/curses/KEY_CATAB.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_CATAB /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_CLEAR.h b/src/curses/KEY_CLEAR.h
deleted file mode 100644
index 434a03b5..00000000
--- a/src/curses/KEY_CLEAR.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_CLEAR /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_CLOSE.h b/src/curses/KEY_CLOSE.h
deleted file mode 100644
index 63d98fff..00000000
--- a/src/curses/KEY_CLOSE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_CLOSE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_CODE_YES.h b/src/curses/KEY_CODE_YES.h
deleted file mode 100644
index 5a9c43f1..00000000
--- a/src/curses/KEY_CODE_YES.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define KEY_CODE_YES (1)
-/*
-XOPEN(700)
-LINK(curses)
-*/
diff --git a/src/curses/KEY_COMMAND.h b/src/curses/KEY_COMMAND.h
deleted file mode 100644
index 78b2f6e9..00000000
--- a/src/curses/KEY_COMMAND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_COMMAND /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_COPY.h b/src/curses/KEY_COPY.h
deleted file mode 100644
index 2f6a45e5..00000000
--- a/src/curses/KEY_COPY.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_COPY /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_CREATE.h b/src/curses/KEY_CREATE.h
deleted file mode 100644
index dcc74c3b..00000000
--- a/src/curses/KEY_CREATE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_CREATE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_CTAB.h b/src/curses/KEY_CTAB.h
deleted file mode 100644
index 1a1652f7..00000000
--- a/src/curses/KEY_CTAB.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_CTAB /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_DC.h b/src/curses/KEY_DC.h
deleted file mode 100644
index 802af42f..00000000
--- a/src/curses/KEY_DC.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_DC /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_DL.h b/src/curses/KEY_DL.h
deleted file mode 100644
index 73f5540b..00000000
--- a/src/curses/KEY_DL.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_DL /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_DOWN.h b/src/curses/KEY_DOWN.h
deleted file mode 100644
index d4904e7c..00000000
--- a/src/curses/KEY_DOWN.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_DOWN /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_EIC.h b/src/curses/KEY_EIC.h
deleted file mode 100644
index f278cb41..00000000
--- a/src/curses/KEY_EIC.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_EIC /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_END.h b/src/curses/KEY_END.h
deleted file mode 100644
index a66dabd2..00000000
--- a/src/curses/KEY_END.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_END /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_ENTER.h b/src/curses/KEY_ENTER.h
deleted file mode 100644
index 04774edb..00000000
--- a/src/curses/KEY_ENTER.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_ENTER /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_EOL.h b/src/curses/KEY_EOL.h
deleted file mode 100644
index c3d6215d..00000000
--- a/src/curses/KEY_EOL.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_EOL /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_EOS.h b/src/curses/KEY_EOS.h
deleted file mode 100644
index bce93d7d..00000000
--- a/src/curses/KEY_EOS.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_EOS /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_EXIT.h b/src/curses/KEY_EXIT.h
deleted file mode 100644
index eedb2dab..00000000
--- a/src/curses/KEY_EXIT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_EXIT /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_F0.h b/src/curses/KEY_F0.h
deleted file mode 100644
index ef3c01c1..00000000
--- a/src/curses/KEY_F0.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_F0 /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_FIND.h b/src/curses/KEY_FIND.h
deleted file mode 100644
index 90b2b6c7..00000000
--- a/src/curses/KEY_FIND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_FIND /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_HELP.h b/src/curses/KEY_HELP.h
deleted file mode 100644
index 5237d11b..00000000
--- a/src/curses/KEY_HELP.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_HELP /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_HOME.h b/src/curses/KEY_HOME.h
deleted file mode 100644
index 1fdbbd4b..00000000
--- a/src/curses/KEY_HOME.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_HOME /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_IC.h b/src/curses/KEY_IC.h
deleted file mode 100644
index ec8c31d5..00000000
--- a/src/curses/KEY_IC.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_IC /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_IL.h b/src/curses/KEY_IL.h
deleted file mode 100644
index d7a8c30e..00000000
--- a/src/curses/KEY_IL.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_IL /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_LEFT.h b/src/curses/KEY_LEFT.h
deleted file mode 100644
index fdf1ce55..00000000
--- a/src/curses/KEY_LEFT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_LEFT /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_LL.h b/src/curses/KEY_LL.h
deleted file mode 100644
index 8bdbde63..00000000
--- a/src/curses/KEY_LL.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_LL /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_MARK.h b/src/curses/KEY_MARK.h
deleted file mode 100644
index f0b4fd77..00000000
--- a/src/curses/KEY_MARK.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_MARK /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_MESSAGE.h b/src/curses/KEY_MESSAGE.h
deleted file mode 100644
index df116067..00000000
--- a/src/curses/KEY_MESSAGE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_MESSAGE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_MOVE.h b/src/curses/KEY_MOVE.h
deleted file mode 100644
index 8cbe3822..00000000
--- a/src/curses/KEY_MOVE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_MOVE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_NEXT.h b/src/curses/KEY_NEXT.h
deleted file mode 100644
index 345c71ce..00000000
--- a/src/curses/KEY_NEXT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_NEXT /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_NPAGE.h b/src/curses/KEY_NPAGE.h
deleted file mode 100644
index ec45be72..00000000
--- a/src/curses/KEY_NPAGE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_NPAGE /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_OPEN.h b/src/curses/KEY_OPEN.h
deleted file mode 100644
index 10043a39..00000000
--- a/src/curses/KEY_OPEN.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_OPEN /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_OPTIONS.h b/src/curses/KEY_OPTIONS.h
deleted file mode 100644
index 8288fad4..00000000
--- a/src/curses/KEY_OPTIONS.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_OPTIONS /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_PPAGE.h b/src/curses/KEY_PPAGE.h
deleted file mode 100644
index ac1353e9..00000000
--- a/src/curses/KEY_PPAGE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_PPAGE /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_PREVIOUS.h b/src/curses/KEY_PREVIOUS.h
deleted file mode 100644
index bc52d6d1..00000000
--- a/src/curses/KEY_PREVIOUS.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_PREVIOUS /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_PRINT.h b/src/curses/KEY_PRINT.h
deleted file mode 100644
index 9af62592..00000000
--- a/src/curses/KEY_PRINT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_PRINT /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_REDO.h b/src/curses/KEY_REDO.h
deleted file mode 100644
index 86980c1b..00000000
--- a/src/curses/KEY_REDO.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_REDO /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_REFERENCE.h b/src/curses/KEY_REFERENCE.h
deleted file mode 100644
index a0dd1f00..00000000
--- a/src/curses/KEY_REFERENCE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_REFERENCE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_REFRESH.h b/src/curses/KEY_REFRESH.h
deleted file mode 100644
index 9bb95984..00000000
--- a/src/curses/KEY_REFRESH.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_REFRESH /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_REPLACE.h b/src/curses/KEY_REPLACE.h
deleted file mode 100644
index f211f454..00000000
--- a/src/curses/KEY_REPLACE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_REPLACE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_RESET.h b/src/curses/KEY_RESET.h
deleted file mode 100644
index f16f3770..00000000
--- a/src/curses/KEY_RESET.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_RESET /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_RESTART.h b/src/curses/KEY_RESTART.h
deleted file mode 100644
index 0a286e6a..00000000
--- a/src/curses/KEY_RESTART.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_RESTART /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_RESUME.h b/src/curses/KEY_RESUME.h
deleted file mode 100644
index 6fd2dc67..00000000
--- a/src/curses/KEY_RESUME.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_RESUME /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_RIGHT.h b/src/curses/KEY_RIGHT.h
deleted file mode 100644
index a36ab87c..00000000
--- a/src/curses/KEY_RIGHT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_RIGHT /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_SAVE.h b/src/curses/KEY_SAVE.h
deleted file mode 100644
index fa3eaca5..00000000
--- a/src/curses/KEY_SAVE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SAVE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SBEG.h b/src/curses/KEY_SBEG.h
deleted file mode 100644
index 14487c4f..00000000
--- a/src/curses/KEY_SBEG.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SBEG /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SCANCEL.h b/src/curses/KEY_SCANCEL.h
deleted file mode 100644
index 837a70d4..00000000
--- a/src/curses/KEY_SCANCEL.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SCANCEL /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SCOMMAND.h b/src/curses/KEY_SCOMMAND.h
deleted file mode 100644
index e60bd637..00000000
--- a/src/curses/KEY_SCOMMAND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SCOMMAND /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SCOPY.h b/src/curses/KEY_SCOPY.h
deleted file mode 100644
index 23c78dbd..00000000
--- a/src/curses/KEY_SCOPY.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SCOPY /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SCREATE.h b/src/curses/KEY_SCREATE.h
deleted file mode 100644
index 95a83885..00000000
--- a/src/curses/KEY_SCREATE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SCREATE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SDC.h b/src/curses/KEY_SDC.h
deleted file mode 100644
index ac1cf913..00000000
--- a/src/curses/KEY_SDC.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SDC /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SDL.h b/src/curses/KEY_SDL.h
deleted file mode 100644
index c369af8c..00000000
--- a/src/curses/KEY_SDL.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SDL /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SELECT.h b/src/curses/KEY_SELECT.h
deleted file mode 100644
index 7bc02875..00000000
--- a/src/curses/KEY_SELECT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SELECT /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SEND.h b/src/curses/KEY_SEND.h
deleted file mode 100644
index 3b035665..00000000
--- a/src/curses/KEY_SEND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SEND /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SEOL.h b/src/curses/KEY_SEOL.h
deleted file mode 100644
index d66203c4..00000000
--- a/src/curses/KEY_SEOL.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SEOL /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SEXIT.h b/src/curses/KEY_SEXIT.h
deleted file mode 100644
index 21a528c9..00000000
--- a/src/curses/KEY_SEXIT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SEXIT /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SF.h b/src/curses/KEY_SF.h
deleted file mode 100644
index 05c23d2c..00000000
--- a/src/curses/KEY_SF.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SF /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_SFIND.h b/src/curses/KEY_SFIND.h
deleted file mode 100644
index dcba55c1..00000000
--- a/src/curses/KEY_SFIND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SFIND /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SHELP.h b/src/curses/KEY_SHELP.h
deleted file mode 100644
index 5875b861..00000000
--- a/src/curses/KEY_SHELP.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SHELP /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SHOME.h b/src/curses/KEY_SHOME.h
deleted file mode 100644
index 7a336787..00000000
--- a/src/curses/KEY_SHOME.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SHOME /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SIX.h b/src/curses/KEY_SIX.h
deleted file mode 100644
index 0eb11905..00000000
--- a/src/curses/KEY_SIX.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SIX /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SLEFT.h b/src/curses/KEY_SLEFT.h
deleted file mode 100644
index e8b09ede..00000000
--- a/src/curses/KEY_SLEFT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SLEFT /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SMESSAGE.h b/src/curses/KEY_SMESSAGE.h
deleted file mode 100644
index 98268cd6..00000000
--- a/src/curses/KEY_SMESSAGE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SMESSAGE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SMOVE.h b/src/curses/KEY_SMOVE.h
deleted file mode 100644
index fed2d9f7..00000000
--- a/src/curses/KEY_SMOVE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SMOVE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SNEXT.h b/src/curses/KEY_SNEXT.h
deleted file mode 100644
index 34f3eb14..00000000
--- a/src/curses/KEY_SNEXT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SNEXT /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SOPTIONS.h b/src/curses/KEY_SOPTIONS.h
deleted file mode 100644
index da7323fc..00000000
--- a/src/curses/KEY_SOPTIONS.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SOPTIONS /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SPREVIOUS.h b/src/curses/KEY_SPREVIOUS.h
deleted file mode 100644
index 897ef37e..00000000
--- a/src/curses/KEY_SPREVIOUS.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SPREVIOUS /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SPRINT.h b/src/curses/KEY_SPRINT.h
deleted file mode 100644
index 7b4e808e..00000000
--- a/src/curses/KEY_SPRINT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SPRINT /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SR.h b/src/curses/KEY_SR.h
deleted file mode 100644
index f1046780..00000000
--- a/src/curses/KEY_SR.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SR /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_SREDO.h b/src/curses/KEY_SREDO.h
deleted file mode 100644
index 4aa17f4f..00000000
--- a/src/curses/KEY_SREDO.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SREDO /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SREPLACE.h b/src/curses/KEY_SREPLACE.h
deleted file mode 100644
index df75bc2b..00000000
--- a/src/curses/KEY_SREPLACE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SREPLACE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SRESET.h b/src/curses/KEY_SRESET.h
deleted file mode 100644
index 18e93a97..00000000
--- a/src/curses/KEY_SRESET.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SRESET /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_SRIGHT.h b/src/curses/KEY_SRIGHT.h
deleted file mode 100644
index 8d4ef7b7..00000000
--- a/src/curses/KEY_SRIGHT.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SRIGHT /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SRSUME.h b/src/curses/KEY_SRSUME.h
deleted file mode 100644
index 436b5c04..00000000
--- a/src/curses/KEY_SRSUME.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SRSUME /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SSAVE.h b/src/curses/KEY_SSAVE.h
deleted file mode 100644
index ddf535e1..00000000
--- a/src/curses/KEY_SSAVE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SSAVE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SSUSPEND.h b/src/curses/KEY_SSUSPEND.h
deleted file mode 100644
index 2e1dd1d5..00000000
--- a/src/curses/KEY_SSUSPEND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SSUSPEND /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_STAB.h b/src/curses/KEY_STAB.h
deleted file mode 100644
index f2258f62..00000000
--- a/src/curses/KEY_STAB.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_STAB /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/KEY_SUNDO.h b/src/curses/KEY_SUNDO.h
deleted file mode 100644
index 9109047a..00000000
--- a/src/curses/KEY_SUNDO.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SUNDO /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_SUSPEND.h b/src/curses/KEY_SUSPEND.h
deleted file mode 100644
index c4ca7781..00000000
--- a/src/curses/KEY_SUSPEND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_SUSPEND /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_UNDO.h b/src/curses/KEY_UNDO.h
deleted file mode 100644
index 129859f8..00000000
--- a/src/curses/KEY_UNDO.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_UNDO /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/KEY_UP.h b/src/curses/KEY_UP.h
deleted file mode 100644
index 640d1b41..00000000
--- a/src/curses/KEY_UP.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define KEY_UP /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/LINES.h b/src/curses/LINES.h
deleted file mode 100644
index 4c07c968..00000000
--- a/src/curses/LINES.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-int LINES;
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/OK.h b/src/curses/OK.h
deleted file mode 100644
index 0590b031..00000000
--- a/src/curses/OK.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define OK (0)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/PAIR_NUMBER.h b/src/curses/PAIR_NUMBER.h
deleted file mode 100644
index 183a6ed7..00000000
--- a/src/curses/PAIR_NUMBER.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define PAIR_NUMBER(__value) /* TODO */
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/SCREEN.h b/src/curses/SCREEN.h
deleted file mode 100644
index 52609547..00000000
--- a/src/curses/SCREEN.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <curses.h>
-
-typedef struct __SCREEN SCREEN;
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/TRUE.h b/src/curses/TRUE.h
deleted file mode 100644
index ed1399a4..00000000
--- a/src/curses/TRUE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define TRUE (1)
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/WACS_BLOCK.h b/src/curses/WACS_BLOCK.h
deleted file mode 100644
index 13d9983a..00000000
--- a/src/curses/WACS_BLOCK.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_BLOCK /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_BOARD.h b/src/curses/WACS_BOARD.h
deleted file mode 100644
index dd61b474..00000000
--- a/src/curses/WACS_BOARD.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_BOARD /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_BTEE.h b/src/curses/WACS_BTEE.h
deleted file mode 100644
index e4e677d4..00000000
--- a/src/curses/WACS_BTEE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_BTEE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_BULLET.h b/src/curses/WACS_BULLET.h
deleted file mode 100644
index 0a82802a..00000000
--- a/src/curses/WACS_BULLET.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_BULLET /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_CKBOARD.h b/src/curses/WACS_CKBOARD.h
deleted file mode 100644
index 54eb69c1..00000000
--- a/src/curses/WACS_CKBOARD.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_CKBOARD /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_DARROW.h b/src/curses/WACS_DARROW.h
deleted file mode 100644
index e3a109a3..00000000
--- a/src/curses/WACS_DARROW.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_DARROW /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_DEGREE.h b/src/curses/WACS_DEGREE.h
deleted file mode 100644
index dc3763c7..00000000
--- a/src/curses/WACS_DEGREE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_DEGREE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_DIAMOND.h b/src/curses/WACS_DIAMOND.h
deleted file mode 100644
index 4071e314..00000000
--- a/src/curses/WACS_DIAMOND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_DIAMOND /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_HLINE.h b/src/curses/WACS_HLINE.h
deleted file mode 100644
index 944d5d4a..00000000
--- a/src/curses/WACS_HLINE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_HLINE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_LANTERN.h b/src/curses/WACS_LANTERN.h
deleted file mode 100644
index 0ccc66ac..00000000
--- a/src/curses/WACS_LANTERN.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_LANTERN /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_LARROW.h b/src/curses/WACS_LARROW.h
deleted file mode 100644
index 02dabc99..00000000
--- a/src/curses/WACS_LARROW.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_LARROW /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_LLCORNER.h b/src/curses/WACS_LLCORNER.h
deleted file mode 100644
index 0b1b2706..00000000
--- a/src/curses/WACS_LLCORNER.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_LLCORNER /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_LRCORNER.h b/src/curses/WACS_LRCORNER.h
deleted file mode 100644
index 05a8ba22..00000000
--- a/src/curses/WACS_LRCORNER.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_LRCORNER /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_LTEE.h b/src/curses/WACS_LTEE.h
deleted file mode 100644
index 3478588c..00000000
--- a/src/curses/WACS_LTEE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_LTEE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_PLMINUS.h b/src/curses/WACS_PLMINUS.h
deleted file mode 100644
index 9c6f3f6d..00000000
--- a/src/curses/WACS_PLMINUS.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_PLMINUS /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_PLUS.h b/src/curses/WACS_PLUS.h
deleted file mode 100644
index c30c72f7..00000000
--- a/src/curses/WACS_PLUS.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_PLUS /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_RARROW.h b/src/curses/WACS_RARROW.h
deleted file mode 100644
index bc070342..00000000
--- a/src/curses/WACS_RARROW.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_RARROW /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_RTEE.h b/src/curses/WACS_RTEE.h
deleted file mode 100644
index 90045cf6..00000000
--- a/src/curses/WACS_RTEE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_RTEE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_S1.h b/src/curses/WACS_S1.h
deleted file mode 100644
index 0a700158..00000000
--- a/src/curses/WACS_S1.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_S1 /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_S9.h b/src/curses/WACS_S9.h
deleted file mode 100644
index 94a58374..00000000
--- a/src/curses/WACS_S9.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_S9 /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_TTEE.h b/src/curses/WACS_TTEE.h
deleted file mode 100644
index c836c512..00000000
--- a/src/curses/WACS_TTEE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_TTEE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_UARROW.h b/src/curses/WACS_UARROW.h
deleted file mode 100644
index b2455507..00000000
--- a/src/curses/WACS_UARROW.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_UARROW /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_ULCORNER.h b/src/curses/WACS_ULCORNER.h
deleted file mode 100644
index 7f037812..00000000
--- a/src/curses/WACS_ULCORNER.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_ULCORNER /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_URCORNER.h b/src/curses/WACS_URCORNER.h
deleted file mode 100644
index a628d351..00000000
--- a/src/curses/WACS_URCORNER.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_URCORNER /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WACS_VLINE.h b/src/curses/WACS_VLINE.h
deleted file mode 100644
index fda13c42..00000000
--- a/src/curses/WACS_VLINE.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define WACS_VLINE /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/WA_ALTCHARSET.h b/src/curses/WA_ALTCHARSET.h
deleted file mode 100644
index 7c8b69ca..00000000
--- a/src/curses/WA_ALTCHARSET.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_ALTCHARSET (1<<0)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_BLINK.h b/src/curses/WA_BLINK.h
deleted file mode 100644
index 03be8ea3..00000000
--- a/src/curses/WA_BLINK.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_BLINK (1<<1)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_BOLD.h b/src/curses/WA_BOLD.h
deleted file mode 100644
index 6fdb4cfa..00000000
--- a/src/curses/WA_BOLD.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_BOLD (1<<2)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_DIM.h b/src/curses/WA_DIM.h
deleted file mode 100644
index 76508c66..00000000
--- a/src/curses/WA_DIM.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_DIM (1<<3)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_HORIZONTAL.h b/src/curses/WA_HORIZONTAL.h
deleted file mode 100644
index e9f7f0f9..00000000
--- a/src/curses/WA_HORIZONTAL.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_HORIZONTAL (1<<4)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_INVIS.h b/src/curses/WA_INVIS.h
deleted file mode 100644
index 62adc688..00000000
--- a/src/curses/WA_INVIS.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_INVIS (1<<5)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_LEFT.h b/src/curses/WA_LEFT.h
deleted file mode 100644
index 617f04c5..00000000
--- a/src/curses/WA_LEFT.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_LEFT (1<<6)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_LOW.h b/src/curses/WA_LOW.h
deleted file mode 100644
index 48dbc6e7..00000000
--- a/src/curses/WA_LOW.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_LOW (1<<7)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_PROTECT.h b/src/curses/WA_PROTECT.h
deleted file mode 100644
index 094364ea..00000000
--- a/src/curses/WA_PROTECT.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_PROTECT (1<<8)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_REVERSE.h b/src/curses/WA_REVERSE.h
deleted file mode 100644
index 6081f722..00000000
--- a/src/curses/WA_REVERSE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_REVERSE (1<<9)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_RIGHT.h b/src/curses/WA_RIGHT.h
deleted file mode 100644
index 4b20708a..00000000
--- a/src/curses/WA_RIGHT.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_RIGHT (1<<10)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_STANDOUT.h b/src/curses/WA_STANDOUT.h
deleted file mode 100644
index e22664a9..00000000
--- a/src/curses/WA_STANDOUT.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_STANDOUT (1<<11)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_TOP.h b/src/curses/WA_TOP.h
deleted file mode 100644
index 8801cddf..00000000
--- a/src/curses/WA_TOP.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_TOP (1<<12)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WA_UNDERLINE.h b/src/curses/WA_UNDERLINE.h
deleted file mode 100644
index 8fe5789b..00000000
--- a/src/curses/WA_UNDERLINE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define WA_UNDERLINE (1<<13)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/WEOF.ref b/src/curses/WEOF.ref
deleted file mode 100644
index 6b111299..00000000
--- a/src/curses/WEOF.ref
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <curses.h>
-REFERENCE(wctype/WEOF.c)
-XOPEN(4)
diff --git a/src/curses/WINDOW.h b/src/curses/WINDOW.h
deleted file mode 100644
index 664e134f..00000000
--- a/src/curses/WINDOW.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <curses.h>
-
-typedef struct __WINDOW WINDOW;
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/_XOPEN_CURSES.c b/src/curses/_XOPEN_CURSES.c
deleted file mode 100644
index 401de444..00000000
--- a/src/curses/_XOPEN_CURSES.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-#define _XOPEN_CURSES (_XOPEN_SOURCE)
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/_curses.h b/src/curses/_curses.h
deleted file mode 100644
index 94f312be..00000000
--- a/src/curses/_curses.h
+++ /dev/null
@@ -1,52 +0,0 @@
-#ifndef __NONSTD_CURSES_H__
-#define __NONSTD_CURSES_H__
-
-struct __WINDOW {
- int y, x;
-};
-
-#define CURSES_FUNCTION0(_rt, _fn) \
-_rt mvw##_fn(WINDOW *_w, int _y, int _x) { \
- return (wmove(_w, _y, _x) == OK) ? w##_fn(_w) : ERR; \
-} \
-_rt mv##_fn(int _y, int _x) { return mvw##_fn(stdscr, _y, _x); } \
-_rt _fn(void) { return w##_fn(stdscr); }
-
-#define CURSES_FUNCTION(_rt, _fn, _t1) \
-_rt mvw##_fn(WINDOW *_w, int _y, int _x, _t1 _a1) { \
- return (wmove(_w, _y, _x) == OK) ? w##_fn(_w, _a1) : ERR; \
-} \
-_rt mv##_fn(int _y, int _x, _t1 _a1) { return mvw##_fn(stdscr, _y, _x, _a1); } \
-_rt _fn(_t1 _a1) { return w##_fn(stdscr, _a1); }
-
-#define CURSES_FUNCTION2(_rt, _fn, _t1, _t2) \
-_rt mvw##_fn(WINDOW *_w, int _y, int _x, _t1 _a1, _t2 _a2) { \
- return (wmove(_w, _y, _x) == OK) ? w##_fn(_w, _a1, _a2) : ERR; \
-} \
-_rt mv##_fn(int _y, int _x, _t1 _a1, _t2 _a2) { return mvw##_fn(stdscr, _y, _x, _a1, _a2); } \
-_rt _fn(_t1 _a1, _t2 _a2) { return w##_fn(stdscr, _a1, _a2); }
-
-#define CURSES_FUNCTION4(_rt, _fn, _t1, _t2, _t3, _t4) \
-_rt mvw##_fn(WINDOW *_w, int _y, int _x, _t1 _a1, _t2 _a2, _t3 _a3, _t4 _a4) { \
- return (wmove(_w, _y, _x) == OK) ? w##_fn(_w, _a1, _a2, _a3, _a4) : ERR; \
-} \
-_rt mv##_fn(int _y, int _x, _t1 _a1, _t2 _a2, _t3 _a3, _t4 _a4) { return mvw##_fn(stdscr, _y, _x, _a1, _a2, _a3, _a4); } \
-_rt _fn(_t1 _a1, _t2 _a2, _t3 _a3, _t4 _a4) { return w##_fn(stdscr, _a1, _a2, _a3, _a4); }
-
-#define CURSES_WFN0(_rt, _fn) \
-_rt _fn(void) { return w##_fn(stdscr); }
-
-#define CURSES_WFN1(_rt, _fn, _t1) \
-_rt _fn(_t1 _a1) { return w##_fn(stdscr, _a1); }
-
-#define CURSES_WFN2(_rt, _fn, _t1, _t2) \
-_rt _fn(_t1 _a1, _t2 _a2) { return w##_fn(stdscr, _a1, _a2); }
-
-#define CURSES_WFN8(_rt, _fn, _t1, _t2, _t3, _t4, _t5, _t6, _t7, _t8) \
-_rt _fn(_t1 _a1, _t2 _a2, _t3 _a3, _t4 _a4, _t5 _a5, _t6 _a6, _t7 _a7, _t8 _a8) \
-{ return w##_fn(stdscr, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8); }
-
-#define CURSES_VWFN1(_fn, _t1) \
-void _fn(_t1 _a1) { w##_fn(stdscr, _a1); }
-
-#endif
diff --git a/src/curses/add_wch.c b/src/curses/add_wch.c
deleted file mode 100644
index 40f4f1f3..00000000
--- a/src/curses/add_wch.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wadd_wch(WINDOW * win, const cchar_t * wch)
-{
- (void)win; (void)wch;
- return 0;
-}
-
-CURSES_FUNCTION(int, add_wch, const cchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/add_wchnstr.c b/src/curses/add_wchnstr.c
deleted file mode 100644
index 99870ccd..00000000
--- a/src/curses/add_wchnstr.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wadd_wchnstr(WINDOW * win, const cchar_t * wchstr, int n)
-{
- (void)win; (void)wchstr; (void)n;
- return 0;
-}
-
-CURSES_FUNCTION2(int, add_wchnstr, const cchar_t *, int)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/add_wchstr.c b/src/curses/add_wchstr.c
deleted file mode 100644
index 4bf8f6a1..00000000
--- a/src/curses/add_wchstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wadd_wchstr(WINDOW * win, const cchar_t * wchstr)
-{
- return wadd_wchnstr(win, wchstr, -1);
-}
-
-CURSES_FUNCTION(int, add_wchstr, const cchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/addch.c b/src/curses/addch.c
deleted file mode 100644
index 9f3f6926..00000000
--- a/src/curses/addch.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int waddch(WINDOW * win, const chtype ch)
-{
- (void)win; (void)ch;
- return 0;
-}
-
-CURSES_FUNCTION(int, addch, const chtype)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/addchnstr.c b/src/curses/addchnstr.c
deleted file mode 100644
index 11ecb7e4..00000000
--- a/src/curses/addchnstr.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int waddchnstr(WINDOW * win, const chtype * chstr, int n)
-{
- (void)win; (void)chstr; (void)n;
- return 0;
-}
-
-CURSES_FUNCTION2(int, addchnstr, const chtype *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/addchstr.c b/src/curses/addchstr.c
deleted file mode 100644
index 0955b110..00000000
--- a/src/curses/addchstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int waddchstr(WINDOW * win, const chtype * chstr)
-{
- return waddchnstr(win, chstr, -1);
-}
-
-CURSES_FUNCTION(int, addchstr, const chtype *)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/addnstr.c b/src/curses/addnstr.c
deleted file mode 100644
index c0012cf7..00000000
--- a/src/curses/addnstr.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int waddnstr(WINDOW * win, const char * str, int n)
-{
- (void)win; (void)str; (void)n;
- return 0;
-}
-
-CURSES_FUNCTION2(int, addnstr, const char *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/addnwstr.c b/src/curses/addnwstr.c
deleted file mode 100644
index 25e53a3b..00000000
--- a/src/curses/addnwstr.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int waddnwstr(WINDOW * win, const wchar_t * wstr, int n)
-{
- (void)win; (void)wstr; (void)n;
- return 0;
-}
-
-CURSES_FUNCTION2(int, addnwstr, const wchar_t *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/addstr.c b/src/curses/addstr.c
deleted file mode 100644
index e0f256d6..00000000
--- a/src/curses/addstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int waddstr(WINDOW *win, const char * str)
-{
- return waddnstr(win, str, -1);
-}
-
-CURSES_FUNCTION(int, addstr, const char *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/addwstr.c b/src/curses/addwstr.c
deleted file mode 100644
index 18915f33..00000000
--- a/src/curses/addwstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int waddwstr(WINDOW * win, const wchar_t * wstr)
-{
- return waddwnstr(win, wstr, -1);
-}
-
-CURSES_FUNCTION(int, addwstr, const wchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/attr_get.c b/src/curses/attr_get.c
deleted file mode 100644
index 4acc227d..00000000
--- a/src/curses/attr_get.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wattr_get(WINDOW * win, attr_t * attrs, short * color_pair_number, void * opts)
-{
- return ERR;
-}
-
-CURSES_WFN2(int, attr_get, attr_t *, short *, void *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/attr_off.c b/src/curses/attr_off.c
deleted file mode 100644
index 04028825..00000000
--- a/src/curses/attr_off.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wattr_off(WINDOW * win, attr_t attrs, void * opts)
-{
- return ERR;
-}
-
-CURSES_WFN2(int, attr_off, attr_t, void *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/attr_on.c b/src/curses/attr_on.c
deleted file mode 100644
index 2e2f6723..00000000
--- a/src/curses/attr_on.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wattr_on(WINDOW * win, attr_t attrs, void * opts)
-{
- return ERR;
-}
-
-CURSES_WFN2(int, attr_on, attr_t, void *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/attr_set.c b/src/curses/attr_set.c
deleted file mode 100644
index 62e78027..00000000
--- a/src/curses/attr_set.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wattr_set(WINDOW * win, attr_t attrs, short color_pair_number, void * opts)
-{
- return ERR;
-}
-
-CURSES_WFN2(int, attr_set, attr_t, short, void *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/attr_t.h b/src/curses/attr_t.h
deleted file mode 100644
index fd1f8535..00000000
--- a/src/curses/attr_t.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-typedef unsigned int attr_t;
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/attroff.c b/src/curses/attroff.c
deleted file mode 100644
index d72268fe..00000000
--- a/src/curses/attroff.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wattroff(WINDOW * win, int attrs)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, attroff, int)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/attron.c b/src/curses/attron.c
deleted file mode 100644
index 8d4b8fe2..00000000
--- a/src/curses/attron.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wattron(WINDOW * win, int attrs)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, attron, int)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/attrset.c b/src/curses/attrset.c
deleted file mode 100644
index 4f66f24e..00000000
--- a/src/curses/attrset.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wattrset(WINDOW * win, int attrs)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, attrset, int)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/baudrate.c b/src/curses/baudrate.c
deleted file mode 100644
index 559e19a9..00000000
--- a/src/curses/baudrate.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int baudrate(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/beep.c b/src/curses/beep.c
deleted file mode 100644
index af0b8b37..00000000
--- a/src/curses/beep.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int beep(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/bkgd.c b/src/curses/bkgd.c
deleted file mode 100644
index a55ea669..00000000
--- a/src/curses/bkgd.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wbkgd(WINDOW * win, chtype ch)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, bkgd, chtype)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/bkgdset.c b/src/curses/bkgdset.c
deleted file mode 100644
index bdaf9315..00000000
--- a/src/curses/bkgdset.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-void wbkgdset(WINDOW * win, chtype ch)
-{
- (void)win; (void)ch;
-}
-
-CURSES_VWFN1(bkgdset, chtype)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/bkgrnd.c b/src/curses/bkgrnd.c
deleted file mode 100644
index 3155f7b0..00000000
--- a/src/curses/bkgrnd.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wbkgrnd(WINDOW * win, const cchar_t * wch)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, bkgrnd, const cchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/bkgrndset.c b/src/curses/bkgrndset.c
deleted file mode 100644
index e705a9f3..00000000
--- a/src/curses/bkgrndset.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-void wbkgrndset(WINDOW * win, const cchar_t * wch)
-{
- (void)win; (void)ch;
-}
-
-CURSES_VWFN1(bkgrndset, const cchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/bool.c b/src/curses/bool.c
deleted file mode 100644
index c7927d0d..00000000
--- a/src/curses/bool.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-#if defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__
-typedef _Bool bool;
-#else
-typedef int bool;
-#endif
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/border.c b/src/curses/border.c
deleted file mode 100644
index 6ee27e68..00000000
--- a/src/curses/border.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wborder(WINDOW * win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br)
-{
- return ERR;
-}
-
-CURSES_WFN8(int, border, chtype, chtype, chtype, chtype, chtype, chtype, chtype, chtype)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/border_set.c b/src/curses/border_set.c
deleted file mode 100644
index 7fb267b6..00000000
--- a/src/curses/border_set.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wborder_set(WINDOW * win, const cchar_t * ls, const cchar_t * rs, const cchar_t * ts, const cchar_t * bs, const cchar_t * tl, const cchar_t * tr, const cchar_t * bl, const cchar_t * br)
-{
- return ERR;
-}
-
-CURSES_WFN8(int, border_set, const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/box.c b/src/curses/box.c
deleted file mode 100644
index f166e3b3..00000000
--- a/src/curses/box.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int box(WINDOW * win, chtype verch, chtype horch)
-{
- return wborder(win, verch, verch, horch, horch, 0, 0, 0, 0);
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/box_set.c b/src/curses/box_set.c
deleted file mode 100644
index 3877fe9d..00000000
--- a/src/curses/box_set.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-int box_set(WINDOW * win, const cchar_t * verch, const cchar_t * horch)
-{
- return wborder(win, verch, verch, horch, horch, NULL, NULL, NULL, NULL);
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/can_change_color.c b/src/curses/can_change_color.c
deleted file mode 100644
index 13df2965..00000000
--- a/src/curses/can_change_color.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-bool can_change_color(void)
-{
- return FALSE;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/cbreak.c b/src/curses/cbreak.c
deleted file mode 100644
index 8e2f6f90..00000000
--- a/src/curses/cbreak.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int cbreak(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/cchar_t.h b/src/curses/cchar_t.h
deleted file mode 100644
index 730ae320..00000000
--- a/src/curses/cchar_t.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <curses.h>
-
-typedef wchar_t * cchar_t;
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/chgat.c b/src/curses/chgat.c
deleted file mode 100644
index 9a3398aa..00000000
--- a/src/curses/chgat.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wchgat(WINDOW * win, int n, attr_t attr, short color, const void * opts)
-{
- return ERR;
-}
-
-CURSES_FUNCTION4(int, chgat, int, attr_t, short, const void *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/chtype.c b/src/curses/chtype.c
deleted file mode 100644
index d56a0eb0..00000000
--- a/src/curses/chtype.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <curses.h>
-
-typedef unsigned int chtype;
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/clear.c b/src/curses/clear.c
deleted file mode 100644
index 17bb04e4..00000000
--- a/src/curses/clear.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wclear(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_WFN0(int, clear)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/clearok.c b/src/curses/clearok.c
deleted file mode 100644
index 317dba68..00000000
--- a/src/curses/clearok.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int clearok(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/clrtobot.c b/src/curses/clrtobot.c
deleted file mode 100644
index 83812991..00000000
--- a/src/curses/clrtobot.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wclrtobot(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_WFN0(int, clrtobot)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/clrtoeol.c b/src/curses/clrtoeol.c
deleted file mode 100644
index 189e9d64..00000000
--- a/src/curses/clrtoeol.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wclrtoeol(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_WFN0(int, clrtoeol)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/color_content.c b/src/curses/color_content.c
deleted file mode 100644
index 72025279..00000000
--- a/src/curses/color_content.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int color_content(short color, short * red, short * green, short * blue)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/color_set.c b/src/curses/color_set.c
deleted file mode 100644
index 35f94657..00000000
--- a/src/curses/color_set.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wcolor_set(WINDOW * win, short color_pair_number, void * opts)
-{
- return ERR;
-}
-
-CURSES_WFN2(int, color_set, short, void *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/copywin.c b/src/curses/copywin.c
deleted file mode 100644
index 48134b86..00000000
--- a/src/curses/copywin.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int copywin(const WINDOW * srcwin, WINDOW * dstwin, int sminrow, int smincol, int dminrow, int dmincol, int dmaxrow, int dmaxcol, int overlay)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/curs_set.c b/src/curses/curs_set.c
deleted file mode 100644
index cbbfcf24..00000000
--- a/src/curses/curs_set.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int curs_set(int visibility)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/curscr.c b/src/curses/curscr.c
deleted file mode 100644
index 04bc426c..00000000
--- a/src/curses/curscr.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-SCREEN *curscr;
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/def_prog_mode.c b/src/curses/def_prog_mode.c
deleted file mode 100644
index a96c122f..00000000
--- a/src/curses/def_prog_mode.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int def_prog_mode(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/def_shell_mode.c b/src/curses/def_shell_mode.c
deleted file mode 100644
index c9b1b787..00000000
--- a/src/curses/def_shell_mode.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int def_shell_mode(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/delay_output.c b/src/curses/delay_output.c
deleted file mode 100644
index 3247f9c8..00000000
--- a/src/curses/delay_output.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int delay_output(int ms)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/delch.c b/src/curses/delch.c
deleted file mode 100644
index 074852d1..00000000
--- a/src/curses/delch.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wdelch(WINDOW * win)
-{
- (void)win;
- return ERR;
-}
-
-CURSES_FUNCTION0(int, delch)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/deleteln.c b/src/curses/deleteln.c
deleted file mode 100644
index a18a3bfa..00000000
--- a/src/curses/deleteln.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wdeleteln(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_WFN0(int, deleteln)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/delscreen.c b/src/curses/delscreen.c
deleted file mode 100644
index f57bff75..00000000
--- a/src/curses/delscreen.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void delscreen(SCREEN * sp)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/delwin.c b/src/curses/delwin.c
deleted file mode 100644
index 228463b9..00000000
--- a/src/curses/delwin.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void delwin(WINDOW * win)
-{
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/derwin.c b/src/curses/derwin.c
deleted file mode 100644
index 1ce2b992..00000000
--- a/src/curses/derwin.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-WINDOW * derwin(WINDOW * orig, int nlines, int ncols, int begin_y, int begin_x)
-{
- return NULL;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/doupdate.c b/src/curses/doupdate.c
deleted file mode 100644
index dcefe637..00000000
--- a/src/curses/doupdate.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int doupdate(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/dupwin.c b/src/curses/dupwin.c
deleted file mode 100644
index c5d14563..00000000
--- a/src/curses/dupwin.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-WINDOW * dupwin(WINDOW * win)
-{
- return NULL;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/echo.c b/src/curses/echo.c
deleted file mode 100644
index 0e840b58..00000000
--- a/src/curses/echo.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int echo(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/echo_wchar.c b/src/curses/echo_wchar.c
deleted file mode 100644
index 2f7686ff..00000000
--- a/src/curses/echo_wchar.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wecho_wchar(WINDOW * win, const cchar_t * wch)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, echo_wchar, const cchar_t * wch)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/echochar.c b/src/curses/echochar.c
deleted file mode 100644
index a3077437..00000000
--- a/src/curses/echochar.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wechochar(WINDOW * win, const chtype wch)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, echochar, const chtype wch)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/endwin.c b/src/curses/endwin.c
deleted file mode 100644
index 34bae0c1..00000000
--- a/src/curses/endwin.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int endwin(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/erase.c b/src/curses/erase.c
deleted file mode 100644
index 79205337..00000000
--- a/src/curses/erase.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int werase(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_WFN0(int, erase)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/erasechar.c b/src/curses/erasechar.c
deleted file mode 100644
index af888e10..00000000
--- a/src/curses/erasechar.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-char erasechar(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/erasewchar.c b/src/curses/erasewchar.c
deleted file mode 100644
index f65efe1f..00000000
--- a/src/curses/erasewchar.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int erasewchar(wchar_t * ch)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/filter.c b/src/curses/filter.c
deleted file mode 100644
index c82b421e..00000000
--- a/src/curses/filter.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void filter(void)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/flash.c b/src/curses/flash.c
deleted file mode 100644
index 1672d65d..00000000
--- a/src/curses/flash.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int flash(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/flushinp.c b/src/curses/flushinp.c
deleted file mode 100644
index 5c955188..00000000
--- a/src/curses/flushinp.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int flushinp(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/get_wch.c b/src/curses/get_wch.c
deleted file mode 100644
index c3c538f4..00000000
--- a/src/curses/get_wch.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wget_wch(WINDOW * win, wint_t * ch)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, get_wch, wint_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/get_wstr.c b/src/curses/get_wstr.c
deleted file mode 100644
index 67e6f71b..00000000
--- a/src/curses/get_wstr.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <curses.h>
-#inlcude <limits.h>
-#include "_curses.h"
-
-int wget_wstr(WINDOW * win, wint_t * wstr)
-{
- return wgetn_wstr(win, wstr, INT_MAX);
-}
-
-CURSES_FUNCTION(int, get_wstr, wint_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/getbegyx.c b/src/curses/getbegyx.c
deleted file mode 100644
index 47ccd280..00000000
--- a/src/curses/getbegyx.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define getbegyx(_win, _y, _x) /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/getbkgd.c b/src/curses/getbkgd.c
deleted file mode 100644
index 38584063..00000000
--- a/src/curses/getbkgd.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-chtype getbkgd(WINDOW * win)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/getbkgrnd.c b/src/curses/getbkgrnd.c
deleted file mode 100644
index 5a3c8f52..00000000
--- a/src/curses/getbkgrnd.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-chtype wgetbkgrnd(WINDOW * win, cchar_t * wch)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, getbkgrnd, cchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/getcchar.c b/src/curses/getcchar.c
deleted file mode 100644
index d95128d9..00000000
--- a/src/curses/getcchar.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int getcchar(const cchar_t * wcval, wchar_t * wch, attr_t * attrs, short * color_pair, void * opts)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/getch.c b/src/curses/getch.c
deleted file mode 100644
index cc83d0ad..00000000
--- a/src/curses/getch.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wgetch(WINDOW * win)
-{
- return 0;
-}
-
-CURSES_FUNCTION0(int, getch)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/getmaxyx.c b/src/curses/getmaxyx.c
deleted file mode 100644
index ed1363fa..00000000
--- a/src/curses/getmaxyx.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define getmaxyx(_win, _y, _x) /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/getn_wstr.c b/src/curses/getn_wstr.c
deleted file mode 100644
index 08b584be..00000000
--- a/src/curses/getn_wstr.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <curses.h>
-#inlcude <limits.h>
-#include "_curses.h"
-
-int wgetn_wstr(WINDOW * win, wint_t * wstr, int n)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, getn_wstr, wint_t *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/getnstr.c b/src/curses/getnstr.c
deleted file mode 100644
index 99bdc051..00000000
--- a/src/curses/getnstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wgetnstr(WINDOW * win, char * str, int n)
-{
- return 0;
-}
-
-CURSES_FUNCTION2(int, getnstr, char *, int)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/getparyx.c b/src/curses/getparyx.c
deleted file mode 100644
index ce850375..00000000
--- a/src/curses/getparyx.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define getparyx(_win, _y, _x) /* TODO */
-/*
-XOPEN(400)
-*/
diff --git a/src/curses/getstr.c b/src/curses/getstr.c
deleted file mode 100644
index f9dd98c5..00000000
--- a/src/curses/getstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wgetstr(WINDOW * win, char * str)
-{
- return 0;
-}
-
-CURSES_FUNCTION(int, getstr, char *)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/getwin.c b/src/curses/getwin.c
deleted file mode 100644
index 3c229b7e..00000000
--- a/src/curses/getwin.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdio.h>
-
-WINDOW * getwin(FILE * filep)
-{
- return NULL;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/getyx.c b/src/curses/getyx.c
deleted file mode 100644
index 0a1e76d1..00000000
--- a/src/curses/getyx.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <curses.h>
-#define getyx(_win, _y, _x) /* TODO */
-/*
-XOPEN(4)
-*/
diff --git a/src/curses/halfdelay.c b/src/curses/halfdelay.c
deleted file mode 100644
index 2ec3c046..00000000
--- a/src/curses/halfdelay.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int halfdelay(int tenths)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/has_colors.c b/src/curses/has_colors.c
deleted file mode 100644
index b0180d63..00000000
--- a/src/curses/has_colors.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-bool has_colors(void)
-{
- return FALSE;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/has_ic.c b/src/curses/has_ic.c
deleted file mode 100644
index f907f267..00000000
--- a/src/curses/has_ic.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-bool has_ic(void)
-{
- return FALSE;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/has_il.c b/src/curses/has_il.c
deleted file mode 100644
index dc4c9619..00000000
--- a/src/curses/has_il.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-bool has_il(void)
-{
- return FALSE;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/hline.c b/src/curses/hline.c
deleted file mode 100644
index f5849646..00000000
--- a/src/curses/hline.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int whline(WINDOW * win, chtype ch, int n)
-{
- return 0;
-}
-
-CURSES_FUNCTION2(int, hline, chtype, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/hline_set.c b/src/curses/hline_set.c
deleted file mode 100644
index 2492ab12..00000000
--- a/src/curses/hline_set.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int whline_set(WINDOW * win, const cchar_t * wch, int n)
-{
- return 0;
-}
-
-CURSES_FUNCTION2(int, hline_set, const cchar_t *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/idcok.c b/src/curses/idcok.c
deleted file mode 100644
index 892785f6..00000000
--- a/src/curses/idcok.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void idcok(WINDOW * win, bool bf)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/idlok.c b/src/curses/idlok.c
deleted file mode 100644
index db27c8ff..00000000
--- a/src/curses/idlok.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int idlok(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/immedok.c b/src/curses/immedok.c
deleted file mode 100644
index 383f974e..00000000
--- a/src/curses/immedok.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void immedok(WINDOW * win, bool bf)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/in_wch.c b/src/curses/in_wch.c
deleted file mode 100644
index 9d095fbd..00000000
--- a/src/curses/in_wch.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int win_wch(WINDOW * win, cchar_t * wcval)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, in_wch, cchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/in_wchnstr.c b/src/curses/in_wchnstr.c
deleted file mode 100644
index 337bf4a1..00000000
--- a/src/curses/in_wchnstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int win_wchnstr(WINDOW * win, cchar_t * wcstr, int n)
-{
- return ERR;
-}
-
-CURSES_FUNCTION2(int, in_wchnstr, cchar_t *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/in_wchstr.c b/src/curses/in_wchstr.c
deleted file mode 100644
index 4f81266a..00000000
--- a/src/curses/in_wchstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int win_wchstr(WINDOW * win, cchar_t * wcstr)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, in_wchstr, cchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/inch.c b/src/curses/inch.c
deleted file mode 100644
index 5e23dcc8..00000000
--- a/src/curses/inch.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-chtype winch(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_FUNCTION0(chtype, inch)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/inchnstr.c b/src/curses/inchnstr.c
deleted file mode 100644
index a6740412..00000000
--- a/src/curses/inchnstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winchnstr(WINDOW * win, chtype * chstr, int n)
-{
- return ERR;
-}
-
-CURSES_FUNCTION2(int, inchnstr, chtype *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/inchstr.c b/src/curses/inchstr.c
deleted file mode 100644
index a061c639..00000000
--- a/src/curses/inchstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winchstr(WINDOW * win, chtype * chstr)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, inchstr, chtype *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/init_color.c b/src/curses/init_color.c
deleted file mode 100644
index 5d1c727c..00000000
--- a/src/curses/init_color.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int init_color(short color, short red, short green, short blue)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/init_pair.c b/src/curses/init_pair.c
deleted file mode 100644
index 84537d1e..00000000
--- a/src/curses/init_pair.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int init_pair(short pai, short f, short b)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/initscr.c b/src/curses/initscr.c
deleted file mode 100644
index 884d31f8..00000000
--- a/src/curses/initscr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-WINDOW * initscr(void)
-{
- (void)newterm(getenv("TERM"), stdout, stdin);
- return stdscr;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/innstr.c b/src/curses/innstr.c
deleted file mode 100644
index aada853b..00000000
--- a/src/curses/innstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winnstr(WINDOW * win, char * str, int n)
-{
- return ERR;
-}
-
-CURSES_FUNCTION2(int, innstr, char *, int n)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/innwstr.c b/src/curses/innwstr.c
deleted file mode 100644
index 3518b6cb..00000000
--- a/src/curses/innwstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winnwstr(WINDOW * win, wchar_t * wstr, int n)
-{
- return ERR;
-}
-
-CURSES_FUNCTION2(int, innwstr, wchar_t *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/ins_nwstr.c b/src/curses/ins_nwstr.c
deleted file mode 100644
index 276106da..00000000
--- a/src/curses/ins_nwstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int ins_nwstr(WINDOW * win, const wchar_t * wstr, int n)
-{
- return ERR;
-}
-
-CURSES_FUNCTION2(int, ins_nwstr, const wchar_t *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/ins_wch.c b/src/curses/ins_wch.c
deleted file mode 100644
index 0f295c10..00000000
--- a/src/curses/ins_wch.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int ins_wch(WINDOW * win, const cchar_t * wch)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, ins_wch, const cchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/ins_wstr.c b/src/curses/ins_wstr.c
deleted file mode 100644
index 5668eb98..00000000
--- a/src/curses/ins_wstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int ins_wstr(WINDOW * win, const wchar_t * wstr)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, ins_wstr, const wchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/insch.c b/src/curses/insch.c
deleted file mode 100644
index 8461d1c2..00000000
--- a/src/curses/insch.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winsch(WINDOW * win, chtype ch)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, inchstr, chtype)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/insdelln.c b/src/curses/insdelln.c
deleted file mode 100644
index 2a0bddc0..00000000
--- a/src/curses/insdelln.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winsdelln(WINDOW * win, int n)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, insdelln, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/insertln.c b/src/curses/insertln.c
deleted file mode 100644
index fbc3dd0a..00000000
--- a/src/curses/insertln.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winsertln(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_WFN0(int, insertln)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/insnstr.c b/src/curses/insnstr.c
deleted file mode 100644
index 5460135b..00000000
--- a/src/curses/insnstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winsnstr(WINDOW * win, const char * str, int n)
-{
- return ERR;
-}
-
-CURSES_FUNCTION2(int, insnstr, const char *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/insstr.c b/src/curses/insstr.c
deleted file mode 100644
index 9253d6f2..00000000
--- a/src/curses/insstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winsstr(WINDOW * win, const char * str)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, insstr, const char *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/instr.c b/src/curses/instr.c
deleted file mode 100644
index 62b3826d..00000000
--- a/src/curses/instr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winstr(WINDOW * win, char * str)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, instr, char *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/intrflush.c b/src/curses/intrflush.c
deleted file mode 100644
index 8ea6ca48..00000000
--- a/src/curses/intrflush.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int intrflush(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/inwstr.c b/src/curses/inwstr.c
deleted file mode 100644
index 51280935..00000000
--- a/src/curses/inwstr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int winwstr(WINDOW * win, wchar_t * wstr)
-{
- return ERR;
-}
-
-CURSES_FUNCTION(int, inwstr, wchar_t *)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/is_linetouched.c b/src/curses/is_linetouched.c
deleted file mode 100644
index b744642c..00000000
--- a/src/curses/is_linetouched.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-bool is_linetouched(WINDOW * win, int line)
-{
- return FALSE;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/is_wintouched.c b/src/curses/is_wintouched.c
deleted file mode 100644
index 28ede26b..00000000
--- a/src/curses/is_wintouched.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-bool is_wintouched(WINDOW * win)
-{
- return FALSE;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/isendwin.c b/src/curses/isendwin.c
deleted file mode 100644
index d4b717cc..00000000
--- a/src/curses/isendwin.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-bool isendwin(void)
-{
- return FALSE;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/key_name.c b/src/curses/key_name.c
deleted file mode 100644
index e11641d3..00000000
--- a/src/curses/key_name.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-char * key_name(wchar_t c)
-{
- return NULL;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/keyname.c b/src/curses/keyname.c
deleted file mode 100644
index 9b201752..00000000
--- a/src/curses/keyname.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-char * keyname(int c)
-{
- return NULL;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/keypad.c b/src/curses/keypad.c
deleted file mode 100644
index 56daeb59..00000000
--- a/src/curses/keypad.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int keypad(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/killchar.c b/src/curses/killchar.c
deleted file mode 100644
index c0de4a0a..00000000
--- a/src/curses/killchar.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-char killchar(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/killwchar.c b/src/curses/killwchar.c
deleted file mode 100644
index c47b80f0..00000000
--- a/src/curses/killwchar.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int killwchar(wchar_t * ch)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/leaveok.c b/src/curses/leaveok.c
deleted file mode 100644
index ebcc44db..00000000
--- a/src/curses/leaveok.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int leaveok(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/longname.c b/src/curses/longname.c
deleted file mode 100644
index 8d475940..00000000
--- a/src/curses/longname.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-char * longname(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/meta.c b/src/curses/meta.c
deleted file mode 100644
index 0d61ed38..00000000
--- a/src/curses/meta.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-int meta(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/move.c b/src/curses/move.c
deleted file mode 100644
index 59d16995..00000000
--- a/src/curses/move.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wmove(WINDOW * win, int y, int x)
-{
- return ERR;
-}
-
-CURSES_WFN2(int, move, int, int)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/mvcur.c b/src/curses/mvcur.c
deleted file mode 100644
index a4e02bb2..00000000
--- a/src/curses/mvcur.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int mvcur(int oldrow, int oldcol, int newrow, int newcol)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/mvderwin.c b/src/curses/mvderwin.c
deleted file mode 100644
index cbea58af..00000000
--- a/src/curses/mvderwin.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-WINDOW * mvderwin(WINDOW * orig, int par_y, int par_x)
-{
- return NULL;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/mvprintw.c b/src/curses/mvprintw.c
deleted file mode 100644
index d0b9bfbe..00000000
--- a/src/curses/mvprintw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int mvprintw(int y, int x, const char * fmt, ...)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/mvscanw.c b/src/curses/mvscanw.c
deleted file mode 100644
index d7849d36..00000000
--- a/src/curses/mvscanw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int mvscanw(int y, int x, const char * fmt, ...)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/mvwin.c b/src/curses/mvwin.c
deleted file mode 100644
index 92f6823e..00000000
--- a/src/curses/mvwin.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int mvwin(WINDOW * win, int y, int x)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/mvwprintw.c b/src/curses/mvwprintw.c
deleted file mode 100644
index e4b6e209..00000000
--- a/src/curses/mvwprintw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int mvwprintw(WINDOW * win, int y, int x, const char * fmt, ...)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/mvwscanw.c b/src/curses/mvwscanw.c
deleted file mode 100644
index a5ae33b2..00000000
--- a/src/curses/mvwscanw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int mvwscanw(WINDOW * win, int y, int x, const char * fmt, ...)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/napms.c b/src/curses/napms.c
deleted file mode 100644
index e5a582ea..00000000
--- a/src/curses/napms.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int napms(int ms)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/newpad.c b/src/curses/newpad.c
deleted file mode 100644
index 498f91b1..00000000
--- a/src/curses/newpad.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-WINDOW * newpad(int nlines, int ncols)
-{
- return NULL;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/newterm.c b/src/curses/newterm.c
deleted file mode 100644
index fd979df1..00000000
--- a/src/curses/newterm.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-SCREEN * newterm(const char * type, FILE * outfile, FILE * infile)
-{
- return NULL;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/newwin.c b/src/curses/newwin.c
deleted file mode 100644
index f6628c35..00000000
--- a/src/curses/newwin.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-WINDOW * newwin(int nlines, int ncols, int begin_y, int begin_x)
-{
- return NULL;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/nl.c b/src/curses/nl.c
deleted file mode 100644
index aed9b8bf..00000000
--- a/src/curses/nl.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int nl(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/nocbreak.c b/src/curses/nocbreak.c
deleted file mode 100644
index 45840434..00000000
--- a/src/curses/nocbreak.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int nocbreak(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/nodelay.c b/src/curses/nodelay.c
deleted file mode 100644
index 52121a3f..00000000
--- a/src/curses/nodelay.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int nodelay(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/noecho.c b/src/curses/noecho.c
deleted file mode 100644
index 72393079..00000000
--- a/src/curses/noecho.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int noecho(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/nonl.c b/src/curses/nonl.c
deleted file mode 100644
index 84dcb872..00000000
--- a/src/curses/nonl.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int nonl(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/noqiflush.c b/src/curses/noqiflush.c
deleted file mode 100644
index 8ab5979a..00000000
--- a/src/curses/noqiflush.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void noqiflush(void)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/noraw.c b/src/curses/noraw.c
deleted file mode 100644
index ef293421..00000000
--- a/src/curses/noraw.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int noraw(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/notimeout.c b/src/curses/notimeout.c
deleted file mode 100644
index d9682931..00000000
--- a/src/curses/notimeout.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int notimeout(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/overlay.c b/src/curses/overlay.c
deleted file mode 100644
index 471e9bad..00000000
--- a/src/curses/overlay.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int overlay(const WINDOW * srcwin, WINDOW * dstwin)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/overwrite.c b/src/curses/overwrite.c
deleted file mode 100644
index a0bce567..00000000
--- a/src/curses/overwrite.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int overwrite(const WINDOW * srcwin, WINDOW * dstwin)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/pair_content.c b/src/curses/pair_content.c
deleted file mode 100644
index 7853bcef..00000000
--- a/src/curses/pair_content.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int pair_content(short pair, short * f, short * b)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/pecho_wchar.c b/src/curses/pecho_wchar.c
deleted file mode 100644
index 416be86f..00000000
--- a/src/curses/pecho_wchar.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int pecho_wchar(WINDOW * pad, const cchar_t * wch)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/pechochar.c b/src/curses/pechochar.c
deleted file mode 100644
index 3fcea5d7..00000000
--- a/src/curses/pechochar.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int pechochar(WINDOW * pad, chtype ch)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/pnoutrefresh.c b/src/curses/pnoutrefresh.c
deleted file mode 100644
index f029deb4..00000000
--- a/src/curses/pnoutrefresh.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int pnoutrefresh(WINDOW * pad, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/prefresh.c b/src/curses/prefresh.c
deleted file mode 100644
index 21fbffa2..00000000
--- a/src/curses/prefresh.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int prefresh(WINDOW * pad, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/printw.c b/src/curses/printw.c
deleted file mode 100644
index 836e4b04..00000000
--- a/src/curses/printw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int printw(const char * fmt, ...)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/putwin.c b/src/curses/putwin.c
deleted file mode 100644
index 67d28fca..00000000
--- a/src/curses/putwin.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdio.h>
-
-int putwin(WINDOW * win, FILE * filep)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/qiflush.c b/src/curses/qiflush.c
deleted file mode 100644
index 41b6c787..00000000
--- a/src/curses/qiflush.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void qiflush(void)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/raw.c b/src/curses/raw.c
deleted file mode 100644
index d68d6610..00000000
--- a/src/curses/raw.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int raw(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/redrawwin.c b/src/curses/redrawwin.c
deleted file mode 100644
index bf33ebe5..00000000
--- a/src/curses/redrawwin.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int redrawwin(WINDOW * win)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/refresh.c b/src/curses/refresh.c
deleted file mode 100644
index d25e5094..00000000
--- a/src/curses/refresh.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wrefresh(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_WFN0(int, refresh)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/reset_prog_mode.c b/src/curses/reset_prog_mode.c
deleted file mode 100644
index 1a3d34eb..00000000
--- a/src/curses/reset_prog_mode.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int reset_prog_mode(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/reset_shell_mode.c b/src/curses/reset_shell_mode.c
deleted file mode 100644
index 81db6a45..00000000
--- a/src/curses/reset_shell_mode.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int reset_shell_mode(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/resetty.c b/src/curses/resetty.c
deleted file mode 100644
index 7211eb85..00000000
--- a/src/curses/resetty.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int resetty(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/ripoffline.c b/src/curses/ripoffline.c
deleted file mode 100644
index cf5f32c3..00000000
--- a/src/curses/ripoffline.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int ripoffline(int line, int (*init)(WINDOW * win, int columns))
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/savetty.c b/src/curses/savetty.c
deleted file mode 100644
index 54755ba3..00000000
--- a/src/curses/savetty.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int savetty(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/scanw.c b/src/curses/scanw.c
deleted file mode 100644
index f6cb88e4..00000000
--- a/src/curses/scanw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int scanw(const char * fmt, ...)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/scr_dump.c b/src/curses/scr_dump.c
deleted file mode 100644
index 2b6acf57..00000000
--- a/src/curses/scr_dump.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int scr_dump(const char * filename)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/scr_init.c b/src/curses/scr_init.c
deleted file mode 100644
index 846f92ae..00000000
--- a/src/curses/scr_init.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int scr_init(const char * filename)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/scr_restore.c b/src/curses/scr_restore.c
deleted file mode 100644
index b2f79167..00000000
--- a/src/curses/scr_restore.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int scr_restore(const char * filename)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/scr_set.c b/src/curses/scr_set.c
deleted file mode 100644
index 0cf4da9d..00000000
--- a/src/curses/scr_set.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int scr_set(const char * filename)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/scrl.c b/src/curses/scrl.c
deleted file mode 100644
index 3caf42a7..00000000
--- a/src/curses/scrl.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wscrl(WINDOW * win, int n)
-{
- return ERR;
-}
-
-CURSES_WFN1(int, scrl, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/scrollok.c b/src/curses/scrollok.c
deleted file mode 100644
index 2c49295d..00000000
--- a/src/curses/scrollok.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int scrollok(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/set_term.c b/src/curses/set_term.c
deleted file mode 100644
index f7b46095..00000000
--- a/src/curses/set_term.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-SCREEN * set_term(SCREEN * new)
-{
- return new;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/setcchar.c b/src/curses/setcchar.c
deleted file mode 100644
index 0697872e..00000000
--- a/src/curses/setcchar.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int setcchar(cchar_t * wcval, const wchar_t * wch, const attr_t attrs, short color_pair, const void * opts)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/setscrreg.c b/src/curses/setscrreg.c
deleted file mode 100644
index c7eb0531..00000000
--- a/src/curses/setscrreg.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wsetscrreg(WINDOW * win, int top, int bot)
-{
- return ERR;
-}
-
-CURSES_WFN2(int, setscrreg, int, int)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/slk_attr_off.c b/src/curses/slk_attr_off.c
deleted file mode 100644
index ad9ec4f1..00000000
--- a/src/curses/slk_attr_off.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_attr_off(const chtype attrs, void * opts)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_attr_on.c b/src/curses/slk_attr_on.c
deleted file mode 100644
index 33fc6528..00000000
--- a/src/curses/slk_attr_on.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_attr_on(const chtype attrs, void * opts)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_attr_set.c b/src/curses/slk_attr_set.c
deleted file mode 100644
index b9ecfe5a..00000000
--- a/src/curses/slk_attr_set.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_attr_set(const chtype attrs, short color_pair_number, void * opts)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_attroff.c b/src/curses/slk_attroff.c
deleted file mode 100644
index 378314e5..00000000
--- a/src/curses/slk_attroff.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_attroff(const chtype attrs)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_attron.c b/src/curses/slk_attron.c
deleted file mode 100644
index 4708d206..00000000
--- a/src/curses/slk_attron.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_attron(const chtype attrs)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_attrset.c b/src/curses/slk_attrset.c
deleted file mode 100644
index 55302b43..00000000
--- a/src/curses/slk_attrset.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_attrset(const chtype attrs)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_clear.c b/src/curses/slk_clear.c
deleted file mode 100644
index cb50889d..00000000
--- a/src/curses/slk_clear.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_clear(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_color.c b/src/curses/slk_color.c
deleted file mode 100644
index 8b737b8b..00000000
--- a/src/curses/slk_color.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_color(short color_pair_number)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_init.c b/src/curses/slk_init.c
deleted file mode 100644
index 3511b624..00000000
--- a/src/curses/slk_init.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_init(int fmt)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_label.c b/src/curses/slk_label.c
deleted file mode 100644
index ea8b7f40..00000000
--- a/src/curses/slk_label.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-char * slk_label(int labnum)
-{
- return NULL;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_noutrefresh.c b/src/curses/slk_noutrefresh.c
deleted file mode 100644
index 31e551c3..00000000
--- a/src/curses/slk_noutrefresh.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_noutrefresh(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_refresh.c b/src/curses/slk_refresh.c
deleted file mode 100644
index 8be82850..00000000
--- a/src/curses/slk_refresh.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_refresh(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_restore.c b/src/curses/slk_restore.c
deleted file mode 100644
index 70b5d138..00000000
--- a/src/curses/slk_restore.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_restore(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_set.c b/src/curses/slk_set.c
deleted file mode 100644
index 85bf6310..00000000
--- a/src/curses/slk_set.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_set(int labnum, const char * label, int justify)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_touch.c b/src/curses/slk_touch.c
deleted file mode 100644
index d24de7c3..00000000
--- a/src/curses/slk_touch.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_touch(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/slk_wset.c b/src/curses/slk_wset.c
deleted file mode 100644
index 9029b091..00000000
--- a/src/curses/slk_wset.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int slk_wset(int labnum, const wchar_t * label, int justify)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/standend.c b/src/curses/standend.c
deleted file mode 100644
index 640a9656..00000000
--- a/src/curses/standend.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wstandend(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_WFN0(int, standend)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/standout.c b/src/curses/standout.c
deleted file mode 100644
index 121ee02d..00000000
--- a/src/curses/standout.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wstandout(WINDOW * win)
-{
- return ERR;
-}
-
-CURSES_WFN0(int, standout)
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/start_color.c b/src/curses/start_color.c
deleted file mode 100644
index 6e160b66..00000000
--- a/src/curses/start_color.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int start_color(void)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/stdscr.c b/src/curses/stdscr.c
deleted file mode 100644
index a3aef95a..00000000
--- a/src/curses/stdscr.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <curses.h>
-WINDOW *stdscr;
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/subpad.c b/src/curses/subpad.c
deleted file mode 100644
index 32da730d..00000000
--- a/src/curses/subpad.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-WINDOW * subpad(WINDOW * orig, int nlines, int ncols, int begin_y, int begin_x)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/subwin.c b/src/curses/subwin.c
deleted file mode 100644
index 5092befc..00000000
--- a/src/curses/subwin.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-WINDOW * subwin(WINDOW * orig, int nlines, int ncols, int begin_y, int begin_x)
-{
- return NULL;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/syncok.c b/src/curses/syncok.c
deleted file mode 100644
index ec663388..00000000
--- a/src/curses/syncok.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int syncok(WINDOW * win, bool bf)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/term_attrs.c b/src/curses/term_attrs.c
deleted file mode 100644
index 9f3ca160..00000000
--- a/src/curses/term_attrs.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-attr_t terma_ttrs(void)
-{
- return 0;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/termattrs.c b/src/curses/termattrs.c
deleted file mode 100644
index 52db3c34..00000000
--- a/src/curses/termattrs.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-chtype termattrs(void)
-{
- return 0;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/termname.c b/src/curses/termname.c
deleted file mode 100644
index 232114b9..00000000
--- a/src/curses/termname.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stddef.h>
-
-char * termname(void)
-{
- return NULL;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/timeout.c b/src/curses/timeout.c
deleted file mode 100644
index 45535413..00000000
--- a/src/curses/timeout.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-void wtimeout(int delay)
-{
-}
-
-CURSES_VWFN1(timeout, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/touchline.c b/src/curses/touchline.c
deleted file mode 100644
index 2ba36c47..00000000
--- a/src/curses/touchline.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int touchline(WINDOW * win, int start, int count)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/touchwin.c b/src/curses/touchwin.c
deleted file mode 100644
index 24e46e84..00000000
--- a/src/curses/touchwin.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int touchwin(WINDOW * win)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/typeahead.c b/src/curses/typeahead.c
deleted file mode 100644
index f010b66b..00000000
--- a/src/curses/typeahead.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int typeahead(int fildes)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/unget_wch.c b/src/curses/unget_wch.c
deleted file mode 100644
index 9837bfa9..00000000
--- a/src/curses/unget_wch.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int unget_wch(const wchar_t wch)
-{
- return 0;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/ungetch.c b/src/curses/ungetch.c
deleted file mode 100644
index cb6a41c0..00000000
--- a/src/curses/ungetch.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int ungetch(int ch)
-{
- return 0;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/untouchwin.c b/src/curses/untouchwin.c
deleted file mode 100644
index 1e9c101d..00000000
--- a/src/curses/untouchwin.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int untouchwin(WINDOW * win)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/use_env.c b/src/curses/use_env.c
deleted file mode 100644
index d335872c..00000000
--- a/src/curses/use_env.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void use_env(bool boolval)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/vid_attr.c b/src/curses/vid_attr.c
deleted file mode 100644
index 54ad8dfe..00000000
--- a/src/curses/vid_attr.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int vid_ttr(attr_t attr, short color_pair_number, void * opt)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/vid_puts.c b/src/curses/vid_puts.c
deleted file mode 100644
index df2643c7..00000000
--- a/src/curses/vid_puts.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int vid_puts(attr_t attr, short color_pair_number, void * opt, int (*putfunc)(int))
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/vidattr.c b/src/curses/vidattr.c
deleted file mode 100644
index d0ac6422..00000000
--- a/src/curses/vidattr.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int vidattr(chtype attr)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/vidputs.c b/src/curses/vidputs.c
deleted file mode 100644
index 33b4e44e..00000000
--- a/src/curses/vidputs.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int vidputs(chtype attr, int (*putfunc)(int))
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/vline.c b/src/curses/vline.c
deleted file mode 100644
index 0bc75675..00000000
--- a/src/curses/vline.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wvline(WINDOW * win, chtype ch, int n)
-{
- return 0;
-}
-
-CURSES_FUNCTION2(int, vline, chtype, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/vline_set.c b/src/curses/vline_set.c
deleted file mode 100644
index 0e5a1ece..00000000
--- a/src/curses/vline_set.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <curses.h>
-#include "_curses.h"
-
-int wvline_set(WINDOW * win, const cchar_t * wch, int n)
-{
- return 0;
-}
-
-CURSES_FUNCTION2(int, vline_set, const cchar_t *, int)
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/vw_printw.c b/src/curses/vw_printw.c
deleted file mode 100644
index b247dd90..00000000
--- a/src/curses/vw_printw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int vw_printw(WINDOW * win, const char * fmt, va_list varglist)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/vw_scanw.c b/src/curses/vw_scanw.c
deleted file mode 100644
index 33ec0a39..00000000
--- a/src/curses/vw_scanw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int vw_scanw(WINDOW * win, const char * fmt, va_list varglist)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/wchar_t.ref b/src/curses/wchar_t.ref
deleted file mode 100644
index d41ca4eb..00000000
--- a/src/curses/wchar_t.ref
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <curses.h>
-REFERENCE(stddef/wchar_t.c)
-XOPEN(400)
diff --git a/src/curses/wcursyncup.c b/src/curses/wcursyncup.c
deleted file mode 100644
index 8cb7d987..00000000
--- a/src/curses/wcursyncup.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void wcursyncup(WINDOW * win)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/wint_t.ref b/src/curses/wint_t.ref
deleted file mode 100644
index 2cd7b5d0..00000000
--- a/src/curses/wint_t.ref
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <curses.h>
-REFERENCE(wctype/wint_t.c)
-XOPEN(400)
diff --git a/src/curses/wnoutrefresh.c b/src/curses/wnoutrefresh.c
deleted file mode 100644
index 5eb2b71a..00000000
--- a/src/curses/wnoutrefresh.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int wnoutrefresh(WINDOW * win)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/wprintw.c b/src/curses/wprintw.c
deleted file mode 100644
index 77b7effb..00000000
--- a/src/curses/wprintw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int wprintw(WINDOW * win, const char * fmt, ...)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/wredrawln.c b/src/curses/wredrawln.c
deleted file mode 100644
index 3293c4f7..00000000
--- a/src/curses/wredrawln.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int wredrawln(WINDOW * win, int beg_line, int num_lines)
-{
- return ERR;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/wscanw.c b/src/curses/wscanw.c
deleted file mode 100644
index cbbfeaf6..00000000
--- a/src/curses/wscanw.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <curses.h>
-#include <stdarg.h>
-
-int wscanw(WINDOW * win, const char * fmt, ...)
-{
- return ERR;
-}
-
-/*
-XOPEN(4)
-LINK(curses)
-*/
diff --git a/src/curses/wsyncdown.c b/src/curses/wsyncdown.c
deleted file mode 100644
index 6027ed97..00000000
--- a/src/curses/wsyncdown.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void wsyncdown(WINDOW * win)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/wsyncup.c b/src/curses/wsyncup.c
deleted file mode 100644
index db7a4463..00000000
--- a/src/curses/wsyncup.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <curses.h>
-
-void wsyncup(WINDOW * win)
-{
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/wtouchln.c b/src/curses/wtouchln.c
deleted file mode 100644
index b521d057..00000000
--- a/src/curses/wtouchln.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-int wtouchln(WINDOW * win, int y, int x, int changed)
-{
- return ERR
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/
diff --git a/src/curses/wunctrl.c b/src/curses/wunctrl.c
deleted file mode 100644
index 352e0a36..00000000
--- a/src/curses/wunctrl.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <curses.h>
-
-wchar_t * wunctrl(cchar_t * wc)
-{
- return (wchar_t*) wc;
-}
-
-/*
-XOPEN(400)
-LINK(curses)
-*/