Commit Graph

709 Commits

Author SHA1 Message Date
blymn
b3963fa60a Checks for bottom right corner were reversed. 2017-01-09 21:17:29 +00:00
wiz
65fa8d4547 Use more markup, sort ENVIRONMENT. 2017-01-08 13:49:21 +00:00
wiz
6811b22279 Whitespace fix, bump date for previous. 2017-01-08 13:49:05 +00:00
roy
84fe414e1f KNF 2017-01-06 14:25:41 +00:00
roy
9180469668 KNF 2017-01-06 14:06:00 +00:00
roy
50a63ac8d2 KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.
2017-01-06 13:53:18 +00:00
roy
846cb8f380 u_int -> unsigned int, u_int32_t -> uint32_t. 2017-01-06 09:14:07 +00:00
roy
506f84ec9a Implement ncurses is_pad(3).
Correct documentation about is_keypad(3).
2017-01-05 23:15:43 +00:00
roy
433b66d936 Whitespace 2017-01-05 21:42:04 +00:00
roy
4550c5287c Implement is_term_resized and resize_term(3) ncurses extensions.
resizeterm(3) is now a wrapper for resize_term(3).
2017-01-05 21:25:17 +00:00
roy
47cc2fc353 Add the set_escdelay(3) and set_tabsize(3) ncurses extensions. 2017-01-05 20:31:37 +00:00
wiz
e4ec469a39 Fix typo. 2017-01-05 12:35:41 +00:00
wiz
3134e606a6 Whitespace. 2017-01-05 09:46:32 +00:00
wiz
6e0a1cbf88 Use Ev for environment variables. 2017-01-05 09:46:08 +00:00
roy
ffbd31d04d White space police 2017-01-04 03:51:29 +00:00
roy
c293b9d8ca Allow C++ to link with all curses parts. 2017-01-04 02:05:23 +00:00
roy
5a86062c02 Add missing man pages for wsyncup.3 and wcursyncup.3 2017-01-03 13:21:40 +00:00
roy
8cf8e1d614 Support 256 colour terms.
From: rofl0r <retnyg@gmx.net>
2017-01-03 12:42:06 +00:00
roy
330e363652 Now that we have the initialize_color capability,
init_color can be made to work.

From: rofl0r <retnyg@gmx.net>
2017-01-03 12:39:44 +00:00
roy
c247fb6646 Bump libcurses to 7.1 for prior additions. 2017-01-02 12:38:16 +00:00
roy
1369811d4e Implement POSIX Curses functions immedok(3) and syncok(3). 2017-01-02 10:28:34 +00:00
roy
4da08ba387 Whitespace 2017-01-02 08:44:12 +00:00
roy
6de5f0d137 Implement ncurses extension has_key. 2017-01-01 03:06:06 +00:00
roy
a663bc11be Implement POSIX Curses typeahead function. 2016-12-31 22:47:01 +00:00
roy
77943ff6ed Implement POSIX curses use_env function. 2016-12-31 17:46:35 +00:00
roy
2ab1e31d80 Implement ncurses extensions is_leaveok and is_keypad.
The former allows the ncurses (and pdcurses) macros getsyx and setsyx
to be implemented, which is needed by a surprising number of applications.

The latter is needed for Python curses support so it doesn't have to dive
into ncurses window structure.
2016-12-31 13:50:16 +00:00
roy
1c3d328353 Add the POSIX filter() function to libcurses. 2016-12-30 22:38:38 +00:00
wiz
1e92e63851 Fix some prototypes. 2016-12-29 23:50:59 +00:00
christos
2b4d6aa5a1 fix placement of lint comment 2016-12-12 04:20:31 +00:00
blymn
4114d2610d Improve debug information. 2016-12-11 21:25:22 +00:00
christos
6d100a1021 PR/51673: Carsten Kunze: curses: standend() does not turn off A_BOLD;
according the X/Open it needs to turn off all attributes.
2016-11-29 17:33:48 +00:00
christos
56b8322bcc If we are inserting spaces to account for a tab, move the x position of the
cursor, otherwise this is a no-op (Carsten Kunze)
2016-11-28 18:25:26 +00:00
christos
50c795e166 don't coredump if we call endwin when initscr fails. 2016-11-24 14:49:08 +00:00
christos
59538e7ea4 It is expensive to open and close files for every printf, keep it around. 2016-10-23 21:20:56 +00:00
christos
8a48cf6610 remove bogus malloc casts 2016-10-22 21:55:06 +00:00
jdc
b120305be0 Clear the "forced" flag after updating a line, otherwise we'll always do
complete line redraws.
2016-01-10 08:11:06 +00:00
jdc
dfb25fd120 Remove extra new line in debugging output. 2016-01-09 19:05:13 +00:00
jdc
210cd3d8d9 Display force flag in debug print. 2016-01-07 07:37:08 +00:00
jdc
3c6f106b95 Add missing new line in debug print. 2016-01-07 07:36:35 +00:00
christos
600fe0a3fe fix memory leaks (from Rin Okuyama) 2015-11-26 01:05:08 +00:00
christos
7099a15c75 PR/50092: don't leak screen on multiple setterms. 2015-11-24 01:59:32 +00:00
kamil
43589aae40 Note to update major of libpanel(3) for new major of curses(3) 2015-11-22 04:56:00 +00:00
uwe
3ae7b58008 Fix x/y edito. 2015-10-17 00:35:25 +00:00
joerg
fb99f8156a mvgetnstr should have a length argument as the name implies. 2015-06-08 12:38:57 +00:00
wiz
18ac899793 Fix quoting in macro.
Needed by dialog-1.2-20150513.
2015-05-28 06:28:37 +00:00
christos
dbad683e58 Use TOOL_VFONTEDPR 2014-07-15 13:27:58 +00:00
christos
bba6cf07e1 stopgap for non-netbsd build. 2014-07-15 11:19:08 +00:00
blymn
0241cad29d Remove bogus length check - SUSV2 says add(n)str wraps and performs
special character processing so we should not be trying to limit the
length to the screen edge.  This partially fixes PR 48827, the test case
works now.
2014-07-13 01:58:08 +00:00
dholland
efe0bd4dbe Remove stray .if make(insatll).
I would really like to know why this didn't fail the clean build I ran
last night.
2014-07-05 22:31:32 +00:00
dholland
b7b7574d3b Reorg docs, part 1:
Move all the reference manuals to subdirs of /usr/share/doc/reference.
We have subdirs ref1-ref9, corresponding to man page sections 1-9.

Everything that's the reference manual for a program (sections 1, 6,
8), C interface (sections 2, 3), driver or file system (section 4),
format or configuration (section 5), or kernel internal interface
(section 9) belongs in here.

Section 7 is a little less clear: some things that might go in section
7 if they were a man page aren't really reference manuals. So I'm only
putting things in reference section 7 that are (to me) clearly
reference material, rather than e.g. tutorials, guides, FAQs, etc.
This obviously leaves some room for debate, especially without first
editing the docs with this distinction in mind, but if people hate
what I've done things can always be moved again.

Note also that while roff macro man pages traditionally go in section
7, I have put all the roff documentation (macros, tools, etc.) in one
place in reference/ref1/roff. This will make it easier to find and
also easier to edit it into some kind of coherent form.
2014-07-05 19:22:41 +00:00