Menu

ncurses

2008-01-29
2012-09-26
  • Nobody/Anonymous

    how do i install libncurses-devel or ncurses?
    im a total noob

     
    • cpns

      cpns - 2008-01-29

      It is not unusual to have to wait more than an hour for a response. It is a global network, and there are such things as time-zones you know. Such impatience is normally considered rude (because it is!).

      Consider using the pdcurses DevPak. It will install the pdcurses library for you, and probably provide a project template.

      http://www.devpaks.org/details.php?devpak=5

      And also probably via Tools->"Check for updates and packages" on the DevPaks.org server.

      Clifford

       
      • Nathan Stanley

        Nathan Stanley - 2008-06-04

        Hi,

        Recently I downloaded Dev-C++ and installed the pdcurses libraries via DevPack as I am not very clued up on how C libraries and things all compile and fit together. Something like DevPack is good for a person like me.

        I looked up curses on wikipedia and it gave an external link to a tutorial for ncurses at: http://heather.cs.ucdavis.edu/~matloff/UnixAndC/CLanguage/Curses.pdf

        This was all well and good as pdcurses and ncurses are pretty much the same. However when I got to the chapters for Menus and Forms I found that pdcurses does not supply the needed form.h and menu.h files as used in the tutorial. It seems only ncurses supplies this.

        Are there any ncurses devpacks for Dev-C++ or do you have to install ncurses manually? If you do, how do you do that?!

        PS: I am under WinXp environment with Dev-C++.

         
    • K.Z.

      K.Z. - 2008-06-04

      pdCurses and nCurses are not pretty much the same,and you've just found out why.
      I believe,maybe wrongly that pdCurses users the panel.h header in place of menus and forms.h

      If you download the pdCurses manual it says near the bottom what pdCurses has or doesnt have compared to nCurses,

       
    • Nathan Stanley

      Nathan Stanley - 2008-06-06

      I'm not sure which pdcurses manual you are referring to. The (best) pdcurses documentation I have found besides the ncurses tutorial i was talking about in my previous post is the intro.txt file as found in the devpak. This is the same file available as the pdcurses documentation as found at http://pdcurses.sourceforge.net/doc/PDCurses.txt

      This file doesn't outline any differences between n and pd curses as far as i have seen (although i haven't extensively sat down and read through it).

      Do you have a link to the documentation you are referring to? I pretty much want to know if I should bother spending the time starting to write a program depending on pdcurses if it doesn't fit my needs (use of Menus and Forms) or should I be looking towards getting ncurses installed on my development environment with Dev-C++ to handle my needs? The reason I ask is that I don't know how to install ncurses on a Win32 based system with Dev-C++.

       
    • K.Z.

      K.Z. - 2008-06-06

      http://sourceforge.net/forum/forum.php?forum_id=95731

      chill and have fun.
      It's a great library.

       
    • K.Z.

      K.Z. - 2008-06-06

      By the way,your right,
      it does'nt outline the differences between pd and n Curses.

      But since your using dev-cpp and so should be using pdCurses,
      you dont lose anything.

       
    • Nathan Stanley

      Nathan Stanley - 2008-06-07

      Ah, the pdcurses.txt manual is somewhat larger than intro.txt.

      It has a whole lot of info on all the functions in pdcurses. I'll have to have a good read of that and see if it's got what I want.

      Is it possible to use ncurses with dev-c++ or is it too troublesome to be worth it?

       
    • Kip

      Kip - 2008-06-13

      $ sudo apt-get install libncurses-dev

      Kip

       
    • Nobody/Anonymous

      plz anyone, anything?

       
    • K.Z.

      K.Z. - 2008-06-06

      Heres a link to the text file version of pdCurse manuel,

      http://pdcurses.sourceforge.net/doc/PDCurses.txt

      Ill be back in a second with the sourceforge forum address of pdCurses.
      That site is maintained by William McBrine himself,
      the maintainer,and he is your key.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.