PDLPorters/PDL-Graphics-Gnuplot

terminfo("all") lists spurious available terminals

Closed this issue · 1 comments

On a Linux machine, the following drivers are listed by terminfo(“all”) both as “Supported by PDL::Graphics::Gnuplot and your gnuplot” and “Supported by PDL::Graphics::Gnuplot but not your gnuplot”:

gif
grass
jpeg
pbm
pdf
png
windows

@alien::Gnuplot::terms does not list any of those.

I think adding a line at 6768 "next unless($this->{valid_terms}->{$k});" just as at 6761 (for "DISPLAY TERMINALS") would fix this.

Fixed.