<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-26048884</id><updated>2024-08-28T20:13:00.633+08:00</updated><category term="自由軟體"/><category term="Mutt"/><category term="雲端計算"/><category term="Procmail"/><category term="台文相關"/><category term="基礎安裝"/><category term="新聞"/><category term="自由軟體網站"/><category term="資料庫"/><title type='text'>後勁溪自由軟體雜誌社</title><subtitle type='html'>Open Source,Free Software, Internet, 技術兩三事</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://qerter.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://qerter.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>qerter</name><uri>http://www.blogger.com/profile/04167365099360382351</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9uXGzTb73iL0Fo9w4VTxDcW15FH27OAVn8kEVCqu3FiHMWfg9GBsjfGbErFsOIzoJqVjnz3Y_bfu5Fpkrg8eUzpbeekkxPRRfGYY28PXKuMe49FI_-CG_5TyiVfuARw/s220/旺.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26048884.post-5863250745567338899</id><published>2010-05-16T23:09:00.001+08:00</published><updated>2010-05-16T23:13:47.591+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mutt"/><category scheme="http://www.blogger.com/atom/ns#" term="自由軟體"/><title type='text'>使用Mutt收GMail IMAP電子郵件, Part 3 封存郵件篇</title><content type='html'>在[&lt;a href=&quot;http://qerter.blogspot.com/2009/10/muttgmail-imap-part-2-procmail.html&quot;&gt;使用Mutt收GMail IMAP電子郵件, Part 2 Procmail篇&lt;/a&gt;]的文章裡，我們使用procmail來幫我們將郵件做分類。但是，一般性沒辦法分類的聯絡郵件還是會全部進到mbox（主郵件檔案）裡，隨著時間日積月累，mbox檔案大小會隨著時間越久，檔案會越變越大，Mutt讀取mbox檔案速度因此而變慢。&lt;br /&gt;
&lt;br /&gt;
此時，我們需要將舊郵件做封存(Archive)，方能解決mbox檔案隨著時間越變越大的問題。在Debian下，我們可以使用archivemail程式來幫我們的舊郵件做封存。使用方法十分簡單，如下：&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;archivemail --suffix &#39;_%B_%Y&#39; --days=90  mbox&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
archivemail程式就會將mbox檔案中超過90天以上的郵件封存壓縮，並且獨立成另外一個檔案，檔名後面加註月份與年份，檔名範例如 mbox_February_2010.gz。&lt;br /&gt;
&lt;br /&gt;
archivemail程式可搭配cron將郵件檔案定期做封存，支援IMAP, mbox, MH與Maildir 郵件檔案格式。</content><link rel='replies' type='application/atom+xml' href='http://qerter.blogspot.com/feeds/5863250745567338899/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/26048884/5863250745567338899' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/5863250745567338899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/5863250745567338899'/><link rel='alternate' type='text/html' href='http://qerter.blogspot.com/2010/05/muttgmail-imap-part-3.html' title='使用Mutt收GMail IMAP電子郵件, Part 3 封存郵件篇'/><author><name>qerter</name><uri>http://www.blogger.com/profile/04167365099360382351</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9uXGzTb73iL0Fo9w4VTxDcW15FH27OAVn8kEVCqu3FiHMWfg9GBsjfGbErFsOIzoJqVjnz3Y_bfu5Fpkrg8eUzpbeekkxPRRfGYY28PXKuMe49FI_-CG_5TyiVfuARw/s220/旺.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26048884.post-8206048572881534559</id><published>2009-10-20T13:56:00.003+08:00</published><updated>2009-10-20T14:02:56.393+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mutt"/><category scheme="http://www.blogger.com/atom/ns#" term="Procmail"/><category scheme="http://www.blogger.com/atom/ns#" term="自由軟體"/><category scheme="http://www.blogger.com/atom/ns#" term="雲端計算"/><title type='text'>使用Mutt收GMail IMAP電子郵件, Part 2 Procmail篇</title><content type='html'>在Part 1 &lt;a href=&quot;http://qerter.blogspot.com/2009/10/muttgmail-imap.html&quot;&gt;[使用Mutt收GMail IMAP電子郵件, Part 1 基礎設定篇]&lt;/a&gt; 的文章後，我開始接觸使用Mutt這個方便快速的收信軟體來管理我的電子郵件。經過一段使用Mutt時間過後才漸漸發現Mutt是個深度而卓越的郵件軟體，自訂程度高，輕巧且彈性。&lt;br /&gt;
&lt;br /&gt;
日前碰到了困擾，有些信件是之前訂閱的Mailing List或電子報，固定時間就會寄送郵件過來，而我並不是每次開啟信件時都願意讀這些Mailing List Post 或電子報，只想先回覆重要的信件，有空閒時間再開啟這些Post細讀。&lt;br /&gt;
&lt;br /&gt;
我希望能夠有個預先分類的機制，幫我將這些Mailing List Post或電子報的電子郵件做分類，並且透過一些郵件規則過濾掉垃圾信。&lt;br /&gt;
&lt;br /&gt;
Procmail 便是為此目的而生的，它可以搭配fetchmail與Mutt進行郵件預先過濾與分類信件。&lt;br /&gt;
&lt;br /&gt;
安裝Procmail後，接下來要設定fetchmail與procmail搭配。&lt;br /&gt;
&lt;br /&gt;
設定家目錄下的.fetchmailrc，加入下行。&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;mda &#39;/usr/bin/procmail -d %T&#39;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
編輯家目錄下的.procmailrc，參考Debian procmail套件的範例檔(/usr/share/doc/procmail/example/1procmailrc)&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.&lt;br /&gt;
MAILDIR=$HOME/Mail      # You&#39;d better make sure it exists&lt;br /&gt;
DEFAULT=$MAILDIR/mbox&lt;br /&gt;
LOGFILE=$MAILDIR/from&lt;br /&gt;
LOCKFILE=$HOME/.lockmail&lt;br /&gt;
&lt;br /&gt;
:0                              # Anything from thf&lt;br /&gt;
* ^From.*thf@somewhere.someplace&lt;br /&gt;
todd                            # will go to $MAILDIR/todd&lt;br /&gt;
&lt;br /&gt;
:0                              # Anything from people at uunet&lt;br /&gt;
* ^To.*@uunet&lt;br /&gt;
uunetbox                        # will go to $MAILDIR/uunetbox&lt;br /&gt;
&lt;br /&gt;
:0                              # Anything from Henry&lt;br /&gt;
* ^Subject.*hello&lt;br /&gt;
/dev/null                       # will go to /dev/null&lt;br /&gt;
&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
透過這樣的設定，我們執行fetchmail時，符合procmailrc規則的信件會放入設定的mailbox檔案中(e.g. $MAILDIR/todd)，其餘則放入預設的$MAILDIR/mbox檔案中。&lt;br /&gt;
&lt;br /&gt;
而Mutt設定檔中我們新增兩行設定&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
set spoolfile=~/Mail/mbox&lt;br /&gt;
mailboxes mbox todd uunetbox&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
第一行 set spool file可以讓mutt預設執行時開啟家目錄下的Mail/mbox，瀏覽信件。第二行則是告訴Mutt我們有哪些Mailbox檔案，在Mutt執行時只需要按c鍵就可切換Mailbox檔案瀏覽。&lt;br /&gt;
&lt;br /&gt;
使用Mutt收發信件越來越有趣，搭配其他軟體工具也越來越上手了呢。</content><link rel='replies' type='application/atom+xml' href='http://qerter.blogspot.com/feeds/8206048572881534559/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/26048884/8206048572881534559' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/8206048572881534559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/8206048572881534559'/><link rel='alternate' type='text/html' href='http://qerter.blogspot.com/2009/10/muttgmail-imap-part-2-procmail.html' title='使用Mutt收GMail IMAP電子郵件, Part 2 Procmail篇'/><author><name>qerter</name><uri>http://www.blogger.com/profile/04167365099360382351</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9uXGzTb73iL0Fo9w4VTxDcW15FH27OAVn8kEVCqu3FiHMWfg9GBsjfGbErFsOIzoJqVjnz3Y_bfu5Fpkrg8eUzpbeekkxPRRfGYY28PXKuMe49FI_-CG_5TyiVfuARw/s220/旺.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26048884.post-8476064031661626627</id><published>2009-10-01T01:12:00.002+08:00</published><updated>2009-10-20T13:57:13.735+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mutt"/><category scheme="http://www.blogger.com/atom/ns#" term="自由軟體"/><category scheme="http://www.blogger.com/atom/ns#" term="雲端計算"/><title type='text'>使用Mutt收GMail IMAP電子郵件, Part 1 基礎設定篇</title><content type='html'>為響應Richard Stallman 2008年9月在英國衛報反對使用者投入雲端運算的懷抱(&lt;a href=&quot;http://www.guardian.co.uk/technology/2008/sep/29/cloud.computing.richard.stallman&quot;&gt;Cloud computing is a trap, warns GNU founder Richard Stallman&lt;/a&gt;)，我決定改變收電子郵件的習慣。我個人最依賴的雲端服務當為Google的GMail服務。而馬上離開不使用GMail不是件易事，我構思分階段實行降低對GMail依賴程度。&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;第一階段：降低對GMail Web的依賴程度&lt;/li&gt;
&lt;/ul&gt;第一階段可以做的就是使用一般收信軟體，如evolution, 雷鳥與Mutt等相關軟體，將GMail信件利用POP3與IMAP收信協定，將電子郵件收到本機端閱讀，並且利用SMTP送信協定寄送電子郵件。&lt;br /&gt;
&lt;br /&gt;
我挑選&lt;a href=&quot;http://www.cyut.edu.tw/%7Eckhung/a/c013.php&quot;&gt;軟體耦合度最低&lt;/a&gt;同時也十分輕巧的Mutt，來當我平時收發電子郵件的軟體。使用Mutt的好處是：&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;收信的工作交給fetchmail(支援POP3、IMAP等收信協定)&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;寄信的工作交給msmtp(支援SMTP等寄信協定)&lt;/li&gt;
&lt;li&gt;寫信的工作交給Vim(這個不用解釋了吧！)&lt;/li&gt;
&lt;li&gt;通訊錄的工作可以交給Abook（但不支援vCard格式匯入）&lt;/li&gt;
&lt;/ol&gt;那Mutt要幹嘛？它幫我把收好的信件以thread/date的方式排序，方便閱讀與回信。fetchmail、msmtp與Mutt配合的設定，可參考&lt;a href=&quot;http://qerter.wiki.ptt.cc/-Mutt+Fetchmail+Msmtp+GnuPG&quot;&gt;這篇&lt;/a&gt;的設定，在此不贅述。&lt;br /&gt;
&lt;br /&gt;
設定fetchmail之後就要開始把GMail的信收到電腦本機。我使用IMAPS協定。不收還好，一收就得收全部的信下來。我花了四個多小時才把我信箱裡面的八千多封信通通收下來=.=。不過GMail只會下載之前WebMail上的未讀信件。&lt;br /&gt;
&lt;br /&gt;
用Mutt收信一段時間以後，總覺得要看信之前才執行fetchmail太不經濟了，用Command Line就是要自動化才夠爽阿阿阿！&lt;br /&gt;
&lt;br /&gt;
參考&lt;a href=&quot;http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html&quot;&gt;Bash Guide for Beginners&lt;/a&gt;寫了一個bash script，執行fetchmail時計算新信件有幾封順便使用notify-send提醒。不過使用crontab去執行時，卻發生一點問題。參考這篇&lt;a href=&quot;http://gnome-hacks.org/hacks.html?id=82&quot;&gt;Notify from cronjob&lt;/a&gt;，抄DBUS_SESSION_BUS_ADDRESS寫法，就ok了。將script命名為getmail.sh，使用crontab 30分鐘執行一次即可。&lt;br /&gt;
&lt;br /&gt;
Script如下給有需要的人參考：&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
########################################################################################&lt;br /&gt;
# This scripts is just using fetchmail command to get new mails and notify by notify-send &lt;br /&gt;
# command &lt;br /&gt;
#######################################################################################&lt;br /&gt;
&lt;br /&gt;
USER=`whoami`&lt;br /&gt;
PIDS=`pgrep -u $USER gnome-session`&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#Get new mails and count them&lt;br /&gt;
NEW_MAILS_COUNT=$(fetchmail |grep -c octets)&lt;br /&gt;
&lt;br /&gt;
#Only show notified message when get new mails&lt;br /&gt;
if [ $NEW_MAILS_COUNT != 0 ]&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
for pid in $PIDS; do&lt;br /&gt;
# find DBUS session bus for this session&lt;br /&gt;
DBUS_SESSION_BUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS \&lt;br /&gt;
/proc/$pid/environ | sed -e &#39;s/DBUS_SESSION_BUS_ADDRESS=//&#39;`&lt;br /&gt;
# use it&lt;br /&gt;
DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS \&lt;br /&gt;
notify-send &quot;新郵件提示&quot; &quot;$NEW_MAILS_COUNT 封新郵件&quot;&lt;br /&gt;
done&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
這個Script還蠻簡陋的，目前僅能做到定時提醒而已，但是只要彈出那一瞬間有事離開電腦沒看見，就不知道了。未來希望能夠以Tray ICON形式在工具列，定期輪詢，有新信時彈出提醒訊息，並且變換圖示為新信件。</content><link rel='replies' type='application/atom+xml' href='http://qerter.blogspot.com/feeds/8476064031661626627/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/26048884/8476064031661626627' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/8476064031661626627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/8476064031661626627'/><link rel='alternate' type='text/html' href='http://qerter.blogspot.com/2009/10/muttgmail-imap.html' title='使用Mutt收GMail IMAP電子郵件, Part 1 基礎設定篇'/><author><name>qerter</name><uri>http://www.blogger.com/profile/04167365099360382351</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9uXGzTb73iL0Fo9w4VTxDcW15FH27OAVn8kEVCqu3FiHMWfg9GBsjfGbErFsOIzoJqVjnz3Y_bfu5Fpkrg8eUzpbeekkxPRRfGYY28PXKuMe49FI_-CG_5TyiVfuARw/s220/旺.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26048884.post-6369090196662641202</id><published>2009-08-31T00:28:00.002+08:00</published><updated>2009-08-31T00:29:35.747+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="台文相關"/><title type='text'>尋找Linux上自由且合用的台語文輸入法</title><content type='html'>最近開始鼓起勇氣試圖要在Linux上使用臺語文書寫，便開始尋找合適的臺語文書輸入法。而臺語文並沒有統一的書寫方式，我僅粗略分為台羅、漢羅與教羅書寫。&lt;br /&gt;
&lt;br /&gt;
理想的臺語文輸入法對我而言有幾個要素我覺得是需要的：&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;能輸出俱備調號的羅馬字，如 Hō-ló (Firefox支援顯示有調號的羅馬字較完整)&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;同時支援台羅與教羅的輸入&lt;/li&gt;
&lt;li&gt;打羅馬字能輸出漢字&lt;/li&gt;
&lt;li&gt;支援全羅馬字輸出&lt;/li&gt;
&lt;li style=&quot;color: #cc0000;&quot;&gt;授權為自由軟體 &lt;/li&gt;
&lt;/ol&gt;撇除掉第5點，Windows上已經有不錯的臺語文輸入法了，推薦&lt;a href=&quot;http://taigi.fhl.net/TaigiIME/&quot;&gt;信望愛臺語文輸入法&lt;/a&gt;，版權是&lt;a href=&quot;http://www.fhl.net/main/&quot;&gt;信望愛資訊中心&lt;/a&gt;所有，免費給大眾使用。教育部也有出臺語文輸入法，叫做&lt;a href=&quot;http://www.edu.tw/mandr/content.aspx?site_content_sn=3847&quot;&gt;&lt;span id=&quot;site_content&quot;&gt;教育部臺灣閩南語羅馬字拼音輸入法&lt;/span&gt;&lt;/a&gt;&lt;span id=&quot;site_content&quot;&gt;，版權是教育部所有，&lt;/span&gt;&lt;span id=&quot;site_content&quot;&gt;免費供公眾散布使用&lt;/span&gt;&lt;span id=&quot;site_content&quot;&gt;，平臺支援Windows, Linux, MacOSX。&lt;/span&gt;&lt;span id=&quot;site_content&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span id=&quot;site_content&quot;&gt;那Linux上著名的中文輸入法有沒有跟臺語文相關的呢？我有找到一些資料，&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span id=&quot;site_content&quot;&gt;scim：教育部台灣閩南語羅馬字拼音輸入法就是支援scim(教育部開發的臺語文輸入法非自由軟體)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;site_content&quot;&gt;&lt;/span&gt;&lt;span id=&quot;site_content&quot;&gt;xcin：普實台文與TLPA臺語&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;site_content&quot;&gt;OpenVanilla：&lt;/span&gt;&lt;span id=&quot;site_content&quot;&gt;普實台文、白話字漢羅與台式閩南語注音&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;site_content&quot;&gt;&lt;/span&gt;&lt;span id=&quot;site_content&quot;&gt;gcin：在官方網頁輸入法下載頁面中有kks台羅漢羅輸入法表格檔與kks教羅漢羅輸入法表格檔供人自行下載&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span id=&quot;site_content&quot;&gt;我目前僅使用過gcin的kks台羅漢羅輸入法，以表格檔為基礎，目的是用臺語文輸出漢字，無法支援全羅馬字輸出。找時間將Linux上剩下的輸入法支援的臺語文輸入法試過以後，再補上說明。&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;site_content&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span id=&quot;site_content&quot;&gt;&lt;/span&gt;&lt;span id=&quot;site_content&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;span id=&quot;site_content&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://qerter.blogspot.com/feeds/6369090196662641202/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/26048884/6369090196662641202' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/6369090196662641202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/6369090196662641202'/><link rel='alternate' type='text/html' href='http://qerter.blogspot.com/2009/08/linux.html' title='尋找Linux上自由且合用的台語文輸入法'/><author><name>qerter</name><uri>http://www.blogger.com/profile/04167365099360382351</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9uXGzTb73iL0Fo9w4VTxDcW15FH27OAVn8kEVCqu3FiHMWfg9GBsjfGbErFsOIzoJqVjnz3Y_bfu5Fpkrg8eUzpbeekkxPRRfGYY28PXKuMe49FI_-CG_5TyiVfuARw/s220/旺.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26048884.post-5983601422574832047</id><published>2009-01-20T20:12:00.014+08:00</published><updated>2009-02-22T00:41:03.324+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="基礎安裝"/><category scheme="http://www.blogger.com/atom/ns#" term="自由軟體"/><title type='text'>[第參期] 安裝Debian Etch 在 Asus eee box上</title><content type='html'>此篇教學目的為安裝Debian Etch在eee box上，可正常使用X-window與ethernet網路。&lt;br /&gt;&lt;ol&gt;&lt;li&gt;首先去下載Debian Etch CD1 iso，目前版本是&lt;a href=&quot;ftp://ftp.tw.debian.org/debian-cd/4.0_r6/i386/iso-cd/debian-40r6-i386-CD-1.iso&quot;&gt;4.0_r6&lt;/a&gt;，燒錄於光碟中。&lt;br /&gt;&lt;/li&gt;&lt;li&gt;使用USB CDROM開機進行安裝，安裝時不使用鏡像站。&lt;br /&gt;&lt;/li&gt;&lt;li&gt;安裝完畢，重新使用硬碟開機。&lt;br /&gt;&lt;/li&gt;&lt;li&gt;登入後，使用APT指令安裝build-essential與linux-headers-2.6.18-3-686這兩樣套件。&lt;br /&gt;&lt;/li&gt;&lt;li&gt;使用另一台可上網的電腦至Realtek網站下載中心，下載&lt;a href=&quot;ftp://202.65.194.212/cn/nic/r8168-8.010.00.tar.bz2&quot;&gt;R8168&lt;/a&gt; chip driver&lt;br /&gt;&lt;/li&gt;&lt;li&gt;使用隨身碟將下載好的&lt;span style=&quot;font-size:100%;&quot;&gt;r8168-a.bbb.cc.tar.bz2 複製至eee box主機硬碟中（需手動掛載隨身碟）。&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;解壓縮r8168-a.bbb.cc.tar.gz，依造內附文件readme下指令驅動Ethernet網卡。&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;若安裝完畢後後，則可使用lsmod |grep r8168檢查是否成功載入Ethernet網卡driver。&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;修改/etc/X11/xorg.conf的內容，於Section &quot;Device&quot;中，將Driver &quot;i810&quot; 修改為 Driver &quot;vesa&quot;。修改後，重新啟動GDM(/etc/init.d/gdm restart)。&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;GDM啟動，使用帳號密碼登入。&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://qerter.blogspot.com/feeds/5983601422574832047/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/26048884/5983601422574832047' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/5983601422574832047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/5983601422574832047'/><link rel='alternate' type='text/html' href='http://qerter.blogspot.com/2009/01/debian-sarge-asus-eee-box.html' title='[第參期] 安裝Debian Etch 在 Asus eee box上'/><author><name>qerter</name><uri>http://www.blogger.com/profile/04167365099360382351</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9uXGzTb73iL0Fo9w4VTxDcW15FH27OAVn8kEVCqu3FiHMWfg9GBsjfGbErFsOIzoJqVjnz3Y_bfu5Fpkrg8eUzpbeekkxPRRfGYY28PXKuMe49FI_-CG_5TyiVfuARw/s220/旺.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26048884.post-5918185525008557474</id><published>2008-11-02T13:35:00.003+08:00</published><updated>2008-11-02T13:48:26.614+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="自由軟體"/><title type='text'>[第貳期] 自由軟體四大自由</title><content type='html'>有鑑於我自己常常跟別人推廣自由軟體，但是常常忘記自由軟體基本四大自由，僅列於此。&lt;br /&gt;&lt;br /&gt;自由軟體四大自由原文出處網址：&lt;br /&gt;&lt;a href=&quot;http://www.gnu.org/philosophy/free-sw.html&quot;&gt;http://www.gnu.org/philosophy/free-sw.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;自由軟體四大自由（中文是我自己翻譯的）&lt;br /&gt;&lt;br /&gt;Free software is a matter of the users&#39; freedom to run, copy, distribute,study, change and improve the software. More precisely, it refers to fourkinds of freedom, for the users of the software:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The freedom to run the program, for any purpose (freedom 0).&lt;br /&gt;&lt;br /&gt;自由之零：任意執行的自由。&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The freedom to study how the program works, and adapt it to your needs(freedom 1). Access to the source code is a precondition for this.&lt;br /&gt;&lt;br /&gt;自由之壹：存取程式原始碼的自由，研究程式碼如何運作。&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The freedom to redistribute copies so you can help your neighbor(freedom 2).&lt;br /&gt;&lt;br /&gt;自由之貳：重新散佈的自由。如果我覺得這個程式很棒，我可以分享給我的鄰居。&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The freedom to improve the program, and release your improvements tothe public, so that the whole community benefits (freedom 3). Access to thesource code is a precondition for this.&lt;br /&gt;&lt;br /&gt;自由之參：改進程式的自由。我可以自由地跟大家分享我改進的功能程式碼，因此如果有使用這個軟體的人，也可以享受到我改進的功能。&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://qerter.blogspot.com/feeds/5918185525008557474/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/26048884/5918185525008557474' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/5918185525008557474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/5918185525008557474'/><link rel='alternate' type='text/html' href='http://qerter.blogspot.com/2008/11/blog-post.html' title='[第貳期] 自由軟體四大自由'/><author><name>qerter</name><uri>http://www.blogger.com/profile/04167365099360382351</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9uXGzTb73iL0Fo9w4VTxDcW15FH27OAVn8kEVCqu3FiHMWfg9GBsjfGbErFsOIzoJqVjnz3Y_bfu5Fpkrg8eUzpbeekkxPRRfGYY28PXKuMe49FI_-CG_5TyiVfuARw/s220/旺.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26048884.post-2325443470903175183</id><published>2008-11-02T01:27:00.010+08:00</published><updated>2009-08-31T22:45:18.638+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="新聞"/><category scheme="http://www.blogger.com/atom/ns#" term="自由軟體網站"/><title type='text'>[第壹期]digg-like 的自由軟體新聞網站 — Free Software Daily</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaRYpQOEgLG38keoDs5gaGxbDY8g-fEBSxRzJgPY3JMtHDvJjchjWR2q1VuhQq9cqnGJlsAybX78YDjB4AIU3WLeSfk5ualegeppBOpZxvm0QiulR1teA_7YFx7-mv42EFYO2AhQ/s1600-h/fsdaily.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaRYpQOEgLG38keoDs5gaGxbDY8g-fEBSxRzJgPY3JMtHDvJjchjWR2q1VuhQq9cqnGJlsAybX78YDjB4AIU3WLeSfk5ualegeppBOpZxvm0QiulR1teA_7YFx7-mv42EFYO2AhQ/s320/fsdaily.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Free Software Daily&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;http://www.fsdaily.com/&quot;&gt;http://www.fsdaily.com&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
畢竟自由軟體的使用者算小眾，使用Web2.0經營方式的新聞網站，如digg，或台灣的funp，出現的常常是偏大眾口味的文章不然討論跟自由軟體相關的熱門新聞，就只有Ubuntu出什麼新功能 =.=，不然就是一些你為什麼要用Windows，然後Linux好棒的文章。想看點進階一點的文章，就得自己去其他提供文章的網站挖。&lt;br /&gt;
&lt;br /&gt;
以Web2.0經營方式的Free Software新聞網站，遲遲沒有出現。唉！要看個自由軟體新聞還真難阿。Free Software Daily剛好填補了這個遺憾，以Web2.0 方式經營自由軟體新聞，由使用自由軟體的網友們提供新聞文章。&lt;br /&gt;
&lt;br /&gt;
新聞粗略的分類為Beginner、End User、Hign end、business、Community、Philosiphy、Legal、Government、Industry與Opposition，有這樣分類還真不錯，可以挑選自己想看的分類去看相關文章，也有提供分類RSS。&lt;br /&gt;
&lt;br /&gt;
網站還在初創階段，不過我覺得已經很不錯了，目前網友提供的文章的質量我覺得還算不錯，大家有空可以上Free Software Daily看看喔！</content><link rel='replies' type='application/atom+xml' href='http://qerter.blogspot.com/feeds/2325443470903175183/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/26048884/2325443470903175183' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/2325443470903175183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/2325443470903175183'/><link rel='alternate' type='text/html' href='http://qerter.blogspot.com/2008/11/digg-like-free-software-daily.html' title='[第壹期]digg-like 的自由軟體新聞網站 — Free Software Daily'/><author><name>qerter</name><uri>http://www.blogger.com/profile/04167365099360382351</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9uXGzTb73iL0Fo9w4VTxDcW15FH27OAVn8kEVCqu3FiHMWfg9GBsjfGbErFsOIzoJqVjnz3Y_bfu5Fpkrg8eUzpbeekkxPRRfGYY28PXKuMe49FI_-CG_5TyiVfuARw/s220/旺.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaRYpQOEgLG38keoDs5gaGxbDY8g-fEBSxRzJgPY3JMtHDvJjchjWR2q1VuhQq9cqnGJlsAybX78YDjB4AIU3WLeSfk5ualegeppBOpZxvm0QiulR1teA_7YFx7-mv42EFYO2AhQ/s72-c/fsdaily.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26048884.post-115580307700349812</id><published>2006-08-17T15:28:00.003+08:00</published><updated>2008-08-20T01:00:03.520+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="資料庫"/><title type='text'>MySQL 中文Big5轉至UTF-8</title><content type='html'>因為工作需要，必須要將原本MS Access中的資料轉換至MySQL。MS Access 預設編碼為Big5 ，MySQL中以UTF-8存放資料，Collation為utf8_unicode_ci。並且在phpMyAdmin中觀看正常。將從MS Access自己寫程式匯出的sap.sql檔案（編碼UTF-8)，&lt;br /&gt;&lt;br /&gt;要匯入MySQL之前。有以下步驟：&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mysql&gt; SET CHARACTER SET &#39;utf8&#39;;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;設定DataBase 預設編碼&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mysql&gt; ALTER DATABASE  test DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;設定資料表預設編碼&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mysql&gt; use test;&lt;br /&gt;mysql&gt; ALTER TABLE `test_table` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;匯入sap.sql&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mysql&gt; \.sap.sql&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;這樣就可以在phpMyAdmin中觀看正常的UTF-8中文，校對為utf8_unicode_ci。&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;&lt;br /&gt;不知道為什麼使用set names UTF-8 會使得匯入sql的中文字變成問號，不使用就正常了。</content><link rel='replies' type='application/atom+xml' href='http://qerter.blogspot.com/feeds/115580307700349812/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/26048884/115580307700349812' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/115580307700349812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26048884/posts/default/115580307700349812'/><link rel='alternate' type='text/html' href='http://qerter.blogspot.com/2006/08/mysql-big5utf-8.html' title='MySQL 中文Big5轉至UTF-8'/><author><name>qerter</name><uri>http://www.blogger.com/profile/04167365099360382351</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9uXGzTb73iL0Fo9w4VTxDcW15FH27OAVn8kEVCqu3FiHMWfg9GBsjfGbErFsOIzoJqVjnz3Y_bfu5Fpkrg8eUzpbeekkxPRRfGYY28PXKuMe49FI_-CG_5TyiVfuARw/s220/旺.png'/></author><thr:total>0</thr:total></entry></feed>