From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: National alphabet not works in bash Date: Fri, 4 Jan 2019 11:32:13 +0100 (CET) Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_63064_2118654879.1546597934157" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfMm3-0008II-Ls for help-guix@gnu.org; Fri, 04 Jan 2019 05:32:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfMm0-0004LZ-Bc for help-guix@gnu.org; Fri, 04 Jan 2019 05:32:19 -0500 Received: from w1.tutanota.de ([81.3.6.162]:35792) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfMlz-0004G7-U3 for help-guix@gnu.org; Fri, 04 Jan 2019 05:32:16 -0500 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id 28121FBF1AE for ; Fri, 4 Jan 2019 10:32:14 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Help Guix ------=_Part_63064_2118654879.1546597934157 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello! After reconfigure without any changes or maybe after update bash doe= s not work with Russian characters. I am typing in Russian: # ????????????????? -bash: ?????????????????: command not found # ?????? -bash: ??????: command not found $ locale -a bash: locale: command not found Terminal: xfce4-terminal Preferences: Encoding: Default ANSI_X3.4-1968 I did not changed anything. Tried to solve the problem with Guix Manual, section '6.2.6 Locales', but I= discovered I have Russian locales already: # ls /run/current-system/locale/2.28/ ca_ES.utf8/=C2=A0 en_CA.utf8/=C2=A0=C2=A0 es_ES.utf8/=C2=A0 fr_FR.utf8/=C2= =A0 nl_NL.utf8/=C2=A0 tr_TR.utf8/ cs_CZ.utf8/=C2=A0 en_GB.utf8/=C2=A0=C2=A0 es_MX.utf8/=C2=A0 ga_IE.utf8/=C2= =A0 pl_PL.utf8/=C2=A0 uk_UA.utf8/ da_DK.utf8/=C2=A0 en_US.utf8/=C2=A0=C2=A0 fi_FI.utf8/=C2=A0 it_IT.utf8/=C2= =A0 pt_PT.utf8/=C2=A0 vi_VN.utf8/ de_DE.utf8/=C2=A0 en_US.UTF-8/=C2=A0 fr_BE.utf8/=C2=A0 ja_JP.utf8/=C2=A0 ro= _RO.utf8/=C2=A0 zh_CN.utf8/ el_GR.utf8/=C2=A0 es_AR.utf8/=C2=A0=C2=A0 fr_CA.utf8/=C2=A0 ko_KR.utf8/=C2= =A0 ru_RU.utf8/ en_AU.utf8/=C2=A0 es_CL.utf8/=C2=A0=C2=A0 fr_CH.utf8/=C2=A0 nb_NO.utf8/=C2= =A0 sv_SE.utf8/ Nevertheless I tried to add the line 'locale-definition' to config.scm, but= got the error: # head -n 25 /etc/config.scm ;;this is znavko's cute config (use-modules (gnu) (gnu system nss) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu system locale) ;;for locale-definition =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu services desktop) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu services dns) ;;for dnsmasq =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (s= rfi srfi-1) ;;for remove function =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu services networking) ;;for remove ntp =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu services avahi) ;;for remove avahi =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu services xorg) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;= (gnu services databases);;for postgres =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu packages admin) ;;for wpa_supplicant ) (use-service-modules desktop) (use-package-modules certs gnome) (operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale= "en_US.utf8") =C2=A0 (cons (locale-definition =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name "ru_RU.utf8") (source "ru_= RU")) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 %default-locale-definitions) =C2=A0 (bootloader (bootloader-configuration =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 (bootloader grub-bootloader) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 (target "/dev/sda"))) =C2=A0 (file-systems (cons (file-system # guix system reconfigure /etc/config.scm=20 /etc/config.scm:18:2: error: invalid field specifier How to retrieve Russian characters in terminal? ------=_Part_63064_2118654879.1546597934157 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello! After reconfigure without an= y changes or maybe after update bash does not work with Russian characters.=

I am typing in Russian:

# ?????????????????
-bash: ?????????????????: command not found=
# ??????
-bash: ??????: command not found

= $ locale -a
bash: locale: command not found

Terminal: xfce4-terminal
Preferences: Encoding: Default ANSI_X3.4-1968
I did not changed anything.

Tried to solve the problem with Guix Manual, section '6.2.6 Locales'= , but I discovered I have Russian locales already:

# ls /run/current-system/locale/2.28/
ca_ES.utf8/  en_CA.utf8= /   es_ES.utf8/  fr_FR.utf8/  nl_NL.utf8/  tr_TR.u= tf8/
cs_CZ.utf8/  en_GB.utf8/   es_MX.utf8/  ga_IE= .utf8/  pl_PL.utf8/  uk_UA.utf8/
da_DK.utf8/  en_US.utf= 8/   fi_FI.utf8/  it_IT.utf8/  pt_PT.utf8/  vi_VN.= utf8/
de_DE.utf8/  en_US.UTF-8/  fr_BE.utf8/  ja_JP.utf= 8/  ro_RO.utf8/  zh_CN.utf8/
el_GR.utf8/  es_AR.utf8/&n= bsp;  fr_CA.utf8/  ko_KR.utf8/  ru_RU.utf8/
en_AU.utf8/=   es_CL.utf8/   fr_CH.utf8/  nb_NO.utf8/  sv_SE.ut= f8/

Nevertheless I tried to add the line 'locale-definition' = to config.scm, but got the error:

# head -n 25 = /etc/config.scm
;;this i= s znavko's cute config
<= br />
(use-modules (gnu) (gnu = system nss)
  =            (gnu system lo= cale) ;;for locale-definition
           &nb= sp; (gnu services desktop)
            = (gnu services dns) ;;for dnsmasq
           = ;  (srfi srfi-1) ;;for remove function
         &= nbsp;   (gnu services networking) ;;for remove ntp
      &n= bsp;      (gnu services avahi) ;;for remove avahi<= br />
    =          (gnu services xorg)
<= /div>
     =         ;;(gnu services databases);;for = postgres
  &nb= sp;          (gnu packages adm= in) ;;for wpa_supplicant

)
(use-service-modules desktop)
(use-package-modules certs gnome)

(operating-system (host-name "antelope") = (timezone "Europe/Moscow") (locale "en_US.utf8")
<= /div>
  (cons (locale-definitio= n
   &nbs= p;    (name "ru_RU.utf8") (source "ru_RU"= ;))
   &n= bsp;  %default-locale-definitions)
  (bootloader (bootloader-configuration
      &n= bsp;         (bootloader grub-bootl= oader)
   = ;             (= target "/dev/sda")))
  (file-systems (cons (file-system

=
# guix system reconfigu= re /etc/config.scm
/etc/config.scm:18:2: error: invalid field specifi= er

How to retrieve Russian characters in termin= al?
------=_Part_63064_2118654879.1546597934157--