|
tn5250 resizes the terminal window, when running in xterm. It would be nice, to additionally change the font, so that 80x25 and 132x27 modes fit well into available screen space. In order to achieve this, one would change cursesterm.c: --- cursesterm-original.c Tue Jan 2 12:44:08 2001 +++ cursesterm.c Tue Jan 2 12:24:00 2001 @@ -541,6 +541,10 @@ if(This->data->is_xterm) { printf ("\x1b[8;%d;%dt", tn5250_display_height (display)+1, tn5250_display_width (display)); + if(tn5250_display_width (display)>100) { + printf("\x1b]50;fixed\x07"); + } else { + printf("\x1b]50;9x15\x07"); } fflush (stdout); #ifdef HAVE_RESIZETERM Of course, it would be much nicer to have configuration options for the fonts, but I've no time to implement this yet. -- Esda Feinstrumpffabrik GmbH Frank Richter, Leiter EDV Hauptstr. 76, D-09392 Auerbach E-Mail: frichter@esda.com +--- | This is the LINUX5250 Mailing List! | To submit a new message, send your mail to LINUX5250@midrange.com. | To subscribe to this list send email to LINUX5250-SUB@midrange.com. | To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.