ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Evgenii Terechkov <evg@krastel.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] alm2.4 "watch" bug?
Date: Fri, 31 Mar 2006 14:50:18 +0800
Message-ID: <m3acb75cr9.fsf@evg.krasnoyarsk.ru> (raw)
In-Reply-To: <442CC26D.50908@elecom.ru> (Dmitry Vodennikov's message of "Thu, 30 Mar 2006 21:47:25 -0800")

Dmitry Vodennikov пишет:

> [vod@mse vod]$ set | grep LANG
> LANG=ru_RU.CP1251
> LANGUAGE=ru_RU.CP1251
> [vod@mse vod]$ ls /
> bin   dev  home  mnt  proc  sbin  sys  usr
> boot  etc  lib   opt  root  swap  tmp  var
> [vod@mse vod]$ watch ls /
> ну собственно содержимое корня, обновляется каждые 2 секунды
> [vod@mse vod]$ ls ~/
> bin      Documents  ipt.log   Mail  RPM       tmp     watch.log
> Desktop  files      ipt.log~  mbox  test.log  vmware
> [vod@mse vod]$ watch ls ~/
> Segmentation fault
> Во как.... Но нас голыми руками не возьмешь...
> [vod@mse vod]$ export LANG=POSIX
> [vod@mse vod]$ export LANGUAGE=POSIX

Насколько помню, переменная LANGUAGE уже не используется.

> [vod@mse vod]$ watch ls ~/
> и все работает как положено....
> Хм. А если так:
> [vod@mse vod]$ export LANG=ru_RU.KOI8-R
> [vod@mse vod]$ export LANUAGE=ru_RU.KOI8-R
> [vod@mse vod]$ watch ls ~/
> и опять-таки все работает как положено....
> [vod@mse vod]$ uname -a
> Linux mse.elecom.ru 2.4.26-std-up-alt13 #1 Mon Nov 14 00:25:14 MSK 2005 
> i686 unknown unknown GNU/Linux
> [vod@mse vod]$ rpm -qf /usr/bin/watch
> procps-2.0.10-alt4.1
> sudo apt-get update, sudo apt-get upgrade сделан,
> из backports и тем более сизифа ничего не берется.

Могу только подтвердить такой глюк. Только у меня локаль KOI8-R. И ядро
2.6.8. Пакет procps тот-же.

> На что бы такое повесить багу???

Или на procps или на glibc-locales :-).



  reply	other threads:[~2006-03-31  6:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-31  5:47 Dmitry Vodennikov
2006-03-31  6:50 ` Evgenii Terechkov [this message]
2006-03-31 15:04 ` Andrey Rahmatullin
2006-03-31 15:52   ` Evgenii Terechkov
2006-04-01  5:53   ` Dmitry Vodennikov
2006-04-01  6:02     ` Andrey Rahmatullin
2006-04-03  9:43     ` Michael Shigorin
2006-04-03 15:28       ` Andrey Rahmatullin
2006-04-03 16:04         ` Evgenii Terechkov
2006-04-04  8:36       ` Dmitry Vodennikov
2006-04-04  8:53         ` Michael Shigorin
2006-04-04  9:20           ` Dmitry Vodennikov

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=m3acb75cr9.fsf@evg.krasnoyarsk.ru \
    --to=evg@krastel.ru \
    --cc=community@lists.altlinux.org \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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