Lite terminal in Cursor/VS Code closes after %G, doesn't save commands stack
I recently started using Cursor/VSCode with an IRIS container for development rather than Studio/Terminal.
I've noticed that whenever I use %G (so basically all the time), when I exit %G, the terminal window simply closes, rather than returning me to my usual namespace prompt.
%G also does not retain the command stack like it does in old school terminal, so I'm forced to constantly retype every global reference.
Anyone figured out a solution to this? It's a relatively minor problem in the grand scheme of things, but a time consuming and irritating one.
Comments
Lite terminal inside VS-Code is similar to the web based terminal (web-terminal). Both are using sockets which does not have a principal device. Some of the old known utilities were designed for telnet and will not work in those two.
I tested it in my PC and it worked, so I was (almost 🙃) going to respond....
Before posting I tested again connecting to a Linux server and....I was able to reproduce the issue reported.
So, connecting Lite Terminal to a Windows IRIS instance %G works fine, when connected to a Linux instance then Lite Terminal closes when exiting %G.
Interesting, isn't it? 😊
The command that closes the Lite Terminal when issued in IRIS for Linux is:
Close 0
The same command does not close the Lite Terminal in IRIS for Windows.
Why ⁉️