gaim-1.5@Ubuntu
- libgtk2.0-dev: 來安裝gtk2的檔頭
- libgnutls10-dev: 需要使用ssl
- ./configure --enable-gnutls=yes
gaim 2.0.0beta3 Build Protocol Plugins........ : yes Protocols to link statically.. : Protocols to build dynamically : irc jabber msn novell oscar simple yahoo zephyr UI Library.................... : GTK+ 2.x SSL Library/Libraries......... : None (MSN will not work without SSL!) Build with Plugin support..... : yes Build with Mono support....... : no Build with Perl support....... : no Build with Tcl support........ : yes Build with Tk support......... : yes Build with Audio support...... : no Build with GtkSpell support... : no Build with DBUS support....... : no Build with Cyrus SASL support. : no Has you....................... : yes Use kerberos 4 with zephyr.... : no Use external libzephyr........ : no Use XScreenSaver Extension.... : no Use X Session Management...... : yes Use startup notification.......: no Print debugging messages...... : no Gaim will be installed in /usr/local/bin. Warning: You have an old copy of gaim at /usr/local/bin/gaim.因為libgnutls的函式庫改變了,所以原有的方式無法使用,故要先安裝libgnutls-dev,然後再make;make install。
samuel@pika047:gaim-2.0.0beta3$ sudo apt-get -y install libgnutls-dev 讀取套件清單中... 完成 了解套件依存關係中... 完成 下列的【新】套件都將被安裝: libgcrypt11-dev libopencdk8-dev 建議(Suggested)的套件: libgcrypt11-doc libgnutls-doc gnutls-bin 下列的套件都將被【刪除】: libgcrypt7-dev 下列的【新】套件都將被安裝: libgcrypt11-dev libgnutls-dev libopencdk8-dev 更新 0 個套件,新安裝 3 個套件,刪除 1 個套件,另不更新 29 個套件。 6 個套件沒有完全安裝或刪除完畢。 需要下載 798kB 的檔案。 解壓縮後將消耗 1151kB 的空間。 下載:1 http://apt.ubuntu.org.tw dapper/main libgcrypt11-dev 1.2.2-1 [237kB] 下載:2 http://apt.ubuntu.org.tw dapper/main libopencdk8-dev 0.5.7-2 [117kB] 下載:3 http://apt.ubuntu.org.tw dapper/main libgnutls-dev 1.2.9-2ubuntu1 [444kB] 讀取 798kB 用了 15s (50.5kB/s) (正在讀取資料庫 ... 系統目前總共安裝有 114708 個檔案和目錄。) 正在刪除 libgcrypt7-dev ... 選中了曾被取消選擇的套件 libgcrypt11-dev。 (正在讀取資料庫 ... 系統目前總共安裝有 114689 個檔案和目錄。) 正在解壓縮 libgcrypt11-dev (從 .../libgcrypt11-dev_1.2.2-1_i386.deb) ... 選中了曾被取消選擇的套件 libopencdk8-dev。 正在解壓縮 libopencdk8-dev (從 .../libopencdk8-dev_0.5.7-2_i386.deb) ... 選中了曾被取消選擇的套件 libgnutls-dev。 正在解壓縮 libgnutls-dev (從 .../libgnutls-dev_1.2.9-2ubuntu1_i386.deb) ...
Netlogo應用
OpenSSH@windows
利用cwTex,己經作出了很多的文件pdf檔,但是在windows中怎樣才能將文件分享在網路上呢,所以使用OpenSSH作檔案分享的伺服器,是不錯的idea。
另外也可以參考DRBL OpenSSH@windows
- 到Cygwin去下載setup.exe,安裝在c:\cygwin
- 設定環境變數CYGWIN=ntsec或是tty ntsec
- 利用ssh-host-config設定sshd成服務類型
- 在cygwin的環境下,利用命令"net start sshd"或是"cygrunsrv --start sshd"來啟動sshd。
- 自我測試"ssh localhost"
4NT command line editing
PythonPoint
Xfig Tutorial
xfig繪出向量圖形,而非是點陣圖,一直都不會,所以將過程記錄起來。
Mouse usage
滑鼠3鍵分屬不同的功能,左鍵(鍵1),中鍵(鍵2),右鍵(鍵3)。繪製Box
按鍵1(corner point)移到要的位置,再按鍵1(final point),如果在Fill Style有設定,則此Box會填入色彩。但這樣的Box並不能轉角度,如果要作出轉角度的Box,就要用POLYGON
選定作出的box後,Update可將Fill Style中所設定的顏色,填入box中。
Click mouse button 1 (`corner point') at any corner of the rectangular box, and click mouse button 1 (`final point') again at the opposite corner.If area fill is specified by FILL STYLE, the box will be filled according to the setting.
A box created with this function can't be rotated by an arbitrary angle, only by multiples of 90 degrees. To create an arbitrarily rotatable rectangular box, you should use POLYGON (it may be easier to create non-rotated rectangle first and then rotate it by ROTATE). You may also use REGULAR POLYGON to create a rotated square.
Compound Objects
鍵1(tag object)選定物件,鍵2(tag region)拉出一個涵蓋所要物件的Box,鍵3(compound tag)完成
Glue selected objects and make them a COMPOUND object.
This is useful to move or copy some objects together at the same time. It is also possible to scale part of a figure by scaling a COMPOUND object after making part of the figure COMPOUND.
Clicking on an object with mouse button 1 (`tag object') will tag the object. Clicking one corner of a rectangular region with mouse button 2 (`tag region') and then clicking mouse button 2 (`final corner') again at the opposite corner of the rectangular region will tag all objects inside the region. After tagging all objects to be glued into a COMPOUND object, clicking mouse button 3 (`compound tagged') will glue those objects and make them a COMPOUND object.
If an already tagged object is selected by mouse button 1 or mouse button 2, that object will be untagged. If you want to remove all tags, change the mode temporarily to any other mode (e.g. "move object") except BREAK COMPOUND. The COMPOUND object may be separated into component objects by BREAK COMPOUND.
Copy object
鍵1(copy object)選擇要複製的物件,移動到適當的地方,再按鍵1(place object)系統會自動貼上物件,完成複製。
Select the object to be copied by clicking the object with mouse button 1 (`copy object'), and finish the copy operation by clicking mouse button 1 (`place object') again at the position to place the copy. If you want to restrict the movement to horizontal or vertical, use mouse button 2 (`horiz/vert copy') instead of mouse button 1. The operation may be canceled by clicking mouse button 3 (`cancel') in either case.
If you want to copy several objects at the same time, you may put them a COMPOUND object using GLUE COMPOUND.
By setting SMART-LINKS MODE, it is possible to copy the lines which touch the object as you move the object itself. This only works with POLYLINES (not splines) touching a BOX or ARC-BOX. It is also possible to make many copies in this mode, using ARRAY PLACEMENT. To do this, first set the number of copies to be created by setting NUMBER OF X COPIES and NUMBER OF Y COPIES. Then select the object to be copied by clicking the object with mouse button 1 (`copy object') or 2 (`constrained copy'), and specify the direction and distance to place the copies by clicking mouse button 2 (`array placement') after moving the mouse. Normally, objects will be placed on the array of NUMBER OF X COPIES and NUMBER OF Y COPIES, but when either of them is set 0 or 1, copies of specified number will be generated and they can be placed obliquely. For example, if the number of X copies is 3 and the number of Y copies is 0 or 1, the copied objects will be placed along the X direction at the same Y position as the original object.
Clicking an object with mouse button 3 (`copy to cut buf') will copy the object to the xfig cut buffer. The object copied into the xfig cut buffer may be inserted into the figure on the canvas using Paste Objects. This allows you to copy part of a figure to another figure. Any object in the xfig cut buffer will be overwritten when the new object is copied into the xfig cut buffer. To copy multiple objects into the xfig cut buffer, you must first put them into a COMPOUND object using GLUE COMPOUND.
Resources
jabber Howto
http://www.jabber.org/user/userguide/ http://status.jabber.org/ Jabber: steven@darwin.nchc.org.tw ICQ: 143458524 M$N: jhshiau@yahoo.com
請大家同時開jabber & M$N,這樣,一個掛了,馬上可以用另外一個接手..因為有時候M$N掛了,你並不知道...別人要找你,卻沒辦法透過M$N找你..呵呵...人工的failover。為何要請各位有jabber帳號,就是要方便聯絡。如何方便?為何指定jabber ?
0. 就是不管Linux/M$ Windows都可以有client 1. 因為它是開放與分散式的架構,每個人都可以自己架server,然後各個server又可以互相連通。 不會掛一個站,幾千萬人跳腳...這也符合grid的精神...呵呵 2. 一個比較重要的,client可以跨平台,而且很多IM程式都可以支援。
3. Jabber另外一個好處是可以支援SSL/RSS,所以了,呵呵,如果開起來了,你講的咚咚,別人很難監控...M$N messenger沒有加密的機制,也不能外掛,sniffer這個程式可以輕易的監控別人的悄悄話,但是用gaim可以解決這個問題。
gaim下如何加密(適用M$N messenger, Jabber, ICQ, Yahoo...): 1.先安裝 gaim (download from http://gaim.sf.net) 2.再安裝這個 http://gaim-encryption.sourceforge.net/ 3.然後開啟gaim->工具->偏好設定->模組清單->gaim-encryption勾起來 4.然後在對話的時候,右下角有一個鎖,本來是開的,你可以把他鎖上
如 http://gaim-encryption.sourceforge.net/conversation.html How do I use the same key on multiple machines? In Windows, "C:\Documents and Settings\username\Application Data\.gaim\"
三個檔案 1. private keys id.priv. 2. Your public keys id. 3. The public keys that you have "accepted" are in known_keys.
Each key is on its own line, and starts with the account name. Cut and paste the keys you want to copy (in both id.priv and id). Or, copy those entire files (but make sure to get the permissions right on them! Gaim-Encryption won't use key files that are world-writable, or private key files that are world-readable).
4. 有一台jabber server在中心,連線速度快。M$N不是一個好東西,M$壟斷一切。哪天M$N獨大之後,要收錢了,你就要轉換一堆朋友的帳號,然後,可能為了怕麻煩,就付錢而不想轉換到其他的,呵呵講了這麼多,就是麻煩各位,同時開啟Jabber & M$N...其實,好不好用在於習慣。
jabber用戶端程式其中一個是gaim,可以在這裡下載http://gaim.sourceforge.net/downloads.php 然後用gaim這個程式到這裡註冊: 帳號清單->新增->通訊協定選Jabber ->伺服器選jabber 通訊協定:jabber 帳號: 你的帳號,例如JohnAdams 伺服器: jabber.org Resource: Gaim 然後就按註冊,應該就會跳出"註冊新的Jabber帳戶" 伺服器的話,還有其他地方可以選,你可以查看這裡: http://www.jabber.org/network,中心也有一台,darwin.nchc.org.tw 5. google talk也使用jabber了 http://www.google.com/support/talk/bin/answer.py?answer=24073