1- PDCurses for X11 (new, experimental)
2- =====================================
1+ PDCursesMod for X11 (new, experimental)
2+ ========================================
33
4- This port of PDCurses for X11 has been written from scratch, with
4+ This port of PDCursesMod for X11 has been written from scratch, with
55(thus far) only the key remapping array taken from pdckbd.c of the
66"original" X11 port. It is, as yet, unclear if this will be a
77replacement for the original port. As noted in the 'to do' section,
@@ -12,31 +12,31 @@ Building
1212--------
1313
1414- Run "make". Add UTF8=Y to force the wide-character version. Add
15- DEBUG=Y for the debug version. Add the target "demos" to build
16- the sample programs, and/or "tests" for the test programs.
15+ DEBUG=Y for the debug version. Add NO_LEAKS=Y to avoid Xlib's tendency
16+ to leak lots of memory (this does limit you to a US keyboard; see
17+ pdckbd.c.) Add the target "demos" to build the sample programs,
18+ and/or "tests" for the test programs.
1719
1820- Currently, there is no "make install".
1921
2022Usage
2123-----
2224
2325When compiling your application, you need to include the \< curses.h\>
24- that comes with PDCurses . You also need to link your code with
26+ that comes with PDCursesMod . You also need to link your code with
2527libXCurses. You will need to link with the following libraries:
2628
2729 -lX11 -lpthread
2830
2931To do
3032-----
3133
32- - Add mouse handling
34+ - Add mouse wheel handling
3335- Combining and fullwidth characters
3436- How to do SMB (Unicode > 0xffff)?
35- - Blinking text
3637- Under/over/strikeout/left/right lines
3738- Bold & italic text
3839- Respond to Ctrl-plus and Ctrl-minus with font size changes?
39- - Programmatic resizing?
4040
4141Most of these shouldn't be all that tough to do.
4242
@@ -45,7 +45,7 @@ Interaction with stdio
4545
4646Be aware that curses programs that expect to have a normal tty
4747underneath them will be very disappointed! Output directed to stdout
48- will go to the xterm that invoked the PDCurses application, or to the
48+ will go to the xterm that invoked the PDCursesMod application, or to the
4949console if not invoked directly from an xterm. Similarly, stdin will
5050expect its input from the same place as stdout.
5151
0 commit comments