I'm seeing a prob with resize_fonts when switching between 80 col and 132 col.
I'm running version 0.17.3.
After repeatedly viewing spool files in 132 and returning to 80, the screen shrinks with each iteration.
Actually, the first time I return from 132 to 80, the screen jumps to the 132 size while showing 80 cols. Then, the remaining iterations shrink the
screen size. Each subsequent viewing at 132 adopts the 80 col screen size, then returning to 80 shows smaller still and so on.
Here's my tn5250rc file:
map=37
font_80=Courier New-12x20
font_132=Courier New-10x20
env.TERM=IBM-3477-FC
+unix_like_copy
+resize_fonts
Removing the +resize_fonts will solve that problem(on windows)
I realize removing +resize_fonts will prevent this effect, but that defeats the whole purpose of using +resize_fonts doesn't it??
I just fixed this problem. It's very complex.
- It assumes same font size for 80 & 132. I see you have 12x20 and 10x20.
- I am a n00b so I don't know how to properly submit changes. Besides this is a 90% fix since it assumes both fonts are identical.
- It does allow you to resize all you want.
I think I can rework the fix so the problem doesn't happen, but 80 col resizing and 132 col resizing would be totally independent of each other. I can't put much time into it though.
Are you capable of recompiling?
FYI: I have another fix. In 80 column mode stretch the height of the window and watch it jump real tall on it's own, till it's off the screen.
I just fixed this problem. It's very complex.
- It assumes same font size for 80 & 132. I see you have 12x20 and 10x20.
- I am a n00b so I don't know how to properly submit changes. Besides this is a 90% fix since it assumes both fonts are identical.
- It does allow you to resize all you want.
I think I can rework the fix so the problem doesn't happen, but 80 col resizing and 132 col resizing would be totally independent of each other. I can't put much time into it though.
Are you capable of recompiling?
FYI: I have another fix. In 80 column mode stretch the height of the window and watch it jump real tall on it's own, till it's off the screen.
I have a proper fix now. Screen only resizes when the user pulls it and no longer gets resized by switching between 80 & 132 columns.
Also fixed height problem below.
Also fixed where user could select more then 80x24 or 132x24. Copy function would blow you out of session.
Hi, if you are still experiencing this problem, please open an issue at https://github.com/tn5250/tn5250/issues