Written by

Question Tim Stowe · May 15

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.  
 

Product version: IRIS 2024.1
$ZV: IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.1.4 (Build 512U) Thu Apr 3 2025 11:05:0

Comments

Yaron Munz · May 18

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.

0
Enrico Parisi · May 18

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? 😊

0
Enrico Parisi · May 18

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 ⁉️

0