Remove last traces of cgi.trm
issue a warning is someone tries to plot while the terminal type is "unknown"