DXF plotting, handles $DISPLAY var to work with VNC
pd script plots files with no final newline properly