16 bit versions of ICE.TCP reported both 24 line and 25 line terminal types the same (which is basically incorrect)
For example, during telnet negotiation the ibm3151 is reported as:
ibm3151
Whether you choose 24 lines or 25 lines. The same is true for the wyse60 and wyse160.
Since these are all 24 line terminals by default, you get incorrect behavior when they are set to 25 lines BECAUSE THE UNIX TERMINFO FILES THINK ALL OF THESE ARE 24 LINE TERMINALS.
All 32 bit versions of ICE (TCP.PRO and TCP.PLUS) append the number of lines to the terminal types for ibm3151, wyse60 and wyse160 if they are not 24. Therefore the reported terminal type for a ibm3151 when set to 25 lines is:
ibm3151-25
Since some systems do not have terminal entries for ibm3151-25 you need to create one. The way to do this is to log on as root and do:
infocmp ibm3151 >ibm3151-25.tic
then edit the resulting ibm3151-25.tic text file with your favorite unix editor (vi, emacs, pico, whatever) changing the number of lines to 25, then change the names in the file for example from:
ibm3151|i3151|3151
to
ibm3151-25|i3151-25|3151-25
Save the file out and do:
tic ibm3151-25.tic
To make sure it worked do:
infocmp ibm3151-25
and you should see the terminfo displayed on your screen with the number of lines set to 25. This takes effect immediately.