Re: [PDCurses] PDCurses 3.9 pkg-config for THE-3.3RC8

2022-04-12 Thread LM
On Mon, Apr 11, 2022 at 6:09 PM Richard Narron wrote: > > The PDCurses 3.9 package on SLackBuilds.org now creates a pkg-config file > for use in building the Hessling editor 3.3RC8. > Nice addition. > > > Ideally this file would be named the same as the library: > > /usr/lib64/pkgconfig/LibXCur

Re: [PDCurses] box drawing with fonts

2018-12-07 Thread LM
On Fri, Dec 7, 2018 at 12:07 AM William McBrine wrote: > Have you not actually tried it? I think it would fully meet your request, > unless I’m misinterpreting you. You do have to use the ACS_* macros (or > equivalent), not the Unicode characters. I think that’s the right thing. > > Only 16 of t

[PDCurses] box drawing with fonts

2018-12-06 Thread LM
I'm trying to convert some old programs I wrote a long time ago from box drawing with OEM fonts to uses PDCurses with SDL2 and UTF-8 box drawing and block element characters ( https://www.utf8-chartable.de/unicode-utf8-table.pl ). Was just wondering what's been investigated for improving lining up

Re: [PDCurses] Custom font with PDCurses 3.6 / SDL2

2018-03-21 Thread LM
On Tue, Mar 20, 2018 at 2:24 PM, Karl Garrison wrote: > Does the SDL2 version of PDCurses still support using a custom font? If so, > are there any special considerations for this version? Having pdcfont.bmp > in the current directory does not work for me, nor does explicitly setting > PDC_FONT

Re: [PDCurses] Need with Autotools compilation on X11

2016-01-19 Thread LM
On Sun, Jan 17, 2016 at 4:11 AM, anatoly techtonik wrote: > And actually I don't understand what "a tool to help you configure > projects" really means, because I am not familiar with autoconf > (that's why I asked the question in the first place). So I see that C > files already have #define mech

Re: [PDCurses] Need with Autotools compilation on X11

2016-01-14 Thread LM
On Wed, Jan 13, 2016 at 5:23 PM, anatoly techtonik wrote: > On Tue, Jan 12, 2016 at 3:54 PM, LM wrote: >> CDetect > > Does that thing require installation of new tool? No just 3 include files (C files). One could even possibly distribute them with pdcurses if desired.

Re: [PDCurses] Need with Autotools compilation on X11

2016-01-12 Thread LM
On Mon, Jan 11, 2016 at 10:15 PM, Mark Hessling wrote: > That would be me. Remember at the time I did the X11 port autotools were > quite primitive. Maybe it is time to replace a lot of the custom autotools > stuff with more standard procedures. Relating my own experiences, I've been switching a

[PDCurses] Re: form and menu libraries

2015-10-09 Thread LM
I've been experimenting with the BSD versions of libform and libmenu further. They need some patching, but they do work with pdcurses. Is anyone interested in using these libraries with pdcurses besides me? Seems easier to port certain pdcurses applications if you have them. Sincerely, Laura

[PDCurses] form and menu libraries

2015-10-08 Thread LM
Has anyone had any luck finding and using form and menu libraries with pdcurses? The ncurses versions have too many ncurses specific constructs in them. However, form and menu libraries that aren't specific to a version of curses might port more easily. I ran across the NetBSD version of the lib

Re: [PDCurses] automake test for libraries

2015-06-23 Thread LM
On Mon, Jun 22, 2015 at 8:13 AM, anatoly techtonik wrote: > The only problem with pkg-config is that it is a pain on Windows that > comes with 200Mb of different Unix dependencies. But.. looks like > thing got better for Python https://pypi.python.org/pypi/pykg-config/1.3.0 I use it on Windows al

Re: [PDCurses] automake test for libraries

2015-06-22 Thread LM
On Sat, Jun 20, 2015 at 9:04 AM, Kevin Lamonte wrote: > End-users wanting the X11 version right now can also pass "--with-x > --x-libraries=/usr/lib/x86_64-linux-gnu/" to configure (might be different > path based on distro, this is what I use on Debian). Making this behavior > default would b

[PDCurses] key mappings

2015-04-08 Thread LM
I'm trying to double-check that the keys are mapping properly for SDL. The only documentation on keys that I could turn up was at: http://pubs.opengroup.org/onlinepubs/7908799/xcurses/curses.h.html Does anyone have a list of what key values should be returned for what key combinations. curses.h h

[PDCurses] PDCurses and bool

2015-04-06 Thread LM
Some of the programs I've recently tried to build with pdcurses are using stdbool.h and its definition of bool. There's code in pdcurses.h that attempts to work-around the situation in C++ where bool might already be defined. However, don't see anything to deal with the issue for C. Has anyone e

Re: [PDCurses] PDCurses and SDL2

2015-01-27 Thread LM
I compared the demos using SDL1 and SDL2 with SDL2_TTF support. Results are very similar. Ran the clipboard test in testcurs and it works very nicely with SDL2 clipboard support. The biggest design issue I see is Unicode support. Looking through the code, chtype is set by default to handle 16 bi

Re: [PDCurses] PDCurses and SDL2

2015-01-23 Thread LM
On Thu, Jan 22, 2015 at 4:25 PM, Daniel Goldman wrote: > Could you explain a little what SDL is, advantages, disadvantages? Sorry for > my ignorance. Daniel SDL is a graphics library that has been ported to several platforms. PDCurses already has support for SDL 1.2.x built in. However, around

[PDCurses] PDCurses and SDL2

2015-01-22 Thread LM
I started looking at how difficult it would be to add SDL2 support to PDCurses as well as the current SDL 1.2.x support. I'm also looking at using SDL_TTF with a mono-spaced font instead of bitmap fonts. I'm actually making some progress and demos like firework and rain look decent. Still have s

[PDCurses] pdcurses for SDL and UTF-8 support

2013-12-16 Thread LM
I ran across a message in the archive ( http://www.mail-archive.com/pdcurses-l@lightlink.com/msg00110.html ) about the SDL port and the possibility of adding Unicode and TTF support some time in the future. Was curious if there was still any plans to do so. Was thinking of looking at the code to

Re: [PDCurses] extended character set

2003-12-12 Thread LM
Found the problem. One of my routines was accidentally converting the extended character to a signed char instead of leaving it as an int or unsigned char. Strange it worked okay either way on Watcom though. Best wishes. Laura http://www.distasis.com/cpp/

[PDCurses] extended character set

2003-12-12 Thread LM
I'm having trouble getting the extended character set drawn to the screen on certain platforms. Works fine on Watcom (DOS and Win32), but DJGPP, Borland and mingw are showing solid boxes instead of the characters above 128 (in the ASCII character set). Tried looking through to see if anything was

[PDCurses] mouse support

2003-11-21 Thread LM
I remember someone posted to the list a while back asking about mouse support in DOS for pdcurses. Did anyone ever get around to working on it? If not, was thinking of looking into what it might take to add it to the Watcom DOS version and maybe to the djgpp version as well depending on my time co

[PDCurses] ui libraries

2003-06-08 Thread LM
Just wondering if anyone's run across or is working on any good, portable, cross-platform user interface libraries that work on top of curses. Last time I did a check, the only options I found were at: ftp://sunsite.unc.edu/pub/Linux/libs/ui Wanted to know if any new libraries had been written sin

Re: [PDCurses] Problem when trying to use PDCurses with MINGW

2002-08-20 Thread LM
On Tue, 20 Aug 2002, Frank Krauss wrote: > Any assistance in helping me to get PDCurses to run with Mingw will be > greatly appreciated. I haven't been keeping up with Mingw lately, but I used to be in charge of the FAQ for it. Was not aware that Mingw supplied any support for PDCurses beyond be

Re: [PDCurses] Alt + Shift + n (for example) on Windows

2002-07-12 Thread LM
At 7/7/2002 6:10:00 PM, Jeremy Smith wrote: >I have run into a bit of a problem. I use the Curses function getch() in >my program, for keys such as 'n' or Alt+'n' but how do I detect these >combinations: > >Ctrl+n >Alt+Shift+n >Ctrl+Alt+n >Ctrl+Alt+Shift+n >I imagine there must be some kind of fl

Re: [PDCurses] Curses boot problem in Win32 build

2002-06-27 Thread LM
On Thu, 27 Jun 2002, Chris DAlessio wrote: > I just successfully built Curses for Win32 this week. You can build with > PDCurses. You need to have stock perl 5.6.x, the ActiveState version will > simply not work. After building PDCurses, you then need to build the Curses > CPAN module. This w

[PDCurses] D-Flat user interface library

1999-12-21 Thread LM
I'm forwarding some information for someone who's working on a user interface library. He's updated and added a lot of features to D-Flat including some internationalization additions. He'd like to get the library working in conjunction with curses. If anyone's interested in the project and wan

[PDCurses] Couldn't find mvaddnstr

1999-12-21 Thread LM
Was trying to compile a program that used mvaddnstr and the compiler and linker couldn't find it in the library. I'm using mingw32 on Windows. Looked to me like mvaddnstr wasn't included in the defines in the curses.h file. Laura Michaels

[PDCurses] mingw32 (2.95) and pdcurses (2.4)

1999-11-02 Thread LM
I was able to get PDCurses to compile and link and to get the sample programs up using mingw32 (gcc 2.95). The following defines that used to be in Windows32/defines.h egcs 1.1.2 need to be included when compiling. I temporarily placed them in wincon.h. /* MOUSE_EVENT_RECORD structure */ #def

Re: [PDCurses] re: can't compile pdcurses2.4 with mingw32

1999-10-31 Thread LM
If it helps any, here are the missing defines from egcs 1.1.2 Windows32/defines.h for the mouse: /* MOUSE_EVENT_RECORD structure */ #define FROM_LEFT_1ST_BUTTON_PRESSED(1) #define RIGHTMOST_BUTTON_PRESSED(2) #define FROM_LEFT_2ND_BUTTON_PRESSED(4) #define FROM_LEFT_3RD_BUTTON_PRES

[PDCurses] re: can't compile pdcurses2.4 with mingw32

1999-10-31 Thread LM
I was recently having similar problems with an Open Source telnet program. The Windows headers have changed between egcs 1.1.2 and gcc 2.95. They are now supposed to be closer to the Win32 standard. Defines like FROM_LEFT_1ST_BUTTON_PRESSED and RIGHTMOST_BUTTON_PRESSED were in the Windows32\def