The NetBSD Project

CVS log for src/lib/libcurses/screen.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libcurses

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.36 / (download) - annotate - [select for diffs], Mon Sep 6 07:03:50 2021 UTC (3 weeks ago) by rin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.35: +2 -10 lines
Diff to previous 1.35 (colored)

Expand __CTRACE() to __nothing #ifndef DEBUG.

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

No binary changes, except for line numbers for assert().

Revision 1.33.12.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:22 2019 UTC (2 years, 3 months ago) by christos
Branch: phil-wifi
Changes since 1.33: +8 -10 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD

Revision 1.33.10.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:12 2018 UTC (2 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.33.10.1: +2 -3 lines
Diff to previous 1.33.10.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.35 / (download) - annotate - [select for diffs], Fri Nov 16 10:12:00 2018 UTC (2 years, 10 months ago) by blymn
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.34: +2 -3 lines
Diff to previous 1.34 (colored)

Fix for PR lib/52063
Many thanks to  Onno van der Linden (o.vd.linden@quicknet.nl) for providing
the bulk of the patch that fixes the issue.

Revision 1.33.10.1 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:22 2018 UTC (2 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.33: +8 -9 lines
Diff to previous 1.33 (colored)

Sync with head

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Thu Oct 4 10:20:12 2018 UTC (2 years, 11 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.33: +8 -9 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

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

Revision 1.34 / (download) - annotate - [select for diffs], Tue Oct 2 17:35:44 2018 UTC (2 years, 11 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.33: +8 -9 lines
Diff to previous 1.33 (colored)

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

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:55 2017 UTC (4 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.24.2.2: +12 -3 lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:10 2017 UTC (4 years, 5 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.29: +33 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.33 / (download) - annotate - [select for diffs], Mon Mar 20 10:20:16 2017 UTC (4 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-compat-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.32: +12 -3 lines
Diff to previous 1.32 (colored)

Put back filter(3) I mistakenly removed in r1.29

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:56:59 2017 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.24.2.1: +57 -37 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

Sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 17 11:18:38 2017 UTC (4 years, 7 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.31: +11 -3 lines
Diff to previous 1.31 (colored)

Disable typeahead being set to infd by default as this seems to cause
refresh issues in nvi.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 31 09:17:53 2017 UTC (4 years, 7 months ago) by roy
Branch: MAIN
Changes since 1.30: +6 -2 lines
Diff to previous 1.30 (colored)

Move ESCDELAY to curses.c so all globals are close to each other.
Remove _reentrant and use ESCDELAY and TABSIZE as we're not really
reentrant.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 24 17:27:30 2017 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.29: +10 -3 lines
Diff to previous 1.29 (colored)

Implement POSIX Curses Soft Label Key functions.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 11 20:43:03 2017 UTC (4 years, 8 months ago) by roy
Branch: MAIN
CVS Tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.28: +30 -85 lines
Diff to previous 1.28 (colored)

Move the ripoffline logic out of screen.c and into ripoffline.c.
Store ripped off lines in the SCREEN structure so we can repaint then
when the terminal is resized.
Fix mvwin(3) so it can move windows in the ripped off area.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jan 10 10:13:24 2017 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.27: +67 -11 lines
Diff to previous 1.27 (colored)

Implement POSIX curses function ripoffline(3).

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:04 2017 UTC (4 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.24: +19 -4 lines
Diff to previous 1.24 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jan 6 13:53:18 2017 UTC (4 years, 8 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 31 22:47:01 2016 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Implement POSIX Curses typeahead function.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Dec 30 22:38:38 2016 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.24: +16 -2 lines
Diff to previous 1.24 (colored)

Add the POSIX filter() function to libcurses.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Nov 26 01:05:08 2015 UTC (5 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.23: +7 -3 lines
Diff to previous 1.23 (colored)

fix memory leaks (from Rin Okuyama)

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jun 10 05:24:55 2010 UTC (11 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

After consultation with jdc@, apply the patch from PR 42412 even though
the crash went away -- it's not clear that it went away for any reason
besides by accident.

The change is: use calloc instead of malloc for allocating SCREENs.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 3 15:34:40 2010 UTC (11 years, 7 months ago) by roy
Branch: MAIN
Changes since 1.21: +6 -5 lines
Diff to previous 1.21 (colored)

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:36:24 2008 UTC (13 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.20: +9 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Sat Dec 8 18:38:11 2007 UTC (13 years, 9 months ago) by jdc
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Changes since 1.20: +9 -2 lines
Diff to previous 1.20 (colored)

Keep pushed-back characters locally.  Fixes problems where KEY_* symbols
are pushed back.  Should fix the arrow keys part of PR pkg/37173.

While we are here, make getch() and get_wch() check for resize immediately,
instead of reading a key, checking for resize and then having to push-back
the just read key.

Revision 1.20 / (download) - annotate - [select for diffs], Mon May 28 15:01:57 2007 UTC (14 years, 4 months ago) by blymn
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.19: +14 -4 lines
Diff to previous 1.19 (colored)

Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.

Revision 1.18.4.3 / (download) - annotate - [select for diffs], Thu Jan 25 08:50:15 2007 UTC (14 years, 8 months ago) by blymn
Branch: wcurses
Changes since 1.18.4.2: +6 -2 lines
Diff to previous 1.18.4.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

 * rearrange code to ensure that SET_WCOL() is called after attributes
   are copied/set.

 * fix some instances where attributes were being checked without
   masking with WA_ATTRIBUTES

 * Replace another instance of non-spacing character copying with function
   call.

Revision 1.18.4.2 / (download) - annotate - [select for diffs], Sun Jan 21 17:43:36 2007 UTC (14 years, 8 months ago) by jdc
Branch: wcurses
Changes since 1.18.4.1: +7 -5 lines
Diff to previous 1.18.4.1 (colored) to branchpoint 1.18 (colored)

Apply the changes that add debug "areas" on HEAD to the wcurses branch.
Add correspending changes to the debug code that is only present on the branch.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 21 13:25:36 2007 UTC (14 years, 8 months ago) by jdc
Branch: MAIN
Changes since 1.18: +7 -5 lines
Diff to previous 1.18 (colored)

Add debug "areas" that allow selective debugging by setting the
"CURSES_TRACE_MASK" environment variable.  Postive vales include
debug areas, negative values exclude them.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Sun Jan 21 11:38:59 2007 UTC (14 years, 8 months ago) by blymn
Branch: wcurses
Changes since 1.18: +10 -4 lines
Diff to previous 1.18 (colored)

Wide curses merge

Revision 1.17.12.1 / (download) - annotate - [select for diffs], Fri Aug 25 16:15:33 2006 UTC (15 years, 1 month ago) by ghen
Branch: abandoned-netbsd-4
Changes since 1.17: +8 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Pull up following revision(s) (requested by jdc in ticket #54):
	lib/libcurses/color.c: revision 1.31
	lib/libcurses/screen.c: revision 1.18
	lib/libcurses/delwin.c: revision 1.14
Make sure we update the correct window when changing colour pairs.
When deleting windows and screens, also set to NULL the standard names
that refer to the window or screen just deleted.
Add some more debugging information.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Fri Aug 25 11:40:53 2006 UTC (15 years, 1 month ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.17: +8 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Pull up following revision(s) (requested by jdc in ticket #1475):
	lib/libcurses/color.c: revision 1.31
	lib/libcurses/screen.c: revision 1.18
	lib/libcurses/delwin.c: revision 1.14
Make sure we update the correct window when changing colour pairs.
When deleting windows and screens, also set to NULL the standard names
that refer to the window or screen just deleted.
Add some more debugging information.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 23 19:23:14 2006 UTC (15 years, 1 month ago) by jdc
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, wcurses-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Branch point for: wcurses
Changes since 1.17: +8 -2 lines
Diff to previous 1.17 (colored)

When deleting windows and screens, also set to NULL the standard names
that refer to the window or screen just deleted.
Add some more debugging information.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 23 21:17:20 2004 UTC (17 years, 6 months ago) by jdc
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RC1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, abandoned-netbsd-4-base
Branch point for: netbsd-3, abandoned-netbsd-4
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

We should check against NULL here.
From Brett Lymn.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 22 18:57:10 2004 UTC (17 years, 6 months ago) by jdc
Branch: MAIN
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

Add KEY_RESIZE support and a SIGWINCH handler.
Fixes PR bin/20032.
This requires a change to KEY_MAX, which affects libform and libmenu, so we
need to change libcurses major number.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 7 16:44:24 2003 UTC (18 years, 1 month ago) by agc
Branch: MAIN
Changes since 1.14: +3 -7 lines
Diff to previous 1.14 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 30 11:19:01 2003 UTC (18 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.13: +8 -16 lines
Diff to previous 1.13 (colored)

Remove __winlistp, add *screen to WINDOW and initialise in newwin().
Make delwin() remove window from list of windows on its screen.
Free win->lspace and win->lines for subwins (they only share text space).
Free things in the correct (and same) order if malloc() fails in __makenew().
Adjust delscreen() for delwin() removing itself from winlist.
Fixes potential massive corruptions if delwin() called on a main window.
NB: not responsible for the sysinst core dumps :-(

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Jun 16 13:14:41 2003 UTC (18 years, 3 months ago) by grant
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Apply patch (requested by jdc in ticket #1244):

Keep the cr->nl translation state in a separate variable, so that we can
do the translation ourselves (if the tty didn't do it for us).
Add debugging to track functions that change tty state.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 5 10:07:00 2003 UTC (18 years, 5 months ago) by jdc
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Keep the cr->nl translation state in a separate variable, so that we can
do the translation ourselves (if the tty didn't do it for us).
Add debugging to track functions that change tty state.

Fixes PR 20834 by Stephen Borrill.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 17 11:07:21 2003 UTC (18 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.11: +8 -8 lines
Diff to previous 1.11 (colored)

Fix resize of windows with subwins.
Let window size be given as a -ver number => lines from bottom.
Fix trace calls of pointers
(approved by Brett Lumn)

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 2 17:52:29 2003 UTC (18 years, 7 months ago) by jdc
Branch: MAIN
Changes since 1.10: +2 -0 lines
Diff to previous 1.10 (colored)

I was slightly too agressive removing clearok() in revision 1.8.
Add back a clearok(stdscr) for terminals where the startup sequence
doesn't clear the screen.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jan 27 21:09:21 2003 UTC (18 years, 8 months ago) by jdc
Branch: MAIN
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)

ARemove (no longer used) __nca.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 9 12:48:05 2003 UTC (18 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Added halfdelay() function.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 23 12:25:10 2002 UTC (18 years, 9 months ago) by jdc
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.7: +5 -10 lines
Diff to previous 1.7 (colored)

Handle function argument changes to __newwin().
Don't call clearok() for new windows in newterm() - it caused a screen erase
on the first refresh() of the window.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 4 16:43:08 2002 UTC (19 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

Set the curses default colours to white on black when using colour.
See the Single UNIX Specification, Version 2 :

  http://www.opengroup.org/onlinepubs/007908799/xcurses/can_change_color.html

Also, add the functions :

	use_default_colors();
	assume_default_colors(fore, back);

(from ncurses) that allow the terminal default colours or user-specified
default colours to be used.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 26 18:23:30 2002 UTC (19 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

handle non-tty cases more gracefully.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 2 10:38:29 2002 UTC (19 years, 8 months ago) by blymn
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Changes since 1.4: +10 -10 lines
Diff to previous 1.4 (colored)

Remove extraneous tabs from blank lines.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 31 14:16:01 2001 UTC (19 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.3: +4 -18 lines
Diff to previous 1.3 (colored)

* Fixed uninitialiased variable problem in newterm
* Implemented better fix for screen not clearing for refresh()
  when newterm used to start curses.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 30 13:20:35 2001 UTC (19 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Make newterm set the default screen if the old default screen was
ended, stops new vi crashing.  Thanks to Aymeric Vincent for the fix.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 27 10:48:15 2001 UTC (19 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.1: +5 -2 lines
Diff to previous 1.1 (colored)

Fix newterm so it syncs curscr to stdscr when term is created.  Thanks
to Onno van der Linden for finding this bug.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 2 09:14:22 2001 UTC (19 years, 10 months ago) by blymn
Branch: MAIN

* Major change to add support for the newterm/set_term functions.
* Added fix to getch.c suggested by Gabriel Rosenkoetter (thanks :-)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>