<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: OS X terminal type σε Solaris</title>
	<atom:link href="http://panoskrt.wordpress.com/2008/10/06/os-x-terminal-type-%cf%83%ce%b5-solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://panoskrt.wordpress.com/2008/10/06/os-x-terminal-type-%cf%83%ce%b5-solaris/</link>
	<description>even if you don't see something, it doesn't mean it's not there</description>
	<lastBuildDate>Thu, 29 Oct 2009 13:02:43 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: panoskrt</title>
		<link>http://panoskrt.wordpress.com/2008/10/06/os-x-terminal-type-%cf%83%ce%b5-solaris/#comment-10</link>
		<dc:creator>panoskrt</dc:creator>
		<pubDate>Wed, 08 Oct 2008 00:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://panoskrt.wordpress.com/?p=41#comment-10</guid>
		<description>Good point. Based on your suggestion, I did the following and works perfectly with my NIS account that I use to login on both Solaris and Linux hosts:


sys=`uname -s`
if [ $sys == &quot;SunOS&quot; ]; then
  case $TERM in
    color-xterm*&#124;xterm-color&#124;xterm-[0-9]*color)
    export TERM=&#039;xtermc&#039;
    ;;
  esac
else
  export TERM=vt100
fi
</description>
		<content:encoded><![CDATA[<p>Good point. Based on your suggestion, I did the following and works perfectly with my NIS account that I use to login on both Solaris and Linux hosts:</p>
<p>sys=`uname -s`<br />
if [ $sys == "SunOS" ]; then<br />
  case $TERM in<br />
    color-xterm*|xterm-color|xterm-[0-9]*color)<br />
    export TERM=&#8217;xtermc&#8217;<br />
    ;;<br />
  esac<br />
else<br />
  export TERM=vt100<br />
fi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keramida</title>
		<link>http://panoskrt.wordpress.com/2008/10/06/os-x-terminal-type-%cf%83%ce%b5-solaris/#comment-7</link>
		<dc:creator>keramida</dc:creator>
		<pubDate>Tue, 07 Oct 2008 22:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://panoskrt.wordpress.com/?p=41#comment-7</guid>
		<description>You might want to keep those colors.  There is an &#039;xtermc&#039; terminal type that supports *some* colors in Solaris too.

FWIW, one of the tricks I used in my Solaris-specific &quot;.bashrc&quot; was to run an autoconf-style &quot;config.guess&quot; script that tries auto-detect the system type, and then use something like the following in my &quot;~/.bashrc&quot; file:

cfscript=&quot;$HOME/bin/config.guess&quot;
host=&#039;&#039;
if [ -x ${cfscript} ]; then
    host=$( ${cfscript} )
fi

case $host in
    *sunos*)
        case $TERM in
        color-xterm*&#124;xterm-color&#124;xterm-[0-9]*color)
            export TERM=&#039;xtermc&#039;
            ;;
        esac
        # More Solaris-specific bits.
        ;;

    # More OS-specific bits, for other systems.
esac

This tends to keep all the OS-specific tweaks of my .bashrc file more &quot;organized&quot;.</description>
		<content:encoded><![CDATA[<p>You might want to keep those colors.  There is an &#8216;xtermc&#8217; terminal type that supports *some* colors in Solaris too.</p>
<p>FWIW, one of the tricks I used in my Solaris-specific &#8220;.bashrc&#8221; was to run an autoconf-style &#8220;config.guess&#8221; script that tries auto-detect the system type, and then use something like the following in my &#8220;~/.bashrc&#8221; file:</p>
<p>cfscript=&#8221;$HOME/bin/config.guess&#8221;<br />
host=&#8221;<br />
if [ -x ${cfscript} ]; then<br />
    host=$( ${cfscript} )<br />
fi</p>
<p>case $host in<br />
    *sunos*)<br />
        case $TERM in<br />
        color-xterm*|xterm-color|xterm-[0-9]*color)<br />
            export TERM=&#8217;xtermc&#8217;<br />
            ;;<br />
        esac<br />
        # More Solaris-specific bits.<br />
        ;;</p>
<p>    # More OS-specific bits, for other systems.<br />
esac</p>
<p>This tends to keep all the OS-specific tweaks of my .bashrc file more &#8220;organized&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
