From owner-freebsd-questions@FreeBSD.ORG Sat Dec 26 01:23:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CD891065695 for ; Sat, 26 Dec 2009 01:23:13 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from lucifer.hellteam.net (lucifer.hellteam.net [88.86.107.21]) by mx1.freebsd.org (Postfix) with ESMTP id 85E328FC1F for ; Sat, 26 Dec 2009 01:23:12 +0000 (UTC) Received: from smtp.hellteam.net (smtp.hellteam.net [78.108.102.229]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by lucifer.hellteam.net (Postfix) with ESMTPS id C284DB06 for ; Sat, 26 Dec 2009 02:08:47 +0100 (CET) Received: from gandalf (devnull.hellteam.net [78.108.103.110]) by smtp.hellteam.net (Postfix) with ESMTP id 84747289A5 for ; Sat, 26 Dec 2009 02:04:44 +0100 (CET) From: =?utf-8?Q?Daniel_Dvo=C5=99=C3=A1k?= To: Date: Sat, 26 Dec 2009 02:04:44 +0100 Organization: Projekt HELL Message-ID: <9FFCA7E178C44C10994E4C52AC40EDA4@tocnet28.jspoj.czf> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcqFx2kAv2ugoR0vTaOxABgBh6I4Ew== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 X-Antivirus: avast! (VPS 091225-1, 25.12.2009), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: setlocale command is missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dandee@hellteam.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Dec 2009 01:23:13 -0000 Hi, =20 I updated a mc port to the last one, version 4.7.0pre4 and wanted to run = mc, but mc display a warning message that the selected display charset = or source codeset does not match one set via locale. I have never seen = this message since I am a user of mc. Propably it is something new in = this new version. The version 4.6.2 does not show you this message = durring starting application. =20 I wanted to set my locale, but I found out that command setlocale is = missing on FreeBSD 7.2. =20 Files in directory /etc: =20 login.conf, login.conf.db, csh.login and profile are set as HANDBOOK = recommends for language localization. =20 My shells are bash, tcsh or zsh, csh for root user. The results are the = same. =20 bash: [user@server ~]$ LC_ALL=3DISO-8859-2; export LC_ALL -bash: varov=C3=A1n=C3=AD: setlocale: LC_ALL: cannot change locale = (ISO-8859-2): No such file or directory =20 zsh: server% setlocale LC_ALL ISO-8859-2 zsh: command not found: setlocale tcsh: > setlocale LC_ALL ISO-8859-2 setlocale: Command not found. root csh: server# setlocale LC_ALL ISO-8859-2 setlocale: Command not found. So my simple question is why is setlocale command missing in FreeBSD 7.2 = ? And if user could not use locale and setlocale commands like on Linux, = how can I solve my problem with new version of MC ? =20 The mc message: =20 Confirmation =20 Chosen display charset (Settings->Display bits) or source codeset (in = mcedit ctrl-t) does not match one set via locale. Set correct codeset = manually or press <> to set locale default. =20 Or set 'don' task again' and press <> =20 [ ] don't ask again =20 [< Fix it >] [ Skip ] =20 BTW in mc there is not any settings with display bits, there is only = options menu with display bits. Wrong help dialogs ? =20 Thank you =20 Daniel =20 =20