problems with the fastfetch output?

I connect to the computer via ssh to the computer with CachyOS and see
prompt ❯ e[>4;1me[=5u I got an answer on the cachy's forum:

"looks like your ssh client has problems with the fastfetch output"

image
What can I do when it's right?
 
So I assume you are running a terminal emulator on some machine (perhaps FreeBSD? perhaps on X or a similar GUI?), and you ssh to a machine. You don't like the prompt. Which interestingly doesn't show up anywhere on the cute picture you posted.

Look at the message you quoted: "e[>4;1me[=5u"

That's clearly an escape sequence, with "e" for the escape. So let's decode it (look at ansi escape code in a search engine, it will bring you to the wiki page). We start with "escape [", which is CSI or a control sequence. This tells the terminal emulator that it should change how it operates. Let's decode the first one: It ends with a lowercase m. A quick search shows: "escape [ ... m" is called SGR = Select Graphic Rendition, and controls how text will be displayed. And decoding the two parameters 4 and 1 is easy from the wiki page: 4 means underline, 1 means bold. However, there is an extra character in there: the parameters are "> 4 ; 1", and to make sense they should be "4 ; 1". So this escape parameter is already broken.

The next one is the one that is troubling: the escape sequence "escape [ ... u" is not commonly defined. The sequence "escape [ u" is defined by xterm (and probably all derivatives) as restore cursor, but it does not allow any parameters. In your case, the parameters are "=5", which also makes no sense.

My hunch: Whatever program configures your prompt on whatever version of Linux (CachyOS?) is using unsupported escape sequences. Look at where your prompt is set, typically .profile or .bashrc or .shrc or something like that.
 
So I assume you are running a terminal emulator on some machine (perhaps FreeBSD? perhaps on X or a similar GUI?), and you ssh to a machine. You don't like the prompt. Which interestingly doesn't show up anywhere on the cute picture you posted.

Look at the message you quoted: "e[>4;1me[=5u"

That's clearly an escape sequence, with "e" for the escape. So let's decode it (look at ansi escape code in a search engine, it will bring you to the wiki page). We start with "escape [", which is CSI or a control sequence. This tells the terminal emulator that it should change how it operates. Let's decode the first one: It ends with a lowercase m. A quick search shows: "escape [ ... m" is called SGR = Select Graphic Rendition, and controls how text will be displayed. And decoding the two parameters 4 and 1 is easy from the wiki page: 4 means underline, 1 means bold. However, there is an extra character in there: the parameters are "> 4 ; 1", and to make sense they should be "4 ; 1". So this escape parameter is already broken.

The next one is the one that is troubling: the escape sequence "escape [ ... u" is not commonly defined. The sequence "escape [ u" is defined by xterm (and probably all derivatives) as restore cursor, but it does not allow any parameters. In your case, the parameters are "=5", which also makes no sense.

My hunch: Whatever program configures your prompt on whatever version of Linux (CachyOS?) is using unsupported escape sequences. Look at where your prompt is set, typically .profile or .bashrc or .shrc or something like that.
I connect via SSH from a FreeBSD 14.3 computer from the command line. I don't have a graphical environment. But on all other computers with other OS (Manjaro, Mint, MX etc) the prompt line is normal, that's the problem

Connect to computer with Manjaro:

ssh pal@10.44.44.44
The authenticity of host '10.44.44.44 (10.44.44.44)' can't be established.
ED25519 key fingerprint is SHA256:da42ZsBE7FPJvTIH5em217O5AFw3GlysU1KE4JgMzdk.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '10.44.44.44' (ED25519) to the list of known hosts.
pal@10.44.44.44's password:
Last login: Fri Jun 6 23:52:06 2025 from 10.44.1.1
[pal@manjaro ~]$
 
Back
Top