Home | History | Annotate | Download | only in libcurses
History log of /src/lib/libcurses/fileio.c
RevisionDateAuthorComments
 1.10  23-Dec-2024  blymn Sprinkle about some cycle wasting checks for the win pointer being
null. Unfortunately, ncurses does this and there is some sloppy code
out there that relies on the check resulting in segfaults in
NetBSD curses which then, of course, gets blamed for the error.
 1.9  07-Sep-2021  rin branches: 1.9.4;
Do not compile in whole fileio.c for LIBHACK.

Fix build failure when built as libhack, due to missing fileio.h.

IMO, this should be cleaner than generating fileio.h for {get,put}win(3),
that are useless for install media.
 1.8  06-Sep-2021  rin Expand __CTRACE() to __nothing #ifndef DEBUG.

Remove most of #ifdef DEBUG around __CTRACE() calls.

No binary changes, except for line numbers for assert().
 1.7  24-Feb-2020  rin 0x%p --> %p for non-external codes.
 1.6  02-Oct-2018  roy curses: fix ripoffline

When creating stdscr, ensure it's placed and sized in accordance with
lines ripped off.
LINES is no longer adjusted for lines ripped off.
POSIX makes no mention that it should be adjusted.
Bottom lines are now placed correctly.
Lines ripped off are now displayed after calling initscr.

ok kamil@

Fixes PR #53635
 1.5  22-Oct-2016  christos branches: 1.5.6; 1.5.12; 1.5.14;
remove bogus malloc casts
 1.4  22-Jul-2009  roy branches: 1.4.28;
Prepare curses for the possibility of changing from termcap to terminfo.
term.h #defines lines, pad_char and no_color_video macros which conflict
with existing curses code. We change lines to alines and nlines depending
on use, pad_char to padchar and no_color_video becomes no_color_attributes
but with a strong alias from no_color_video.
 1.3  24-May-2008  christos Coverity CID 5024: Fix double free on error path.
 1.2  02-May-2008  martin branches: 1.2.2;
Move to 2 clause TNF license (was: strange 3 clause version)
 1.1  14-Apr-2008  jdc branches: 1.1.2;
File IO functions getwin() and putwin().
Should fix PR lib/24928.
 1.1.2.2  04-Jun-2008  yamt sync with head
 1.1.2.1  18-May-2008  yamt sync with head.
 1.2.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.28.1  04-Nov-2016  pgoyette Sync with HEAD
 1.5.14.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.5.14.1  10-Jun-2019  christos Sync with HEAD
 1.5.12.1  20-Oct-2018  pgoyette Sync with head
 1.5.6.1  04-Oct-2018  martin Pull up following revision(s) (requested by roy in ticket #1047):

lib/libcurses/curses_private.h: revision 1.64
lib/libcurses/curses_private.h: revision 1.65
lib/libcurses/initscr.c: revision 1.33
lib/libcurses/curses_screen.3: revision 1.24
lib/libcurses/curses_screen.3: revision 1.25
lib/libcurses/newwin.c: revision 1.52
lib/libcurses/fileio.c: revision 1.6
lib/libcurses/ripoffline.c: revision 1.4
lib/libcurses/resize.c: revision 1.28
lib/libcurses/ripoffline.c: revision 1.5
lib/libcurses/resize.c: revision 1.29
lib/libcurses/screen.c: revision 1.34
lib/libcurses/setterm.c: revision 1.67

curses: fix ripoffline

When creating stdscr, ensure it's placed and sized in accordance with
lines ripped off.

LINES is no longer adjusted for lines ripped off.
POSIX makes no mention that it should be adjusted.
Bottom lines are now placed correctly.
Lines ripped off are now displayed after calling initscr.

ok kamil@

Fixes PR #53635

-

curses: resize ripped off windows
The application must still redraw them though.

-

Fix typos in curses_screen.3
Fn -> Ft in the resize_term(3) prototype
funcion -> function
 1.9.4.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed