delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/08/08:54:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <877464.991851838-sendEmail@nebbiolo>
From: "Helmut Karlowski" <helmut DOT karlowski AT ish DOT de>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Cc: "helmut DOT karlowski AT ish DOT de" <helmut DOT karlowski AT ish DOT de>
Subject: Re: Small request for the new cygwin terminal
Date: Fri, 8 Jun 2012 12:55:02 +0000
X-IsSubscribed: yes
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

Andy Koppe wrote:

> I don't think you can have different terminfo entries for different
> character sets for the same terminal type, i.e. you'd need to create
> charset-specifc types such as xterm-cp850.

I suspected that ...

> > I've added
> >
> > csin=\233,
> >
> > but I'm not sure if it's really necessary, and if it's wrong when I switch
> > the Character Set. tgetstr() returns the value defined in xterm-terminfo,
> > which may be wrong for another character set. When csin is missing in xterm,
> > tgetstr() returns 0.
>
> Looking at the standard, 'csin' isn't meant for a keycode, but for a
> command sent to the terminal, namely for the Init sequence for
> multiple codesets. I'm afraid I don't know what that means though,

That was the closest I've found in the terminfo-manpage. What is the
terminfo-code for CSI (if any)? How does vi know about CSI and its
sequence as mentioned in your previous post?

> There isn't a fallback in the terminfo system itself, so I guess
> that's up to each terminfo-using program (or its configuration).

Ok, in that case $TERM is xterm-cp850, xterm-ISO... etc. But I don't
think it's worth the effort.

-Helmut




--
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