You are not logged in.

#1 2016-07-14 14:58:43

Nim65s
Member
From: Toulouse, France
Registered: 2015-12-31
Posts: 6
Website

fish encoding issues over ssh.

Hi,

If I ssh to an Arch Host with fish which has unicode in the prompt, the encoding is messed up.
The problem disappears if I launch another fish:

Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
┬─[root@Tatsuo:~]─[16:28:55]
╰─>$ ssh localhost
Last login: Thu Jul 14 16:28:53 2016 from ::1
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
┬─[root@Tatsuo:~]─[16:29:00]
╰─>$ fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
┬─[root@Tatsuo:~]─[16:29:10]
╰─>$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

(A screenshot is available here.)

Using bash with the same prompt does not shows those encoding errors, as well as using fish (same 2.3.1 version) on my Debian servers.
And while the prompt is broken, I can type and run

echo -n '╰─>'

without encoding problems.

Some of my Arch systems are affected but not all of them… And I can't see where is a difference between them…

Does someone have an idea ?

Offline

#2 2016-07-16 11:55:11

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: fish encoding issues over ssh.

You don't happen to use ssh inside rxvt-unicode? https://wiki.archlinux.org/index.php/Rx … mote_hosts

Offline

#3 2016-07-16 12:13:53

Nim65s
Member
From: Toulouse, France
Registered: 2015-12-31
Posts: 6
Website

Re: fish encoding issues over ssh.

No, I use Terminator.

Offline

Board footer

Powered by FluxBB