From owner-freebsd-questions@FreeBSD.ORG Tue Mar 22 03:24:12 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17EBD16A4CE for ; Tue, 22 Mar 2005 03:24:12 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A5B643D31 for ; Tue, 22 Mar 2005 03:24:11 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DDZx1-0003NC-FV for freebsd-questions@freebsd.org; Tue, 22 Mar 2005 04:21:03 +0100 Received: from 63-224-222-139.spkn.qwest.net ([63.224.222.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Mar 2005 04:21:03 +0100 Received: from sergei by 63-224-222-139.spkn.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Mar 2005 04:21:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Sergei Gnezdov Date: Sun, 20 Mar 2005 23:14:31 +0000 (UTC) Lines: 33 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 63-224-222-139.spkn.qwest.net User-Agent: slrn/0.9.8.1 (FreeBSD) Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: s X-MailScanner-From: freebsd-questions@m.gmane.org X-MailScanner-To: freebsd-questions@freebsd.org Subject: Re: Russian from ssh console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sergei@gnezdov.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 03:24:12 -0000 On 2005-03-13, Volodymyr Kostyrko wrote: > Sergei Gnezdov wrote: >> I'd like to be able to read Russian messages from slrn. I set LANG >> environment variable to ru_RU, but it does not help. I think it is >> because the underlying system does not support Russian or something >> like this. I don't plan to type messages in Russian. Most of the GUI >> apps seem to support foreign languages out of the box. What's so >> difficult with the console apps? > > Compare your ~/.login_conf to /etc/login.conf. Set the LANG there. > I added the following to ~/.login_conf: me:\ :charset=KOI8-R:\ :lang=ru_RU.KOI8-R: SLRN and mutt started to send guarbage messages in some cases. I decided that it is font related and tried to execute the following command from ssh terminal: vidcontrol -f cp866b I've the the following message: vidcontrol: must be on a virtual console: Inappropriate ioctl for device So, is there any way to change font loaded when using ssh terminal? Also, how do I know which encoding to use (KOI8, DOS, Windows)? What if some messages use KOI8 and some are Windows?