From: W. Trevor King Date: Wed, 20 Jul 2011 16:53:48 +0000 (-0400) Subject: Add tektronix/xterm/gnuplot post. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7c3019af3f83f1911c282bfc825fd19a481d02a3;p=blog.git Add tektronix/xterm/gnuplot post. --- diff --git a/posts/Tektronix_emulation_and_Gnuplot.mdwn b/posts/Tektronix_emulation_and_Gnuplot.mdwn new file mode 100644 index 0000000..37bdc18 --- /dev/null +++ b/posts/Tektronix_emulation_and_Gnuplot.mdwn @@ -0,0 +1,28 @@ +I just discovered that [gnuplot][] has an `xterm` terminal output mode +which uses [xterm][]'s tektronix emulator ([since gnuplot +4.2.6][release]). This is useful if you have logged into a remote +machine and want to plot something, but you didn't have the foresight +to use `ssh -Y` to bring along a connection to your X server. I used to use + + gnuplot> set term dumb + +but often the low resolution available with standard terminal +characters left the resulting output almost unintelligible. With + + gnuplot> set term xterm + +your `xterm` will pop up a new window in tektronix mode, in which you +get very nice monochrome graphics. + +Besides the “forgot to tunnel X” use case outlined above, this output +would also be useful if you wanted to avoid exposing yourself to [[X +vulnerabilies|X_hacks]] while logging into an untrusted machine. + +Obviously, you'll have to be running `xterm` for any of this to work ;). + +[gnuplot]: http://www.gnuplot.info/ +[xterm]: http://invisible-island.net/xterm/ +[release]: http://www.gnuplot.info/announce.4.2.6 + +[[!tag tags/fun]] +[[!tag tags/linux]]