History log of /netbsd-src/lib/libcurses/curses.c (Results 1 – 25 of 31)
Revision Date Author Comments
# ee6c5161 19-Oct-2022 blymn <blymn@NetBSD.org>

Fixes for lib/56926 amongst other things:
- plod now correctly accounts for wide characters when plodding
- use erase line when in color mode if the terminal has the capability
- ensure that the C

Fixes for lib/56926 amongst other things:
- plod now correctly accounts for wide characters when plodding
- use erase line when in color mode if the terminal has the capability
- ensure that the CA_CONTINUATION flag is applied consistently to the
subsequent characters in a wide character.
- fix a bunch of refresh bugs that caused inconsistent placement of
wide characters.

show more ...


# a7d2c216 03-May-2022 blymn <blymn@NetBSD.org>

* Don't redraw the background if the new background character is the
same as the old one. This prevents excessive redraws in some
applications.

* Fix bug introduced when wbkgrndset was fixed

* Don't redraw the background if the new background character is the
same as the old one. This prevents excessive redraws in some
applications.

* Fix bug introduced when wbkgrndset was fixed, we cannot blindly
replace any instance of the old background character with the new one
because some of those characters were put there by the application
leading to display corruption. So flag characters as background when
they are erased and only update the flagged characters when setting
the background.

show more ...


# 88123910 19-Apr-2022 blymn <blymn@NetBSD.org>

fix for PR 55496

* Fix bkgrndset so that it actually sets the background character in
in line with the SUSv2 specification.

* Add an internal function to copy a complex character

* Make the

fix for PR 55496

* Fix bkgrndset so that it actually sets the background character in
in line with the SUSv2 specification.

* Add an internal function to copy a complex character

* Make the previously static celleq function into a libcurses private
function so that it can be called in other files.

show more ...


# 8dcd50a6 31-Jan-2017 roy <roy@NetBSD.org>

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.


# 64b2ce97 30-Jan-2017 roy <roy@NetBSD.org>

If either set_escdelay(3) or set_tabsize(3) are called, set _reentrant
to ensure we use the saved value for the sceen.

This effectively makes ESCDELAY and TABSIZE read-only when either
of these func

If either set_escdelay(3) or set_tabsize(3) are called, set _reentrant
to ensure we use the saved value for the sceen.

This effectively makes ESCDELAY and TABSIZE read-only when either
of these functions are called.

show more ...


# 8a48cf66 22-Oct-2016 christos <christos@NetBSD.org>

remove bogus malloc casts


# 2e2213ef 16-Oct-2013 roy <roy@NetBSD.org>

Add TABSIZE, which is derived from terminfo init_tabs.
Use this when processing \t.
If TABSIZE is set in the environment, this takes precedence.


# 98eb8895 03-Feb-2010 roy <roy@NetBSD.org>

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@


# 43d5eb45 22-Jul-2009 roy <roy@NetBSD.org>

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

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.

show more ...


# e124de36 28-May-2007 blymn <blymn@NetBSD.org>

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


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

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

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


# 4eb3ef3d 04-Aug-2002 jdc <jdc@NetBSD.org>

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

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.

show more ...


# c84d91aa 02-Dec-2001 blymn <blymn@NetBSD.org>

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


# c9e95516 22-Dec-2000 jdc <jdc@NetBSD.org>

Revert the change to the `pc' capability from the previous change. Pointed
out in email by Thomas Dickey.


# 606508da 19-Dec-2000 jdc <jdc@NetBSD.org>

Rename variables refering to termcap capabilities from NN to __tc_nn. Case
adjusted to match termcap capability. A few other variable names renamed too
(ones related to or derived from termcap vari

Rename variables refering to termcap capabilities from NN to __tc_nn. Case
adjusted to match termcap capability. A few other variable names renamed too
(ones related to or derived from termcap variables).

show more ...


# 703f438d 27-Apr-2000 jdc <jdc@NetBSD.org>

Background colour erase is 'ut' not 'be'.
Add virtual screen for wnoutrefresh()/doupdate().


# bb083e0e 22-Apr-2000 blymn <blymn@NetBSD.org>

* Fixed need for duplicate namp string in setterm.c
* Added meta function (turns meta bit on and off on terminal if supported)
* Added curs_set to control cursor visibility if supported.


# ec6e2540 17-Apr-2000 blymn <blymn@NetBSD.org>

Multiple fixes:
* Added Bill's fixes for errors when compiling with WARNS=1
* Incorporated fixes to make usage of unctrl consistent in debug and
made improvements to ctrace - it now timestamps it's

Multiple fixes:
* Added Bill's fixes for errors when compiling with WARNS=1
* Incorporated fixes to make usage of unctrl consistent in debug and
made improvements to ctrace - it now timestamps it's output better.
* Reduced the number of mallocs done by __init_getch by allocating key
structs in bunches instead of singly.
* Removed the shadowing of global declarations in newwin and subwin
functions

show more ...


# e4f451d7 12-Apr-2000 jdc <jdc@NetBSD.org>

Add colour capabilities and variables.


# 23464ee5 11-Apr-2000 blymn <blymn@NetBSD.org>

Made data structures opaque


# e07c9059 28-Jun-1999 simonb <simonb@NetBSD.org>

Get rid of the evil trailing spaces and tabs.


# 586d4ce1 13-Apr-1999 mrg <mrg@NetBSD.org>

Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities. The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
ter

Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities. The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
terminal) into symbolic code returns thus relieving the application of
recognising multi-character key sequences. Other features are the
capability to perform a timed wait for a key (good for when you are
not sure if there is a keypress ready or not) and the capability for
turning off the inter-key timeout when assembling multi-character
function keys.

this work was done by Julian Coleman <J.D.Coleman@newcastle.ac.uk>
and blymn@baea.com.au (Brett Lymn). i'm just integrating it. thanks
HEAPS guys!

show more ...


# 716747aa 22-Jul-1997 mikel <mikel@NetBSD.org>

RCSid police, fix warnings


# d29088da 17-Aug-1994 cgd <cgd@NetBSD.org>

clean up import


# f2149bfd 24-Jan-1994 cgd <cgd@NetBSD.org>

changes from branch


12