Re: [dev] [st] Erasing UTF-8 characters in ed

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Mon, 4 Aug 2014 11:11:22 +0200

> Stty shows that iutf8 is enabled for me. I saw earlier in the thread you
> verified your LC_ALL as being UTF-8, perhaps that or LANG is configured on
> your filesystem but is not propogating to st due to some shell configuration
> issue?

This is a bit ugly. I am now in a linux machine where:

        $ locale
        LANG=en_US.UTF-8
        LANGUAGE=
        LC_CTYPE="en_US.UTF-8"
        LC_NUMERIC="en_US.UTF-8"
        LC_TIME="en_US.UTF-8"
        LC_COLLATE="en_US.UTF-8"
        LC_MONETARY="en_US.UTF-8"
        LC_MESSAGES="en_US.UTF-8"
        LC_PAPER="en_US.UTF-8"
        LC_NAME="en_US.UTF-8"
        LC_ADDRESS="en_US.UTF-8"
        LC_TELEPHONE="en_US.UTF-8"
        LC_MEASUREMENT="en_US.UTF-8"
        LC_IDENTIFICATION="en_US.UTF-8"
        LC_ALL=
        $ stty -a | grep iutf8
        -iuclc -ixany -imaxbel -iutf8
        $

If I connect to my OpenBSD machine:

        $ locale
        LANG=en_US.UTF-8
        LC_COLLATE="C"
        LC_CTYPE="en_US.UTF-8"
        LC_MONETARY="C"
        LC_NUMERIC="C"
        LC_TIME="C"
        LC_MESSAGES="en_US.UTF-8"
        LC_ALL=en_US.UTF-8
        $ stty -a | grep iutf8
        $

And now, I can see in stty(1) that there is no iutf8 in OpenBSD.

-- 
Roberto E. Vargas Caballero
Received on Mon Aug 04 2014 - 11:11:22 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 04 2014 - 11:12:07 CEST