X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4A42C0F4.9030907@aim.com> References: <4A42C0F4 DOT 9030907 AT aim DOT com> Date: Thu, 25 Jun 2009 12:27:50 +0100 Message-ID: <416096c60906250427t7f8f5a1bi7f44a070f6fd1f5d@mail.gmail.com> Subject: Re: Some questions about mintty From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 2009/6/25 Mark Harig: >> > At the bash shell prompt while editing commands is one example, but >> > it is also the case for me in text editors, vim or emacs, for example. >> > From the Options menu, I set the cursor type to block and set the >> > cursor color to a light color, say, yellow, and then moved the block >> > cursor back over the text of a command at the shell prompt. >> > Because the cursor-text color remained white, when it combined >> > with the light block color, the text inside the cursor block >> > "disappeared." > > ForegroundColour=0,0,0 > BackgroundColour=255,255,255 > CursorColour=255,255,0 Ah, you've got a yellow cursor on a white background. Isn't that rather difficult to see in the first place? Clearly a matter of personal preference though, hence I'll implement the following: compare the cursor colour to the foreground and background colours and set the cursor text colour to the one that's further away. So in this case the foreground colour would be used as the cursor text colour. Andy -- 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