Re: Termcap /curses

Guido.van.Rossum@cwi.nl
Fri, 15 Oct 1993 10:16:30 +0100

> > Is it possible to use termcap and or curses on python ?
>
> Currently there is no termcap or curses module for python
>
> > Has anybody done it, or should I make my own extension to python ?
>
> I need one also.. I was thinking of making it myself.. just have
> not had the time. I would be happy to help if I can..

Note that in principle you could do it all in Python -- with the
(optional) fcntl module you can make the necessary ioctl calls and
then just read the termcap file and generate the proper calls.

Alternatively, there's a "character-cell device" version of STDWIN
(the "alfa" port) which uses termcap. It is line oriented but has the
advantage of making the transition from a termcap application to a
windowing application relly smooth...

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>