[comp.unix.wizards] termcap/info need new field

arnold@apollo.uucp (Ken Arnold) (09/05/87)

Termcap/terminfo desperately need a new field which says that the
te/exit_ca_mode field makes the stuff on the screen disappears.  On
terminals like the multipage terminals, ti/enter_ca_mode often moves to
a different page of memory.  Then, when the program exits and sends the
undo sequence te/exit_ca_mode, it returns to the original page.  This
makes whatever was printed in between disappear.  Other simpler
terminals don't have this problem.  Termcap/terminfo needs to
distinguish so that programs which want people to read the last screen
know whether they have to have the user "hit any key to continue"* or
just exit.

I hereby nominate the field name "tl" "te looses what's on the screen"
for termcap, and "exit_ca_looses_screen" for terminfo.

Before I make this a formal proposal to the Powers That Be, I thought
I'd drop the rock in the water and see how big the splash was.
Comments?

		Ken Arnold

gwyn@brl-smoke.ARPA (Doug Gwyn ) (09/09/87)

In article <3719cc9c.b0a1@apollo.uucp> arnold@apollo.UUCP (Ken Arnold) writes:
-Termcap/terminfo desperately need a new field which says that the
-te/exit_ca_mode field makes the stuff on the screen disappears.
-...  Termcap/terminfo needs to
-distinguish so that programs which want people to read the last screen
-know whether they have to have the user "hit any key to continue"* or
-just exit.

This seems like a legitimate need, although there are other similar
situations (entering "te" may make the screen disappear, too).  If
Horton (or whoever is currently in charge of terminfo at AT&T) wants
to discuss this, I'd be willing to coordinate its addition to termcap.