ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Yura Kalinichenko <yuk@iceb.vinnitsa.com>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Как починить xterm
Date: 06 Aug 2004 08:28:31 +0300
Message-ID: <1091770111.2532.17.camel@iceb> (raw)
In-Reply-To: <20040805175935.GA6796@eugene-home.ikz.ru>

[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]

В Чтв, 05.08.2004, в 20:59, Eugene Vlasov написал:
> Добрый день.
> 
> Давно заметил - xterm ломается, если наталкивается на некоторые символы
> (например псевдографику) при работе в mutt или slrn. Выражается это в том,
> что при чтении некоторых писем экран может засоряться, почтовой программе
> могут передаваться некие комбинации клавиш. В aterm такого не замечено.
> Ошибка воспроизводится с
> [eugene@eugene-home eugene]$ rpm -q xterm
> xterm-191-alt3
> , но и на более ранних версиях такое поведение замечал.
Было и на более ранних. Простейший патч, это дело исправляющий - пришит.

>  Приходится для
> чтения почты держать aterm.
> С этим можно как то бороться? Вешать багу? Если вешать, то на какой
> пакет?

На самом деле это не бага, а фича. Согласно стандарту ANSI X3.64 символы
с кодами 0x80-0x9f являются дополнительными управляющими символами для
терминалов. Так что если следовать букве стандарта, то неправы
программы, использующие эти коды в качестве printable. Идеальным
решением было бы (как это делалось в "железных" терминалах) прикрутить
ручку, с помощью которой данный режим можно было бы включать-выключать,
но для этого надо достаточно глубоко влазить в сорцы.

-- 
Yura Kalinichenko
mob.  +380 67 587 83 02


[-- Attachment #2: xterm-166-yuk-printable8bit.patch --]
[-- Type: text/plain, Size: 1177 bytes --]

--- VTPrsTbl.c.org	Thu Jan 25 01:43:30 2001
+++ VTPrsTbl.c	Wed Nov  6 17:25:44 2002
@@ -242,10 +242,10 @@
 CASE_PRINT,
 /*      0x84            0x85            0x86            0x87    */
-CASE_IND,
-CASE_NEL,
+CASE_PRINT,
+CASE_PRINT,
 CASE_PRINT,
 CASE_PRINT,
 /*      0x88            0x89            0x8a            0x8b    */
-CASE_HTS,
+CASE_PRINT,
 CASE_PRINT,
 CASE_PRINT,
@@ -253,9 +253,9 @@
 /*      0x8c            0x8d            0x8e            0x8f    */
 CASE_PRINT,
-CASE_RI,
-CASE_SS2,
-CASE_SS3,
+CASE_PRINT,
+CASE_PRINT,
+CASE_PRINT,
 /*      0x90            0x91            0x92            0x93    */
-CASE_DCS,
+CASE_PRINT,
 CASE_PRINT,
 CASE_PRINT,
@@ -264,16 +264,16 @@
 CASE_PRINT,
 CASE_PRINT,
-CASE_SPA,
-CASE_EPA,
+CASE_PRINT,
+CASE_PRINT,
 /*      0x98            0x99            0x9a            0x9b    */
-CASE_SOS,
 CASE_PRINT,
-CASE_DECID,
-CASE_CSI_STATE,
+CASE_PRINT,
+CASE_PRINT,
+CASE_PRINT,
 /*      0x9c            0x9d            0x9e            0x9f    */
-CASE_ST,
-CASE_OSC,
-CASE_PM,
-CASE_APC,
+CASE_PRINT,
+CASE_PRINT,
+CASE_PRINT,
+CASE_PRINT,
 /*      nobreakspace    exclamdown      cent            sterling        */
 CASE_PRINT,

  reply	other threads:[~2004-08-06  5:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-05 17:59 Eugene Vlasov
2004-08-06  5:28 ` Yura Kalinichenko [this message]
2004-08-06  9:12   ` Sergey Vlasov
2004-08-07  1:57     ` [sisyphus] " Денис Смирнов
2004-08-07  9:26     ` [sisyphus] " Yura Kalinichenko
2004-08-08 15:48       ` Sergey Vlasov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1091770111.2532.17.camel@iceb \
    --to=yuk@iceb.vinnitsa.com \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git