curses for different terminals
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Thu Apr 14 13:17:44 EDT 2005
On Thu, 14 Apr 2005 18:39:14 +0200, rumours say that harold fellermann
<harold.fellermann at upf.edu> might have written:
>Hi all,
>I want to use curses in a server application that provides a GUI for
>telnet clients. Therefore, I need the functionality to open and handle
>several
>screens.
Just to make sure we understand what you want to do:
1. Are you doing an single process application that produces output on
many terminals? ie the program is kind of like a service?
2. Are you doing an application with one session per terminal? ie a
user starts your app in every terminal, no multi-term output from a
single process.
3. Are you doing an application that runs on one terminal but with many
"virtual" sessions (or screens), kind of like the `screen(1)` program or
the behaviour of the linux or Novell console?
>Concerning
>http://dickey.his.com/ncurses/ncurses-intro.html#init
>this can be done using the function newterm(type,ofp,ifp). However, this
>function seems not to be defined in the python library. Does anyone know
>how this can be done in python?
Select one of the above, or describe more the desired situation if I
didn't cover your case, and we will try to help you more.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
More information about the Python-list
mailing list