From: utzoo!decvax!ucbvax!info-terms Newsgroups: fa.info-terms Title: Ann Arbor TERMCAP modification Article-I.D.: ucbvax.7619 Posted: Fri Jun 11 03:02:57 1982 Received: Sat Jun 12 00:50:48 1982 >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