This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MinTTY - Copy and Paste Issue


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]