Why is the wc3270 window messed up on Windows 11?

Question
Why is the wc3270 window messed up on Windows 11?

You can't see the whole window, the OIA (status line) is missing, and the mouse doesn't work correctly (i.e., you can't click on the wc3270 menu at the top).

Answer
Windows 11 makes Windows Terminal the default environment for console applications, and wc3270 does not work with Windows Terminal.

The window ends up looking like this:



Instead of this:



Fix in 4.2ga8
wc3270 4.2ga8 has a fix for this. When you install 4.2ga8 it will automatically replace the two desktop shortcuts for wc3270 and the Session Wizard with ones that do not use Windows Terminal.

However, desktop shortcuts that you created earlier with the Session Wizard must be updated separately. Run the Session Wizard, and select option 8 (Re-create all shortcuts).

Workaround for earlier wc3270 releases
Here is a quick workaround for earlier releases:
 * 1) Right-click on the desktop shortcut for wc3270 or for a wc3270 session.
 * 2) Select Properties.
 * 3) Select the Shortcut tab.
 * 4) Edit the Target: field.
 * 5) At the beginning of the field, add this text: conhost and a space. E.g.: [[File:Wc3270-conhost.png]]
 * 6) Click OK.