Page 1 of 1

How do I fix this?! >:(

Posted: Fri Sep 15, 2017 8:42 am
by praetor242
I'm at my wits end trying to fix the characters on my terminal when I ssh into SDF. I've tried several terminals, including urxvt for unicode support, I've tried different fonts, and I really don't want to start porting xfstt for truetype to IRIX. I just want it to look right. Can haz fix?

Image

Re: How do I fix this?! >:(

Posted: Fri Sep 15, 2017 10:48 am
by escimo
Does this help?

$ stty sane

Re: How do I fix this?! >:(

Posted: Fri Sep 15, 2017 1:11 pm
by praetor242
No. That didn't work. After poking around, it's because IRIX doesn't have a UTF-8 locale, so I'm working through that finding a locale that works on SDF and on IRIX

Re: How do I fix this?! >:(

Posted: Fri Sep 15, 2017 3:08 pm
by dexter1
This is similar to my tmux port attempts failing because irix doesn't have an utf8 locale included.

A shame really.

Re: How do I fix this?! >:(

Posted: Fri Sep 15, 2017 6:35 pm
by praetor242
Hmm. this is very vexing.

Re: How do I fix this?! >:(

Posted: Fri Sep 15, 2017 6:39 pm
by Raion-Fox
dexter1 wrote:This is similar to my tmux port attempts failing because irix doesn't have an utf8 locale included.


And porting a utf-8 locale from BSD is out of the question I assume?

Re: How do I fix this?! >:(

Posted: Fri Sep 15, 2017 6:40 pm
by praetor242
I wonder what would be involved to port it. I don't know much about locales.

Re: How do I fix this?! >:(

Posted: Fri Sep 15, 2017 8:41 pm
by vishnu
I've never used it but according to the manpage luit should be able to solve this:

Code: Select all

If  you are running in a UTF-8 locale but need to access a remote machine that doesn't support UTF-8,
       luit can adapt the remote output to your terminal:

              $ LC_ALL=fr_FR luit ssh legacy-machine

Re: How do I fix this?! >:(

Posted: Fri Sep 15, 2017 8:52 pm
by praetor242
I wonder if you can run luit in reverse. SDF and #! all have en_US.UTF8 set as their default locale.

Re: How do I fix this?! >:(

Posted: Fri Sep 15, 2017 9:20 pm
by vishnu
praetor242 wrote:I wonder if you can run luit in reverse. SDF and #! all have en_US.UTF8 set as their default locale.

Oh sorry, I must have read your original post backward... :roll: