TSE Linux 4.50.6 possible issue with terminal escape sequences

42 views
Skip to first unread message

Ross Barnes

unread,
May 26, 2025, 5:11:23 PM5/26/25
to SemWare TSE Pro text editor
I don''t have much experience with terminal escape sequences.  The following problems are occurring in the latest TSE Linux 4.50.6.  These problems do not occur when running TSE Linux 4.50.1.

On my Puppy Linux system the latest TSE Linux 4.50.6 on exiting TSE writes what appears to be "ESC bracket zero space q" to the terminal before displaying the command prompt.
Also after opening a file and pressing ESC to activate TSE's menu I end up with what looks like "ESC bracket 2" overwriting the  current submenu name as I arrow across the main menu options or directly access a menu options by the first letter or down arrow into a submenu.

Do I need to make changes to my system to accommodate the latest TSE Linux version?

Thank you.

S.E. Mitchell

unread,
May 26, 2025, 5:13:45 PM5/26/25
to sem...@googlegroups.com
That would be this:
fputs("\033[0 q", stdout); // restore default cursor shape

What terminal are you using?
And I wonder how I tell if the terminal supports said sequence?
--
Sammy Mitchell
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/semware/fc58b105-846f-4efe-8241-65b9bd089a10n%40googlegroups.com.

S.E. Mitchell

unread,
May 26, 2025, 5:18:09 PM5/26/25
to TSEPro Support
Can you type set, pipe to stdout, and send me that.

knud van eeden

unread,
May 26, 2025, 7:45:38 PM5/26/25
to SemWare TSE Pro text editor
Clicked around a bit on a Puppy Linux version 10.0.11

But only in the live CD version, full installation I will have to look into, quite a lot of steps it seems. See youtube URL below.

It is a Debian based distribution.

In the Live CD version there is a lightweight Window Manager called JWM (=Joe' Window Manager) (that is for sure).

Installed latest TSE version 4.50.6 for Linux and did run it.

So in the JWM here no issues at all, it looks like at first glance, nothing reproducible.

So as stated it is quite of course something with the terminal version used and or with the local installation.

Maybe try something like on the command line to find out the terminal used:

urxvt -version  # For Rxvt

sakura --version

lxterminal --version

If it is any of these then these are at least very unknown (to me) and not widely used.

Otherwise working backwards and letting Semware investigate if indeed escape sequences have been changed from 4.50.1 -> 4.50.6 and maybe change something backwards there.

Otherwise installing a newer version of Puppy Linux (latest version is thus 10.0.11) and see if it reproduces.

Or as workaround rolling back to TSE for Linux version 4.50.1 as that works.

Note: I plan to maybe install the full version of Puppy Linux but that might take much longer time, like days++ as a lot of steps:
See also:
How to install Puppy Linux on VirtualBox


with friendly greetings
Knud van Eeden

Ross Barnes

unread,
May 26, 2025, 11:20:57 PM5/26/25
to SemWare TSE Pro text editor
Sammy and Knud,
The terminal program with the problem is LX Terminal 0.3.2 

I also found xterm (urxvt v.9.22) on the box, tested it, and it had NO issues with either TSE Linux version.
I think I'm going to just run xterm program when using TSE in my version of Puppy Linux.

Thank you both for your help.  I sent Sammy the SET listing via email using my compuserve address.

knud van eeden

unread,
May 27, 2025, 8:52:16 PM5/27/25
to sem...@googlegroups.com

 Q. TSE: Linux: Puppy: Terminal escape issues

I have installed a full installation of Puppy Linux version 10.0.11
(the Debian Bookworm version)
and was running Linux Terminal 0.4.0 and in it TSE for Linux version
4.50.6 all the time.

Never seen any issue (e.g. with <Escape> values) with TSE version
4.50.6 at any time.

===

Optionally some information to gather or apply:

1. -Open a terminal

 <CTRLALT T>

2. -Linux Distribution type: Which answer do you get when you run this command?

     cat /etc/os-release | grep -i "ID"

    Here I get:

     debian

    Another option should be

     ubuntu

3. -Puppy Linux Distribution type codename: Which answer do you get when you run this command?

     cat /etc/os-release | grep -i "CODENAME"

      I get e.g.

       bookworm

4. -Puppy Linux version: Which answer do you get when you run this command?

     cat /etc/os-release | grep -i "VERSION"

      I get e.g. 10.0.11

5. -Terminal: Which answer do you get when you run these 3 commands?

      urxvt -version

        (shows here v9.30)

      sakura --version

        (shows as not installed here)

      lxterminal --version

       (shows here 'lxterminal 0.4.0)

6. -Your LXTerminal version is thus

     0.3.2

    So that is an older version.

    Just update your LXTerminal to the latest version,
    that should resolve the issue.

     1. -Check your system architecture first

          uname -m

         Shows e.g. here

        x86 64

     2. -You should thus select the 'i386' .deb file in the next step

     3. -In your browser check first the filename


     4. -Select the correct filename

          lxterminal_0.4.0-1_i386.deb

     5. -Go to your download directory and download that file


          sudo dpkg -i lxterminal_0.4.0-1_i386.deb

     6. -Try again if the TSE for Linux 4.50.6 issue
         can be reproduced now or not.

     7. -If still not resolved install increasingly later versions of LXTerminal
         (up to e.g. the currently latest lterminal_0.4.1-1_i386.deb)

     8. -Otherwise optionally download and install the latest Puppy Linux version
         (e.g. 10.0.11) and work in that instead with TSE version 4.50.6



knud van eeden

unread,
May 28, 2025, 5:00:17 AM5/28/25
to sem...@googlegroups.com

7. Checking with a clean TSE installation if the issue still reproduces

    Because it could not be reproduced using a clean TSE version 4.50.6
    another test option could be to install a fully clean unchanged
    TSE version 4.50.6 anywhere else on your Puppy Linux (download


    then just unzip the .zip file anywhere using e.g. 'tar -xzvf', goto 'tse' and run './e'
    and see if it still can be reproduced, typicall while
    using LXTerminal.

    Then if it can not be reproduced there in this clean TSE 4.50.6 version then the issue is in your
    currently used TSE installation (e.g. something with autoload files,
    startup macros, ...
    and will then further be trouble shoot working from there
    (e.g. by 'elemination' (that is removing possible root causes one by one and checking
    if the issue still persists after each of that removal))



knud van eeden

unread,
May 28, 2025, 5:06:05 AM5/28/25
to sem...@googlegroups.com
     E.g.

      To download TSE version 4.50.6 easily, simply and quickly from the (LXTerminal) command line use and type 




Reply all
Reply to author
Forward
0 new messages