Commit Graph

18590 Commits

Author SHA1 Message Date
roy 518bfd5577 Kill stray refs to __virtscr and _cursesi_screen missed in prior commit. 2017-01-11 10:06:32 +00:00
roy 019139adbd ripoffline requires wnoutrefresh to work before _cursesi_screen has been
set.
2017-01-11 09:54:54 +00:00
kamil 2e2dd171b3 Correct man-page category of posix_spawn: is (3) not (2) 2017-01-11 07:32:36 +00:00
kamil 5ed9a833b2 Document SIGTRAP with si_code TRAP_CHLD in ptrace(2)
Document the current behavior of TRAP_CHILD in NetBSD.
Add more notes on PTRACE_FORK events.

Sponsored by <The NetBSD Foundation>
2017-01-11 07:31:14 +00:00
roy 98102593fe Use the window's screen's terminal. 2017-01-10 23:49:20 +00:00
roy cc74ade3a6 Fix resizing terms. 2017-01-10 23:28:45 +00:00
roy e56dac4e35 Use the terminal of the SCREEN of the WINDOW rather than cur_term
for window attribute functions.
2017-01-10 21:56:50 +00:00
christos 4ad16b3e7c PR/51814: Ngie Cooper: add <stdio.h> since sys_nerr is declared there on
FreeBSD.
2017-01-10 20:25:48 +00:00
christos 4476579893 KNF, simplify expressions for readability. 2017-01-10 17:51:01 +00:00
christos 46629f8e5f pacify lint. 2017-01-10 17:50:24 +00:00
christos 6ddfa6c010 simplify cast. 2017-01-10 17:46:47 +00:00
christos 01b3cff52b add missing cast. 2017-01-10 17:46:26 +00:00
christos 56572bf5f5 cast for size_t 2017-01-10 17:45:58 +00:00
christos 14501124c4 use correct type for poll 2017-01-10 17:45:27 +00:00
christos 3707fb92bc include <sys/stat.h> 2017-01-10 17:45:12 +00:00
christos d472a9154a add constcond 2017-01-10 17:44:51 +00:00
christos f8af623337 add linted comment 2017-01-10 17:44:28 +00:00
christos 93438ac9dd Need <sys/stat.h> 2017-01-10 17:00:58 +00:00
christos ef5b9db358 need <sys/stat.h> 2017-01-10 16:51:30 +00:00
roy 545dbcc586 When doupdate is called, check for typeahead input after N lines changed
instead of aborting really early.

This allows some screen update when holding the page down key for example.
2017-01-10 10:33:49 +00:00
roy 25445577c0 Implement POSIX curses function ripoffline(3). 2017-01-10 10:13:24 +00:00
roy 5714904ce2 Test for __ISPASTEOL when moving the cursor and it hasn't moved.
Unset __ISPASTEOL when moving the cursor during refresh.
2017-01-10 09:32:01 +00:00
abhinav fe8fae7920 Add missing word. 2017-01-10 06:28:46 +00:00
christos 93f630910e Adapt to new zlib 2017-01-10 01:28:03 +00:00
blymn b3963fa60a Checks for bottom right corner were reversed. 2017-01-09 21:17:29 +00:00
christos 1ec9eafabc Make sure we take into account history_base when computing negative history
offsets. (Gerry Swinslow)
2017-01-09 03:09:05 +00:00
christos 4937de3b47 Make sure that argv is NULL terminated since functions like tty_stty rely
on it to be so (Gerry Swinslow)
2017-01-09 02:54:18 +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
kamil 69c3a1c44c Add more notes explaining how debuggers work on NetBSD
Explain:
 - execve(2) handling and behavior, SIGTRAP & TRAP_EXEC
 - reference PaX MPROTECT restrictions for debuggers
 - software breakpoints handling and behavior, SIGTRAP & TRAP_BKPT
 - single step behavior, SIGTRAP & TRAP_TRACE
 - list predefined MI symbols for help debuggers in port specific headers
 - explain that PT_TRACE_ME does not send a SIGSTOP signal

Sponsored by <The NetBSD Foundation>
2017-01-07 05:51:14 +00:00
kamil 6a0def7293 Document PT_SET_SIGINFO and PT_GET_SIGINFO in ptrace(2)
PT_SET_SIGINFO - fake signal information emitted to tracee
PT_GET_SIGINFO - read signal information routed to tracee

Sponsored by <The NetBSD Foundation>
2017-01-07 03:41:25 +00:00
kamil 6615db4a39 Fix swapped text between PT_GET_PROCESS_STATE and PT_GET_EVENT_MASK
Sponsored by <The NetBSD Foundation>
2017-01-07 01:32:35 +00:00
kamil 929c1cc1fe ptrace(2): Document addr and data argument usage for PT_GET_PROCESS_STATE
The PT_GET_PROCESS_STATE call in ptrace(2) has the following usage of addr
and data:

    A pointer to this structure is passed in addr.  The data
    argument should be set to sizeof(struct ptrace_event).

Sponsored by <The NetBSD Foundation>
2017-01-07 01:29:18 +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
christos 29343d16d1 set to NULL after releasing to avoid double free. 2017-01-03 00:59:31 +00:00