ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] zsh: Home/End в терминалах X
Date: Tue, 4 Nov 2003 08:43:36 +0300
Message-ID: <20031104054336.GA3371@master.mivlgu.local> (raw)
In-Reply-To: <200311040012.41435.dead_m@list.ru>

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

On Tue, Nov 04, 2003 at 12:12:34AM +0300, DM wrote:
Content-Description: clearsigned data
> Здравствуйте, Maxim Tyurin!
> 
> Понедельник 03 Ноябрь 2003 10:52, Вы писали:
> 
> > > После установки себе в качестве основного шелла zsh получил много
> > > удовольствия, но поимел ложку дёгтя: обнаружил, что в иксовых
> > > консолях перестали работать клавиши Home/End. Причина явно в шелле,
> > > потому что если в той же консоли запустить bash, всё начинает
> > > работать правильно. Единственный терминал, в котором всё в порядке
> > > --- aterm.
> > >
> > > Как можно настроить поведение этих кнопок для zsh в остальных
> > > терминалах?
> >
> > Лечить так:
> > echo 'bindkey "^[[7~" beginning-of-line' >> ~/.zshrc
> > echo 'bindkey "^[[8~" end-of-line' >> ~/.zshrc
> 
> Не помогает. Работает абсолютно так же, как и раньше. В иксах Home/End 
> не отрабатываются.

Посмотрите, что на самом деле выдают эти клавиши: запустите в этом
терминале cat, нажмите нужную клавишу и посмотрите, что появится.

У меня в xterm Home = "^[[1~", End = "^[[4~".

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-11-04  5:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-02 22:31 DM
2003-11-03  7:52 ` Maxim Tyurin
2003-11-03 12:07   ` Andrey Rahmatullin
2003-11-03 13:18     ` Maxim Tyurin
2003-11-03 21:18       ` DM
2003-11-04  7:26         ` Maxim Tyurin
2003-11-03 21:12   ` DM
2003-11-04  5:43     ` Sergey Vlasov [this message]
2003-11-04 11:31       ` Andrey Rahmatullin
2003-11-04 12:04         ` Sergey Vlasov
2003-11-04 16:55           ` [Comm] " Konstantin Lepikhov
2003-11-04 19:22       ` [Comm] " DM

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=20031104054336.GA3371@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=community@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 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