From: Ethan M. <merritt@u.washington.edu> - 2004-08-18 18:22:39
|
On Wednesday 18 August 2004 10:29 am, Ethan Merritt wrote: > You can do 'setenv GNUTERM <foo>', > but I don't know of any way to pass parameters like font selection or > enhanced text mode. But there seems to be something broken with this mechanism for some terminals. For example, simple.dem runs fine for both png and tgif terminals if you do an explicit 'set term <foo>'; but it segfaults if you set the terminal type via GNUTERM. Works: x11 post dumb emf mif svg Broken: png tgif brogar [65] setenv GNUTERM png brogar [66] gnuplot simple.dem Segmentation fault brogar [67] setenv GNUTERM tgif brogar [68] gnuplot simple.dem %TGIF 2.15-p7 state(0,30,0,0,0,0,16,1,9,1,1,0,0,0,0,1,0,'',0,0,0,0,1,10,0,0,1,1,0,16,0,0,1,1,1). % % @(#)$Header: /cvsroot/gnuplot/gnuplot/term/tgif.trm,v 1.25 2004/07/01 17:10:34 broeker Exp $ % %W% % page(1,""). Floating exception brogar [69] setenv GNUTERM dumb brogar [70] gnuplot simple.dem 1.5 ++----------------+----------------+-----------------+------########### ++-----sin(x)-******+ + ############# + || atan(x) ######| ##### | 1 +cos(atan(x)) $$$$**| $$$ *# ** ++ |+---------------*--* $$ $$*#** * * | | * * $ *# * * * | * * * $ * $ * * * | 0.5 *+ * * $$$ * $$$* * * ++ |* * $$$*$$$ * $*$$$$$ * * | $*$$$$$$$$$$$$*$$$$$ * * * $$$$$$$*$$$$$$$$$*$$ 0 ++* * * * * * *++ | * * * * * * *| | * * * * * * *| -0.5 ++ * * * * * * +* | * * * #* * * * | * * ** #* * * | | * ** *#* * ** | -1 ++ * ##* * ++ | #### | + ############# + + + -1.5 ###########-------+----------------+-----------------+---------------++ -10 -5 0 5 10 -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |