delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/20/15:03:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=ZDQSH
fwnRldw1o5vbqEEELri9SybsSaUIPuJUWOCbT4XTHuJ+AcpNeIlXAY3sHThdxa1m
+b0rSddtbF4qxKU1VvemxdLDWytGdQ7eE5wny+N7YHcwFPReAqzamgZqz4Yivryd
vP4gF9dkrC3hTMe8VrSy5k087IDt/MeSO5aBjw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=tUApWllmRi2
kONF4pwNATGg9k20=; b=NtRuCAgX2LIRZEw2Pev01WZ6T6v3D2yRsrIsJ+4R/ec
iC7oyANWCRxcOWCyMkeJPy+KpgVSUpgnw5xGf1ucUHVV0DlZiuKD0Vw8Ic5rTQ10
v75jA5KV1qZtgkVYXX8dKLiFrb+eWO4MswQTKCjBeBcXciGYQ4PxomlET/e3Ai+0
=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-in-04.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-13.arcor-online.net 3ngPVx1lT2z325D
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Terminfo bug in screen-256color
References: <loom DOT 20150720T090930-457 AT post DOT gmane DOT org> <1445361572 DOT 12108 DOT 40 DOT camel AT cygwin DOT com> <87wpuhnzgo DOT fsf AT Rainer DOT invalid>
Date: Tue, 20 Oct 2015 21:03:36 +0200
In-Reply-To: <87wpuhnzgo.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 20 Oct 2015 20:53:43 +0200")
Message-ID: <87si55nz07.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0

Achim Gratz writes:
>> Can you confirm that this patch contains the necessary changes:
>>
>> http://pkgs.fedoraproject.org/cgit/ncurses.git/tree/ncurses-kbs.patch
>
> The solution I used was different IIRC, but I'll have to dig out the
> details.

I've compiled my own terminfo file for screen, the recipe copied below
from the tmux FAQ:

--8<---------------cut here---------------start------------->8---
Screen's terminfo description lacks italics mode and has standout mode in its
place, but using the same escape sequence that urxvt uses for italics. This
means applications (like vim) looking for italics will not find it and might
turn to reverse in its place, while applications (like less) asking for
standout will end up with italics instead of reverse. To make applications
aware that tmux supports italics and to use a proper escape sequence for
standout, you'll need to create a new terminfo file with modified sgr, smso,
rmso, sitm and ritm entries:

	$ mkdir $HOME/.terminfo/
	$ screen_terminfo="screen"
	$ infocmp "$screen_terminfo" | sed \
	  -e 's/^screen[^|]*|[^,]*,/screen-it|screen with italics support,/' \
	  -e 's/%?%p1%t;3%/%?%p1%t;7%/' \
	  -e 's/smso=[^,]*,/smso=\\E[7m,/' \
	  -e 's/rmso=[^,]*,/rmso=\\E[27m,/' \
	  -e '$s/$/ sitm=\\E[3m, ritm=\\E[23m,/' > /tmp/screen.terminfo
	$ tic /tmp/screen.terminfo

And tell tmux to use it in ~/.tmux.conf:
	
	set -g default-terminal "screen-it"

If your terminal supports 256 colors, use:

	$ screen_terminfo="screen-256color"

instead of "screen". See the FAQ entry about 256 colors support for more info.
Also note that tmux will still display reverse video on terminals that do not
support italics.
--8<---------------cut here---------------end--------------->8---

I don't know much about these things, but it seems that the patch you're
linking to deals with the interpretation of the backspace key in certain
situations?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019