blymn
35253f4b16
Fix build break if curses is built without wide char support
2012-04-21 11:33:16 +00:00
blymn
0f995dfd31
Remove trailing whitespace
2012-04-21 11:31:59 +00:00
christos
8aaa635ed5
PR/46049: Tim van der Molen:
...
clrtobot() and clrtoeol() do not set background attributes
2012-02-19 19:38:13 +00:00
christos
b76235fd7a
handle the case where we have no space properly (Nat Sloss)
2012-01-27 15:37:09 +00:00
christos
acd0d5274c
PR/45791: Nat Sloss: getnstr erase character weirdness
...
Fix processing of backspace erase char and char left.
2012-01-06 22:20:54 +00:00
roy
64afaacce6
Move longname(3) from curses to terminfo, pre-cursor to fix PR/43386.
2011-10-04 11:01:13 +00:00
roy
4060cbcd0c
Use tiparm instead of vtparm.
2011-10-03 12:32:15 +00:00
wiz
72e0f90c3f
Remove trailing whitespace. Bump date for previous.
2011-09-15 12:01:18 +00:00
blymn
d3c541783a
- Make mvderwin work as per the SUSv2 specification and other curses
...
implementations.
2011-09-15 11:58:05 +00:00
christos
ef87b14708
Fix for systems that don't have TCSASOFT as intended originally. Simplify.
2011-08-29 11:07:38 +00:00
wiz
495abc41ce
Add serial comma, remove trailing whitespace, bump date for previous.
2011-08-07 11:37:06 +00:00
blymn
f23e1d9ef1
Merge the attributes into the returned characters.
2011-08-07 10:57:10 +00:00
blymn
9202e9d5c9
Document the return values for innstr and friends.
2011-08-07 10:55:59 +00:00
blymn
27325b933f
Fix a bug that prevented instr and friends returning OK.
2011-08-07 10:54:53 +00:00
blymn
12654ca858
flush the output after writing the meta sequence.
2011-08-07 10:52:18 +00:00
joerg
3eb244d801
Retire varargs.h support. Move machine/stdarg.h logic into MI
...
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
blymn
83d6403d6e
Set the background attributes when erasing.
2011-07-10 12:11:49 +00:00
joerg
b341a73a57
Fix memset usage.
2011-07-01 01:19:33 +00:00
jdc
f18c34f949
Correctly test for __ISDIRTY.
...
Problem noticed by (and test case provided by) blymn@.
2011-06-16 22:45:46 +00:00
blymn
e0662f42c2
Fix deleting a key definition, it did not work. Also improve tracing
...
of key definition deletion.
2011-04-21 08:10:49 +00:00
jruoho
6e3ec5b1a3
Fix PR # 41894.
2011-04-06 08:38:43 +00:00
blymn
eff7afe2e8
Add man page link for define_key
2011-04-04 10:32:04 +00:00
blymn
3da4a766de
fflush the outfd after setting the cursor visibility so it takes effect
...
immediately.
2011-03-30 09:47:02 +00:00
blymn
01cc4b6151
Fix typo.
2011-02-10 08:54:12 +00:00
blymn
0a965fa7ed
Back out change for assume_default_colors as it was not correct.
2011-01-06 11:29:40 +00:00
blymn
bcc3426f98
Little bit more debug information.
2010-12-25 10:08:20 +00:00
blymn
58f5b3b32b
Ignore request to change the values of colour pair 0
...
Explicitly set foreground and/or background colours when -1 is passed
to assume_default_colors()
2010-12-25 10:05:08 +00:00
blymn
0ddf818977
Allow attributes to be applied to the default line drawing characters
...
by just passing attributes as arguments to the wborder call.
2010-12-25 09:59:52 +00:00
wiz
3d3c5d42cb
Observe the following spelling:
...
- wide character (noun)
- wide-character (adjective)
Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
njoly
a2a0aef6cd
s/curses_fileo/curses_fileio/ in xrefs.
2010-12-09 13:26:27 +00:00
njoly
b0b35bdc77
Add missing space in fread xref.
2010-12-09 11:21:49 +00:00
joerg
bd9a53cf30
Since limit and l are both unsigned, comparing to 0 doesn't work, so compare
...
the values directly.
2010-12-07 22:02:52 +00:00
tnozaki
115137ad39
to initialize mbstate_t, use memset instead mbrtowc.
2010-11-23 05:38:35 +00:00
blymn
eb6f26d7ad
Don't echo key symbols.
2010-11-05 11:38:54 +00:00
dholland
de3d24d6c6
avoid writing in parseltongue
2010-08-06 04:03:26 +00:00
dholland
4bded2208d
After consultation with jdc@, apply the patch from PR 42412 even though
...
the crash went away -- it's not clear that it went away for any reason
besides by accident.
The change is: use calloc instead of malloc for allocating SCREENs.
2010-06-10 05:24:55 +00:00
drochner
90f3894847
fix wrong widechar assignment for "up arrow"
2010-02-25 10:56:24 +00:00
drochner
d32fd438b1
document wsyncup/wsyncdown/wcursyncup
2010-02-24 13:02:13 +00:00
drochner
452834f264
misc fixes and improvements:
...
-call setlocale(LC_CTYPE, "") before nl_langinfo(CODESET) if the
locale settings is (still) at "C" - otherwise the CODESET doesn't work
-fix the type of the WACS_* symbols -- this needs to be cchar_t*
-add safeguards where the return value of wcwidth() is used for
loop counters or indexing -- it can be -1
-use more common code in the widechar support case -- in particular
let the wchar functions do the work even if chtype ones were called
-implement wcursyncup/wsyncup/wsyncdown
-somewhat experimental: allow ACS_* variables to refer to WACS_*
table entries -- this way, programs using the old chtype using API
can use UTF8 line drawing on terminals which support UTF8 but not
ACS switching
-fix some logics bugs in UTF8 recognition and ALTCHARSET handling
2010-02-23 19:48:26 +00:00
wiz
66c83b53c8
Bump date for previous.
2010-02-20 10:23:04 +00:00
drochner
f138ed81f2
explain a non-portable behavior
2010-02-19 19:09:15 +00:00
roy
1bc5794aa0
Change from scroll_forward to cursor_down.
...
cursor_down is more similar to our old termcap use of nl.
Fixes PR lib/42770.
2010-02-12 10:06:15 +00:00
roy
582936ff0d
Don't assume the terminal has a description.
2010-02-11 11:45:47 +00:00
roy
a017e721b1
Fix an off-by-one error.
...
Thanks to Matthias Drochner.
2010-02-08 20:45:22 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
dsl
ef7eea8bfd
Read input from the correct FILE.
2009-11-04 21:51:11 +00:00
dsl
bc1d032082
Round timeout values up.
...
More importantly convert 1..99 to 1, not 0.
2009-11-04 21:24:57 +00:00
dsl
905b39a994
Move calls to __restore_termios() into the failing path of the functions
...
that fail - instead of in most of the callers.
All rather pointless if tcsetattr() fails to set the mode we want we
are very unlikely to be able to restore any later on.
2009-11-01 22:11:27 +00:00
jdc
7ffe6d60fa
Return the same information whether or not we have wide characters.
...
Problem pointed out by Rhialto on current-users.
2009-10-06 20:03:27 +00:00
christos
304c3bd293
fix debugging build. Hi Roy!
2009-07-28 18:38:43 +00:00