From: Grigory Fateyev <greg@anastasia.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] zsh и артифакт konsole
Date: Sat, 12 Apr 2008 21:19:36 +0400
Message-ID: <20080412211936.651996f0@greg.dobroe.net> (raw)
In-Reply-To: <20080412162351.GB4710@atlas.home>
Hello Sergey Vlasov!
On Sat, 12 Apr 2008 20:23:51 +0400 you wrote:
[...]
> Настоящая проблема находится в precmd() - команда print в этой функции
> пытается вставить в заголовок окна терминала символ табуляции; при
> использовании xterm это не вызывает проблем в самом терминале (хотя в
> заголовок попадает "?"), а вот konsole, похоже, интерпретирует любые
> управляющие символы в параметре "\e]0;" как признак конца строки, и
> весь последующий вывод (включая сам символ табуляции) попадает в
> терминал в виде обычного текста. Нужно заменить "\t", например, на
> пробел (всё равно табуляция в заголовке окна в общем случае не будет
> отображаться правильно).
>
> А setopt prompt_sp, если это необходимо, придётся добавлять во все
> варианты определений preexec(), имеющиеся в .zshrc.
Спасибо за подробный ответ, ваш совет помог. Может стоит этот пост
зафиксировать на freesource?
--
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2008/04/12 21:16
prev parent reply other threads:[~2008-04-12 17:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-12 15:11 ` Andrey Rahmatullin
2008-04-12 15:40 ` Grigory Fateyev
2008-04-12 15:46 ` Andrey Rahmatullin
2008-04-12 16:10 ` Grigory Fateyev
2008-04-12 16:23 ` Sergey Vlasov
2008-04-12 17:19 ` Grigory Fateyev [this message]
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=20080412211936.651996f0@greg.dobroe.net \
--to=greg@anastasia.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