[fa.info-terms] Ann Arbor TERMCAP modification

info-terms (06/11/82)

>From decvax!watmath!idallen@Berkeley Fri Jun 11 02:54:20 1982
One problem with the termcap entries for the Ann Arbor from Clive
Steward is the behaviour when starting up EX.  Normally, I don't want
EX to clear my screen; I use EX so that I can still see what is there.
The existing entries by Clive clear the screen when EX starts up.

If you just eliminate the clear screen, you still have a problem.  When
changing page size from 60 to 36, it is the *top* 36 lines which get
preserved, not the bottom 36.  So, even if you don't clear the screen,
chances are you will still lose the lines you wanted to keep.

The following piece of an altered TERMCAP entry seems to work.  It is
for a 40 line screen, and it works because it scrolls the part of the
screen you want to keep up by 20 lines before changing from 60 to 40
lines.  The net effect is to keep what you wanted to see still visible
when switching to 40 lines.  For 36 lines, change the number of
line-feeds from 20 (60-40) to 24 (60-36).

	:ti=^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J\E[40;;;40p\E[>31h:\
	:te=\E7\E[60;;;40p\E8\E[J\E[>31l:

-IAN!   U of Waterloo

info-terms (06/11/82)

>From decvax!watmath!idallen@Berkeley Fri Jun 11 03:02:15 1982
One problem with the termcap entries for the Ann Arbor from Clive
Steward is the behaviour when starting up EX.  Normally, I don't want
EX to clear my screen; I use EX so that I can still see what is there.
The existing entries by Clive clear the screen when EX starts up.

If you just eliminate the clear screen, you still have a problem.  When
changing page size from 60 to 36, it is the *top* 36 lines which get
preserved, not the bottom 36.  So, even if you don't clear the screen,
chances are you will still lose the lines you wanted to keep.

The following piece of an altered TERMCAP entry seems to work.  It is
for a 40 line screen, and it works because it scrolls the part of the
screen you want to keep up by 20 lines before changing from 60 to 40
lines.  The net effect is to keep what you wanted to see still visible
when switching to 40 lines.  For 36 lines, change the number of
line-feeds from 20 (60-40) to 24 (60-36).

	:ti=^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J^J\E[40;;;40p\E[>31h:\
	:te=\E7\E[60;;;40p\E8\E[J\E[>31l:

-IAN!   U of Waterloo