[ANNOUNCEMENT] Updated: wcd 6.0.2-1 -- Wherever Change Directory

2018-09-06 Thread waterlan

CHANGES SINCE LAST RELEASE:
===


New upstream release.

  * New Friulian translation.
  * Updated Spanish translation.


All changes: http://waterlan.home.xs4all.nl/wcd/doc/whatsnew.txt


DESCRIPTION:


Wcd is a command-line program to change directory fast. It saves time 
typing at the keyboard. One needs to type only a part of a directory 
name and wcd will jump to it. Wcd has a fast selection method in case of 
multiple matches and allows aliasing and banning of directories. Wcd 
also includes a full screen interactive directory tree browser with 
speed search.


Wcd was modeled after Norton Change Directory (NCD). NCD appeared first 
in The Norton Utilities, Release 4, for DOS in 1987, published by Peter 
Norton.



homepage: http://waterlan.home.xs4all.nl/
license: GPL-2.


--
Erwin Waterlander

--
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



[ANNOUNCEMENT] Updated: libunistring 0.9.10-1

2018-08-21 Thread waterlan

libunistring (source package)
libunistring2 (runtime library)
libunistring-devel (development library and include files)
libunistring-doc (documentation)


CHANGES:



New in 0.9.10:
* The functions
u8_casing_prefix_context, u8_casing_prefixes_context,
u8_casing_suffix_context, u8_casing_suffixes_context,
u16_casing_prefix_context, u16_casing_prefixes_context,
u16_casing_suffix_context, u16_casing_suffixes_context,
u32_casing_prefix_context, u32_casing_prefixes_context,
u32_casing_suffix_context, u32_casing_suffixes_context,
  that are documented since version 0.9.1, are now actually implemented.

New in 0.9.9:
* Fixed a multithread-safety bug.

http://git.savannah.gnu.org/cgit/libunistring.git/tree/NEWS


DESCRIPTION:



Text files are nowadays usually encoded in Unicode, and may consist of 
very different scripts – from Latin letters to Chinese Hanzi –, with 
many kinds of special characters – accents, right-to-left writing marks, 
hyphens, Roman numbers, and much more. But the POSIX platform APIs for 
text do not contain adequate functions for dealing with particular 
properties of many Unicode characters. In fact, the POSIX APIs for text 
have several assumptions at their base which don't hold for Unicode 
text.


This library provides functions for manipulating Unicode strings and for 
manipulating C strings according to the Unicode standard.


homepage: http://www.gnu.org/s/libunistring/
license: LGPL


DETAILS:



This library consists of the following parts:

 elementary string functions
 conversion from/to legacy encodings
 formatted output to strings
 character names
 character classification and properties
 string width when using nonproportional fonts
 word breaks
 line breaking algorithm
 normalization (composition and decomposition)
 case folding
 regular expressions (not yet implemented)
 grapheme cluster breaking



Who needs libunistring?
===


libunistring is for you if your application involves non-trivial text 
processing, such as upper/lower case conversions, line breaking, 
operations on words, or more advanced analysis of text. Text provided by 
the user can, in general, contain characters of all kinds of scripts. 
The text processing functions provided by this library handle all 
scripts and all languages.


libunistring is for you if your application already uses the ISO C / 
POSIX ,  functions and the text it operates on is 
provided by the user and can be in any language.


libunistring is also for you if your application uses Unicode strings as 
internal in-memory representation



--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: /usr/include/ssp/wchar.h:78:1: error: unknown type name ‘FILE’ (during cygport package build)

2018-08-16 Thread waterlan

Ken Brown schreef op 2018-08-16 20:20:

On 8/16/2018 2:11 PM, waterlan wrote:

Ken Brown schreef op 2018-05-14 14:35:


This is a newlib issue that has been fixed:

https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=commitdiff;h=829820af6e5bccefe93485023e93821807fb99b8;hp=e494b560350cabef94126a4478096aae89ae35a0 
Ken


When will this newlib fix arrive in Cygwin?


It's in cygwin-2.11.0, which is already available as a test release.



OK. Thanks.

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: /usr/include/ssp/wchar.h:78:1: error: unknown type name ‘FILE’ (during cygport package build)

2018-08-16 Thread waterlan

Ken Brown schreef op 2018-05-14 14:35:

On 5/13/2018 12:01 PM, waterlan wrote:

Hi,

I'm trying to create a new wcd package, but I get compile errors 
during

the cygport build of the wcd package.

gcc -ggdb -O2 -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
--param=ssp-buffer-size=4
-fdebug-prefix-map=/cygdrive/c/Users/waterlan/src/cygwin/wcd/wcd-6.0.2-1.x86_64/build=/usr/src/debug/wcd-6.0.2-1
-fdebug-prefix-map=/cygdrive/c/Users/waterlan/src/cygwin/wcd/wcd-6.0.2-1.x86_64/src/wcd-6.0.2=/usr/src/debug/wcd-6.0.2-1
-O2 -Wall -Wextra -Wno-unused-parameter -Wconversion-Ic3po
-DVERSION=\"6.0.2\" -DVERSION_DATE=\"2018-05-10\"  -std=gnu99
-DWCD_UNICODE -DWCD_UNINORM -DENABLE_NLS
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"wcd\"
-I/usr/include/ncursesw -I/usr/include -DDEBUG=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUNIX -DWCD_USECURSES  -D_XOPEN_SOURCE
-D_XOPEN_SOURCE_EXTENDED  -c wcwidth.c -o wcwidth.o

In file included from /usr/include/ssp/wchar.h:5:0,
  from /usr/include/wchar.h:336,
  from wcwidth.c:62:
/usr/include/ssp/wchar.h:78:1: error: unknown type name 'FILE'
  __ssp_decl(wchar_t *, fgetws, (wchar_t *__restrict __buf, int 
__wlen,

FILE *__restrict __fp))


This is a newlib issue that has been fixed:

https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=commitdiff;h=829820af6e5bccefe93485023e93821807fb99b8;hp=e494b560350cabef94126a4478096aae89ae35a0

Ken


When will this newlib fix arrive in Cygwin?

regards,

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



/usr/include/ssp/wchar.h:78:1: error: unknown type name ‘FILE’ (during cygport package build)

2018-05-13 Thread waterlan
Hi, 

I'm trying to create a new wcd package, but I get compile errors during
the cygport build of the wcd package. 

gcc -ggdb -O2 -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
--param=ssp-buffer-size=4
-fdebug-prefix-map=/cygdrive/c/Users/waterlan/src/cygwin/wcd/wcd-6.0.2-1.x86_64/build=/usr/src/debug/wcd-6.0.2-1
-fdebug-prefix-map=/cygdrive/c/Users/waterlan/src/cygwin/wcd/wcd-6.0.2-1.x86_64/src/wcd-6.0.2=/usr/src/debug/wcd-6.0.2-1
-O2 -Wall -Wextra -Wno-unused-parameter -Wconversion-Ic3po
-DVERSION=\"6.0.2\" -DVERSION_DATE=\"2018-05-10\"  -std=gnu99 
-DWCD_UNICODE -DWCD_UNINORM -DENABLE_NLS
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"wcd\" 
-I/usr/include/ncursesw -I/usr/include -DDEBUG=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUNIX -DWCD_USECURSES  -D_XOPEN_SOURCE
-D_XOPEN_SOURCE_EXTENDED  -c wcwidth.c -o wcwidth.o 

In file included from /usr/include/ssp/wchar.h:5:0,
 from /usr/include/wchar.h:336,
 from wcwidth.c:62:
/usr/include/ssp/wchar.h:78:1: error: unknown type name 'FILE'
 __ssp_decl(wchar_t *, fgetws, (wchar_t *__restrict __buf, int __wlen,
FILE *__restrict __fp))
 ^ 

The C flag that triggers this option is -Wp,-D_FORTIFY_SOURCE=2. 

When I remove this flag the compilation goes OK. 

regards,

-- 
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



[ANNOUNCEMENT] Updated: libunistring 0.9.8-1

2018-01-08 Thread waterlan

libunistring (source package)
libunistring2 (runtime library)
libunistring-devel (development library and include files)
libunistring-doc (documentation)


CHANGES:


New in 0.9.8:
* The data tables and line breaking algorithm have been updated to 
Unicode

  version 9.0.0.
* In the include file unigbrk.h, the function uc_grapheme_breaks has
  been added to accommodate the new UAX#29 rules involving 3 or more
  consecutive characters.

New in 0.9.7:
* The license has changed from LGPLv3+ to "LGPLv3+ or GPLv2"


http://git.savannah.gnu.org/cgit/libunistring.git/tree/NEWS


DESCRIPTION:



Text files are nowadays usually encoded in Unicode, and may consist of 
very different scripts – from Latin letters to Chinese Hanzi –, with 
many kinds of special characters – accents, right-to-left writing marks, 
hyphens, Roman numbers, and much more. But the POSIX platform APIs for 
text do not contain adequate functions for dealing with particular 
properties of many Unicode characters. In fact, the POSIX APIs for text 
have several assumptions at their base which don't hold for Unicode 
text.


This library provides functions for manipulating Unicode strings and for 
manipulating C strings according to the Unicode standard.


homepage: http://www.gnu.org/s/libunistring/
license: LGPL


DETAILS:



This library consists of the following parts:

 elementary string functions
 conversion from/to legacy encodings
 formatted output to strings
 character names
 character classification and properties
 string width when using nonproportional fonts
 word breaks
 line breaking algorithm
 normalization (composition and decomposition)
 case folding
 regular expressions (not yet implemented)
 grapheme cluster breaking



Who needs libunistring?
===


libunistring is for you if your application involves non-trivial text 
processing, such as upper/lower case conversions, line breaking, 
operations on words, or more advanced analysis of text. Text provided by 
the user can, in general, contain characters of all kinds of scripts. 
The text processing functions provided by this library handle all 
scripts and all languages.


libunistring is for you if your application already uses the ISO C / 
POSIX ,  functions and the text it operates on is 
provided by the user and can be in any language.


libunistring is also for you if your application uses Unicode strings as 
internal in-memory representation



--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



[ANNOUNCEMENT] Updated: wcd 6.0.1-1 -- Wherever Change Directory

2017-08-30 Thread waterlan

CHANGES SINCE LAST RELEASE:
===


New upstream release.

  * This version adds new Brazilian Portuguese translations of the UI 
and manual.



All changes: http://waterlan.home.xs4all.nl/wcd/doc/whatsnew.txt


DESCRIPTION:


Wcd is a command-line program to change directory fast. It saves time 
typing at the keyboard. One needs to type only a part of a directory 
name and wcd will jump to it. Wcd has a fast selection method in case of 
multiple matches and allows aliasing and banning of directories. Wcd 
also includes a full screen interactive directory tree browser with 
speed search.


Wcd was modeled after Norton Change Directory (NCD). NCD appeared first 
in The Norton Utilities, Release 4, for DOS in 1987, published by Peter 
Norton.



homepage: http://waterlan.home.xs4all.nl/
license: GPL-2.


--
Erwin Waterlander

--
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



[ANNOUNCEMENT] Updated: wcd 6.0.0-1 -- Wherever Change Directory

2017-02-23 Thread waterlan

CHANGES SINCE LAST RELEASE:
===


New upstream release.

  * Faster disk scanning.
  * New Danish translation.

http://waterlan.home.xs4all.nl/wcd/doc/whatsnew.txt



DESCRIPTION:


Wcd is a command-line program to change directory fast. It saves time 
typing at the keyboard. One needs to type only a part of a directory 
name and wcd will jump to it. Wcd has a fast selection method in case of 
multiple matches and allows aliasing and banning of directories. Wcd 
also includes a full screen interactive directory tree browser with 
speed search.


Wcd was modeled after Norton Change Directory (NCD). NCD appeared first 
in The Norton Utilities, Release 4, for DOS in 1987, published by Peter 
Norton.



homepage: http://waterlan.home.xs4all.nl/
license: GPL-2.


--
Erwin Waterlander

--
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



Re: dirent.d_type is not working on Cygwin symbolic links.

2017-01-29 Thread waterlan

Christian Franke schreef op 2017-01-29 12:15:

waterlan wrote:
The dirent.d_type value for Cygwin symbolic links is 0 (DT_UNKNOWN). 
The value is 10 (DT_LNK) for Windows native symbolic links. I think 
d_type should be 10 for Cygwin symbolic links too.




Sorry, no.

The actual type should only be returned in dirent.d_type if the info
is available at very low cost. This is not the case for Cygwin
symbolic links.

If DT_UNKNOWN is returned, lstat() must be called if type info is 
required.


Quote from Linux man page readdir(3):
"All applications must properly handle a return of DT_UNKNOWN."
(https://linux.die.net/man/3/readdir)

See also thread starting at:
https://sourceware.org/ml/cygwin-patches/2008-q4/msg0.html


In this case I do not agree with this. Cygwin symbolic links are there 
to emulate Linux symlinks. Therefore I expect the same behaviour.


``Cygwin is
* a large collection of GNU and Open Source tools which provide 
functionality similar to a Linux distribution on Windows.''

(https://cygwin.com/)

regards,

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



dirent.d_type is not working on Cygwin symbolic links.

2017-01-28 Thread waterlan

Hi,

The dirent.d_type value for Cygwin symbolic links is 0 (DT_UNKNOWN). The 
value is 10 (DT_LNK) for Windows native symbolic links. I think d_type 
should be 10 for Cygwin symbolic links too.



Example program. Run it in a folder with a Cygwin symbolic link and a 
Windows symbolic link (create with mklink command in an administrator 
command prompt).



#include 
#include 
#include 
#include 

int main() {
   DIR *dirp;
   struct dirent *dp;

  dirp = opendir(".");
  dp = readdir(dirp);
  while (dp) {
printf("%s %d\n", dp->d_name, dp->d_type);

if (dp->d_type == DT_LNK)
   printf("SYMLINK");

dp = readdir(dirp);
  }
  closedir(dirp);

  return 0;
}


--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



[ANNOUNCEMENT] Updated: wcd 5.3.4-1 -- Wherever Change Directory

2017-01-04 Thread waterlan

CHANGES SINCE LAST RELEASE:
===


New upstream release.

  * New Serbian translation.

http://waterlan.home.xs4all.nl/wcd/doc/whatsnew.txt



DESCRIPTION:


Wcd is a command-line program to change directory fast. It saves time 
typing at the keyboard. One needs to type only a part of a directory 
name and wcd will jump to it. Wcd has a fast selection method in case of 
multiple matches and allows aliasing and banning of directories. Wcd 
also includes a full screen interactive directory tree browser with 
speed search.


Wcd was modeled after Norton Change Directory (NCD). NCD appeared first 
in The Norton Utilities, Release 4, for DOS in 1987, published by Peter 
Norton.



homepage: http://waterlan.home.xs4all.nl/
license: GPL-2.


--
Erwin Waterlander

--
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



[ANNOUNCEMENT] Updated: wcd 5.3.3-1 -- Wherever Change Directory

2016-10-20 Thread waterlan

CHANGES SINCE LAST RELEASE:
===


New upstream release.

  * New option -ls: List the aliases.

http://waterlan.home.xs4all.nl/wcd/doc/whatsnew.txt



DESCRIPTION:


Wcd is a command-line program to change directory fast. It saves time 
typing at the keyboard. One needs to type only a part of a directory 
name and wcd will jump to it. Wcd has a fast selection method in case of 
multiple matches and allows aliasing and banning of directories. Wcd 
also includes a full screen interactive directory tree browser with 
speed search.


Wcd was modeled after Norton Change Directory (NCD). NCD appeared first 
in The Norton Utilities, Release 4, for DOS in 1987, published by Peter 
Norton.



homepage: http://waterlan.home.xs4all.nl/
license: GPL-2.


--
Erwin Waterlander

--
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



[ANNOUNCEMENT] Updated: wcd 5.3.2-1 -- Wherever Change Directory

2016-02-20 Thread waterlan

CHANGES SINCE LAST RELEASE:
===


New upstream release.

  * New simplified Chinese translation of the messages.

http://waterlan.home.xs4all.nl/wcd/doc/whatsnew.txt



DESCRIPTION:


Wcd is a command-line program to change directory fast. It saves time 
typing at the keyboard. One needs to type only a part of a directory 
name and wcd will jump to it. Wcd has a fast selection method in case of 
multiple matches and allows aliasing and banning of directories. Wcd 
also includes a full screen interactive directory tree browser with 
speed search.


Wcd was modeled after Norton Change Directory (NCD). NCD appeared first 
in The Norton Utilities, Release 4, for DOS in 1987, published by Peter 
Norton.



homepage: http://waterlan.home.xs4all.nl/
license: GPL-2.


--
Erwin Waterlander

--
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



Re: [ANNOUNCEMENT] dosbox 0.74-2

2016-02-16 Thread waterlan

Andrey Repin schreef op 2016-02-16 18:47:

Greetings, waterlan!


I run DosBOX-win32 directly on 64 bit Windows. No need for a Cygwin
POSIX layer here.


You could say the same of many packages.  If you want to run MinGW or
MSYS, go right ahead.  If you want to use Cygwin as an environment in
and of its own, then the more packages therein the better.



I agree with you, but I can't see the advantage for DosBOX.


I don't see a disadvantage either. So, what was your problem, again?
It is not like anyone forcing you to install it, right?


I don't have a problem with it. I was only wondering if anyone would use 
it.



--
Erwin

--
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



Re: [ANNOUNCEMENT] dosbox 0.74-2

2016-02-15 Thread waterlan

Yaakov Selkowitz schreef op 2016-02-16 01:03:

On 2016-02-15 17:46, waterlan wrote:

Yaakov Selkowitz schreef op 2016-02-15 21:12:

On 2016-02-15 13:41, Erwin Waterlander wrote:

Why would anyone run DosBOX under Cygwin???


64-bit Windows versions do not have any compatibility layer for DOS
programs.


I run DosBOX-win32 directly on 64 bit Windows. No need for a Cygwin
POSIX layer here.


You could say the same of many packages.  If you want to run MinGW or
MSYS, go right ahead.  If you want to use Cygwin as an environment in
and of its own, then the more packages therein the better.


I agree with you, but I can't see the advantage for DosBOX. I would also 
not run Wine or VirtualBox under Cygwin. It only adds slowness.


Thanks for porting anyway. It demonstrates how mature Cygwin is.

best regards,

--
Erwin

--
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



Re: [ANNOUNCEMENT] dosbox 0.74-2

2016-02-15 Thread waterlan

Yaakov Selkowitz schreef op 2016-02-15 21:12:

On 2016-02-15 13:41, Erwin Waterlander wrote:

Why would anyone run DosBOX under Cygwin???


64-bit Windows versions do not have any compatibility layer for DOS 
programs.


I run DosBOX-win32 directly on 64 bit Windows. No need for a Cygwin 
POSIX layer here.


--
Erwin

--
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



Re: git adds group execution permission to files.

2015-12-21 Thread waterlan

Ken Brown schreef op 2015-12-21 04:02:

On 12/20/2015 5:50 PM, Erwin Waterlander wrote:

Hi,

When I clone a git repo in Cygwin all files get execution permission 
for

the group.
I can remove the execution permissions by hand. When I pull a new
update, the group execute permission is back for the new files.
How can I fix this?


Try this:

  https://cygwin.com/faq/faq.html#faq.using.same-with-permissions

Ken


Thanks a lot!. That helps.

best regards,

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



[ANNOUNCEMENT] Updated: libunistring 0.9.6-1

2015-10-17 Thread waterlan

libunistring (source package)
libunistring2 (runtime library)
libunistring-devel (development library and include files)
libunistring-doc (documentation)


CHANGES:


New in 0.9.6:
* The data tables and line breaking algorithm have been updated to 
Unicode

  version 8.0.0.

http://git.savannah.gnu.org/cgit/libunistring.git/tree/NEWS


DESCRIPTION:



Text files are nowadays usually encoded in Unicode, and may consist of 
very different scripts – from Latin letters to Chinese Hanzi –, with 
many kinds of special characters – accents, right-to-left writing marks, 
hyphens, Roman numbers, and much more. But the POSIX platform APIs for 
text do not contain adequate functions for dealing with particular 
properties of many Unicode characters. In fact, the POSIX APIs for text 
have several assumptions at their base which don't hold for Unicode 
text.


This library provides functions for manipulating Unicode strings and for 
manipulating C strings according to the Unicode standard.


homepage: http://www.gnu.org/s/libunistring/
license: LGPL


DETAILS:



This library consists of the following parts:

 elementary string functions
 conversion from/to legacy encodings
 formatted output to strings
 character names
 character classification and properties
 string width when using nonproportional fonts
 word breaks
 line breaking algorithm
 normalization (composition and decomposition)
 case folding
 regular expressions (not yet implemented)
 grapheme cluster breaking



Who needs libunistring?
===


libunistring is for you if your application involves non-trivial text 
processing, such as upper/lower case conversions, line breaking, 
operations on words, or more advanced analysis of text. Text provided by 
the user can, in general, contain characters of all kinds of scripts. 
The text processing functions provided by this library handle all 
scripts and all languages.


libunistring is for you if your application already uses the ISO C / 
POSIX ,  functions and the text it operates on is 
provided by the user and can be in any language.


libunistring is also for you if your application uses Unicode strings as 
internal in-memory representation



--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: [ANNOUNCEMENT] Updated: man-db-2.7.1-1

2015-04-19 Thread waterlan

Yaakov Selkowitz schreef op 2015-04-18 00:12:

The following package has been updated in the Cygwin distribution:

* man-db-2.7.1-1

man-db is an implementation of the standard Unix documentation system
accessed using the man command. It uses an embedded database in place 
of

the traditional flat-text whatis databases.

This is an update to the latest upstream release.  The default
man_db.conf has been changed to support SECTIONs 0p, 1p, and 3p for
POSIX documentation.



Thanks.

Note this change in 2.7.0:


Major changes since man-db 2.6.7.1:

Upgrading from previous versions:
-

For the first time since version 2.4.0, the database format has
changed slightly, so you will need to run 'mandb --create' after
installing the new version to rebuild your databases from scratch.


All changes, see: http://git.savannah.gnu.org/cgit/man-db.git/tree/NEWS


--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: [ANNOUNCEMENT] Updated: perl-5.14.4-3

2015-03-15 Thread waterlan

Achim Gratz schreef op 2015-03-15 19:25:

Erwin Waterlander writes:


I also don't like all the ampersand codes that perl 5.18 produces
instead of UTF-8.


From the standpoint of HTTP server and browser compatibility these are
better on the other hand.


I would expect that all browsers support utf8 by now, but OK. When you 
open such an html file in a text editor to inspect, it is totally 
unreadable.


regards,

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



[ANNOUNCEMENT] Updated: libunistring 0.9.4-1

2014-09-23 Thread waterlan

libunistring (source package)
libunistring2 (runtime library)
libunistring-devel (development library and include files)
libunistring-doc (documentation)


CHANGES:


Runtime library version bump, from 0 to 2.

http://git.savannah.gnu.org/cgit/libunistring.git/tree/NEWS


DESCRIPTION:



Text files are nowadays usually encoded in Unicode, and may consist of 
very different scripts – from Latin letters to Chinese Hanzi –, with 
many kinds of special characters – accents, right-to-left writing marks, 
hyphens, Roman numbers, and much more. But the POSIX platform APIs for 
text do not contain adequate functions for dealing with particular 
properties of many Unicode characters. In fact, the POSIX APIs for text 
have several assumptions at their base which don't hold for Unicode 
text.


This library provides functions for manipulating Unicode strings and for 
manipulating C strings according to the Unicode standard.


homepage: http://www.gnu.org/s/libunistring/
license: LGPL


DETAILS:



This library consists of the following parts:

 elementary string functions
 conversion from/to legacy encodings
 formatted output to strings
 character names
 character classification and properties
 string width when using nonproportional fonts
 word breaks
 line breaking algorithm
 normalization (composition and decomposition)
 case folding
 regular expressions (not yet implemented)
 grapheme cluster breaking



Who needs libunistring?
===


libunistring is for you if your application involves non-trivial text 
processing, such as upper/lower case conversions, line breaking, 
operations on words, or more advanced analysis of text. Text provided by 
the user can, in general, contain characters of all kinds of scripts. 
The text processing functions provided by this library handle all 
scripts and all languages.


libunistring is for you if your application already uses the ISO C / 
POSIX ,  functions and the text it operates on is 
provided by the user and can be in any language.


libunistring is also for you if your application uses Unicode strings as 
internal in-memory representation



--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 & man-db limitation

2014-08-17 Thread waterlan

Marco Atzeri schreef op 2014-08-16 17:44:

On 16/08/2014 15:26, Marco Atzeri wrote:




3rd and final (I hope),
the reason way only u2d man page has problem

mandb: warning: /usr/share/man/man1/u2d.1.gz: bad symlink or ROFF `.so' 
request


it is because it has a double redirection while
all the other pages have a single ".so" redirection


d2u.1.gz .so dos2unix.1
mac2unix.1.gz.so dos2unix.1
u2d.1.gz .so unix2dos.1
unix2dos.1.gz.so dos2unix.1
unix2mac.1.gz.so dos2unix.1

u2d.1.gz .so unix2dos.1
 -> unix2dos.1.gz.so dos2unix.1
   -> dos2unix.1.gz   the_real_page

$ ls -l *unix*
-rw-r--r-- 1 marco None 7143 Aug  5 00:31 dos2unix.1.gz
-rw-r--r-- 1 marco None   46 Aug  5 00:31 mac2unix.1.gz
-rw-r--r-- 1 marco None   46 Aug  5 00:31 unix2dos.1.gz
-rw-r--r-- 1 marco None   46 Aug  5 00:31 unix2mac.1.gz


So it is a limitation of man-db but the workaround is very simple

$ cp d2u.1.gz u2d.1.gz



Hi Marco,

Thanks for the report. In the next release I link u2d.1.gz directly to 
dos2unix.1.gz.


On Linux the d2u and u2d links are not installed. This is only done on 
Cygwin, because the previous dos2unix implementation (part of cygutils) 
used to have these commands.


regards,

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: [ANNOUNCEMENT] New package: man-db-2.6.7-1

2014-06-18 Thread waterlan

Chris J. Breisch schreef op 2014-06-18 03:01:

Version 2.6.7-1 of "man-db" has been uploaded.

DESCRIPTION
===
man-db is an implementation of the standard Unix documentation system
accessed using the man command. It uses a Berkeley DB database in
place of the traditional flat-text whatis databases.

HOMEPAGE

http://www.nongnu.org/man-db/



Thanks Chris. The international man pages are displayed correctly now on 
Cygwin.


best regards,

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: Cygwin needs a man-db port

2014-04-30 Thread waterlan

waterlan schreef op 2014-04-25 00:10:

waterlan schreef op 2014-04-24 21:43:

Chris J. Breisch schreef op 2014-04-17 20:32:

Erwin Waterlander wrote:

Hi,

The major linux distributions have switched for their man system to
'man-db' (http://man-db.nongnu.org/) in favour of the classic man.

I think that Cygwin should also switch to man-db. man-db is much 
better

in handling man pages in different encoding.

Before man-db, libpipeline (http://libpipeline.nongnu.org/) needs to 
be

ported, because man-db uses it.

I have tried to port man-db to Cygwin, but I did not succeed. I got
stuck in libpipeline. Did anyone else succeed?



Yes. And I agree this is a good idea.

Dependencies: gdbm, libpipeline

Build dependencies: pkgconfig, check, and the typical build stuff
(make, gcc, etc.)

As I indicated earlier, I believe the current version of check is not
working properly.

Check-0.9.12 seems to work out-of-the-box. Configure with 
--prefix=/usr.


"make check" on check reports all tests passed, despite what appear 
to
be some failures. The CHANGELOG says that this version should pass 
all

tests on Cygwin. I've just subscribed to the mailing list and will
check on whether these failures can be ignored or not. Still, it
definitely appears to work better than the version we have now, which
only passes 1 test in the test suite.

Libpipeline-1.3.0 seems to work out-of-the-box. Configure with 
--prefix=/usr.


Oddly a "make check" for libpipeline-1.3.0 doesn't appear to actually
do anything. This was not the case for earlier versions of
libpipeline. Well, that's one way of getting rid of the test 
failures,

I guess.

Man-db-2.6.7 appears to work out-of-the-box.

Configuring man-db is a little harder than the other two.

../man-db-2.6.7/configure --prefix=/usr --disable-setuid
--docdir=/usr/share/doc/man-db


When I run that I get this error:

checking for db1/db.h... no
checking ndbm.h usability... no
checking ndbm.h presence... no
checking for ndbm.h... no
configure: error: Fatal: no supported database library/header found



I needed to install gdbm-devel and then I could install man-db.




If you don't add the --disable-setuid, you'll need to add a "man" 
user

to your system. If you're not using Corinna's snapshots, you'll need
to add the user to /etc/passwd as well.

I'm not sure about the --docdir switch. That seemed to be consistent
with Cygwin, but an actual package maintainer would be a better 
source

of info on this.

A couple of warnings are generated:

*** Warning: This system can not link to static lib archive
/usr/lib/libpipeline.la.
*** I have the capability to make that library automatically link in 
when

*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

and a similar one for libman.la.


I had the same warnings.


I do have shared versions of these libraries, so I'm not sure why the
warnings appear. I seem to recall a thread about something similar
recently in the Cygwin mailing lists. I may go back and check.

Once installed, you'll want to do a 'mandb -c' to create the 
database.

It will report numerous warnings which can generally be ignored. See
the manpage on mandb. This takes a while.


I got a couple of warnings. Not very much.


When new packages are added or updated on your system, you should run
'mandb -c' again. This seems like something that should be part of
postinstall.


Hi,

A 'mandb -c' takes quite a long time. That can be pretty annoying during 
an install. Perhaps it is not needed. If you don't do it the cache will 
fill as you use man-db (I guess). You don't need all man pages in a 
cache.




I did not do that.

As far as I could see man-db worked very well. It displayed UTF-8,
Latin-1, and KOI8-R encoded man pages correctly.

I only tried 32 bit. I used
check 0.9.12
libpipeline 1.3.0
man-db 2.6.7.1

best regards,



My 32-bit Cygwin install has a lot of gzipped files and the
uncompressed versions under /usr/share/man. mandb didn't like that at
all. That is probably something I did and not a Cygwin problem.

Note that I've done only the most minimal of testing. make check
passes for man-db and I've opened a few man pages. They seem to work.

Obviously, someone with decision making power should decide if this 
is

something we want to add to Cygwin. My vote is yes, but that's just
one vote. Or maybe even zero. I'm not sure I get a vote. :)

Also obviously, if the decision is to go forward, these three items
need to be packaged up appropriately and a package maintainer
assigned. Check is already a Cygwin package, but needs updating.

Somehow I have a feeling about who will be nominated for this task.


We can share the burden. I'm willing to package libpipeline. This 
package can be installed without harming anything. I wil

Re: Cygwin needs a man-db port

2014-04-24 Thread waterlan

waterlan schreef op 2014-04-24 21:43:

Chris J. Breisch schreef op 2014-04-17 20:32:

Erwin Waterlander wrote:

Hi,

The major linux distributions have switched for their man system to
'man-db' (http://man-db.nongnu.org/) in favour of the classic man.

I think that Cygwin should also switch to man-db. man-db is much 
better

in handling man pages in different encoding.

Before man-db, libpipeline (http://libpipeline.nongnu.org/) needs to 
be

ported, because man-db uses it.

I have tried to port man-db to Cygwin, but I did not succeed. I got
stuck in libpipeline. Did anyone else succeed?



Yes. And I agree this is a good idea.

Dependencies: gdbm, libpipeline

Build dependencies: pkgconfig, check, and the typical build stuff
(make, gcc, etc.)

As I indicated earlier, I believe the current version of check is not
working properly.

Check-0.9.12 seems to work out-of-the-box. Configure with 
--prefix=/usr.


"make check" on check reports all tests passed, despite what appear to
be some failures. The CHANGELOG says that this version should pass all
tests on Cygwin. I've just subscribed to the mailing list and will
check on whether these failures can be ignored or not. Still, it
definitely appears to work better than the version we have now, which
only passes 1 test in the test suite.

Libpipeline-1.3.0 seems to work out-of-the-box. Configure with 
--prefix=/usr.


Oddly a "make check" for libpipeline-1.3.0 doesn't appear to actually
do anything. This was not the case for earlier versions of
libpipeline. Well, that's one way of getting rid of the test failures,
I guess.

Man-db-2.6.7 appears to work out-of-the-box.

Configuring man-db is a little harder than the other two.

../man-db-2.6.7/configure --prefix=/usr --disable-setuid
--docdir=/usr/share/doc/man-db


When I run that I get this error:

checking for db1/db.h... no
checking ndbm.h usability... no
checking ndbm.h presence... no
checking for ndbm.h... no
configure: error: Fatal: no supported database library/header found



I needed to install gdbm-devel and then I could install man-db.





If you don't add the --disable-setuid, you'll need to add a "man" user
to your system. If you're not using Corinna's snapshots, you'll need
to add the user to /etc/passwd as well.

I'm not sure about the --docdir switch. That seemed to be consistent
with Cygwin, but an actual package maintainer would be a better source
of info on this.

A couple of warnings are generated:

*** Warning: This system can not link to static lib archive
/usr/lib/libpipeline.la.
*** I have the capability to make that library automatically link in 
when

*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

and a similar one for libman.la.


I had the same warnings.


I do have shared versions of these libraries, so I'm not sure why the
warnings appear. I seem to recall a thread about something similar
recently in the Cygwin mailing lists. I may go back and check.

Once installed, you'll want to do a 'mandb -c' to create the database.
It will report numerous warnings which can generally be ignored. See
the manpage on mandb. This takes a while.


I got a couple of warnings. Not very much.


When new packages are added or updated on your system, you should run
'mandb -c' again. This seems like something that should be part of
postinstall.


I did not do that.

As far as I could see man-db worked very well. It displayed UTF-8, 
Latin-1, and KOI8-R encoded man pages correctly.


I only tried 32 bit. I used
check 0.9.12
libpipeline 1.3.0
man-db 2.6.7.1

best regards,



My 32-bit Cygwin install has a lot of gzipped files and the
uncompressed versions under /usr/share/man. mandb didn't like that at
all. That is probably something I did and not a Cygwin problem.

Note that I've done only the most minimal of testing. make check
passes for man-db and I've opened a few man pages. They seem to work.

Obviously, someone with decision making power should decide if this is
something we want to add to Cygwin. My vote is yes, but that's just
one vote. Or maybe even zero. I'm not sure I get a vote. :)

Also obviously, if the decision is to go forward, these three items
need to be packaged up appropriately and a package maintainer
assigned. Check is already a Cygwin package, but needs updating.

Somehow I have a feeling about who will be nominated for this task.

What minimal testing I have done has been on both 32-bit and 64-bit
Cygwin 1.7.29.


--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: Cygwin needs a man-db port

2014-04-24 Thread waterlan

Chris J. Breisch schreef op 2014-04-17 20:32:

Erwin Waterlander wrote:

Hi,

The major linux distributions have switched for their man system to
'man-db' (http://man-db.nongnu.org/) in favour of the classic man.

I think that Cygwin should also switch to man-db. man-db is much 
better

in handling man pages in different encoding.

Before man-db, libpipeline (http://libpipeline.nongnu.org/) needs to 
be

ported, because man-db uses it.

I have tried to port man-db to Cygwin, but I did not succeed. I got
stuck in libpipeline. Did anyone else succeed?



Yes. And I agree this is a good idea.

Dependencies: gdbm, libpipeline

Build dependencies: pkgconfig, check, and the typical build stuff
(make, gcc, etc.)

As I indicated earlier, I believe the current version of check is not
working properly.

Check-0.9.12 seems to work out-of-the-box. Configure with 
--prefix=/usr.


"make check" on check reports all tests passed, despite what appear to
be some failures. The CHANGELOG says that this version should pass all
tests on Cygwin. I've just subscribed to the mailing list and will
check on whether these failures can be ignored or not. Still, it
definitely appears to work better than the version we have now, which
only passes 1 test in the test suite.

Libpipeline-1.3.0 seems to work out-of-the-box. Configure with 
--prefix=/usr.


Oddly a "make check" for libpipeline-1.3.0 doesn't appear to actually
do anything. This was not the case for earlier versions of
libpipeline. Well, that's one way of getting rid of the test failures,
I guess.

Man-db-2.6.7 appears to work out-of-the-box.

Configuring man-db is a little harder than the other two.

../man-db-2.6.7/configure --prefix=/usr --disable-setuid
--docdir=/usr/share/doc/man-db


When I run that I get this error:

checking for db1/db.h... no
checking ndbm.h usability... no
checking ndbm.h presence... no
checking for ndbm.h... no
configure: error: Fatal: no supported database library/header found




If you don't add the --disable-setuid, you'll need to add a "man" user
to your system. If you're not using Corinna's snapshots, you'll need
to add the user to /etc/passwd as well.

I'm not sure about the --docdir switch. That seemed to be consistent
with Cygwin, but an actual package maintainer would be a better source
of info on this.

A couple of warnings are generated:

*** Warning: This system can not link to static lib archive
/usr/lib/libpipeline.la.
*** I have the capability to make that library automatically link in 
when

*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

and a similar one for libman.la.

I do have shared versions of these libraries, so I'm not sure why the
warnings appear. I seem to recall a thread about something similar
recently in the Cygwin mailing lists. I may go back and check.

Once installed, you'll want to do a 'mandb -c' to create the database.
It will report numerous warnings which can generally be ignored. See
the manpage on mandb. This takes a while.

When new packages are added or updated on your system, you should run
'mandb -c' again. This seems like something that should be part of
postinstall.

My 32-bit Cygwin install has a lot of gzipped files and the
uncompressed versions under /usr/share/man. mandb didn't like that at
all. That is probably something I did and not a Cygwin problem.

Note that I've done only the most minimal of testing. make check
passes for man-db and I've opened a few man pages. They seem to work.

Obviously, someone with decision making power should decide if this is
something we want to add to Cygwin. My vote is yes, but that's just
one vote. Or maybe even zero. I'm not sure I get a vote. :)

Also obviously, if the decision is to go forward, these three items
need to be packaged up appropriately and a package maintainer
assigned. Check is already a Cygwin package, but needs updating.

Somehow I have a feeling about who will be nominated for this task.

What minimal testing I have done has been on both 32-bit and 64-bit
Cygwin 1.7.29.


--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: Cygwin needs a man-db port

2014-04-24 Thread waterlan

Chris J. Breisch schreef op 2014-04-23 17:18:

Chris J. Breisch wrote:


Check-0.9.12 seems to work out-of-the-box. Configure with 
--prefix=/usr.


"make check" on check reports all tests passed, despite what appear to
be some failures. The CHANGELOG says that this version should pass all
tests on Cygwin. I've just subscribed to the mailing list and will 
check

on whether these failures can be ignored or not. Still, it definitely
appears to work better than the version we have now, which only passes 
1

test in the test suite.


Just to follow-up on this a bit more.

I misunderstood the results from check's check. I should learn just to
trust the summary results. The tests passed.


Libpipeline-1.3.0 seems to work out-of-the-box. Configure with
--prefix=/usr.

Oddly a "make check" for libpipeline-1.3.0 doesn't appear to actually 
do

anything. This was not the case for earlier versions of libpipeline.
Well, that's one way of getting rid of the test failures, I guess.



I must have done something wrong in the build before I sent this.
Re-building libpipeline does cause 'make check' to execute the tests.
I got one failure. I've talked to the owner of the project, and he's
sent me a patch that does eliminate the failure. So I now have a
libpipeline where all tests pass under Cygwin.


Hi Chris,

Would you like to send the patch to me?



I still get the shared library warnings when building man-db. I
haven't yet investigated that.


regards,

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



[ANNOUNCEMENT] Updated: dos2unix 6.0.5-1

2014-04-22 Thread waterlan

CHANGES SINCE LAST RELEASE:
===


New upstream release.
  * Dos2unix is part of the Translation Project (TP).
All translations go via the Translation Project.
See http://translationproject.org/
  * New translations of UI messages: Brazilian Portuguese, Chinese 
(traditional),

Danish, French, Hungarian, Polish, Serbian, Ukrainian, Vietnamese.
  * New translations of the manual: Brazilian Portuguese, French, 
German,

Polish, Ukrainian.
  * Generated man pages are included in the source package to prevent
compilation problems with very old or very new perl/pod2man 
versions.

  * Manuals are now generated from gettext PO files with po4a for easier
translation.
  * All manuals are now in UTF-8 encoding.
  * Skip symbolic links on Windows by default (same as on Unix).


INTERNATIONAL MAN PAGES
===

Since dos2unix 6.0.5 all man pages are encoded in UTF-8, because 
even
Western-European man pages may contain Unicode characters not 
supported by

the Latin-1 (ISO-8859-1) character set.

In order to show UTF-8 man pages properly on Cygwin you need to do 
the

following:

In /etc/man.conf, change the NROFF definition to use 'preconv'.

NROFF/usr/bin/preconv | /usr/bin/nroff -c -mandoc 
2>/dev/null


To view the man page set the correct locale. E.g. for Ukrainian:

export LANG=uk_UA.UTF-8
man dos2unix



DESCRIPTION:



This is an update of Benjamin Lin's implementations of dos2unix and
unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos are
part of several Linux distributions such as RedHat, Fedora, Suse, Gentoo
and others. This update includes all RedHat patches and fixes several
other problems. Internationalization has been added and ports to DOS,
Windows, Cygwin and OS/2 Warp have been made.


These implementations of dos2unix and unix2dos have been modelled after
dos2unix/unix2dos under SunOS/Solaris. They have similar conversion
modes, namely ascii, 7bit and iso. The first versions were made by John
Birchfield in 1989, and in 1995 rewritten from scratch by Benjamin Lin.
Mac to Unix conversion was added by Bernd Johannes Wuebben in 1998, Unix
to Mac by Erwin in 2010.


Features

* Native language support: Dutch, English, Esperanto, German,
  Russian, Spanish.
* Automatically skips binary and non-regular files
* In-place, paired, or stdio mode conversion.
* Keep original file dates option.
* 7-bit and iso conversion modes like SunOS dos2unix.
* Conversion of Windows UTF-16 files to Unix UTF-8.
* Handles Unicode Byte Order Mark (BOM)
* Secure.

homepage: http://waterlan.home.xs4all.nl/dos2unix.html
license: 2-clause BSD (FreeBSD)


--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



Re: Cygwin needs a man-db port

2014-04-21 Thread waterlan

Chris J. Breisch schreef op 2014-04-17 20:32:

Erwin Waterlander wrote:

Hi,

The major linux distributions have switched for their man system to
'man-db' (http://man-db.nongnu.org/) in favour of the classic man.

I think that Cygwin should also switch to man-db. man-db is much 
better

in handling man pages in different encoding.

Before man-db, libpipeline (http://libpipeline.nongnu.org/) needs to 
be

ported, because man-db uses it.

I have tried to port man-db to Cygwin, but I did not succeed. I got
stuck in libpipeline. Did anyone else succeed?



Yes. And I agree this is a good idea.

Dependencies: gdbm, libpipeline

Build dependencies: pkgconfig, check, and the typical build stuff
(make, gcc, etc.)

As I indicated earlier, I believe the current version of check is not
working properly.

Check-0.9.12 seems to work out-of-the-box. Configure with 
--prefix=/usr.



Hi Yaakov,

Would you like to update check to version 0.9.12?

best regards,

Erwin




"make check" on check reports all tests passed, despite what appear to
be some failures. The CHANGELOG says that this version should pass all
tests on Cygwin. I've just subscribed to the mailing list and will
check on whether these failures can be ignored or not. Still, it
definitely appears to work better than the version we have now, which
only passes 1 test in the test suite.

Libpipeline-1.3.0 seems to work out-of-the-box. Configure with 
--prefix=/usr.


Oddly a "make check" for libpipeline-1.3.0 doesn't appear to actually
do anything. This was not the case for earlier versions of
libpipeline. Well, that's one way of getting rid of the test failures,
I guess.

Man-db-2.6.7 appears to work out-of-the-box.

Configuring man-db is a little harder than the other two.

../man-db-2.6.7/configure --prefix=/usr --disable-setuid
--docdir=/usr/share/doc/man-db

If you don't add the --disable-setuid, you'll need to add a "man" user
to your system. If you're not using Corinna's snapshots, you'll need
to add the user to /etc/passwd as well.

I'm not sure about the --docdir switch. That seemed to be consistent
with Cygwin, but an actual package maintainer would be a better source
of info on this.

A couple of warnings are generated:

*** Warning: This system can not link to static lib archive
/usr/lib/libpipeline.la.
*** I have the capability to make that library automatically link in 
when

*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

and a similar one for libman.la.

I do have shared versions of these libraries, so I'm not sure why the
warnings appear. I seem to recall a thread about something similar
recently in the Cygwin mailing lists. I may go back and check.

Once installed, you'll want to do a 'mandb -c' to create the database.
It will report numerous warnings which can generally be ignored. See
the manpage on mandb. This takes a while.

When new packages are added or updated on your system, you should run
'mandb -c' again. This seems like something that should be part of
postinstall.

My 32-bit Cygwin install has a lot of gzipped files and the
uncompressed versions under /usr/share/man. mandb didn't like that at
all. That is probably something I did and not a Cygwin problem.

Note that I've done only the most minimal of testing. make check
passes for man-db and I've opened a few man pages. They seem to work.

Obviously, someone with decision making power should decide if this is
something we want to add to Cygwin. My vote is yes, but that's just
one vote. Or maybe even zero. I'm not sure I get a vote. :)

Also obviously, if the decision is to go forward, these three items
need to be packaged up appropriately and a package maintainer
assigned. Check is already a Cygwin package, but needs updating.

Somehow I have a feeling about who will be nominated for this task.

What minimal testing I have done has been on both 32-bit and 64-bit
Cygwin 1.7.29.


--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



[ANNOUNCEMENT] Updated: dos2unix 5.3.3-1

2012-03-12 Thread waterlan

CHANGES SINCE LAST RELEASE:
===

New upstream release.
 * Enabled wildcard expansion for all versions.
 * Fixed a compilation error when debug was enabled.

DESCRIPTION:


This is an update of Benjamin Lin's implementations of dos2unix and
unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos are 
part

of several Linux distributions such as RedHat, Fedora, Suse, Gentoo and
others. This update includes all RedHat patches and fixes several other
problems. Internationalization has been added and ports to DOS, 
Windows,

Cygwin and OS/2 Warp have been made.
Lately this version of dos2unix was also added to Debian, Ubuntu, 
Slackware

and Arch Linux.

These implementations of dos2unix and unix2dos have been modelled after
dos2unix/unix2dos under SunOS/Solaris. They have similar conversion 
modes,
namely ascii, 7bit and iso. The first versions were made by John 
Birchfield
in 1989, and in 1995 rewritten from scratch by Benjamin Lin. Mac to 
Unix

conversion was added by Bernd Johannes Wuebben in 1998, Unix to Mac by
Erwin in 2010.

Features

* Native language support: Dutch, English, Esperanto, German, Spanish.
* Automatically skips binary and non-regular files
* In-place, paired, or stdio mode conversion.
* Keep original file dates option.
* 7-bit and iso conversion modes like SunOS dos2unix.

homepage: http://waterlan.home.xs4all.nl/dos2unix.html
license: 2-clause BSD (FreeBSD)

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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



[ANNOUNCEMENT] Updated: dos2unix 5.3.2-1

2012-01-30 Thread waterlan

CHANGES SINCE LAST RELEASE:
===

New upstream release.
  * New homepage URL: http://waterlan.home.xs4all.nl/dos2unix.html
  * Compiles for native MSYS.
  * Compile with OpenWatcom for DOS32 and Win32.
  * Detect code page on OS/2.
  * Support wild cards on OS/2.

DESCRIPTION:


This is an update of Benjamin Lin's implementations of dos2unix and 
unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos are 
part of several Linux distributions such as RedHat, Fedora, Suse, Gentoo 
and others. This update includes all RedHat patches and fixes several 
other problems. Internationalization has been added and ports to DOS, 
Windows, Cygwin and OS/2 Warp have been made.
Lately this version of dos2unix was also added to Debian, Ubuntu, 
Slackware and Arch Linux.


These implementations of dos2unix and unix2dos have been modelled after 
dos2unix/unix2dos under SunOS/Solaris. They have similar conversion 
modes, namely ascii, 7bit and iso. The first versions were made by John 
Birchfield in 1989, and in 1995 rewritten from scratch by Benjamin Lin. 
Mac to Unix conversion was added by Bernd Johannes Wuebben in 1998, Unix 
to Mac by Erwin in 2010.


Features

* Native language support: Dutch, English, Esperanto, German, Spanish.
* Automatically skips binary and non-regular files
* In-place, paired, or stdio mode conversion.
* Keep original file dates option.
* 7-bit and iso conversion modes like SunOS dos2unix.

homepage: http://waterlan.home.xs4all.nl/dos2unix.html
license: 2-clause BSD (FreeBSD)

--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
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