Open v1gnesh opened 1 day ago
I deleted a comment above that seemed to be fishing
I don't get a session selector on the side
The session selector is only displayed when, after laying out the 3270 terminal centered on the screen, it fits. With SESSION_PS_SIZE=MAX
or MAX255
, a 3270 terminal size should be chosen so that the session selector fits. If you are running with the latest, I just merged #143 to fix a problem that was introduced yesterday. For any other size setting, depending on the chosen terminal size, the session selector may or may not fit.
Re: autosize
and Windows Terminal. Do not expect autosize
to work with Windows Terminal. It only works when the terminal emulator has the ability to respond to terminal size change requests by changing the font size. I do not believe Windows Terminal has this capability. It was intended for use in PuTTY and is documented here: https://ibm.github.io/tnz/screen-sizing/#autosize
If I set SESSION_PS_SIZE with MAX255 or FULL255, it seems to use the avaialble width, but heigth seems to be less than 80; so not really helpful.
80 sounds pretty big for height. I'm not sure what your width is, but there are 3270 architectural limitations that require rows*columns<16384. So, you won't get more than 80 rows unless you sacrifice going under 203 columns.
Is 62x160 the max?
No. See above for considerations for the max. The max width is 255. But some applications (e.g. ISPF) cannot handle a width larger than 160. In my experience, the height can be as large as you want as long as it fits within the limitation mentioned above.
Is there a config file I can use to set it to 56x160 as in the screenshot?
You can create a ~/.ztirc
file:
set SESSION_PS_SIZE 56x160
goto <details-about-my-session>
Thank you!
In windows then, .ztirc
should be here? -- %USERPROFILE%\.ztirc
I use uv tool install tnz
https://docs.astral.sh/uv/guides/tools/#installing-tools
Yes, %USERPROFILE%\.ztirc
is the correct location for you to put your .ztirc
file.
Unlike this screenshot, I don't get a session selector on the side. How do I get this (goto xyz; hit escape key; goto abc; it should show up?).
When give
autosize
in the zti prompt, it says True; meaning, autosize is on. If I set SESSION_PS_SIZE with MAX255 or FULL255, it seems to use the avaialble width, but heigth seems to be less than 80; so not really helpful.Is 62x160 the max?
Is there a config file I can use to set it to 56x160 as in the screenshot? Some fonts have extra vertical height, so using 62 makes a tiny bit of vertical scrolling necessary.
I can't provide screenshots unfortunately as they'll be from work systems. I don't have 3270 access to any open source system.
Trying from Windows Terminal.