delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/03/13:37:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <495FB06F.4050307@gmail.com>
Date: Sat, 03 Jan 2009 18:37:35 +0000
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: MinTTY - Copy and Paste Issue
References: <cfd0fdd71e4ec DOT 495f2e30 AT shaw DOT ca>
In-Reply-To: <cfd0fdd71e4ec.495f2e30@shaw.ca>
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

ERIC HO > Under vim, I found that when I copy a paragraph of text in
Notepad or PDF and
> paste it into vim, only the first line is copied.

Yep, that's issue 16, fixed on SVN.

> Also, I have PF keys map to shortcuts including  :q! ^M. 
> But they are not working now. I don't have these issues under rxvt. 

Darn, the old F1..F4 issue. The xterm spec at
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html has two different
sets of keycodes for them:

   - "PC-style":    ^[[11~ .. ^[[14~ (i.e. actual F1..F4 codes)
   - "VT220-style": ^[OP   .. ^[OS   (i.e. PF1..PF4)

F5 and up have codes like from ^[[15~ onwards with both styles. The
confusion stems from the vt100, which didn't have PC-style F keys, but
did have the PF1..PF4 on the numpad.

MinTTY's running on a PC, rxvt uses the PC-style keys, and the F1..F4
codes seemed more consistent, so I went with PC-style too. Bad decision,
because MinTTY advertises itself as "xterm" and Cygwin's xterm and more
importantly the xterm terminfo entry use the PF codes. I entered issue 22.

Thanks,
Andy


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

- Raw text -


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