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

2018-03-24 Thread Bill Gray
Not that I'd see this as a major issue, but perhaps something along the lines of changing line 200 in pdcscrn.c from if( !pdcfont) to if( !pdcfont || pdcfont->format->BitsPerPixel != 1) might provide suitable warning? Or possibly adding lines to check that we've got one bit

[PDCurses] Updates to Win32a fork

2016-03-22 Thread Bill Gray
Hello all, I've made various changes to the Win32a fork of PDCurses at https://github.com/Bill-Gray/PDCurses In the past few days, I've added real blinking to X11 (i.e., "blinking" text really blinks if PDC_set_blink( true) is called, or it's just highlighted if

Re: [PDCurses] Win32a now on Github, with some X11 changes

2016-01-18 Thread Bill Gray
ilable on all platforms, and implemented shutdown capability on X11 My fork is at: https://github.com/rexx-org/PDCurses I've created a Pull Request for Bill Cheers, Mark On 18/01/16 01:49, Bill Gray wrote: Hello all, I've forked the version of PDCurses on Github, and folded in th

[PDCurses] Win32a now on Github, with some X11 changes

2016-01-17 Thread Bill Gray
Hello all, I've forked the version of PDCurses on Github, and folded in the Win32a changes. It's now at https://github.com/Bill-Gray/PDCurses It is somewhat modified from the version on my Web site at http://www.projectpluto.com/win32a.htm in that I've fixed up th

Re: [PDCurses] Update to Win32a posted: trying to "re-unify" PDCurses

2016-01-11 Thread Bill Gray
te: Hi Bill, Do you use version control? If so, then you can convert your changes into series of patches and go through the changes one by one. Once you get familiar with Git, you can maintain you own branch of patched and rebase it periodically to make you changes on top. On Mon, Jan 11, 2

Re: [PDCurses] Update to Win32a posted: trying to "re-unify" PDCurses

2016-01-11 Thread Bill Gray
01/10/2016 10:59 PM, anatoly techtonik wrote: Hi Bill, How it's going? Have you tried submitting pull requests to the new hosting - https://github.com/wmcbrine/PDCurses ? On Sun, May 31, 2015 at 11:37 PM, Bill Gray wrote: Hello all, I've just posted an update at http://www.proj

[PDCurses] Update to Win32a posted: trying to "re-unify" PDCurses

2015-05-31 Thread Bill Gray
Hello all, I've just posted an update at http://www.projectpluto.com/win32a.htm This has a few bug fixes in it, and adds a makefile for the Intel(R) compiler. But the big change is that I'm trying to get things such that the Win32a changes can be merged back into "mainstream" PDCurses,

Re: [PDCurses] key mappings

2015-04-08 Thread Bill Gray
alue." -- Bill On 04/08/2015 06:28 PM, William McBrine wrote: On Wed, Apr 8, 2015 at 5:17 PM, Bill Gray wrote: Incidentally, you'll also see that in the Win32a version of 'curses.h', the return values are relative to KEY_OFFSET. The reason for this is that PDCurses

Re: [PDCurses] key mappings

2015-04-08 Thread Bill Gray
Hi Laura, As you found, there's no real consistency among implementations as to the exact values. Try to write something that works with both PDCurses and ncurses, for example, and you'll have some code that looks like #ifdef KEY_EXIT if( key == KEY_EXIT) do_stuff( ); #endif #if

Re: [PDCurses] Mirror on bitbucket, SDL2

2015-04-06 Thread Bill Gray
Some quick comments... I've been meaning to look into the bitbucket mirror. As you may know, I've "managed" Win32a by doing development on my machine and uploading a .zip file every now and then. This works, but it's conceivable that putting it on bitbucket might draw in some development

Re: [PDCurses] PDCurses and SDL2

2015-01-27 Thread Bill Gray
Hi Laura, For Win32a, I added the options of 64-bit chtypes, allowing 21 bits for the character, which covers all of Unicode. (As well as providing the additional bits needed to support attributes such as A_DIM, A_ITALIC, A_OVERLINE, etc. that don't fit in 32-bit chtypes.) I think if yo

[PDCurses] Update to Win32a flavor of PDCurses posted

2014-03-01 Thread Bill Gray
Hello all, I've posted an update, described at and downloadable from http://www.projectpluto.com/win32a.htm This contains several bug fixes, most notably a patch supplied by Florian Große-Coosmann to get around a problem with the handling of wide input. Depending on when you last downlo

[PDCurses] Win32a update posted

2013-07-08 Thread Bill Gray
Hello all, Mark Hessling provided a fix to a rather serious bug in the Win32a (graphical) flavor of PDCurses. It turns out that the way Win32a stored font and screen size preferences in the Windows registry required administrative privileges in Vista and Win7 (and, at least in some cases, XP)

[PDCurses] Update to Win32a flavor posted

2013-02-13 Thread Bill Gray
Hello all, I have posted yet another update to the Win32a ("real Windows GUI") flavor of PDCurses, at http://www.projectpluto.com/win32a.htm Please let me know if you run into any issues. Specifically, this version fixes a problem with Windows 7 that resulted in very strange-looking