> IS there a hotkey kinda method or someway
> to DYNAMICALLY  change a session to fit a full screen.

Not really.  For the xt5250 version, you can try using the xterm's menu,
by doing a Ctrl-rightclick in the window. it should give you options like
"Unreadable, Tiny, Small, Medium, Large, Huge".   This isn't part of
tn5250, it's part of xterm, and I can't promise that the fonts are in
the sizes you're looking for... but it might be worth a shot.


> Just maximizing the window does not adjust the font size.

The Unix version of tn5250 does not have support for resizing the font to
match the window size.

The Windows version has support, but it does not work very well.

Here's the status:

   -- The Unix version is an ncurses program.   That means it's written
       for a plain-text terminal, like the "console mode."   When you ask
       it how big the window is, it tells you 80x25 or 132x28.  (i.e. the
       number of characters, not the number of pixels)   Since that's all
       we get, we can't calculate how big a font should be.   If you know
       how to get around this problem, please advise.

   -- The GTK version may not have this problem, but nobody is actively
       developing it.  Even so, I have no idea how to enumerate what the
       available fonts sizes are, so even if I wanted to add support for
       this, I have no idea how to do it.

   -- The Windows version... I've been working on this.  I have never
       worked extensively with fonts in Windows, and I've been unable to
       find any examples on the Internet for resizing to match the
       windows.  So, I've been experimenting with a few different
       solutions, but it's slow going, and I don't have a lot of time.

If someone has expertise in these areas, I'd sure love it if he could
contribute code to make these things work nicely!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.