X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Message-ID: <4B1F8BA3.3070302@towo.net> Date: Wed, 09 Dec 2009 12:36:03 +0100 From: Thomas Wolff User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: UTF-8 in Cygwin console on 1.7 References: <4B1E4D22 DOT 9020406 AT hones DOT org DOT uk> <416096c60912080520l49cbf64bwa4a2c4510b13a9f0 AT mail DOT gmail DOT com> <4B1E56D1 DOT 2090501 AT hones DOT org DOT uk> <416096c60912081305k3d386207q5d6fb6cdc77c47a AT mail DOT gmail DOT com> <4B1F29F0 DOT 7020701 AT hones DOT org DOT uk> <416096c60912082136x316686b3gab4275c9ac5736de AT mail DOT gmail DOT com> In-Reply-To: <416096c60912082136x316686b3gab4275c9ac5736de@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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 [maybe continue on cygwin-developers?] Andy Koppe wrote: > 2009/12/9 Cliff Hones > >> I would guess the change is to file cygwin/fhandler_console.cc, and >> is simply to remove line 1616 [ cursor_rel (1, 0); ] (after case NULL:) >> > Yep, except that the patch removes the (misnamed) IGN case altogether. > So the #define IGN should go as well... Actually, I don't really understand this code part: * What is the purpose of the lookup table for the switch rather than just switching on a few special control characters? * What is the idea of (randomly?) assigning ERR to some control characters and NOR to others? * How does the case NOR *work* actually? The characters *do* print out although according to the code only a replacement char U+2592 is written. Am I half-awake? Maybe after clarifying this, the whole snipplet should be cleaned up a little bit. Thomas -- 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