CVS commit: [netbsd-6] src/lib/libcurses

2013-09-26 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Sep 26 14:20:03 UTC 2013

Modified Files:
src/lib/libcurses [netbsd-6]: setterm.c

Log Message:
Pull up following revision(s) (requested by dsainty in ticket #960):
lib/libcurses/setterm.c: revision 1.51
Fix a NULL dereference if the exit_alt_charset_mode capability is not
defined.
The previous version of this file changed a terminal initialisation test on
the exit_attribute_mode capability, checking for the exit_alt_charset_mode
capability as a substring, rather than performing a search for the
hard-coded
^O character.
That works better on terminals where ^O is not the correct value for
exit_alt_charset_mode.  But it works worse on terminals that don't have a
definition specified for exit_alt_charset_mode.
For example:
% TERMCAP='xterm:me=\E[m:' TERM=xterm vi
segmentation fault (core dumped)  TERMCAP='xterm:me=\E[m:' TERM=xterm vi
The crash can be avoided (without fixing the bug) by defining
exit_alt_charset_mode:
% TERMCAP='xterm|:me=\E[m:ae=:' TERM=xterm vi
ex/vi: Error: xterm: No such process
We now test exit_alt_charset_mode for NULL before continuing with the fatal
test, restoring the original no-crash behaviour.
XXX does_ctrl_o() is now just a naive reimplementation of strstr(), so
should
probably just use strstr() instead.


To generate a diff of this commit:
cvs rdiff -u -r1.48.4.1 -r1.48.4.2 src/lib/libcurses/setterm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/lib/libcurses

2015-06-19 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Jun 19 17:16:11 UTC 2015

Modified Files:
src/lib/libcurses [netbsd-6]: curses.h

Log Message:
Pull up following revision(s) (requested by joerg in ticket #1307):
lib/libcurses/curses.h: revision 1.107
mvgetnstr should have a length argument as the name implies.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.103.4.1 src/lib/libcurses/curses.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/lib/libcurses

2015-06-19 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Jun 19 17:17:59 UTC 2015

Modified Files:
src/lib/libcurses [netbsd-6]: unctrl.h

Log Message:
Pull up following revision(s) (requested by wiz in ticket #1302):
lib/libcurses/unctrl.h: revision 1.5
Fix quoting in macro.
Needed by dialog-1.2-20150513.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.36.1 src/lib/libcurses/unctrl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/lib/libcurses

2015-11-15 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Nov 15 20:47:11 UTC 2015

Modified Files:
src/lib/libcurses [netbsd-6]: toucholap.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #1337):
lib/libcurses/toucholap.c: revision 1.16
Fix x/y edito.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.15.36.1 src/lib/libcurses/toucholap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/lib/libcurses

2013-05-11 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 11 21:46:26 UTC 2013

Modified Files:
src/lib/libcurses [netbsd-6]: border.c

Log Message:
Pull up following revision(s) (requested by jdc in ticket #884):
lib/libcurses/border.c: revision 1.15
Also merge in background attributes.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.8.1 src/lib/libcurses/border.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/lib/libcurses

2013-05-11 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 11 21:48:23 UTC 2013

Modified Files:
src/lib/libcurses [netbsd-6]: setterm.c

Log Message:
Pull up following revision(s) (requested by jdc in ticket #885):
lib/libcurses/setterm.c: revision 1.50
Extend does_ctrl_o() to compare exit attribute and ext ACS sequences.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.48.4.1 src/lib/libcurses/setterm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/lib/libcurses

2012-03-17 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sat Mar 17 17:51:48 UTC 2012

Modified Files:
src/lib/libcurses [netbsd-6]: clrtobot.c clrtoeol.c

Log Message:
Pull up following revision(s) (requested by blymn in ticket #121):
lib/libcurses/clrtoeol.c: revision 1.26
lib/libcurses/clrtobot.c: revision 1.22
PR/46049: Tim van der Molen:
clrtobot() and clrtoeol() do not set background attributes


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.21.8.1 src/lib/libcurses/clrtobot.c
cvs rdiff -u -r1.25 -r1.25.8.1 src/lib/libcurses/clrtoeol.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.