就如同官網上所講的, MSYS可以讓Windows有基本的Linux Shell的指令.
MSYS is a collection of GNU utilities such as bash, make, gawk and grep to allow building of applications and programs which depend on traditionally UNIX tools to be present. It is intended to supplement MinGW and the deficiencies of the cmd shell.
但由於mingw-get-inst自動安裝程式下載msys的套件安裝還有問題, 所以我改用手動安裝.
官網的安裝說明: http://www.mingw.org/wiki/msys
2010年10月29日
2010年10月28日
Add vi keys to eclipse editor
Vrapper is an eclipse plugin which acts as a wrapper for eclipse text editors to provide a Vim-like input scheme for moving around and editing text.
To install Vrapper, add the remote site http://vrapper.sourceforge.net/update-site/stable to your Eclipse Update Manager.
To install Vrapper, add the remote site http://vrapper.sourceforge.net/update-site/stable to your Eclipse Update Manager.

2010年10月26日
MinGW installation
It seems the MinGw main site is broken currently. (2010 Oct 26)
The automated MinGW Installer (mingw-get, mingw-get-inst) still can't find some of the packages.
I do some googling and find another maintainer of MinGW -- TDM-GCC which has a better installer.
用remserial來建立一個serial port I/O
首先, 需建立一個輸入端:
# nc -l -p 2000 -t
再用remserial 連線到這個port
# remserial -r localhost -p 2000 -l /dev/remserial /dev/ptmx
如此在netcat下輸入的資料, 都會被導向到/dev/remserial這個pseudo serial port去
# nc -l -p 2000 -t
再用remserial 連線到這個port
# remserial -r localhost -p 2000 -l /dev/remserial /dev/ptmx
如此在netcat下輸入的資料, 都會被導向到/dev/remserial這個pseudo serial port去
訂閱:
文章 (Atom)
coap-client 4.3.0 Windows build
coap-client is a wget -like tool to generate simple requests for retrieval and modification of resources on a remote server. Got the sour...
-
選擇用tinc的原因是因為官網的這句話. Automatic full mesh routing Regardless of how you set up the tinc daemons to connect to each other, VPN traffic i...
-
雖然遠端桌面時, 可以在client端設定是否要將遠端的音訊重新導向到本機, 當你有多台Server要遠端控制時就不會想要每次修改設定. 我的解決方式是修改遠端Server的音效設定值. 修改群組原則的設定.
-
寫bash script時候, 用grep或awk取出來的值, 裡面還包含了一些non-printable的字; 作字串比對時, 就會一直出錯. 這時可以用 tr 這個指令移除看不到的字(如換行符號): # echo $VAR_WITH_NON_PRINT | tr -d ...