William McBrine
7b22dfa982
Return proper coordinates instead of -1,-1 for DOS/SDL/X11. To Do: test.
2023-05-26 22:32:46 -04:00
William McBrine
c9367727b0
Redundant distribution stati
2022-01-14 16:15:31 -05:00
William McBrine
00688c8f29
COLS / LINES handling in DOS and OS/2 doesn't seem useful.
2019-09-15 11:26:12 -04:00
William McBrine
f294596357
Redundant code; on resize, move the cursor just enough to keep it
...
onscreen, instead of resetting it.
2019-09-15 08:22:01 -04:00
William McBrine
2048b6b93e
Removed meaningless argc/argv passing for non-X11 ports; made initscr()
...
the core routine and Xinitscr() the wrapper, as it should be.
2019-09-15 02:01:15 -04:00
William McBrine
dcc68db1fd
To match the change in PDC_scr_open(), free SP in delscreen() rather
...
than PDC_scr_free().
2019-09-11 10:02:57 -04:00
William McBrine
e3c606be1e
Updated comments.
2019-09-11 09:52:24 -04:00
William McBrine
492b402134
More common code now.
2019-09-10 19:14:58 -04:00
William McBrine
6503aa9277
The screen should really update on doupdate(), not just on idle.
...
Tentative fix for x11. Reported by Mark Hessling.
2019-09-10 10:06:24 -04:00
William McBrine
4d1920e51c
atrtab, unified again, in the new style.
2019-09-08 23:53:55 -04:00
William McBrine
48b0c12975
PDC_get_input_fd() only returned a meaningful result under x11, but this
...
is impossible to reproduce in the single-process model. All other
platforms always returned zero... which may or may not have actually
worked with select(). Better to deprecate this, discourage its use, and
suggest alternative mechanisms.
2019-09-06 09:05:43 -04:00
William McBrine
c917070c39
responsibility
2019-08-17 12:32:58 -04:00
William McBrine
c18d86d4a2
save_key_modifiers isn't useful -- they can always be saved. A pseudo-
...
prototype is retained for backwards compatibility.
2019-08-05 02:26:52 -04:00
William McBrine
f5886b69c7
... and finally (for now), this. To Do: more testing.
2019-08-04 12:19:35 -04:00
William McBrine
9ce10d9a16
and even this
2019-08-04 00:18:12 -04:00
William McBrine
690f11dc8d
also this
2019-08-03 22:42:35 -04:00
William McBrine
3c67ce4471
Adding the NetBSD functions reminded me how outdated the "Portability"
...
tables were. Hopefully this is more useful, if still questionable.
2019-05-12 18:35:47 -04:00
William McBrine
a0b7d587c1
Inconsistent line wrap length and spacing in "man page" descriptions.
2019-05-11 20:34:11 -04:00
William McBrine
e0c29054e8
Added has_mouse() for ncurses compatibility. See GitHub issue #62 .
2019-05-07 18:09:27 -04:00
William McBrine
4a15672341
Rebranding -- it's still public domain, but I'll no longer refer to it
...
as "Public Domain Curses". (Outside of the official docs, no one ever
did, anyway.)
2019-01-30 15:32:02 -05:00
William McBrine
5fa56051c0
Options that are no longer / were never needed for Borland DOS.
2019-01-28 12:45:17 -05:00
William McBrine
eb2a2d25b6
and this
2019-01-26 17:05:53 -05:00
William McBrine
4bf307269c
Some more commonality for the Watcom makefiles.
2019-01-26 16:25:28 -05:00
William McBrine
a4391db2e8
Consolidated Watcom makefiles for DOS, after Tee-Kiah Chia; added MODEL
...
option to Makefile.bcc for consistency.
2019-01-24 19:29:54 -05:00
William McBrine
fc12fadc30
Remove the ability to build BBS-ready binary packages.
2019-01-13 13:37:51 -05:00
William McBrine
63d8c5308f
Simplified Makefile descriptions; removed version commitments.
2019-01-13 13:20:40 -05:00
William McBrine
6a07c555a5
Mention "mingw32-make" and the separate demo build target.
2019-01-07 12:36:58 -05:00
William McBrine
3d2c32ce35
Demo build fix for Borland.
2018-12-29 06:53:53 -05:00
William McBrine
43d5bc8fc1
The ACS tables are somewhat redundant, so break them out into /common.
2018-12-04 13:35:03 -05:00
William McBrine
2c460b3c5f
New "common" directory to unclutter the root, and eliminate a few more
...
redundant files from platform directories. (Yes, we already have
"pdcurses", but that's for the portable core; "common" is for files that
are more platform-specific, though shared by more than one platform.)
2018-12-04 12:36:39 -05:00
William McBrine
ac70d24d30
The name "ACS_PICK" no longer fits; now-redundant temporary macros.
2018-12-04 10:13:20 -05:00
William McBrine
6b56929566
Eliminated term.h, terminfo.c; moved mvcur() to move.c .
2018-12-01 05:09:56 -05:00
William McBrine
e1bc364634
Dropped support for short (16-bit) chtypes.
2018-11-29 12:52:33 -05:00
William McBrine
1ecbd70601
Don't build the demos by default. (Just do "make demos" to build them.)
...
They add a lot of time to the build, and often aren't needed.
2018-04-05 18:00:56 -04:00
William McBrine
21171db6bd
Erroneous logging.
2018-04-02 13:23:10 -04:00
William McBrine
929ac4183e
Old, unsupported compilers.
2018-02-12 14:31:16 -05:00
William McBrine
f6f7f1b795
Warning suppression -- also easier to read.
2018-02-12 14:06:14 -05:00
William McBrine
de71cb8483
Make DOS attribute behavior more consistent with other platforms: With
...
true blinking on, in A_REVERSE, A_BLINK still works, while A_BOLD is
suppressed. With true blinking off, in A_REVERSE, A_BLINK controls the
foreground intensity, and A_BOLD the background. And on non-monochrome
monitors, underlining is ignored, instead of turning blue.
2018-02-10 10:51:13 -05:00
William McBrine
4a3cbec196
Also update the makefile comments.
2018-01-29 21:28:10 -05:00
William McBrine
a3207179c4
Renamed makefiles from "XXXYYY.mak" to "Makefile.XXX", where XXX is the
...
compiler, and YYY was the platform -- which was redundant with the
directory name. This way, the makefiles sort together, apart from the
source files. It also lets me drop the extension on one of them for each
port, so that one can be used without "-f". (I chose gcc for this,
somewhat arbitrarily.) Inspired by contemplating the renaming of
"win32".
2018-01-29 21:04:08 -05:00
William McBrine
5900870853
These vars unneeded without A_INVIS.
2018-01-28 12:27:19 -05:00
William McBrine
d7963e49ff
Overloading A_INVIS with A_ITALIC meant that the attribute had radically
...
different behavior on different platforms, which seems highly
undesirable. Since A_INVIS is fairly useless anyway, pending more
available attribute bits, I'm redefining it to A_NORMAL (i.e. nothing),
and devoting the bit to A_ITALIC. (My only reservation here is that
A_INVIS is standard, while A_ITALIC is not.)
2018-01-28 10:32:34 -05:00
William McBrine
eb87282857
Remove all trailing spaces.
2018-01-13 22:36:58 -05:00
William McBrine
ab2e22661b
Dropped MS C for DOS... it doesn't work anymore.
2018-01-13 10:25:27 -05:00
William McBrine
3d2ce1e5dc
Common .lrf file for Borland DOS and OS/2.
2018-01-12 19:29:20 -05:00
William McBrine
10ff9490f8
It's a long time since this demo was new. Let's call it something more apt.
2018-01-08 13:14:42 -05:00
William McBrine
3a685c6081
makedist.mif for gccwin32.mak; $(RM) everywhere. Needs testing.
2018-01-05 21:16:26 -05:00
William McBrine
528875e5f9
It's past time to drop the duplicated panel library kludge. (To Do:
...
Merge panel.h with curses.h?)
2018-01-05 10:12:10 -05:00
William McBrine
e1dc67e4e4
Unix-friendly pathname separators and option markers for Watcom, after
...
Tee-Kiah Chia. Not tested under Linux by me, yet.
2018-01-04 23:51:32 -05:00
William McBrine
06f3d4e702
Added SP->termattrs and PDC_set_bold(). termattrs() is actually useful
...
now. The main goal here is to allow A_BOLD to select *either* high
intensity color (the old behavior) *or* a genuine bold font (the new
option for SDL-TTF and X11), but not both at once; and also to
facilitate similar choice with A_BLINK in the future. (High-intensity
color can still be combined with bold fonts by directly selecting one of
the 8-15 colors.) A_ITALIC is also half-covered, but since A_INVIS is
kind of useless, I've omitted PDC_set_italic(). To Do: Test everywhere;
more docs.
2018-01-01 09:36:58 -05:00