From: "Alexei V. Mezin" <alexei-mezin@rambler.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Про htop
Date: Sun, 15 Dec 2013 17:22:43 +0400
Message-ID: <l8kaeo$7kl$1@ger.gmane.org> (raw)
In-Reply-To: <l8k94t$s8j$1@ger.gmane.org>
15.12.2013 17:00, Alexei V. Mezin пишет:
>
> Однако, все не так просто.
Все гораздо проще.
[alexei@bigbear ncurses-5.9]$ echo $LINES $COLUMNS
56 154
Я так понял, что bash выставляет эти переменные самостоятельно. А из man
resizeterm
If the environment variables LINES or COLUMNS are set, this overrides
the library's use of the window size obtained from the operating
system. Thus, even if a SIGWINCH is received, no screen size change may
be recorded.
То есть пока bash будет выставлять такие переменные, htop нормально
работать не будет. Или перед запуском надо делать unset.
Значит это не баг, а просто htop и подобные плохо написаны, надо
переделывать на использование сигналов напрямую.
P.S. А у Михаила наверняка zsh, а не банальный bash :)
next prev parent reply other threads:[~2013-12-15 13:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-14 21:42 Alexei V. Mezin
2013-12-15 11:20 ` Alexei V. Mezin
2013-12-15 11:23 ` Serg A. Kotlyarov
2013-12-15 12:03 ` Anton Gorlov
2013-12-15 13:00 ` Alexei V. Mezin
2013-12-15 13:22 ` Alexei V. Mezin [this message]
2013-12-15 13:51 ` Alexey Borisenkov
2013-12-15 13:56 ` Alexey Borisenkov
2013-12-15 14:47 ` Serg A. Kotlyarov
2013-12-15 16:42 ` Sergey
2013-12-16 8:13 ` Sergey
2013-12-15 18:09 ` Michael Shigorin
2013-12-15 18:23 ` Anton Gorlov
2013-12-16 16:16 ` Sergey Vlasov
2013-12-17 0:48 ` [sisyphus] Про взаимодействие bash с внешней libreadline Dmitry V. Levin
2013-12-17 9:20 ` Anton Gorlov
2013-12-17 9:27 ` Anton Gorlov
2013-12-19 17:03 ` Alexei V. Mezin
2013-12-19 19:36 ` Anton Gorlov
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='l8kaeo$7kl$1@ger.gmane.org' \
--to=alexei-mezin@rambler.ru \
--cc=sisyphus@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 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