jdc
8b782b08d1
Increment libcurses minor for addition of addchstr() functions.
2003-05-21 21:21:14 +00:00
jdc
57b809b169
Add addchstr() family of functions.
...
Based on mail from Douwe Kiela.
Fixes PR lib/21285 by Thomas Klausner.
2003-05-21 21:19:52 +00:00
jdc
416748f2db
Add mvw* functions.
2003-05-21 20:33:21 +00:00
wiz
68221b9ec6
Bump date for last.
2003-05-21 06:57:08 +00:00
jdc
ad216762c8
Add missing *printw manual page links.
...
Patch provided in PR lib/21446 by Douwe Kiela.
2003-05-21 06:46:51 +00:00
jdc
8aec7a6456
Sort addbytes().
2003-05-21 06:16:16 +00:00
jdc
a365e46b92
Mention _CURSES_USE_MACROS.
2003-05-21 06:15:09 +00:00
jdc
2e4b986118
Add missing manual page links.
2003-05-20 06:54:44 +00:00
dsl
1473d232c3
Don't do __stopwin() if it is already stopped.
...
Allows error messages from programs like sysinst() to be seen.
(There is an explicit stopwin() before the error message is output,
and a second in the atexit() called cleanup() routine)
2003-05-18 10:02:07 +00:00
wiz
472351e13d
Use
...
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
e0f416155a
New sentence, new line.
2003-04-16 12:36:44 +00:00
wiz
848d4d3dde
getch(3), not curses_getch(3). New sentence, new line.
2003-04-16 12:29:42 +00:00
jdc
0361a50a77
Add spacing around variable definitions.
...
From a discussion with Thomas Klausner.
2003-04-11 09:37:15 +00:00
wiz
43a80c6fd2
Improve mdoc a bit.
2003-04-08 21:19:15 +00:00
wiz
94f29563af
Better mdoc; add a missing 'is'.
2003-04-08 21:15:21 +00:00
jdc
a1a7bef1e4
Document LINES and COLS environment variables.
2003-04-08 18:57:09 +00:00
jdc
7a37df1b93
Add ESCDELAY variable to control the inter-key delay in escape sequences.
...
Fixes PR 20031 by Thomas Klausner.
2003-04-08 18:55:43 +00:00
jdc
6e028f681b
Add mvwin manual pages.
...
From PR 21041.
2003-04-08 06:02:17 +00:00
jdc
38b99f1400
Make sure that windows are not off the left or top edges of the screen.
...
Noticed while looking at PR 21041.
2003-04-08 05:56:01 +00:00
jdc
119cd94332
Document mvwin().
...
Fixes PR 21041 by Tyler Retzlaff.
2003-04-08 05:53:49 +00:00
jdc
dcd13397db
Swap red/blue and yellow/cyan when working with Sb/Sf colour. Problem noticed
...
when working on PR 21000.
2003-04-06 07:22:13 +00:00
jdc
e6800497da
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.
2003-04-05 10:06:59 +00:00
jdc
6babc534d9
Increment libcurses minor (addition of attr_set() group of functions).
2003-03-30 07:40:02 +00:00
jdc
b5eb0508f1
Add attr_set() group of functions.
...
Fixes PR lib/20034 by Thomas Klausner.
2003-03-30 07:38:41 +00:00
jdc
045c8e350f
Now refresh() refreshes subwindows too.
...
Fixes PR lib/20544 by rtr.
2003-03-29 21:43:22 +00:00
wiz
64e132da8b
Fix typo.
2003-03-17 08:39:54 +00:00
wiz
83de4abed2
Use "its" instead of "it's" where appropriate.
...
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
dsl
661e3f71df
Describe use of -ve window sizes
2003-03-03 14:21:12 +00:00
dsl
d75ec8181e
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)
2003-02-17 11:07:19 +00:00
grant
104b35fe93
'NetBSD.org' and some mdoc fixes.
2003-02-14 16:29:11 +00:00
dsl
f7a8d65f01
resize subwindows when a window is resized, otherwise the subwin has
...
pointers into the ether.
(approved by christos)
2003-02-10 23:24:27 +00:00
jdc
ea7837ba99
Redo the conflict calculation (again).
...
Assume that "me" clears all attributes apart from acs.
Problem noticed when working on window(1).
2003-02-02 17:54:38 +00:00
jdc
60f7009432
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.
2003-02-02 17:52:29 +00:00
jdc
6e91e33032
Increment the minor version (from 5 to 6) for the addition of
...
can_change_color() and no_color_video().
Add a note of things to change when the major version is incremented.
2003-01-27 21:14:33 +00:00
jdc
ec51d5cc4b
Change the way we calculate conflicts when turning off attributes.
...
We now check the termcap entries for "\E[m" or "\E[0m" or a longer
"\E[ ... m" sequence containing a "0".
2003-01-27 21:12:29 +00:00
jdc
8ca56fe956
Check for conflict between colour and other attributes. The previous
...
checks when adding attributes could be inadequate if background colours
were later added to a window.
2003-01-27 21:11:12 +00:00
jdc
2d83114a86
ARemove (no longer used) __nca.
2003-01-27 21:09:20 +00:00
jdc
e46d737f27
Add can_change_color() and no_color_video().
2003-01-27 21:08:09 +00:00
jdc
a3ce96fb84
Rename can_change_colors() to can_change_color().
...
Add can_change_colors() (that just calls can_change_color()).
Add no_color_video().
Replace __nca with _cursesi_screen->nca.
2003-01-27 21:06:16 +00:00
jdc
f62975e655
Remove check for attribute/colour conflict.
...
This is now handled in refresh.c as it's not possible to handle the
conflict with background colour here.
2003-01-27 21:04:10 +00:00
jdc
1482f4ac4b
Rename can_change_colors() to can_change_color().
...
Add no_color_video().
2003-01-27 21:03:04 +00:00
wiz
fc8bb2b92f
End sentence with a dot.
2003-01-19 23:32:33 +00:00
atatat
dd0a8acd21
The next release will be 2.0, not 1.7.
2003-01-19 21:25:36 +00:00
kristerw
78307cec5d
Correct return type for initscr().
...
From Joel Wilsson in PR 19809.
2003-01-15 23:13:51 +00:00
jdc
3f8ad5302e
Back out part of rev 1.50. We can't call werase() here.
...
Fixes PR lib/19739 by Matthias Scheler.
Problem also noted by Martin Husemann.
2003-01-12 12:53:51 +00:00
atatat
e2013873ab
Let's call it 'duration' instead of 'timeout' so that the compiler is happy.
2003-01-09 21:47:39 +00:00
wiz
5cd5ff6dc7
Bump date for halfdelay, and slightly improve wording.
2003-01-09 12:53:55 +00:00
blymn
a3c6a58ea6
Added halfdelay() function.
2003-01-09 12:48:04 +00:00
jdc
a2a5a0d169
Add curses pad manual pages.
...
Forgot to commit this. Pointed out by wiz.
2002-12-24 07:36:32 +00:00
wiz
d31e57413f
Remove trailing whitespace and a superfluous Pp, and end a sentence with a dot.
2002-12-23 12:48:12 +00:00
jdc
3599e38c2b
Document pad-related functions - newpad(), subpad(), prefresh() and
...
pnoutrefresh().
2002-12-23 12:27:43 +00:00
jdc
d06ae12fb5
Bump minor to 4 (pads support).
2002-12-23 12:26:55 +00:00
jdc
02559eb653
Always update the change pointers. Otherwise, we could end up not
...
displaying 'blank' characters when overlapping windows are displayed.
(Exposed by changes in revision 1.49 of refresh.c.)
2002-12-23 12:26:07 +00:00
jdc
4b9cace222
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.
2002-12-23 12:25:10 +00:00
wiz
514c6fd187
Sort SEE ALSO.
2002-12-23 12:19:48 +00:00
jdc
4a4560b0f4
Only reset flags if the "window" is not a pad.
2002-12-23 12:18:53 +00:00
jdc
f8b5b67351
Add pnoutrefresh() and prefresh().
...
Modify _cursesi_wnoutrefresh() to handle pads.
2002-12-23 12:17:55 +00:00
jdc
c1d36848fe
Add newpad() and subpad().
...
Modify __makenew(), __newwin() and __subwin() to handle pads.
2002-12-23 12:17:03 +00:00
jdc
75f0ed7c22
Reference curses_pad(3).
2002-12-23 12:16:10 +00:00
jdc
c18be873d1
Changes for pad support - changed function signatures and _ISPAD flag.
2002-12-23 12:15:04 +00:00
jdc
92a6b6d62d
Add entries for newpad(), subpad(), prefresh() and pnoutrefresh().
2002-12-23 12:13:44 +00:00
jdc
6d51b9fd23
Add descriptions for newpad(), subpad(), prefresh() and pnoutrefresh().
2002-12-23 12:12:45 +00:00
jdc
2467ead4d8
Increase default delay when assembling key sequences. This seems to
...
eliminate the occasional non-recognition of key sequences over remote
connections.
Okayed by blymn.
2002-12-23 12:11:38 +00:00
jdc
b055b9db77
Correct cross references.
2002-12-05 19:13:12 +00:00
jdc
0bdde4e185
Add some (useful) debugging to wtouchln().
2002-12-05 17:23:51 +00:00
jdc
ab39ef114a
When copying a line from a window, only copy the changed part instead of
...
the whole line.
This fixes a bug when displaying displaying overlapping windows.
2002-12-05 17:22:13 +00:00
jdc
c5f3aee499
Mark lines on new windows unchanged.
...
Add window to __set_subwin() debug.
2002-12-05 17:14:34 +00:00
jdc
d899fbce8b
Set LINES and COLS here so that __swflags() sets flags on the initial windows.
...
Remove no longer useful debug output.
2002-12-05 17:04:25 +00:00
jdc
4da2d0814d
Set default colour on windows created after a call to start_color().
...
(Also noticed by Pooka).
2002-11-25 09:11:26 +00:00
jdc
1cac4d45c4
Don't allow default colour setting to be overwritten in init_pair().
...
(Also noticed by Pooka).
2002-11-25 09:11:18 +00:00
blymn
b7e9ee4287
Added documentation for define_key and keyok
...
Fixed borkage with getpary.
2002-10-23 12:17:45 +00:00
wiz
64950814bb
Sort SEE ALSO.
2002-10-22 12:25:17 +00:00
wiz
7887044679
Whitespace cleanup.
2002-10-22 12:24:03 +00:00
blymn
5aec620ac6
Added the ncurses extensions define_key and keyok.
2002-10-22 12:07:20 +00:00
blymn
d5dc62cbd8
Fix lint nits mainly with the len parameter type in hash_more.
2002-10-22 11:37:34 +00:00
wiz
2944b39fd1
No catted pages in CVS.
2002-10-21 14:40:36 +00:00
wiz
cd2a9eb1c8
getch, not curses_getch.
2002-10-21 14:35:29 +00:00
wiz
cb3d21680a
curses_delch, not curses_deletech.
2002-10-21 14:34:20 +00:00
wiz
04944d75d4
curses_scanw, not curses_scan.
2002-10-21 14:33:49 +00:00
wiz
a2e19aabe5
Use \-1 instead of -1.
2002-10-21 14:31:36 +00:00
wiz
70161f4c57
No functions returning pointers in this man page.
2002-10-21 14:24:53 +00:00
wiz
c3d0728d04
Punctuation fixes.
2002-10-21 14:17:54 +00:00
wiz
4eb1546262
Sort SECTIONS. Punctuation fix.
2002-10-21 14:15:31 +00:00
wiz
7e7bd575a0
Sort SECTIONS.
2002-10-21 14:14:35 +00:00
wiz
8165073f28
Merge two SEE ALSO sections.
2002-10-21 14:12:35 +00:00
wiz
5f48f3f24d
Fix typo in Dt.
2002-10-21 14:11:52 +00:00
grant
982c281199
New sentence, new line.
2002-10-21 14:06:17 +00:00
wiz
2d2d45bde2
Drop trailing whitespace.
2002-10-21 13:59:52 +00:00
blymn
23b2be97b5
Added separate man pages for curses functions to provide better
...
documentation of the curses functions.
2002-10-21 13:55:12 +00:00
blymn
0741e5c935
Added separate man pages for curses functions to provide better
...
documentation of the curses functions.
2002-10-21 13:55:07 +00:00
jdc
8e5dbb8eb6
Remove duplicate definitions of getyx, getbegyx and getmaxyx.
2002-10-14 16:25:52 +00:00
wiz
28128e0592
New sentence, new line. From Robert Elz.
2002-10-01 19:03:15 +00:00
jdc
5436cf8ed4
Add a hack for xterm-like terminals where "\E[m" will turn off
...
other attributes.
2002-09-11 15:23:24 +00:00
lukem
ebb6fc9eb8
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
...
(Reduces make output by ~ 20%)
2002-08-19 09:41:27 +00:00
pooka
b09706dced
add ${MACROS} to roff call to make output paper readable
2002-08-13 20:07:31 +00:00
jdc
de90ffb896
Sort attr* functions/macros.
2002-08-04 17:08:16 +00:00
jdc
4eb3ef3dac
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.
2002-08-04 16:43:04 +00:00
jdc
c06c3c0403
Make sure we always update curx, cury and __ISPASTEOL.
...
From Onno van der Linden in PR lib/16532.
2002-08-04 14:13:49 +00:00
jdc
7aea6936d1
Reset cursor visibility after restarting the screen, as the cursor visibility
...
setting can be changed when the screen is restarted.
2002-08-04 14:11:59 +00:00
blymn
119539a3a6
Add idcok to documentation.
2002-07-19 13:36:48 +00:00