Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

Improve Your TN5250 Experience in VS Code for IBM i

May 21, 2025/0 Comments/in VS Code for i /by Alan Seiden

Update: New installations of Code for i include the +uninhibited option by default, as described here.

The open-source TN5250 emulator provides a handy way to launch IBM i 5250 sessions from within VS Code for IBM i.

The one drawback I’ve found in TN5250 is the Cursor in protected area of display error when I accidentally type on a protected area of the screen—an area where input isn’t allowed. The error must be cleared before I can continue to work.

TN5250 cursor in protected area of display

TN5250: “Cursor in protected area of display.”

On classic 5250 dumb terminals, the solution was to press the Reset button. With the TN5250 emulator, however, the developer needs to remember to press Ctrl+R to clear the condition, potentially interrupting the user’s flow of thought.

TN5250 offers a solution: the +uninhibited connection keyword. After this setting is added in the Code for i Settings, TN5250’s behavior will change. From now on, pressing any key will move the cursor back to a valid input field.

How to make the change

First go to Settings. One way to find Settings is to hover over the connection name until a little menu pops up. The menu will include the Settings option, as shown here:

Access settings in Code for i

Then, from the Settings page, click the Terminals tab, add +uninhibited in the Connection string for 5250 area, then click Save settings.

Code for i 5250 connection string with +uninhibited

Code for i settings with “+uninhibited” in the Connection string for 5250

Now your TN5250 screens will let you get out of “protected” mode with any key press.

To learn more about TN5250 with Code for i

For more information about TN5250, including how to install it in Code for i, in the Code for i terminal documentation.

 

Tags: Code for IBM i, Code4i, IBMi, tn5250, VS Code
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2025-05-21 11:10:412025-10-30 17:46:29Improve Your TN5250 Experience in VS Code for IBM i
Alan Seiden

About Alan Seiden

Alan works to preserve your investment in IBM enterprise systems by designing and implementing modernization strategies that leverage your existing business logic.

With a passion ...Read More

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Access Modern Security for IBM i and Connected Web Environments
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine
  • Your “AS/400” Is a Modern IBM i Platform
  • MCP + AI for IBM i Teams (with a MongoDB example)
  • GnuPG PHP Extension for IBM i: Now Included with Seiden Support
  • Getting Started with Code for IBM i: A Lunch & Learn Video

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: Scott Forstie’s Wish Link to: Scott Forstie’s Wish Scott Forstie’s Wish Link to: Seiden PHP+: Built for IBM i. Backed by Experts. Link to: Seiden PHP+: Built for IBM i. Backed by Experts. Seiden PHP+: Built for IBM i. Backed by Experts.
Scroll to top Scroll to top Scroll to top