Re: How to reinvent /usr/bin/find in cygwin/gnu/gnat Ada?

2011-03-20 Thread Hugh Myers
Csaba is quite correct. That said the thing to remember is the examples of either approach are far more likely to be written in either 'C' or 'C++' so your ability to translate from one or the other to Ada will be the key to your success. I myself would use the opendir/readdir combination simply be

Re: How to reinvent /usr/bin/find in cygwin/gnu/gnat Ada?

2011-03-20 Thread Csaba Raduly
Hi Sigfried! On Sat, Mar 19, 2011 at 10:09 PM, wrote: > I want to recursively crawl a directory tree on windows using > cygwin/gnu/ada. I'm not sure if I should use the unix function opendir > (and friends) or the windows functions FindFirstFile and FindNextFile. > Maybe the opendir would be pr

Re: cygwin + GetConsoleOutputCP

2011-03-20 Thread Thomas Wolff
Am 20.03.2011 20:13, schrieb Charles Wilson: ... Note that this autodetect, if it works, assumes that the console's CP is the input file's CP. Fair enough -- and it's an overridable default anyway. However, I wonder if, in cygwin-1.7, we actually can/should use the "console codepage" in ANY wa

RE: Cygwin (1.7.8 and other versions) problems with globbing when invoked from DOS/Windows with nested quotes

2011-03-20 Thread Buchbinder, Barry (NIH/NIAID) [E]
Larry Hall (Cygwin) sent the following at Friday, March 18, 2011 6:01 PM >On 3/18/2011 2:39 PM, Alex Khripin wrote: >> Short summary: getting nested quotes in an argument through to a >> Cygwin process from DOS is problematic, and there does not seem to beif you >> must >> any detailed spec for ho

Broken autoconf mmap test

2011-03-20 Thread Ken Brown
What's the status of the broken autoconf mmap test, which always fails on Cygwin even though Cygwin has a working mmap? The last message I can find on the cygwin list is from November 2009: http://cygwin.com/ml/cygwin/2009-11/msg00368.html Was this ever resolved? I see that cygport is stil

How to determine actual character set

2011-03-20 Thread Matthias Meyer
Hi, I use cygwin 1.7.5 and run backups from Windoze to my Linux server by using BackupPC. I want to set the windows character set within the backuppc configuration for preventing me from this filename renamings (e.g. the german "ü" will be replaced by "?") But how to determine the windows char

Re: ITP dos2unix 5.2.1-1

2011-03-20 Thread Charles Wilson
On 3/18/2011 2:53 AM, Charles Wilson wrote: > On 3/17/2011 4:36 PM, Charles Wilson wrote: >> OK, everybody, time out for a minute. Rather than talk vapor, I'll >> develop the patches necessary. FYI, the first four patches 0001-cygwin-makefile-fixes.patch 0002-cygwin-defines-WIN32-but-isn-t.patch

cygwin + GetConsoleOutputCP

2011-03-20 Thread Charles Wilson
Question about porting the upstream "dos2unix" utilities. These implementations provide capabilities to convert text files from a certain limited set of INPUT encodings (most are DOS codepages): = CONVERSION MODES Conversion modes ascii,

Re: IFS/read dash bug (was Re: Problems with the new base-files-4.0-5?)

2011-03-20 Thread Cyrille Lefevre
Le 19/03/2011 23:34, Cyrille Lefevre a écrit : Le 18/03/2011 14:46, David Sastre a écrit : [ -e "${p}" ]&& IFS=',' read -r PRINTER dummy< "${p}" Works in bash, posh, mksh and zsh, but fails (at least for me) in dash. regarding SUSv3, read is not a special builtin, so, should work under e

Re: Problems with terminal doesn't display visual elements properly

2011-03-20 Thread Andy Koppe
On 20 March 2011 09:18, Diego Queiroz wrote: > On 18 March 2011 06:12, Andy Koppe wrote: >> >> On 17 March 2011 22:09, Diego Queiroz wrote: >> > Hello. >> > >> > I need some help. >> > My terminal started with a very strange behavior today. >> > Many programs are not displaying correctly and I don'

[ANNOUNCEMENT] Updated: bzr 2.3.1-1 -- Python based distributed version control (DVCS)

2011-03-20 Thread Jari Aalto
PACKAGE DESCRIPTION === Home page: http://bazaar.canonical.com License : GPL (Bzr is part of GNU project) Distributed version control that is used in projects like managing Ubuntu packages and it is one of the funded projects of Canonical. - Uses one .b

[ANNOUNCEMENT] Updated: mercurial-1.8.1-1 -- Python based distributed version control (DVCS)

2011-03-20 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://mercurial.selenic.com License : GPL Distributed, efficient Python based source control system. Mercurial is designed for efficient handling of very large distributed projects. CHANGES SINCE LAST RELEASE == See htt

Re: Problems with terminal doesn't display visual elements properly

2011-03-20 Thread Diego Queiroz
On 18 March 2011 06:12, Andy Koppe wrote: > > On 17 March 2011 22:09, Diego Queiroz wrote: > > Hello. > > > > I need some help. > > My terminal started with a very strange behavior today. > > Many programs are not displaying correctly and I don't know why. > > > > I uploaded this picture: http://im