X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,TW_WC X-Spam-Check-By: sourceware.org From: Bengt Larsson To: cygwin AT cygwin DOT com Subject: Re: Mg3a - a version of Mg2a developed on Cygwin Date: Thu, 24 Feb 2011 19:50:58 +0100 Reply-To: cygwin AT cygwin DOT com Message-ID: References: <35i9m6pt07r66fib882etg5tgirkr413co AT 4ax DOT com> <0105D5C1E0353146B1B222348B0411A209DAA0FF98 AT NIHMLBX02 DOT nih DOT gov> <20110224085617 DOT GM9392 AT calimero DOT vinschen DOT de> <4nccm61h5q3f207me4u69qfk6i0vqrd2f2 AT 4ax DOT com> <20110224111447 DOT GS9392 AT calimero DOT vinschen DOT de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Andy Koppe wrote: >On 24 February 2011 11:14, Corinna Vinschen wrote: >> On Feb 24 11:56, Bengt Larsson wrote: >>> I don't use surrogates. I only use UTF-8 and UTF-32. > >... which of course means that you don't support anything but UTF-8 >and ASCII locales. Can't argue with that, but you might want to use >nl_langinfo(CODESET) to check and warn if something else is used. Utf-8 and a number of 8-bit charsets, actually. I'm getting rather annoyed that people judge the program without looking at it. And it does use nl_langinfo(CODESET). >>> But using cygwin's >>> wcwidth may be worth thinking about. I suppose it will be consistent >>> with mintty that way; otherwise not? >> >> Yes, I think Andy uses the system functions as well. > >Yep, as should any other terminal emulator. I have fixed it to use Cygwin's wcswidth. -- 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