delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/02/07:05:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: About mouse selection in a cmd console
Date: Mon, 2 Aug 2010 13:05:28 +0200
Message-ID: <1299EF3181B10F479D85C328013285240331C4CE@THEZE.intra.cea.fr>
From: "JOHNER Jean 066030" <Jean DOT JOHNER AT cea DOT fr>
To: <cygwin AT cygwin DOT com>
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

On 29 July 2010 12:16, Andy Koppe wrote:
>> Mouse selection works (it does not with DOS)
>
>Actually mouse selection does work in the console, but it is somewhat,
> erm, challenging ... . Try 'Mark' from the context menu.
>
> Enable 'Quick Edit' in the console properties to make it almost
bearable.

Hello,

1/ Enabling 'Quick Edit' makes mouse selection quite bearable in a
standard cmd console (click, then right mouse twice).
Thank you.

2/ Launching Cygwin.bat in a 'Quick Edit' cmd console gives access to
the above feature. Note that, when 'Quick Edit' is not checked, right
click to access to "Mark" is not enabled when you launch Cygwin.bat
(why?).

3/ Launch Cygwin.bat in a 'Quick Edit' cmd console, put "set mouse=3Da" in
.vimrc then type vi file1.
Result: file1 is opened. When you click somewhere in the file, the vim
cursor is NOT moved. In the same way, you cannot select a word to delete
it nor select a range of lines to do some specific operation. That is
the reason why I wrote that mouse selection does not work in a bash cmd
console.

4/ If you have Window vim installed (in C:\Program
Files\vim\vim72\vim.exe) and launch a cmd console (without launching
Cygwin.bat), using vim file1 opens file1. Clicking somewhere DOES move
the vim cursor. Now mouse selection does work in a cmd console.

5/ Launching bash under Mintty always gives access to true mouse
selection in vi.

Summary:=20
- When launching Cygwin.bat, "true" mouse selection is not allowed in
vi. That is very annoying and perhaps could be improved.
- Mintty solves the problem.

Best regards,

Jean Johner




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