<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tarotoast's Stuff &#187; amsn</title>
	<atom:link href="http://blog.tarotoast.com/tag/amsn/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tarotoast.com</link>
	<description>Personal blog</description>
	<lastBuildDate>Tue, 04 May 2010 08:49:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>aMSN with TrueType Fonts</title>
		<link>http://blog.tarotoast.com/2007/10/31/408/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=amsn-with-truetype-fonts</link>
		<comments>http://blog.tarotoast.com/2007/10/31/408/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 03:53:24 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[BSD+Linux]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[amsn]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ttf]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2007/10/31/408/</guid>
		<description><![CDATA[Ubuntu 7.10 裡面的 aMSN 雖然是 0.97RC，但是還是沒有預設把 anti-aliasing 打開，所以整個字型醜的快要爆炸囧。3v1n0 裡面的 amsn deb 的確是有把 tk/tcl 編進去，只要點幾下把所有 package 都裝進去就可以有漂亮的字型，但是那個版本不知道為什麼一直會讓我 CPU 衝滿。所以決定乾脆自己抓下來編省得麻煩。 省得要 root 權限或以後更新跟系統衝突，所以我把東西都安裝在自己的 home directory 下面。原始碼我都丟在 ~/work 下面，然後編好的執行檔是安裝到 ~/build 下面。 TCL 在 ~/work 下面將 TCL 的原始碼抓下來 cvs -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl login ENTER cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -P tcl 在 ~/work/tcl/unix 設定 + 編譯 ./configure &#8211;prefix=/home/peter/build &#8211;includedir=/home/peter/build/include/tcl8.5 &#8211;enable-shared &#8211;enable-threads &#8211;enable-64bit [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 7.10 裡面的 aMSN 雖然是 0.97RC，但是還是沒有預設把 anti-aliasing 打開，所以整個字型醜的快要爆炸囧。<a href="http://download.tuxfamily.org/3v1deb/pool/gutsy/3v1n0/">3v1n0</a> 裡面的 <a href="http://download.tuxfamily.org/3v1deb/pool/gutsy/3v1n0/amsn_0.97RC1+svn20070912%7E3v1ubuntu0_i386.deb">amsn deb</a> 的確是有把 tk/tcl 編進去，只要點幾下把所有 package 都裝進去就可以有漂亮的字型，但是那個版本不知道為什麼一直會讓我 CPU 衝滿。所以決定乾脆自己抓下來編省得麻煩。</p>
<p>省得要 root 權限或以後更新跟系統衝突，所以我把東西都安裝在自己的 home directory 下面。原始碼我都丟在 ~/work 下面，然後編好的執行檔是安裝到 ~/build 下面。</p>
<p><strong>TCL</strong></p>
<ol>
<li>在 ~/work 下面將 TCL 的原始碼抓下來<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>cvs -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl login<br />
ENTER<br />
cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -P tcl</p></blockquote>
</li>
<li>在 ~/work/tcl/unix 設定 + 編譯<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>./configure &#8211;prefix=/home/peter/build &#8211;includedir=/home/peter/build/include/tcl8.5 &#8211;enable-shared &#8211;enable-threads &#8211;enable-64bit   &#8211;mandir=/home/peter/build/share/man &#8211;enable-man-symlinks &#8211;enable-man-compression=gzip &amp;&amp; make CFLAGS=&#8221;-g -O2 -D_REENTRANT&#8221;</p></blockquote>
</li>
<li>安裝<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>make install</p></blockquote>
</li>
</ol>
<p><strong>TK</strong></p>
<ol>
<li>在 ~/work 下面把 TK 的原始碼抓下來<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>cvs -d:pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit login<br />
ENTER<br />
cvs -z3 -d:pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit co -P tk</p></blockquote>
</li>
<li>在 ~/work/tk/unix 下設定 + 編譯<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>./configure &#8211;prefix=/home/peter/build &#8211;includedir=/home/peter/build/include/tcl8.5 &#8211;with-tcl=/home/peter/build/lib &#8211;enable-shared &#8211;enable-threads &#8211;enable-64bit &#8211;enable-man-symlinks &#8211;enable-man-compression=gzip &#8211;enable-xft &amp;&amp; make CFLAGS=&#8221;-g -O2 -D_REENTRANT&#8221;</p></blockquote>
</li>
<li>安裝<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>make install</p></blockquote>
</li>
</ol>
<p><strong>aMSN</strong></p>
<ol>
<li>在 ~/work 把 aMSN 的原始碼抓下來<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>svn co https://amsn.svn.sourceforge.net/svnroot/amsn/trunk/amsn amsn</p></blockquote>
</li>
<li>在 ~/work/amsn 下設定 + 編譯<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>./configure &#8211;with-tcl=/home/peter/build/lib &#8211;with-tk=/home/peter/build/lib &#8211;prefix=/home/peter/build<br />
make</p></blockquote>
</li>
<li>安裝<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>make install</p></blockquote>
</li>
</ol>
<p><strong>桌面捷徑</strong></p>
<ol>
<li>建立 ~/bin/amsn.sh 並把 amsn.sh 設成執行檔<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>#!/bin/sh<br />
/home/peter/build/bin/wish8.5 /home/peter/build/bin/amsn</p></blockquote>
</li>
<li>建立 ~/Desktop/aMSN.desktop<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=aMSN<br />
Comment=Flock Web Browser<br />
Exec=&#8221;/home/peter/bin/amsn.sh&#8221;<br />
GenericName=aMSN<br />
Icon=/home/peter/work/amsn/desktop-icons/128&#215;128/apps/amsn.png<br />
Path=$HOME/work/amsn<br />
StartupNotify=true<br />
Terminal=false<br />
TerminalOptions=<br />
Type=Application<br />
X-KDE-SubstituteUID=false<br />
X-KDE-Username=<br />
Categories=Network;Application;<br />
GenericName[en_US]=aMSN</p></blockquote>
</li>
</ol>
<p><strong>效果比較</strong></p>
<p><img src="http://farm3.static.flickr.com/2321/1812450044_eae3fc7862_o.png" alt="aMSN from Ubuntu 7.10" /><img src="http://farm3.static.flickr.com/2008/1811606373_869bcf5de0_o.png" alt="aMSN + TCL/TK" /></p>
<p><img src="http://farm3.static.flickr.com/2049/1812449898_fbedd88062_o.png" alt="aMSN Chat Window Ubuntu 7.10 no TCL/TK" /><img src="http://farm3.static.flickr.com/2418/1811605827_b4a68257d5_o.png" alt="aMSN + TCL/TK Chat Window" /></p>
<p style="text-align: right; font-size: 8px">Blogged with <a href="http://www.flock.com/blogged-with-flock" title="Flock" target="_new">Flock</a></p>
<p><!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">Tags: <a href="http://technorati.com/tag/amsn" rel="tag">amsn</a>, <a href="http://technorati.com/tag/antialiasing" rel="tag">antialiasing</a>, <a href="http://technorati.com/tag/%20font" rel="tag"> font</a>, <a href="http://technorati.com/tag/%20ubuntu" rel="tag"> ubuntu</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2007/10/31/408/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>aMSN + gcin 中文輸入問題</title>
		<link>http://blog.tarotoast.com/2007/09/26/393/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=amsn-gcin-%25e4%25b8%25ad%25e6%2596%2587%25e8%25bc%25b8%25e5%2585%25a5%25e5%2595%258f%25e9%25a1%258c</link>
		<comments>http://blog.tarotoast.com/2007/09/26/393/#comments</comments>
		<pubDate>Wed, 26 Sep 2007 09:55:19 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[BSD+Linux]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[amsn]]></category>
		<category><![CDATA[chinese]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[gcin]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2007/09/26/393/</guid>
		<description><![CDATA[剛把 Ubuntu 預設的 SCIM 換成 gcin 後發現 aMSN 不能打中文 初步的找了一下猜測可能是 GTK+ 的 IM Module 沒有設定好 在 ~/.gtkrc.mine裡面加了一行 export GTK_IM_MODULE=gcin 重開 x 候很神奇的就可以輸入了 後來又找了一下，是我沒有設 Locale 的問題？ 系統內跟語言有關係的設定是這樣 declare -x LANG=&#8221;en_US.UTF-8&#8243; declare -x LANGUAGE=&#8221;en_US:en&#8221; 歐反正現在可以用，而且比 SCIM 好用多了 XD]]></description>
			<content:encoded><![CDATA[<p>剛把 Ubuntu 預設的 SCIM 換成 gcin 後發現 aMSN 不能打中文</p>
<p>初步的找了一下猜測可能是 GTK+ 的 IM Module 沒有設定好</p>
<p>在 ~/.gtkrc.mine裡面加了一行</p>
<blockquote><p> export GTK_IM_MODULE=gcin</p></blockquote>
<p>重開 x 候很神奇的就可以輸入了</p>
<p>後來又找了一下，是我沒有設 Locale 的問題？</p>
<p>系統內跟語言有關係的設定是這樣</p>
<blockquote><p>declare -x LANG=&#8221;en_US.UTF-8&#8243;<br />
declare -x LANGUAGE=&#8221;en_US:en&#8221;</p></blockquote>
<p>歐反正現在可以用，而且比 SCIM 好用多了 XD</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2007/09/26/393/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
