Menu

#2492 inline data input does not accept keyboard inputs on cosole mode gnuplot windows

None
closed-fixed
nobody
2022-07-11
2022-02-08
No

On console mode gnuplot (gnuplot.exe) on windows does not accept any input from key board on interactive session,

gnuplot> plot '-'
input data ('e' ends) > (any input from keyboard are not accepted)

For me I have confirmed 5.2.8, 5.4.2, 5.4.3 and 5.5.0.
For wgnuplot.exe and , there are no strange behaviors.

Discussion

  • Tatsuro MATSUOKA

    Also datablock inline input does not accecpt keyboard input on console mode gnuplot for windows.

    gnuplot> $Mydata << EOD
    (no keyboard ipuputs were accecpted!!)
    
     

    Last edit: Tatsuro MATSUOKA 2022-02-08
  • Tatsuro MATSUOKA

    • summary: plot '-' does not accept any data input on cosole mode gnuplot windows --> inline data input does not accept keyboard inputs on cosole mode gnuplot windows
    • Group: -->
    • Priority: -->
     
  • Bastian Märkisch

    Confirmed. Does the patch in bug report [#2491] fix the issue by an chance? It is not unlikely that these are related.

     

    Related

    Bugs: #2491

    • Bastian Märkisch

      No. It does not fix the problem.

       
      • Takashi Yano

        Takashi Yano - 2022-02-08

        The patch in [#2491] is affected only when the terminal is not a console (when _isatty() returns 0). This seems to be a different problem.

         

        Related

        Bugs: #2491

  • Bastian Märkisch

    • labels: --> Windows, console
    • status: open --> pending-fixed
     
  • Bastian Märkisch

    Fixed in master. The console variant of fgets() was utterly broken. But since it is only ever called for interactive data input, it wasn't noticed for six years.

     
  • Tatsuro MATSUOKA

    I have confirmed the fix in the 5.5 (master).

     
  • Ethan Merritt

    Ethan Merritt - 2022-07-11
    • Status: pending-fixed --> closed-fixed
     

Log in to post a comment.