delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/07/16:13:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: Small request for the new cygwin terminal
References: <CAHWeT-aTd8RTirAvffviJR_3wo6HVpGz68OMYALRPNFVR9ZbGg AT mail DOT gmail DOT com> <0D835E9B9CD07F40A48423F80D3B5A70C799 AT USA7109MB022 DOT na DOT xerox DOT net> <op DOT wfjid5u8ofd6j1 AT nebbiolo> <op DOT wfji72pkofd6j1 AT nebbiolo> <CAHWeT-aS7QVDCjBMqUtn=B3zpRzqY9u7m6WuG56ZFqQ=wy4Erw AT mail DOT gmail DOT com>
Date: Thu, 07 Jun 2012 22:14:30 +0200
MIME-Version: 1.0
From: "Helmut Karlowski" <helmut DOT karlowski AT ish DOT de>
Message-ID: <op.wfjuigm7ofd6j1@nebbiolo>
In-Reply-To: <CAHWeT-aS7QVDCjBMqUtn=B3zpRzqY9u7m6WuG56ZFqQ=wy4Erw@mail.gmail.com>
User-Agent: Opera Mail/11.64 (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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, 07.06.2012 21:12:05:

> CP850 doesn't support the C1 control characters, so you get the
> fallback instead, which is the scheme for encoding the Meta modifier
> when bit 7 isn't available. This means that Ctrl+Shift+letter
> combinations can't be distinguished from Ctrl+Alt+letter, but since
> Ctrl+Alt+letter combinations are suppposedly reserved for global
> shortcuts in Windows, they might still come in handy occasionally.
>
> There indeed is another scheme of encoding C1 control characters with
> an ESC followed by the base character, e.g. ^[A instead of ^[^A, but
> that would have made the Ctrl+Shift+letter keycode the same as
> Alt+letter rather than Ctrl+Alt+letter, which is why I chose the Meta
> scheme.
>
> I hope that makes some sense.

Yes. One question remains: Does the Character Set (ISO, CP, etc.) have an  
effect on the terminfo-terminal-description? 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. I'm not sure if this can be solved inside  
mintty, is there a fallback if an entry in terminfo is missing?

-- 
Helmut Karlowski

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