Questions tagged [pdcurses]

PDCurses is a public domain [tag:curses] programming library for DOS, Windows, X11 and SDL

While development of the original curses library halted in the mid-1990s, the development of ncurses and PDcurses continued.

PDcurses implements most of the functions available in the original X/Open and System V R4 curses. Development started in 1987 to support the editor THE.

It supports many compilers for these platforms. The X11 port lets one recompile existing text-mode curses programs to produce native X11 applications.

Read more.

144 questions
0
votes
1 answer

PD curses compile on windows

The makers of PDcurses said it will work on windows. Using MINGW32 and msys I tried ./configure But it raised an error : no ipc header files. Others said that ipc doesn't exist on windows. Please help me how to build it.
kees broeksma
  • 96
  • 1
  • 7
0
votes
0 answers

Undefined reference to PDCurses' function although library IS included

I'm working on a program in which I use PDCurses function move() to shift keyboard cursor position where I need it to be from time to time. I get all working except for this, as when I go compiling (I'm using Dev-C++) I keep getting the "undefined…
0
votes
1 answer

How to use UniCurses in Visual Studio 2013

I'm trying to learn Python UniCurses so I can use it in a project I'm working on. Here is what I'm using: Python 2.7 Visual Studio 2013 Python Tools for Visual Studio 2013 I installed the necessary items, UniCurses and PDCurses. And it seems to…
CM-Dev
  • 373
  • 1
  • 5
  • 15
0
votes
1 answer

Compiling PDCurses into ".a", error with mingw command

I'm following this tutorial: https://www.youtube.com/watch?v=mYnfix8ruAo for compiling PDCurses and linking it to a CodeBlocks project, but I keep getting an error ('mingw32-make' is not recognized as an internal or external command, operable…
lugofotw
  • 21
  • 2
0
votes
1 answer

Linker warnings when using stdscr (ncurses)

Okay, so I'm getting these warnings whenever I try to use stdscr in pdcurses: LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library LINK : warning LNK4049: locally defined symbol "_stdscr"…
flarn2006
  • 1,787
  • 15
  • 37
0
votes
1 answer

PDCurses mvprintw error with structure

I'm using PDCurses and i want to show a list of films with it. My code is this one : typedef struct{ int nId; /* Id du film */ int nId_Genre; /* Id du genre */ int …
0
votes
1 answer

Is there any way to clear Curse's event queue?

I'm trying to get mouse location data from PDCurses, and it generally works. The problem is, if the mouse button is pressed twice before an event check happens, only one of the events will be popped from the queue. This means that the event for the…
Carcigenicate
  • 43,494
  • 9
  • 68
  • 117
0
votes
1 answer

pdcurses creating the library for visual studio 2010 fails (cannot access)

I'm trying to create the library file for pdcurses but unfortunately I have absolutely no idea where to begin. If you could provide some steps for this it would be fantastic. I'm using windows 8.1 if that changes anything update I got it working…
Cjen1
  • 1,826
  • 3
  • 17
  • 47
0
votes
1 answer

Why aren't colors working for stdscr? (PDCurses)

So, I'm using pdcurses to add some color to my console application, but I'm having issues. If I make a second window and try to color it's output, it works just fine, but if I try to color output to stdscr, nothing happens. I want to keep using…
Haydn V. Harach
  • 1,265
  • 1
  • 18
  • 36
0
votes
1 answer

PDCurses KEY_ENTER does not work

Lets start with what my code looks like then I will explain my problem: int main { char ch; //Stores key presses initscr(); raw(); nonl(); keypad(stdscr, TRUE); noecho(); //Some code ch = getch(); switch (ch) { case KEY_UP:{ …
TheKingOfAtlantis
  • 1,792
  • 2
  • 12
  • 18
0
votes
1 answer

getmaxyx() Error in Code::Blocks

This message appears when i run my program through Code::Blocks And Here is my code.I am not trying to create something huge , for now i want to figure out what pdcurses functions do. #include #include #include…
Manuel Pap
  • 1,309
  • 7
  • 23
  • 52
0
votes
1 answer

Unknown output console error Eclipse

I added PDCurses library to eclipse and when i run my program this message appears Redirection is not supported. Here is a simple code but i don't believe that this is an error from my code. No warnings no errors, just this message in…
Manuel Pap
  • 1,309
  • 7
  • 23
  • 52
0
votes
2 answers

How can I display variable strings using C++ and PDCurses?

I'm extremely sorry to post such an embarrassingly newbish question, but I haven't mucked around much with C++ since my college days and I think at some point I drank all that I knew about pointers and C++ strings right out of my head. Basically,…
Ryoshi
  • 113
  • 7
0
votes
1 answer

Cross compiling pdcurses from arch linux to windows

I'm trying to cross-compile a simple "Hello World!" program, from arch linux to windows Here's the code: #include #include int main() { initscr(); printw("Hello World!"); refresh(); getch(); endwin(); …
0
votes
1 answer

can mvprintw(), curses function work with usual ascii codes?

I've developed a little console C++ game, that uses ASCII graphics, using cout for the moment. But because I want to make things work better, I have to use pdcurses. The thing is curses functions like printw(), or mvprintw() don't use the regular…
user1508332
1 2 3
9
10