public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1
@ 2019-03-02 19:22 Achim Gratz
  2019-03-03  6:01 ` Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1) Tatsuro MATSUOKA
  0 siblings, 1 reply; 12+ messages in thread
From: Achim Gratz @ 2019-03-02 19:22 UTC (permalink / raw)
  To: cygwin


Gnuplot version 5.2.6 is available as a release version on Cygwin now.


Notes:
------

The configuration has changed to not include "backwards compatibility)
any longer, which removes partial support for deprecated features.

This build makes use of the new libcerf library package, so gnuplot
should be able to use all functionality that depends on it.


-- 
              *** 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.com@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:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-02 19:22 [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1 Achim Gratz
@ 2019-03-03  6:01 ` Tatsuro MATSUOKA
  2019-03-03 18:15   ` Achim Gratz
  0 siblings, 1 reply; 12+ messages in thread
From: Tatsuro MATSUOKA @ 2019-03-03  6:01 UTC (permalink / raw)
  To: cygwin

> From: Achim Gratz 
> To: cygwin@cygwin.com

> Cc: 
> Date: 2019/3/3, Sun 02:10
> Subject: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1
> 
> 
> Gnuplot version 5.2.6 is available as a release version on Cygwin now.
> 
> 
> Notes:
> ------
> 
> The configuration has changed to not include "backwards compatibility)
> any longer, which removes partial support for deprecated features.
> 
> This build makes use of the new libcerf library package, so gnuplot
> should be able to use all functionality that depends on it.
> 
> 
> -- 
>               *** 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.com@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.

Hello Achim

I am glad to hear that gnuplot-5.2.6 for Cygwin is released.
As an interactive terminal, gnuplot for Cygwin only x11 terminal 
but it is old terminal and it was considered to be outdated from gnuplot developers.

For qt terminal, QT5 should be patched but wxt terminal can be implemented using dev tools
implemented in Cygwin.

I ask you to implement wxt terminal gnuplot for Cygwin



Patch indicated below is attached to gnuplot source to avoid ABI mismatch waring between
gnuplot and wxWidgets.
--- a/src/wxterminal/wxt_gui.cpp 2018-03-17 07:26:21.926092000 +0900
+++ b/src/wxterminal/wxt_gui.cpp 2018-03-17 07:28:56.748497600 +0900
@@ -88,7 +88,7 @@
  * or multi-threaded operation.
  */
 
-
+#define __GXX_ABI_VERSION 1009
 /* define DEBUG here to have debugging messages in stderr */
 #include "wxt_gui.h"


Tatsuro


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-03  6:01 ` Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1) Tatsuro MATSUOKA
@ 2019-03-03 18:15   ` Achim Gratz
  2019-03-03 22:36     ` Tatsuro MATSUOKA
  2019-03-04  7:53     ` Thomas Wolff
  0 siblings, 2 replies; 12+ messages in thread
From: Achim Gratz @ 2019-03-03 18:15 UTC (permalink / raw)
  To: cygwin

[don't quote email addresses, signatures]

Tatsuro MATSUOKA writes:
> I am glad to hear that gnuplot-5.2.6 for Cygwin is released.  As an
> interactive terminal, gnuplot for Cygwin only x11 terminal  but it is
> old terminal and it was considered to be outdated from gnuplot
> developers.

I mostly use gnuplot in batch mode myself, so I don't really know about
interactive terminals (I don't use the interactive features of the X11
terminal much either).

> For qt terminal, QT5 should be patched but wxt terminal can be
> implemented using dev tools implemented in Cygwin.

Again, if you want that to get fixed, you'll either need to get upstream
QT, the Qt maintainer of Cygwin or (if you happen to have a fix for
Cygwin) the Cygwin maintainers.  I'll happily build with the Qt terminal
if it actually works.

> I ask you to implement wxt terminal gnuplot for Cygwin
>
> Patch indicated below is attached to gnuplot source to avoid ABI
> mismatch waring between gnuplot and wxWidgets.

That's a wxWidget upstream bug, really.  I'm not keen on patching around
that in gnuplot, so my preference is if it was fixed by wxWidgets one
way or the other (and by fixed I don't mean that the fatal error gets
demoted to a warning like some build option for wxWidgets apparently
allows you to do).

Now, I'd be much more excited about that wxWidgets terminal if it
allowed gnuplot to optionally run without X11, do you know if that's
possible?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-03 18:15   ` Achim Gratz
@ 2019-03-03 22:36     ` Tatsuro MATSUOKA
  2019-03-04  7:53     ` Thomas Wolff
  1 sibling, 0 replies; 12+ messages in thread
From: Tatsuro MATSUOKA @ 2019-03-03 22:36 UTC (permalink / raw)
  To: cygwin

Achim

Thanks for the reply.
> Again, if you want that to get fixed, you'll either need to get upstream 
> QT, the Qt maintainer of Cygwin or (if you happen to have a fix for 
> Cygwin) the Cygwin maintainers.  I'll happily build with the Qt terminal 
> if it actually works.

The qt terminal for Cygwin works fine on Cygwin, if a patch is attached to
QT5.
An exapmle snapshot of qt terminal is shown :
<http://cygwin.1069669.n5.nabble.com/file/t3087/transparent_solids_2_qt.png> 

I will ask Yaakov Selkowitz (qt for cygwin maintainer to apply the patch)
As a reference, the patch is shown below

--- a/qtbase-opensource-src-5.9.4/src/network/socket/qlocalsocket_unix.cpp
+++ b/qtbase-opensource-src-5.9.4/src/network/socket/qlocalsocket_unix.cpp
@@ -239,7 +239,7 @@ void QLocalSocket::connectToServer(OpenM
    }

    // create the socket
-    if (-1 == (d->connectingSocket = qt_safe_socket(PF_UNIX, SOCK_STREAM,
0, O_NONBLOCK))) {
+    if (-1 == (d->connectingSocket = qt_safe_socket(PF_UNIX, SOCK_STREAM,
0))) {
        d->errorOccurred(UnsupportedSocketOperationError,
                        QLatin1String("QLocalSocket::connectToServer"));
        return;

>> I ask you to implement wxt terminal gnuplot for Cygwin 
>> 
>> Patch indicated below is attached to gnuplot source to avoid ABI 
>> mismatch waring between gnuplot and wxWidgets. 
>
> That's a wxWidget upstream bug, really.  I'm not keen on patching around 
> that in gnuplot, so my preference is if it was fixed by wxWidgets one 
> way or the other (and by fixed I don't mean that the fatal error gets 
> demoted to a warning like some build option for wxWidgets apparently 
> allows you to do).

Yes. It's a bug wxWidget.  I could not find wxWidget maintainer in Cygwin
ML.
How I do know the maintainer?

Anyway I will paste wxt terminal and x11 terminal snapshots.
<http://cygwin.1069669.n5.nabble.com/file/t3087/transparent_solids_2_wxt.png> 
<http://cygwin.1069669.n5.nabble.com/file/t3087/transparent_solids_2_x11.png> 


> Now, I'd be much more excited about that wxWidgets terminal if it 
> allowed gnuplot to optionally run without X11, do you know if that's 
> possible? 

Do you mean build Cygwin's WxWidget without x11 libraries?
On macOS, WxWidget is built without X and uses macOS original graphics.
In principle one can build Wxwidget for Cygwin using windows native api 
like emacs-win32on Cygwin. 
I do not know that this is possible on wxwidget on Cygwin.
I will investigate.

Tatsuro




--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-03 18:15   ` Achim Gratz
  2019-03-03 22:36     ` Tatsuro MATSUOKA
@ 2019-03-04  7:53     ` Thomas Wolff
  2019-03-04 18:06       ` Achim Gratz
  2019-03-05 19:36       ` Gary Johnson
  1 sibling, 2 replies; 12+ messages in thread
From: Thomas Wolff @ 2019-03-04  7:53 UTC (permalink / raw)
  To: cygwin

Am 03.03.2019 um 19:15 schrieb Achim Gratz:
> ...
>
> Tatsuro MATSUOKA writes:
>> ...
>>
> ...
>
> Now, I'd be much more excited about that wxWidgets terminal if it
> allowed gnuplot to optionally run without X11, do you know if that's possible?

It is quite straight-forward to run gnuplot without X11 as mintty will 
display its output inline:

export GNUTERM=sixel

gnuplot -e "splot [x=-3:3] [y=-3:3] sin(x) * cos(y)"


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-04  7:53     ` Thomas Wolff
@ 2019-03-04 18:06       ` Achim Gratz
  2019-03-04 18:56         ` Thomas Wolff
  2019-03-05 19:36       ` Gary Johnson
  1 sibling, 1 reply; 12+ messages in thread
From: Achim Gratz @ 2019-03-04 18:06 UTC (permalink / raw)
  To: cygwin

Thomas Wolff writes:
> It is quite straight-forward to run gnuplot without X11 as mintty will
> display its output inline:
>
> export GNUTERM=sixel
>
> gnuplot -e "splot [x=-3:3] [y=-3:3] sin(x) * cos(y)"

I know and that's rad, now if it also worked inside a tmux or screen
session…


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-04 18:06       ` Achim Gratz
@ 2019-03-04 18:56         ` Thomas Wolff
  2019-03-04 19:55           ` Achim Gratz
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Wolff @ 2019-03-04 18:56 UTC (permalink / raw)
  To: cygwin

Am 04.03.2019 um 19:06 schrieb Achim Gratz:
> Thomas Wolff writes:
>> It is quite straight-forward to run gnuplot without X11 as mintty will
>> display its output inline:
>>
>> export GNUTERM=sixel
>>
>> gnuplot -e "splot [x=-3:3] [y=-3:3] sin(x) * cos(y)"
> I know and that's rad, now if it also worked inside a tmux or screen session…
Sixel graphics are embedded in DSC ... ST controls which are 
unfortunately the same that screen/tmux use for their transparent 
pass-through function of unknown escape sequences, so they will filter 
them out.
Maybe it's possible to achieve the desired output with some tricky 
screen/tmux configuration.
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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-04 18:56         ` Thomas Wolff
@ 2019-03-04 19:55           ` Achim Gratz
  0 siblings, 0 replies; 12+ messages in thread
From: Achim Gratz @ 2019-03-04 19:55 UTC (permalink / raw)
  To: cygwin

Thomas Wolff writes:
> Sixel graphics are embedded in DSC ... ST controls which are
> unfortunately the same that screen/tmux use for their transparent
> pass-through function of unknown escape sequences, so they will filter
> them out.

I think I've seen a tmux script that brackets the escape with another
one, but it's disappointing that this isn't supported out-of-the box.
But then again, not many terminal emulators support sixel graphics,
unfortunately.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-04  7:53     ` Thomas Wolff
  2019-03-04 18:06       ` Achim Gratz
@ 2019-03-05 19:36       ` Gary Johnson
  2019-03-05 20:08         ` Achim Gratz
  1 sibling, 1 reply; 12+ messages in thread
From: Gary Johnson @ 2019-03-05 19:36 UTC (permalink / raw)
  To: cygwin

On 2019-03-04, Thomas Wolff wrote:

> It is quite straight-forward to run gnuplot without X11 as mintty
> will display its output inline:
> 
> export GNUTERM=sixel
> 
> gnuplot -e "splot [x=-3:3] [y=-3:3] sin(x) * cos(y)"

That's really nice!  I didn't know terminals could do that.

I notice that when I execute those commands on Linux in an xterm
(version 344) built with support for sixel graphics, the plot is
displayed in color on a white background.  When I execute those same
commands in mintty 2.9.6, however, the plot is displayed on the
default black background and only the surface (in purple) is
visible.  To see the rest of the plot, still on a black background,
I executed

    gnuplot -e "set term sixel monochrome" -e "splot [x=-3:3] [y=-3:3] sin(x) * cos(y)"

Is this a bug in mintty that it doesn't use a white background for
the plot?

Regards,
Gary


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-05 19:36       ` Gary Johnson
@ 2019-03-05 20:08         ` Achim Gratz
  2019-03-05 20:09           ` Achim Gratz
  2019-03-05 20:15           ` Gary Johnson
  0 siblings, 2 replies; 12+ messages in thread
From: Achim Gratz @ 2019-03-05 20:08 UTC (permalink / raw)
  To: cygwin

Gary Johnson writes:
> Is this a bug in mintty that it doesn't use a white background for
> the plot?

No.  By default the background in gnuplot is transparent in terminals
that support it.  You can set a solid fill color like that:

set term sixelgd background #ffffff

(that's the white color you wanted).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-05 20:08         ` Achim Gratz
@ 2019-03-05 20:09           ` Achim Gratz
  2019-03-05 20:15           ` Gary Johnson
  1 sibling, 0 replies; 12+ messages in thread
From: Achim Gratz @ 2019-03-05 20:09 UTC (permalink / raw)
  To: cygwin

Achim Gratz writes:
> Gary Johnson writes:
>> Is this a bug in mintty that it doesn't use a white background for
>> the plot?
>
> No.  By default the background in gnuplot is transparent in terminals
> that support it.  You can set a solid fill color like that:
>
> set term sixelgd background #ffffff

The color string needs quoting of course:

set term sixelgd background "#ffffff"


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1)
  2019-03-05 20:08         ` Achim Gratz
  2019-03-05 20:09           ` Achim Gratz
@ 2019-03-05 20:15           ` Gary Johnson
  1 sibling, 0 replies; 12+ messages in thread
From: Gary Johnson @ 2019-03-05 20:15 UTC (permalink / raw)
  To: cygwin

On 2019-03-05, Achim Gratz wrote:
> Gary Johnson writes:
> > Is this a bug in mintty that it doesn't use a white background for
> > the plot?
> 
> No.  By default the background in gnuplot is transparent in terminals
> that support it.  You can set a solid fill color like that:
> 
> set term sixelgd background #ffffff
> 
> (that's the white color you wanted).

Great!  Thank you.

Regards,
Gary


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-03-05 20:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-02 19:22 [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1 Achim Gratz
2019-03-03  6:01 ` Request to support wxt terminal ( Re: [ANNOUNCEMENT] Updated: gnuplot-5.2.6-1) Tatsuro MATSUOKA
2019-03-03 18:15   ` Achim Gratz
2019-03-03 22:36     ` Tatsuro MATSUOKA
2019-03-04  7:53     ` Thomas Wolff
2019-03-04 18:06       ` Achim Gratz
2019-03-04 18:56         ` Thomas Wolff
2019-03-04 19:55           ` Achim Gratz
2019-03-05 19:36       ` Gary Johnson
2019-03-05 20:08         ` Achim Gratz
2019-03-05 20:09           ` Achim Gratz
2019-03-05 20:15           ` Gary Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).