ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Fwd: [Bram@: Re: vim7 and xterm variants]
@ 2005-03-25 14:54 Alexey I. Froloff
  2005-03-25 14:57 ` Sergey Pinaev
  2005-03-25 15:09 ` Dmitry V. Levin
  0 siblings, 2 replies; 9+ messages in thread
From: Alexey I. Froloff @ 2005-03-25 14:54 UTC (permalink / raw)
  To: ALT Devel discussion list

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

Предыстория - Bram слегка изменил встроенные termcap'ы в vim7 и в
консоли отвалилась поддержка кнопок Home и End, причём в xterm
работает только End, а в aterm только Home.

xterm генерит \e[1~/\e[4~, aterm - \e[7~/\e[8~

Не пора ли привести всё это к общему знаменателю?

P.S. 2 ldv: Дим, я заберу aterm? 1.0beta2 допилю на выходных,
utempter оно умеет.

----- Forwarded message from Bram Moolenaar <Bram@moolenaar.net> -----

Date: Fri, 25 Mar 2005 13:08:53 +0100
From: Bram Moolenaar <Bram@>
To: "Alexey I. Froloff" <raorn@>
Subject: Re: vim7 and xterm variants

[..skip..]

For me the xterm always produces \eOH and \eOF without a modifier key
and \e[1;*H  and \e[1;*F with a modifier key.  The xterm documentation
mentions the other codes \e[1~ and \e[4~ for the VT220 keypad.  Oh, it
seems I used 7 instead of 1 for the home key here.  I'll fix that.

I can't find anything about \e[7~ and \e[8~ in the xterm documentation.
Since I needed to define the new sequences to allow all kinds of
modifiers I dropped these.  If these would also need to be supported I
would have to introduce yet another HOME key alternative.

> So, I'd like to know why you've made these changes and who is
> really wrong - builtin termcaps or my terminal emulators?

I made these changes to be able to accept modifiers as xterm sends them
for function keys.

After fixing the mistake with <Home> it should be OK.  rxvt and aterm
appear to send different sequences for <Home> and <End>, thus you need
to use a different termcap entry for them.  I don't know if there is
some historical reason they use different codes than xterm.  You might
want to ask their mainainers.

----- End forwarded message -----

-- 
Regards, Sir Raorn.
-------------------
Я - за. Но я знаю людей, которые будут против. ;-(
		-- rider in devel@

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-03-28 13:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-25 14:54 [devel] Fwd: [Bram@: Re: vim7 and xterm variants] Alexey I. Froloff
2005-03-25 14:57 ` Sergey Pinaev
2005-03-25 15:09 ` Dmitry V. Levin
2005-03-25 15:20   ` Alexey I. Froloff
2005-03-25 15:28     ` Dmitry V. Levin
2005-03-25 15:35       ` Alexey I. Froloff
2005-03-25 18:12   ` Alexey I. Froloff
2005-03-28 13:31     ` Stanislav Ievlev
2005-03-28 13:37       ` Alexey I. Froloff

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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