X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4E0A3E9C.3050709@towo.net> Date: Tue, 28 Jun 2011 22:50:36 +0200 From: Thomas Wolff Reply-To: Thomas Wolff User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: clear has been named clearw? References: <4E0A1212 DOT 5030401 AT cwilson DOT fastmail DOT fm> In-Reply-To: <4E0A1212.5030401@cwilson.fastmail.fm> X-TagToolbar-Keys: D20110628225036524 Content-Type: text/plain; charset=ISO-8859-1; 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 Am 28.06.2011 19:40, schrieb Charles Wilson: > On 6/26/2011 10:21 AM, Andrew Hancock wrote: >> After some web surfing about how to clear the screen in cygwin, I >> installed ncurses. /bin/clear.exe is not there, but /bin/clearw.exe >> is. Nothing comes up on a search for clearw either in the mailing >> list archives or google. Just wondering if this was a filenaming >> typo. >> > No, there are now two different ncurses packages: > > The basic ncurses, which provides (among other things) /bin/clear.exe. > > Then, there's the version that supports wide characters, called > 'ncursesw'. To avoid conflicts, this package delievers /bin/clearw.exe > (basically, all the exe's are renamed to carry a 'w' suffix). I guess this is a peculiarity of cygwin packaging of ncurses. I see no clearw on other systems, and there is no reason for it because wide characters are not involved in the function of 'clear'. Ncursesw supports wide characters at its API; 'clear' is not affected. 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