Re: Termcap /curses

lance@markv.com
Fri, 15 Oct 93 10:23:02 PDT

> | 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.
>
> You would have to re-implement the mapping from generic terminfo/termcap
> strings to actual escape sequences including padding; reimplement some form
> of curses etc. Not that it couldn't be done, but I think you're getting
> into more than you ever bargained for...

Not only this, but the curses packages also take into account terminals
that have strange behavior.. I can see a LOT of recoding trying to
make a PYTHON version of curses instead of just creating an interface to
it.. Also, by recreating a python version, I would not have
any of the menu and form libraries available that come with my
curses libraries..

--

Lance Ellinghouse lance@markv.com

1231 bit key fingerprint = 56 DA 31 0C 17 51 36 6A 4E D4 E0 11 D9 B8 06 0A 1024 bit key fingerprint = 66 2C 75 F2 E9 1C 32 84 3A E3 B0 5E 48 01 4C 37 You can receive my Public Key by `finger lance@markv.com`