X-Recipient: archive-cygwin@delorie.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 <towo@towo.net>
Reply-To: Thomas Wolff <towo@towo.net>
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@cygwin.com
Subject: Re: clear has been named clearw?
References: <BANLkTinbLFjoz05DZO1qXhzKQ20gxYcC4Q@mail.gmail.com> <4E0A1212.5030401@cwilson.fastmail.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

