[PDCurses] Having problems with PDCurses

2003-03-17 Thread Jeremy Smith
Hi everyone!

I am trying to run my program with a memory profiler. My program uses
PDCurses (under Windows 2000). The memory profiler used to run my
program fine, but now it says:


LINES value must be = 2 and = 0: got 1
initscr(): LINES=1 COLS=1: too small.

Press any key to continue


Then exits. This is bugging me, does anyone have a solution?

Thanks,

Jeremy.
--
|   Jeremy Smith   |   Direct Music Access   |   England
| Software Developer and Musician
|   The harder they come, the harder they fall
| Paul Oakenfold, Bunkka album




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

2002-07-07 Thread Jeremy Smith

Hi!

I'm glad to say I got PDCurses working with my program under Windows,
worked first time after linking, great stuff.

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

In fact, all I need are the first 2. I tried putting getch() into a
loop, but it blocks and if someone presses 'Ctrl', they have to press
another key to get out of the loop.

I just checked the PDCurses documentation on Sourceforge, and there
doesn't seem to be any. I also tried checking newsgroups and some online
Curses docs, but they didn't help either.

I imagine there must be some kind of flag to return Shift+Alt+2 as an
actual keycode (which is different from Shift, Alt or 2), but I don't
know how. :-(

I am willing to setup a loop, maybe takes from an example, once I know
how.

Any help would be great.

Thanks,

Jeremy.
--
R.I.P 1997 - June 27th 2002 Netscape Online - You burned out in a blaze
of glory





[PDCurses] Curses boot problem in Win32 build

2002-06-26 Thread Jeremy Smith

Hi everyone!

I am trying to get Curses to work with Perl in Windows. I have put the
curses.dll file in the same folder as the Perl program that uses Curses.
It throws up an error:

Can't find 'boot_Curses' symbol in ./Curses.dll

Looking at the Win32 DLL, there is none of the boot functionality linked
in! Is this an oversight, or do I have to do something else?

Any help *really* appreciated.

Thanks,

Jeremy.
--
From June, my new e-mail address will be: [EMAIL PROTECTED]