<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>LinuxQuestions.org - Blogs - slakmagik</title>
		<link>http://www.linuxquestions.org/questions/blog.php?u=24821</link>
		<description>LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.</description>
		<language>en</language>
		<lastBuildDate>Tue, 24 Nov 2009 04:35:06 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://e1h7.simplecdn.net/lqcdn/images/questions/images/misc/rss.jpg</url>
			<title>LinuxQuestions.org - Blogs - slakmagik</title>
			<link>http://www.linuxquestions.org/questions/blog.php?u=24821</link>
		</image>
		<item>
			<title>A tput hunt brings me back to LQ</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=420</link>
			<pubDate>Sat, 11 Nov 2006 04:01:51 GMT</pubDate>
			<description><![CDATA[I haven't posted at all for over a year and a half (April 3, 2005-November 10, 2006). A search for more information about tput had an LQ link as...]]></description>
			<content:encoded><![CDATA[<div>I haven't posted at all for over a year and a half (April 3, 2005-November 10, 2006). A search for more information about tput had an LQ link as searches sometimes do. I followed it here as I sometimes do (last time was back in August). Unlike those times, though, I replied to a few threads for some reason and decided to try out this new (to me) blog feature.<br />
<br />
The link was to <a href="http://www.linuxquestions.org/linux/blog/carl0ski/2005-12-22/Some_interesting_powercommands_in_linux_i_didnt_know_any_of_them">one of these new-fangledy blogs</a>, but it didn't tell me anything I didn't already know. On the other hand, I didn't find anything much better. References in the bash prompt howto and maybe ABS and so on. And, of course, the man page for tput(1), as long as it's complemented with terminfo(5), pretty much covers it, I guess, and doesn't need a search engine.<br />
<br />
Probably the best stuff, though, was by <a href="http://linuxgazette.net/issue57/okopnik.html" target="_blank">Okopnik (near the bottom)</a> and <a href="http://www.linux.ie/lists/pipermail/ilug/1999-December/010542.html" target="_blank">Buckley</a> but I basically agree with Okopnik - Buckley makes a good case and shows some useful 'in living color' examples, but Okopnik's right that terminfo capability names are gibberish (probably &quot;[d]ue to a fixed buffer length in older termcap libraries (and a documented limit in terminfo&quot;), and terminfo/caps are usually so broken that they're *less* portable than ANSI escapes, in a sense. Basically, using tput for simple colorizing probably works best for hardware terminals and can work for terminal emulators. Escape sequences probably work best for terminal emulators and can work for real terminals. Since vt100s seem to have no problem with escapes and most anything still in use should be vt100-capable, escapes may be safe enough for most purposes and, since they work consistently in linux, xterm, and mrxvt (which is all I ever use) -- and tput doesn't -- they're certainly good enough for me.<br />
<br />
Um. So. I guess that counts as trying out the blog feature.</div>

]]></content:encoded>
			<dc:creator>slakmagik</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=420</guid>
		</item>
	</channel>
</rss>
