From owner-freebsd-questions@freebsd.org Mon Dec 11 20:48:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12F2BE9E1CB for ; Mon, 11 Dec 2017 20:48:42 +0000 (UTC) (envelope-from v.dol_s@hotmail.com) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-oln040092072072.outbound.protection.outlook.com [40.92.72.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 718B17886E for ; Mon, 11 Dec 2017 20:48:40 +0000 (UTC) (envelope-from v.dol_s@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wgqk6vkIc3sjGcZzRyCCxJDLbw57Q9+k5e13fouXseY=; b=FEKEgiRr4oo9jyYXCt40mX23Lb3yVX/9YX2JcR+G5s1zlsasewfBHjx7K2tzTqOhiXflOlIyHFSccgBioODga2zecN7AKbbH1a9ZPsmvQGrvV1vN860tjj5r7leUQMZeuiGhtBcF6WHoyI3DqFEi0QSXbttwANmI6DYKNICbS0x5nDeEmiBdqd53bmneGhpP4peOQFjoafxNsoQ4en7hv2kOb0ixRAwLP7G3F9AiAFLgszfayGNGfxMwdB5fqMxMPkdNMOJaE9pv6uoYtlw0RZfw1pH/TYm707jQ/EGWaj2lxnMIMQo3PSJELbxieIsmAfLdjdSOW4YoFgmpVsC0Cg== Received: from DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com (10.152.20.55) by DB5EUR03HT227.eop-EUR03.prod.protection.outlook.com (10.152.21.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.282.5; Mon, 11 Dec 2017 20:48:38 +0000 Received: from AM5PR0902MB1923.eurprd09.prod.outlook.com (10.152.20.54) by DB5EUR03FT020.mail.protection.outlook.com (10.152.20.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.302.6 via Frontend Transport; Mon, 11 Dec 2017 20:48:38 +0000 Received: from AM5PR0902MB1923.eurprd09.prod.outlook.com ([fe80::8cc4:8d78:8f38:e1fe]) by AM5PR0902MB1923.eurprd09.prod.outlook.com ([fe80::8cc4:8d78:8f38:e1fe%13]) with mapi id 15.20.0302.013; Mon, 11 Dec 2017 20:48:38 +0000 From: Vitalio D To: Polytropon , "steve@sohara.org" CC: "freebsd-questions@freebsd.org" Subject: Re: vt(4) iso-8859-1 latin accentuated characters do not show on console Thread-Topic: vt(4) iso-8859-1 latin accentuated characters do not show on console Thread-Index: AQHTcousDi0rwvi5AUeQ7srsOHRGwKM+lowAgAAFDQU= Date: Mon, 11 Dec 2017 20:48:38 +0000 Message-ID: References: , <20171211212252.e403c4d2.freebsd@edvax.de> In-Reply-To: <20171211212252.e403c4d2.freebsd@edvax.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:E2BB3C51712CDB9C527980B7170764EB35C35F1D972E5BD98D23558B52356F5A; UpperCasedChecksum:BBC6405BE13291E8B697C46A17106472C257E4DB17EABB72673870369A43F77B; SizeAsReceived:7271; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [AiwuW4OezC+SsW9m4JxWfPhzlOeZmtb5] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5EUR03HT227; 6:nDfgtg/QNuTXKak++J1T4rjQ0RqX1WyH2zW6gi05ZUaueryhuhbehublGNikpQEeN9Ad+5hDiEAayBXgSwqJZWAO07C9O8RLYN6pQ7pMqITvPpJYxvGTqDyGGrl0Z2t+wRNPs1HVX72SCNq38ycf6kTya6xEldK4rAQbzmqgcDpQ8NmrW930Bqz/bRERVwm3TIoZ1L2xkNn4QRvKWkz8UGnbTdnd45xdLVt4xnzlyMt/uqJn89hlt+F9oGG3ghhlgaUth2rl6RE7hcrMyNPZfqUW0u5F4xNb+SwY94XJEVXnZZCDbktVRZ0KXdUlwQ+G/FrTae35oz5ERYBPlN6PHaqGH29Vq8uUX1ZvKWYyaZc=; 5:75WGJUZb0nzRbvEKbsTHqe3qecHdENNEYVIq0A7Oe82qHiGEeH5PDDBgQnO5e42TLDZE6CpBWHA0tj4Gb1XUpmdAgYbpyAiSK0EHMkaAcJ/nhW01mS7SpoQ3r1/6vUBsT1fOg63n0p+MNPsyOi2aApspf6EIea2wnqAnLE+7dNE=; 24:s1MB/ZLPVhNtzg23czJ4IUh/sD8jRLJ53D74o1OHLCFh4MAa+kkBmMPybXKfIhKY5dE9ODtWJGKiv9qfLNpq9a28MoDtPe9u+nTQbuRV1ns=; 7:PuyOzPSpPUEqU3nNX7Ax8d+2eUNvkt1M7nP1N/pbQ4Fhg92sfswh0jGlsoVdYv+Ut4/+H+Q2AYfc4Hkd8FEZ1Laynd0bsX8y256qZ8xcLWotbe1wFpebunc1zS/vIPr78NuE/mQTCUSMHfMeHcYQKn7kXUJoo9cUQrPjCJkaw0joLCqN2MwWDZYJtd5HSWOyvYcy+8jLGHuxkr71LO85HRRHCZVpBYE3j//fBjn5nK1r1jXYW/xNDbxnYuFJfLLr x-incomingheadercount: 47 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045); SRVR:DB5EUR03HT227; x-ms-traffictypediagnostic: DB5EUR03HT227: x-ms-office365-filtering-correlation-id: 22b3439f-1424-490a-4a27-08d540d88e4a x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:DB5EUR03HT227; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DB5EUR03HT227; x-forefront-prvs: 0518EEFB48 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:DB5EUR03HT227; H:AM5PR0902MB1923.eurprd09.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22b3439f-1424-490a-4a27-08d540d88e4a X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2017 20:48:38.6202 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT227 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2017 20:48:42 -0000 Hello, Polytropon, Steve Thank you guys for your help. I've figured it out finally. So to use vt(4) with accented west European glyphs I had to do the followin= g in ~/.login_conf me:\ :charset=3DUTF-8: in rc.conf keymap=3Dfr.acc Steve, yes the handbook I was trying to read is fr_FR.ISO8859-1. There is n= o fr_FR.UTF-8 handbook unfortunately (at least did not find on svn). Also should the handbook (the i18l section) be updated since vt(4) is defau= lt driver? ________________________________________ From: Polytropon Sent: Monday, December 11, 2017 8:22:52 PM To: Vitalio D Cc: freebsd-questions@freebsd.org Subject: Re: vt(4) iso-8859-1 latin accentuated characters do not show on c= onsole On Mon, 11 Dec 2017 14:28:52 +0000, Vitalio D wrote: > I'm running 11.1-STABLE snapshot from November. By default my > vty driver is vt(4) as seen from > sysctl kern.vty > kern.vty=3Dvt > > I've tried to configure french keyboard so to be able to see and > type accentuated characters, but could not succeed. > > I've amended ~/.login_conf with > me:\ > :charset=3DISO-8859-1:\ > :lang=3Dfr_FR.ISO-8859-1: > > but to no avail. > The only solution I've found is to switch to sc(4) in /boot/loader.conf > > So my question is: should i file a bug ? Definitely. I have the same problem with vt and de_DE.ISO8859-1 if I want to use the Umlauts =F6 =E4 =FC =D6 =C4 =DC and Eszett =DF. This i= s one of the cases where vt cannot do what sc could do for decades. Maybe a workaround for you is this: Set fr_FR.UTF-8 and check if you get the correct accents on the vowels (or just "escaped unprintable" representation). However, according to _my_ documentation the setting does not have a 2nd "-" in it, not fr_FR.ISO-8859-1, but fr_FR.ISO8859-1 (only one "-") should be used. Maybe you can try this as well? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...