From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Virus-Scanned: ScanPE,ScanELF,ScanOLE2,ScanMail,PhishingSignatures,ScanHTML X-Virus-Scanned: amavisd-new at telenet.dn.ua To: "ALT Linux Community" From: "Aleksander N.Gorohovski" Organization: DonNTU Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 References: <20070813082922.GA14622@cryo.net.ru> Content-Transfer-Encoding: 8bit Date: Mon, 13 Aug 2007 21:48:50 +0300 Message-ID: In-Reply-To: <20070813082922.GA14622@cryo.net.ru> User-Agent: Opera Mail/9.22 (Linux) X-Agent: mailfromd (3.1.91) X-Virus-Status: NO X-Spamd-Status: NO X-Spamd-Score: -3.900 of 4.500 X-Spamd-Keywords: ALL_TRUSTED,AWL,BAYES_00 Subject: Re: [Comm] xterm c CP1251 X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 18:48:32 -0000 Archived-At: List-Archive: List-Post: On Mon, 13 Aug 2007 11:29:22 +0300, Pavlov Konstantin wrote: > On Sun, Aug 12, 2007 at 06:37:57PM +0300, Aleksander N.Gorohovski wrote: >> Доброго времени суток сообщество! >> >> Подскажите как можно запустить Xterm с кодировкой CP1251, так чтобы >> отображались нормально >> русские буквы ? >> Система ALT Desktop 4.0 >> >> Делаю: >> 1. >> Установил пакет (который взял с ALT Compact 3.0; в ALT 4.0 не нашлось) >> rpm -ivh XFree86-cyr-rfx-fonts-cp1251 >> >> 2. >> LANG=ru_RU.CP1251 xterm -g 110x50 -fn >> '-misc-fixed-medium-r-normal--20-200-75-75-c-100-microsoft-cp1251' >> или >> LANG=ru_RU.CP1251 xterm -g 110x50 -fn >> '-misc-fixed-medium-r-normal--15-*-*-*-*-*-microsoft-cp1251' >> >> Получаю в ответ >> xterm: unable to open font >> "-misc-fixed-medium-r-normal--20-200-75-75-c-100-microsoft-cp1251", >> trying >> "fixed".... >> >> >> Как я понимаю X не находят нужных установленных шрифтов >> (-misc-fixed-medium-r-normal--20-200-75-75-c-100-microsoft-cp1251), >> а где о них нужно сообщить ему (раньше это /etc/X11/XF86Config >> директива >> "FontPath") >> или причина в другом? > > Посмотрите, есть ли этот шрифт в выводе xlsfonts. К сожалению нет: $ xlsfonts | grep misc-fixed-medium-r-normal--20-200 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-10 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-11 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-13 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-14 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-15 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-16 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-2 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-3 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-4 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-5 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-7 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-8 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-9 -misc-fixed-medium-r-normal--20-200-75-75-c-100-koi8-r