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 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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