Re: Frequent Warning messages using gv

2022-10-08 Thread Brian Inglis

On Sat, 8 Oct 2022 13:09:47 -0400, Ken Brown wrote:

On 10/8/2022 9:01 AM, Jon Turney wrote:
Installing 'xorg-x11-fonts-dpi75' and/or 'xorg-x11-fonts-dpi100' will 
probably resolve these warnings.
It's unclear to me if gv needs a dependency on more font packages or 
not, since the PS could be using any fonts?



I could go either way on this. On the one hand, gv is a postscript
viewer and has no control over what fonts it might be asked to
display.  On the other hand, gv is intended to be run under X11, so
maybe it should require the most basic X11 fonts.


gv requires ghostscript which requires ghostscript-fonts-other and 
urw-base35-fonts which should provide a fallback from Helvetica to Nimbus.
Perhaps for older apps and documents urw-base35-fonts-legacy could or 
should (also) be included?
Could that solve the problem, or would it still require 
xorg-x11-fonts-dpi{75,100)?


--
La perfection est atteinte,
non pas lorsqu'il n'y a plus rien à ajouter,
mais lorsqu'il n'y a plus rien à retirer.
-- Antoine de Saint-Exupéry

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Frequent Warning messages using gv

2022-10-08 Thread Fergus Daly
Thank you.
Installing these two packages has done the trick, at least for the several 
files that previously generated warning messages.

Sent via Outlook on my Asus ZenFone 8

From: Jon Turney 
Sent: Saturday, October 8, 2022 2:01:50 PM
To: Fergus Daly ; The Cygwin Mailing List 

Subject: Re: Frequent Warning messages using gv

On 05/10/2022 06:45, Fergus Daly wrote:
> Whenever I use gv on a PostScript file as in
> $ gv filename.ps
> then a (usually) successful display is (almost invariably) accompanied by 
> Warning messages about font conversions.
> It is not obvious what limitations or errors are affecting the displayed 
> output, if any, and I have got into the habit
> of issuing the command with the qualifier
> $ gv filename.ps 2> /dev/null
> However: the Warning messages whilst occasionally very esoteric nearly always 
> include the form
> Warning: Missing charsets in String to FontSet conversion
> Warning: Cannot convert string 
> "-*-Helvetica-Bold-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
> Warning: Cannot convert string 
> "-*-Helvetica-Medium-R-Normal--*-100-*-*-P-*-ISO8859-1" to type FontStruct
> Warning: Cannot convert string 
> "-*-Helvetica-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
> Warning: Cannot convert string 
> "-*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1" to type FontStruct
> Is there some additional fonts package or group of packages that I could 
> usefully incorporate into my Cygwin setup that
> would reduce warnings when using gv? (And maybe improve the rendering of 
> outputs.)
> My directory /usr/share/fonts/microsoft/ contains 120+ ttf links, though none 
> looking anything like helv*.

Installing 'xorg-x11-fonts-dpi75' and/or 'xorg-x11-fonts-dpi100' will
probably resolve these warnings.

It's unclear to me if gv needs a dependency on more font packages or
not, since the PS could be using any fonts?


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] Updated: Perl distributions

2022-10-08 Thread Achim Gratz


The following Perl distributions have been updated to their latest
release version available on CPAN:

x86/x86_64
--
 perl-Net-DNS-SEC-1.20-1

noarch
--
 perl-Alien-Build-2.71-1
 perl-HTTP-Message-6.39-1
 perl-Net-DNS-1.35-1
 perl-URI-5.13-1

-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken

2022-10-08 Thread Ken Brown

On 10/3/2022 12:59 PM, Hans Henrik Bergan wrote:

@Ken Brown

I don't think you wrote what you meant. You're not saying that explicitly specifying the 
default value changes the behavior, are you? Maybe you meant to say that the default mode 
is "r"?


sorry about that, i meant "ab" makes the code work.

@Andrey Repin

php -d 'display_errors=stderr'
?


adding -d 'display_errors=stderr'  does not make any difference. still
int(0) NULL


Someone needs to debug this.  Unfortunately, php currently has no Cygwin 
maintainer.  Are you able to run php under gdb to see what's going on?  Even 
better, are you interested in taking over as the php maintainer?


If not, I might try debugging this at some point.  But I have quite a bit of 
Real Life going on at the moment, so I don't know when I'll get to it.


Ken

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Frequent Warning messages using gv

2022-10-08 Thread Ken Brown

On 10/8/2022 9:01 AM, Jon Turney wrote:

On 05/10/2022 06:45, Fergus Daly wrote:

Whenever I use gv on a PostScript file as in
$ gv filename.ps
then a (usually) successful display is (almost invariably) accompanied by 
Warning messages about font conversions.
It is not obvious what limitations or errors are affecting the displayed 
output, if any, and I have got into the habit

of issuing the command with the qualifier
$ gv filename.ps 2> /dev/null
However: the Warning messages whilst occasionally very esoteric nearly always 
include the form

Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string 
"-*-Helvetica-Bold-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-Helvetica-Medium-R-Normal--*-100-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-Helvetica-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1" to type FontStruct
Is there some additional fonts package or group of packages that I could 
usefully incorporate into my Cygwin setup that
would reduce warnings when using gv? (And maybe improve the rendering of 
outputs.)
My directory /usr/share/fonts/microsoft/ contains 120+ ttf links, though none 
looking anything like helv*.


Installing 'xorg-x11-fonts-dpi75' and/or 'xorg-x11-fonts-dpi100' will probably 
resolve these warnings.


It's unclear to me if gv needs a dependency on more font packages or not, since 
the PS could be using any fonts?


I could go either way on this.  On the one hand, gv is a postscript viewer and 
has no control over what fonts it might be asked to display.  On the other hand, 
gv is intended to be run under X11, so maybe it should require the most basic 
X11 fonts.


Ken

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Feature request: File descriptor support by sockets.

2022-10-08 Thread Adam Dinwoodie
On Thu, 6 Oct 2022 at 18:37, Darren Whobrey wrote:
>
> Hi, I'm using the latest version of Cygwin (3.3.6) and the Cygwin OpenSSH 
> (OpenSSH_9.0p1, OpenSSL 1.1.1q  5 Jul 2022) version of ssh to talk to hosts 
> using ControlMaster connection sharing. This uses sockets behind the scenes. 
> When ControlMaster is set to no, the connection is successful.
>
> Ssh connections are failing at the point where IO starts to be forwarded to 
> the host.
>
> Here's a snippet of log output from "ssh -vvv some-host":
>
> 
>
> When successful connections are made from an OL7 client (with older version 
> of OpenSSH, but mux commands are similar), comparative logs are:
>
> 
>
> According to this web posting, it suggests the bug lies with "file 
> descriptors over unix sockets do not work in Cygwin":
> https://exchangetuts.com/is-ssh-controlmaster-with-cygwin-on-windows-actually-possible-1639696447917488
>
> Is this something that can be fixed?

I'm very confident it *can* be fixed! But this gap has existed since
at least 2009 (see
https://cygwin.com/pipermail/cygwin/2012-February/15.html and
https://sourceware.org/legacy-ml/cygwin/2009-10/msg00397.html) so I
suspect that, unless you're proposing to do the work or pay someone to
do it on your behalf, it's unlikely to happen any time soon.

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Frequent Warning messages using gv

2022-10-08 Thread Eliot Moss

On 10/8/2022 8:57 AM, Adam Dinwoodie wrote:

On Wed, 5 Oct 2022 at 06:46, Fergus Daly wrote:

Whenever I use gv on a PostScript file as in
$ gv filename.ps
then a (usually) successful display is (almost invariably) accompanied by 
Warning messages about font conversions.
It is not obvious what limitations or errors are affecting the displayed 
output, if any, and I have got into the habit
of issuing the command with the qualifier
$ gv filename.ps 2> /dev/null
However: the Warning messages whilst occasionally very esoteric nearly always 
include the form
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string 
"-*-Helvetica-Bold-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-Helvetica-Medium-R-Normal--*-100-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-Helvetica-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1" to type FontStruct
Is there some additional fonts package or group of packages that I could 
usefully incorporate into my Cygwin setup that
would reduce warnings when using gv? (And maybe improve the rendering of 
outputs.)
My directory /usr/share/fonts/microsoft/ contains 120+ ttf links, though none 
looking anything like helv*.


I doubt it. I'm not familiar with gv, but this looks like you're
trying to process documents that incorporate Helvetica, in a way that
requires having the font files, without having the font files.
Helvetica is a trademark, and the font files are under copyright, so
no Cygwin package is going to be able to include the fonts or even
include substitutes with matching filenames.

You *might* be able to add symlinks from the missing Helvetica files
to more readily available metric-identical alternatives you already
have access to, e.g. Arial, MS Sans Serif, or Liberation Sans.
Otherwise I suspect you need to either avoid processing files that
incorporate fonts you don't own, or buy copies of the relevant
Helvetica typefaces.


Something I might try first is researching how fontconfig can allow
you to set up substitutions.

Cheers - Eliot Moss

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Frequent Warning messages using gv

2022-10-08 Thread Jon Turney

On 05/10/2022 06:45, Fergus Daly wrote:

Whenever I use gv on a PostScript file as in
$ gv filename.ps
then a (usually) successful display is (almost invariably) accompanied by 
Warning messages about font conversions.
It is not obvious what limitations or errors are affecting the displayed 
output, if any, and I have got into the habit
of issuing the command with the qualifier
$ gv filename.ps 2> /dev/null
However: the Warning messages whilst occasionally very esoteric nearly always 
include the form
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string 
"-*-Helvetica-Bold-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-Helvetica-Medium-R-Normal--*-100-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-Helvetica-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1" to type FontStruct
Is there some additional fonts package or group of packages that I could 
usefully incorporate into my Cygwin setup that
would reduce warnings when using gv? (And maybe improve the rendering of 
outputs.)
My directory /usr/share/fonts/microsoft/ contains 120+ ttf links, though none 
looking anything like helv*.


Installing 'xorg-x11-fonts-dpi75' and/or 'xorg-x11-fonts-dpi100' will 
probably resolve these warnings.


It's unclear to me if gv needs a dependency on more font packages or 
not, since the PS could be using any fonts?



--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Frequent Warning messages using gv

2022-10-08 Thread Adam Dinwoodie
On Wed, 5 Oct 2022 at 06:46, Fergus Daly wrote:
> Whenever I use gv on a PostScript file as in
> $ gv filename.ps
> then a (usually) successful display is (almost invariably) accompanied by 
> Warning messages about font conversions.
> It is not obvious what limitations or errors are affecting the displayed 
> output, if any, and I have got into the habit
> of issuing the command with the qualifier
> $ gv filename.ps 2> /dev/null
> However: the Warning messages whilst occasionally very esoteric nearly always 
> include the form
> Warning: Missing charsets in String to FontSet conversion
> Warning: Cannot convert string 
> "-*-Helvetica-Bold-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
> Warning: Cannot convert string 
> "-*-Helvetica-Medium-R-Normal--*-100-*-*-P-*-ISO8859-1" to type FontStruct
> Warning: Cannot convert string 
> "-*-Helvetica-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
> Warning: Cannot convert string 
> "-*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1" to type FontStruct
> Is there some additional fonts package or group of packages that I could 
> usefully incorporate into my Cygwin setup that
> would reduce warnings when using gv? (And maybe improve the rendering of 
> outputs.)
> My directory /usr/share/fonts/microsoft/ contains 120+ ttf links, though none 
> looking anything like helv*.

I doubt it. I'm not familiar with gv, but this looks like you're
trying to process documents that incorporate Helvetica, in a way that
requires having the font files, without having the font files.
Helvetica is a trademark, and the font files are under copyright, so
no Cygwin package is going to be able to include the fonts or even
include substitutes with matching filenames.

You *might* be able to add symlinks from the missing Helvetica files
to more readily available metric-identical alternatives you already
have access to, e.g. Arial, MS Sans Serif, or Liberation Sans.
Otherwise I suspect you need to either avoid processing files that
incorporate fonts you don't own, or buy copies of the relevant
Helvetica typefaces.

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] Test: libreadline{7,-devel} 8.2-2 (TEST)

2022-10-08 Thread Cygwin readline Co-Maintainer
The following test packages have been uploaded to the Cygwin distribution:

* libreadline7  8.2-2
* libreadline-devel 8.2-2

This patch release *2* avoids a crash that could happen with a bad locale.

The readline library will read a line from the terminal and return it,
allowing the user to edit the line with the standard emacs editing keys.
It allows the programmer to give the user an easier-to-use and more
intuitive interface.

Please test this Base category library as extensively as possible
(especially if you are a Cygwin package maintainer) as this package is
used in all installations. 
I have it locally installed so it is getting used by commands, and has
and is getting frequent exercise with no apparent issues so far.
If no issues are reported within a few weeks the package will be
upgraded to current stable.

For more information see the project home pages:

http://tiswww.cwru.edu/php/chet/readline/rltop.html
https://sv.gnu.org/projects/readline/

For changes since the previous Cygwin release please see below or read
/usr/share/doc/readline/NEWS after installation:

https://git.sv.gnu.org/gitweb/?p=readline.git;f=CHANGES;hb=readline-8.2


1. Changes to Readline

a. Fixed a problem with cleaning up active marks when using callback mode.
b. Fixed a problem with arithmetic comparison operators checking the version.
c. Fixed a problem that could cause readline not to build on systems without
   POSIX signal functions.
d. Fixed a bug that could cause readline to crash if the application removed
   the callback line handler before readline read all typeahead.
e. Added additional checks for read errors in the middle of readline commands.
f. Fixed a redisplay problem that occurred when switching from the digit-
   argument prompt `(arg: N)' back to the regular prompt and the regular
   prompt contained invisible characters.
g. Fixed a problem with restoring the prompt when aborting an incremental
   search.
h. Fix a problem with characters > 128 not being displayed correctly in certain
   single-byte encodings.
i. Fixed a problem with unix-filename-rubout that caused it to delete too much
   when applied to a pathname consisting only of one or more slashes.
j. Fixed a display problem that caused the prompt to be wrapped incorrectly if
   the screen changed dimensions during a call to readline() and the prompt
   became longer than the screen width.
k. Fixed a problem that caused the \r output by turning off bracketed paste
   to overwrite the line if terminal echo was disabled.
l. Fixed a bug that could cause colored-completion-prefix to not display if
   completion-prefix-display-length was set.
m. Fixed a problem with line wrapping prompts when a group of invisible
   characters runs to the right edge of the screen and the prompt extends
   longer then the screen width.
n. Fixed a couple problems that could cause rl_end to be set incorrectly by
   transpose-words.
o. Prevent some display problems when running a command as the result of a
   trap or one bound using `bind -x' and the command generates output.
p. Fixed an issue with multi-line prompt strings that have one or more
   invisible characters at the end of a physical line.
q. Fixed an issue that caused a history line's undo list to be cleared when
   it should not have been.
r. When replacing a history entry, make sure the existing entry has a non-NULL
   timestamp before copying it; it may have been added by the application, not
   the history library.

2. New Features in Readline

a. There is now an HS_HISTORY_VERSION containing the version number of the
   history library for applications to use.
b. History expansion better understands multiple history expansions that may
   contain strings that would ordinarily inhibit history expansion (e.g.,
   `abc!$!$').
c. There is a new framework for readline timeouts, including new public
   functions to set timeouts and query how much time is remaining before a
   timeout hits, and a hook function that can trigger when readline times
   out. There is a new state value to indicate a timeout.
d. Automatically bind termcap key sequences for page-up and page-down to
   history-search-backward and history-search-forward, respectively.
e. There is a new `fetch-history' bindable command that retrieves the history
   entry corresponding to its numeric argument. Negative arguments count back
   from the end of the history.
f. `vi-undo' is now a bindable command.
g. There is a new option: `enable-active-region'. This separates control of
   the active region and bracketed-paste. It has the same default value as
   bracketed-paste, and enabling bracketed paste enables the active region.
   Users can now turn off the active region while leaving bracketed paste
   enabled.
h. rl_completer_word_break_characters is now `const char *' like
   rl_basic_word_break_characters.
i. Readline looks in $LS_COLORS for a custom filename extension
   (*.readline-colored-completion-prefix) an

Re: guile 3.0.8: readline does not work - patch with also other fixes

2022-10-08 Thread Brian Inglis

Hi folks,

On my system with over 2K Cygwin packages installed, of which over 900 
are named lib..., there are over 750 simple cygP-[0-9]+.dll including 
cygPV-[0-9]+.dll, over 250 compound version cygPV-M-m.dll, and about 80 
with no -, including about 64 semantic versions:


cygicudata56...70.dll
cygicui18n56...70.dll
cygicuio56...70.dll
cygicuuc56...70.dll
cygicule56.dll
cygicule57.dll
cygiculx56.dll
cygiculx57.dll
cygicutest70.dll
cygicutu70.dll
cygperl5_32.dll
cygruby260.dll

about 16 likely current - age ABI versions:

cygcatgets1.dll
cygfreebl3.dll
cygfreeblpriv3.dll
cyghistory7.dll
cygnspr4.dll
cygnss3.dll
cygnssdbm3.dll
cygnssutil3.dll
cygplc4.dll
cygplds4.dll
cygreadline7.dll
cygsmime3.dll
cygsoftokn3.dll
cygssl3.dll
cygusb0.dll

about a half dozen with no versions:

cyggvfscommon.dll
cyggvfsdaemon.dll
cygnativeGLthunk.dll
cygregina.dll
cygtxc_dxtn.dll
cygz.dll

and the one to rule them all:

cygwin1.dll

The intensely curious can download over 170GB compressed tars and scan 
the over 12000 binary packages available for DLLs. ;^>


--
La perfection est atteinte,
non pas lorsqu'il n'y a plus rien à ajouter,
mais lorsqu'il n'y a plus rien à retirer.
-- Antoine de Saint-Exupéry

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple