vscode-ibmi: TN5250 terminal is not opening
Issue: TN5250 terminal is not opening I have installed TN5250 via yum on my machine and yet I am not able to spawn a TN5250 terminal inside VS Code.
Update: In the “Enabled Features” table below, I don’t see tn5250 under /QOpenSys/pkgs/bin. Do I need to enable it inside VS Code? However, I am able to “which” them in the PASE editor.
below is the output of which command from PASE.
-bash-5.1$ which yum curl tn5250
/QOpenSys/pkgs/bin/yum
/QOpenSys/pkgs/bin/curl
/QOpenSys/pkgs/bin/tn5250
-bash-5.1$
This meansTN5250 is already installed in my IBMi machine and the $PATH variable is also set correctly.
I am also able to spawn the TN5250 manually from within PASE - which is kind of ugly looking and the F keys aren’t working. Otherwise, I would be happily invoking a new session inside of PASE.
FYI, I tried the steps exactly as per https://halcyon-tech.github.io/docs/#/pages/tips/terminals and https://www.seidengroup.com/php-documentation/how-to-set-up-the-ibm-i-open-source-environment/
To Reproduce
- Once connected to the IBMi system, click on the “Terminals” at the bottom of the VSCODE.
- Select the terminal type 5250.
- See below error
Expected behavior TN5250 terminal should spawn.
Environment details
| Context | Version |
|---|---|
| Code for IBM i version | 2.0.0 |
| Visual Studio Code version | 1.80.0 |
| Operating System | win32_x64 |
Active extensions
COBOL (cobol): 9.7.10
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.3.1
Db2 for IBM i (vscode-db2i): 0.2.11
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.11.1
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
IBM i Notebooks (vscode-ibmi-notebooks): 0.0.5
JSON Language Features (json-language-features): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
Microsoft Account (microsoft-authentication): 0.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
RPGLE (vscode-rpgle): 0.19.3
TODO Highlight (vscode-todo-highlight): 1.0.5
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
WSL: Recommender (remote-wsl-recommender): 0.0.19
Remote system
| Setting | Value |
|---|---|
| IBM i OS | V7R4M0 |
| Tech Refresh | 8 |
| CCSID | 65535 |
| SQL | Disabled |
| Source dates | Disabled |
Enabled features
(I don’t see the TN5250 enabled in the /QOpenSys/pkgs/bin)
| /usr/bin | /QOpenSys/pkgs/bin | /QSYS.lib/ILEDITOR.lib | /QSYS.LIB | /QIBM/ProdData/IBMiDebugService/bin |
|---|---|---|---|---|
| attr | bash | GENCMDXML.PGM | QZDFMDB2.PGM | startDebugService.sh |
| iconv | chsh | GETNEWLIBL.PGM | ||
| setccsid | ls | |||
| tar | md5sum | |||
| sort | ||||
| stat |
Shell env
BUILDLIB=RAVISANKAR
CURLIB=RAVISANKAR
HOME=/home/ravisankar
LIBLS=QTEMP QGPL RAVISANKAR
LOGIN=ravisankar
LOGNAME=ravisankar
MAIL=/var/spool/mail/ravisankar
OLDPWD=/home/ravisankar
PASE_USRGRP_LIMITED=N
PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
PWD=/home/ravisankar
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=198.18.0.247 64228 22
SSH_CONNECTION=198.18.0.247 64228 129.40.98.153 22
TZ=<EST>5<EDT>,M3.2.0,M11.1.0
USER=ravisankar
USERNAME=ravisankar
_=/QOpenSys/usr/bin/env
Variants
{
"american": "#@$",
"local": "#@$"
}
Errors
[
{
"command": "system \"CRTLIB LIB(ILEDITOR) TEXT('Code for i temporary objects. May be cleared.')\"",
"code": 255,
"stderr": "CPF2111: Library ILEDITOR already exists.",
"cwd": "/home/ravisankar"
},
{
"command": "ls -p /QIBM/ProdData/IBMiDebugService/bin/certs/debug_service.pfx",
"code": 2,
"stderr": "/QIBM/ProdData/IBMiDebugService/bin/certs/debug_service.pfx not found",
"cwd": "/home/ravisankar"
}
]
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (4 by maintainers)
@fredericpetit please create a new issue mentioning all the details about the font. This thread was originally created for TN5250 terminal not starting up which is closed now.
@sboisier Did you set the 5250 encoding to ‘297’ (French) in the
Terminalstab in theSettings?You can see all options for
tn5250by opening a PASE terminal and typeman tn5250. Then you can add any additional options to the connection string in theTerminalssettings.@ravisankar-PIO Good idea. I have submitted a pull request to document the “Connect and Reload Server Settings" tip: https://github.com/codefori/docs/pull/18