Re: Curses module - got it working?

Steven Miale (smiale@cs.indiana.edu)
Thu, 30 Mar 1995 14:30:45 -0500 (EST)

> > From: Guido.van.Rossum@cwi.nl
> > Date: Thu, 30 Mar 1995 16:34:01 +0200
> >
> > Yes -- the curses module was meant to be used with the ncurses
> > library, but it seemed silly to call it "ncurses" when there was never
> > a previous "curses" for Python.
>
> Actually this is not true. The curses module that I created was
> written to work with AT&T curses. People have gotten it to work with
> ncurses.

That might be it; I'm using the one that comes with Linux, which is probably
not AT&T curses.

> > I suggest a simple solution: comment the references to these two
> > functions out of the cursesmodule.c file. (I bet the only uses for
> > them are in wrapper functions.)
>
> This should work. Both of these do not really need to be used.
> Ncurses might have a function that will do the same as wechochar().

I commented out the functions and it compiles.
Are there any demos available for curses?

Thanks,

Steve