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: [EMAIL PROTECTED]
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---

Reply via email to