ICE

Please login or register.

Login with username, password and session length
Advanced search  

News:

ICETCP.PRO and ICETCP.PLUS are compatible with Windows 11!

Author Topic: 25 vs 24 line terminal types negotiation  (Read 3404 times)

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
25 vs 24 line terminal types negotiation
« on: September 01, 2006, 03:39:07 pm »

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.



Logged

alexmax021

  • Guest
Re: 25 vs 24 line terminal types negotiation
« Reply #1 on: November 28, 2010, 11:43:25 am »


Great post! It's very nice. Thank you so much for your post.

« Last Edit: November 29, 2010, 08:23:12 am by deanna »
Logged
 

Page created in 0.01 seconds with 21 queries.