Article View: comp.editors
Article #4030Summary: Efficient screen update: more than curses
From: roberto bagnara
Date: Tue, 14 Jan 1992 08:34
Date: Tue, 14 Jan 1992 08:34
21 lines
1778 bytes
1778 bytes
Hi all,
as requested I post a summary of answer received.
Some persons have pointed out that curses do all (or near all) the
possible optimizations, and I have verified that it's true (obviously
when I made the same test sometimes ago, I was perhaps drunk).
For changing a screen appearance into another one it's sufficient to
modify the screen area using standard curses function (or changing directly
scr->_y and then call touchwin(scr)) and call wrefresh(scr).
The residual problem is about character attribute and eight bit
character set, in fact BSD curses handles only the _STANDOUT attribute,
and both BSD and SYSV curses don't handle eight bit characters.
As I need to handle both the above things (as well as status line update)
I need a free curses implementation to customize to my needs.
Thanks to everyone Emailing me a pointer to that.
Roberto
P.S. Sorry for the delay, I've had a lot of troubles.
Technical Details
Message-ID:
<8845@cernvax.cern.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!cernvax!robertoShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107112,56718ed6e1c7ab78,start X-Google-Attributes: gid107112,public X-Google-Thread: 103b8b,56718ed6e1c7ab78,start X-Google-Attributes: gid103b8b,public X-Google-Thread: 107393,56718ed6e1c7ab78,start X-Google-Attributes: gid107393,public X-Google-Thread: 102b9a,56718ed6e1c7ab78,start X-Google-Attributes: gid102b9a,public X-Google-ArrivalTime: 1992-01-14 01:11:33 PST Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!cernvax!roberto From: roberto@cernvax.cern.ch (roberto bagnara) Newsgroups: comp.editors,comp.emacs,gnu.emacs.help,comp.terminals Subject: Summary: Efficient screen update: more than curses Message-ID: <8845@cernvax.cern.ch> Date: 14 Jan 92 08:34:44 GMT Followup-To: poster Organization: CERN, Geneva, Switzerland Lines: 21