Menu

#1912 caca terminal does not work on wgnuplot(_pipes) on cvs

None
closed-fixed
nobody
2017-02-23
2017-02-23
No

On wgnuplot.exe wgnuplot_pipe.exe on current cvs (ChangeLog 2017-02-19),
caca terminal does not work

gnuplot> set term caca
Terminal type set to 'caca'
Options are 'enhanced size 80, 25 background rgb "white" color noinverted charset blocks'
gnuplot> plot x
               ^
         cannot output binary data to wgnuplot text window

On gnuplot.exe, caca terminal works on current cvs.

On gnuplot 5.0.x, caca terminal works on wgnuplot (appearing another console) and wgnuplot_pipes (console window that opens with wgnuplot command window).

Perhaps change for wgnuplot on sometime before caused break of caca terminal.

Discussion

  • Bastian Märkisch

    • labels: --> windows, caca, wgnuplot
    • status: open --> pending-fixed
    • Group: -->
    • Priority: -->
     
  • Bastian Märkisch

    Fixed in CVS. Thanks.

     
  • Tatsuro MATSUOKA

    I have confirmed the fix.Thanks!

    BTW. help term caca says

     The caca terminal supports mouse interaction. Please beware that some
     backends of `libcaca` (e.g. slang, ncurses) only update the mouse position
     on mouse clicks.  Modifier keys (ctrl, alt, shift) are not supported by
     `libcaca` and are thus unavailable.
    

    On windows, mouse interaction seems not to work. On windows, caca uses windows console and mouse information from plot windows cannot be available. Am I right?
    If it is the case, I think it is better to mention that caca on gnuplot windows has more limitaion in documents of gnuplot.

     
    • Bastian Märkisch

      In principle mousing should work. Here, it works fine when wgnuplot is started using cmd.exe, but is not when started by mintty/bash.

      There are some more bugs, though:
      Closing the "caca" console window with the mouse segfaults.
      Closing the window with 'q' exists wgnuplot on the next key pressed.

       
      • Tatsuro MATSUOKA

        I found reason why mousing did not work in my case. For my case, property "quick edit mode" was enabled by default. If quick edit mode is off, mousing woks as expected.
        Sorry for the noise.

        I have confirmed what you see on caca.
        1. Mousing does not work when wgnuplot started by mintty/bash even if quick edit mode is of plot windows console.
        2. Closing the "caca" console window with the mouse segfaults. confirmed
        3. Closing the window with 'q' exists wgnuplot on the next key pressed. confirmed

        For gnuplot.exe 2. does not related because plot is displayed command console that gnuplot.exe used.
        For 3, Closing the window with 'q' works as expected for gnuplot.exe.

         

        Last edit: Tatsuro MATSUOKA 2017-02-24
  • Ethan Merritt

    Ethan Merritt - 2017-03-17
    • Status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.