2007年11月17日 星期六

這個月來錄取的文章有

今年10月以及11月訪客最多及最多人瀏覽的文章LINUX 指令參考手冊購入,大部分的瀏覽尖峰時段在中午12-13點。最多人檢視此網頁root帳戶驗證失敗訪客拜訪忠誠度通常都只拜訪一次佔70.60%,而超過51次的只有佔0.07%。

透過關鍵字來到本格的有:自動洗狗機pidgin sslsecond life夺命连线未來生涯規劃範本惡搞瑪莉歐以上都有入圍,至於得了什麼獎?我還在想.....

另外,發佈這篇文章(第304篇)後,將向未來的第400篇邁進,到底中間會發生什麼樣曲折離奇的事,又會有什麼樣的火花呢?期待中.....

使用文字介面又有什麼好處呢?

使用文字介面又有什麼好處呢?
1.附有創意,這創意內容或字符是在gui介面看不到的。
2.執行效率佳。譬如想知道某個設定或資訊內容只要鍵入某個指令配合參數,如果正確則很快的顯示你要的資訊,也許你並不曉得如何使用,只要你知道後,利用這些命令可以讓你更快速的管理電腦。

ircII命令

雖然做翻譯對小弟來說根本是件不可能的事,但真的沒辦法了,因為想使用irc的關係,非得為自己整理一下翻出來的結果不可,因此這份文件充其量只是自己日後使用上得參考資料罷了!

翻譯真的很耗時,尤其親身靠工具及辭典翻譯後感受更深。向那些為使用者辛苦執行翻譯工程的人員,至上萬分敬意。

花了約5個小時時間耗在這份翻譯文件上,好不容易翻好了卻是我要睡得時候了。

這份在man上的說明文件很長,小弟只是想把它翻譯一下方便使用,如有侵權小弟馬上刪除。

Ubuntu使用者可以在套件管理程式取得ircII的套件。
因小弟英文能力非常破,使用的工具是google 翻譯及一些手邊上的英漢字典,如語意翻得不正確敬請糾正^^

以下原文譯自ircII命令說明(請參考man irc)


ircII命令
NAME
ircII - interface to the Internet Relay Chat system

ircII 網際網路即時聊天系統介面

語法
irc [-c chan] [-p portno] [-P portno] [-b] [-f] [-F] [-s] [-S] [-t]
[-T] [-d] [nickname [server list]] [-a] [-v] [-q] [-h hostname ] [-icb]
[-irc]

描述
The ircII program is a full screen, termcap based interface to Internet
Relay Chat. It gives full access to all of the normal IRC functions,
plus a variety of additional options.

該ircii計劃是一個全屏幕, termcap支援基礎的界面,以互聯網
即時聊天。它給人充分接觸到所有正常存取的功能,
再加上各種附加選項。

選項

-c chan
Automatically join channel chan .

自動加入頻道chan。

-p portno
Set the IRC port number to portno (default: 6667, the standard
IRC port). Only supply this if you connect to a server which
uses a port other than 6667.

設定irc port編號到portno(預設是:6667,是一個標準的irc port)只有供應這個,如果 您連接到一台服務器,其中
利用port以外的6667 。

-P portno
Set the ICB port number to portno (default: 7326, the standard
ICB port).

設定一個ICB port編號到portno(預設是:7326,是一個標準的icb port)。

-b
Load the .ircrc file before connection to a server, not after-
wards.

載入.ircrc檔案之前存取一個伺服器,而不是事後產生。

-f
Use flow control (^S and ^Q) to stop/start the display. Nor-
mally these are both bound to other functions within irc. This
switch is ignored if the -d switch is used.

使用流量控制( ^ s和^ q )的停止/開始顯示。也不是通常這些都勢必給其他職能irc。這
開關被忽略,如果使用-d交換機。

-F
Don't use flow control (^S and ^Q) to stop start the display.
This switch is ignored if the -d switch is used.

不要使用流量控制( ^ s和^ q )的停止開始顯示。這個開關被忽略,如果使用-d交換機。

-s
Don't start up the ircio process to connect to the IRC server
(default).

不啟動ircio進程以連接到irc服務器(預設) 。

-S
Start up the ircio process to connect to the IRC server.

開始ircio進程,以連接到irc服務器。

-t
Don't use the termcap ti and te sequences when starting and
exiting (default).

當開始和離開(預設)不使用termcap ti和te序列。

-T
Do use the termcap ti and te sequences when starting and exiting
if they exist.

如果它們存在的話,不使用termcap ti和te序列時進出。

-d
Start in "dumb" mode. All input is taken directly from stdin
and all output goes to stdout without using any of the term-
cap(5) screen control codes.

開始,在"啞巴"的模式。所有進來是採取直接從stdin和所有輸出到標準輸出無需使用任何的termcap 螢幕控制碼。

nickname
Set the nickname (overrides the environment variable IRCNICK;
default: the username).

設定暱稱(凌駕於環境變量ircnick ;預設:用戶名) 。
server
Set the list of servers with which irc will try to connect upon
startup. This list is also used by the program's /server com-
mand. The format for lines in the list is:

設定服務器名單與irc嘗試連接後開機,這份名單也用該節目的/服務器組件mand 。格式行中的名單是:
hostname [:portno[:password[:nick]]]
for IRC connections. For
ICB connections, the format is:

對於IRC連接為ICB連接,格式是:
ICB/hostname [:portno[::nick[:group[:mode]]]]
with group being
the initial group and mode being the initial group mode. See
/HELP ICB for more information about ICB.

與群組正在初次組 初次組和模式正初步集團模式。見
/HELP ICB for more information about ICB.

If the hostname is in the format :servergroup:host.com then
servergroup is taken to be the Server Group for this server
entry.

如果主機是這個格式: servergroup : host.com則servergroup是不會採取該服務器組,為這個服務器進入。

-a
This adds the normal irc server list to the command line list of
irc servers.

這是增加一個普通irc服務器清單到命令列的irc servers。
-v
Print the version and release date of ircII and exit.

印出版本和發佈日期在ircii和離開。
-q
Start up irc quickly -- don't load the IRCRC file.

快速啟動irc-不載入IRCRC檔案。
-h hostname
This option instructs ircII to use the given hostname as the
local address. Useful only on multi-homed hosts.

這個選項指示ircll使用特定主機作為本地地址。只有在多元主機上有用(Useful only on multi-homed hosts.)
-icb
Use ICB connections by default.

預設使用ICB連接。
-irc
Use IRC connections by default.

預設使用IRC連接。

詳細描述
屏幕上:
The screen is split into two parts, separated by an inverse-video sta-
tus line (if supported). The upper (larger) part of the screen dis-
plays responses from the IRC server. The lower part of the screen (a
single line) accepts keyboard input.

Some terminals do not support certain features required by ircII, in
which case you receive a message stating this. If this occurs, try
changing the terminal type or run ircII with the -d option.

畫面上是分割成兩部分,分別相隔一個inverse-video 、狀態列(如果支持) 。上(較大)螢幕顯示反應從irc服務器,螢幕下方部分(一條單線)接受鍵盤輸入。

有些終端不支持某些功能所需要的ircll ,這種情況下您收到訊息說明這一點。如果有這種情況,嘗試改變終端類型或運行ircll與-d選項。

IRC的命令:
Any line beginning with the slash character '/' is regarded as an ircII
command (the command character may be changed; type '/help set cmd-
char'). Any line not beginning with this character is treated as a
message to be sent to the current channel. To produce a listing of
commands, type '/help ?'. To receive information about the commands
type '/help '.

任何列開始與斜線字元'/'被視為一種ircll命令(命令字元可以改變);樣式'/help set cmdchar').
任何時候在命令列開始輸入訊息,如果輸入'/'則不當作訊息也不會送到頻道上。製作一個命令可以輸入'/help ?'查詢某個命令則輸入'/help <命令> '.

The .ircrc File:
When ircII is executed, it checks the user's home directory for a
.ircrc file, executing the commands in the file. Commands in this file
do not need to have a leading slash character '/'. This allows predef-
inition of aliases and other features.

當ircll執行時,為它檢查用戶的主目錄。 .ircrc文件,執行該命令文件。命令在此檔案不需要有一個斜線字符' / ' 。這使得predef -inition的別名以及其它的功能。

範例
irc -c #users -p 5555
Connect IRC to port number 5555 of the default host and enter on
channel #users.

連接IRC,以端口號5555的默認主機進入到頻道#使用者。

irc Mermaid
Use the nickname "Mermaid".

使用暱稱"美人魚" 。

irc Mermaid server1:5000 server2::passwd server3
Use the nickname "Mermaid" and the modified server list.

使用暱稱"美人魚"和修改服務器列表。

irc piglet3 :ln:irc1.lamenet.org :ln:irc1.lamenet.org
Use the nickname "piglet3", initially connecting to
irc.au.lamenet.org, with also irc.us.lamenet.org added to the
server list, both having a server group name "ln".

使用綽號" piglet3 " ,最初連接 irc.au.lamenet.org ,然後irc.us.lamenet.org添加到服務器列表,兩個服務器群組都有名稱"ln " 。

irc oink ICB/www.icb.net
Use the nick "oink" making an ICB connection to www.icb.net.

使用nick" oink " ,用ICB連接到www.icb.net 。

irc -d Use dumb mode.

irc -f Allow use of ^S/^Q to stop/start screen display.

irc -e elisa
Interface IRC with a program called elisa.

irc介面呼叫elisa程式

setenv IRCNICK Mermaid

setenv IRCNAME "The one and only :)"

irc
Set the username (if not specified elsewhere) to "Mermaid". The
user's name (when provided inside parentheses in response to a
WHOIS command) is set to "The one and only :)".

設置用戶名(如果沒有指定其他地方) ,以"美人魚" 。該用戶的名稱(當提供的括號內,在回應一位whois查詢命令)設置為"唯一和只有: ) " 。

檔案
/usr/bin/ircII
the executable program

可執行程序

~/.ircrc
default initialization file

預設初始檔

~/.irc/
directory you can put your own ircII scripts
into, that can then be loaded with /load

你能夠把你自己的ircii腳本再裝載/負載到目錄。

/etc/irc/
directory containing message-of-the-day, master
initialization, help files and ircII scripts
/etc/irc/script/local is the master initializa-
tion file for the site, loaded before .ircrc is.
This is a Debian GNU/Linux conffile.
/usr/share/ircII/ shared repository for help,
translation tables and distributed scripts.

目錄中包含每天的信息,管理者初始化,幫助文件和ircii腳本在 /etc/irc/script/local 是網站管理者initializa-tion檔案是.ircrc裝載前 。這是一個在Debian GNU/Linux conffile.
/usr/share/ircII/ 共享知識庫幫助文件、翻譯表,和分發腳本。

幫助檔案
All of the ircII commands are fully described in the help files pack-
age. The best way to start here is with the /HELP ? command as this
prints a listing of all available help files.

所有的ircii命令,全面敘述了在幫助文件包-
年齡。最好的方式,開始在這裡是同/HELP?命令,因為這
版畫列出所有可用的幫助文件。

信號
ircii
handles the following signals

處理以下信號

SIGUSR1
Closes all DCC connections and EXEC'ed processes.

關閉所有DCC的連接與EXEC'ed進程。

SIGUSR2
Drops ircII back to the command line.

放棄ircii回到命令列。

環境變數
It can be helpful to predefine certain variables in in the .cshrc,
.profile, or .login file:

它有助於預先為某些變數。 在.cshrc、.profile或.login文件:

IRCNICK
The user's IRC nickname.

用戶的IRC暱稱。

IRCNAME
The user's IRC realname (otherwise retreived from /etc/passwd)

用戶的IRC realname (否則retreived / etc / passwd中)

IRCSERVER
The default IRC server(s) (see server option for details)

預設的IRC服務器 (見服務器選擇詳情)

IRCSERVERSFILE
The file containing the default list of server(s), usually PRE-
FIX/lib/irc/ircII.servers. This file should contain one server
entry per line.

該文件包含預設的名單服務器,通常為PRE-FIX/lib/irc/ircll.servers 。這個文件應該包含一個服務器進入每條線。

HOME
Overrides the default home path in /etc/passwd.

Overrides預設主頁路徑/ etc / passwd中。

TERM
The type of terminal in use.

使用的終端機類型。

檔案
uses the following files under the library directory, usually
PREFIX/share/irc.

ircll通常使用的函式庫在下列目錄,PREFIX/share/irc.
ircII.servers
The initial list of servers if none are provided on the command
line.

初步名單上的服務器,如果沒有提供一個命令列。
ircII.motd
Message of the day. This file is displayed only once each time
it is changed.

當天的訊息,這個檔案只會顯示一次,每次隨著時間而改變。

相關命令見
ircd


AUTHORS
Program written by Michael Sandrof (ms5n+@andrew.cmu.edu). Now being
maintained by Matthew Green (mrg@eterna.com.au). Debian specific exten-
sions by the Debian Maintainer Bernd Eckenfels (ecki@debian.org).
Names of contributors and contact address can be retrieved with the
/info command. This manual page written by Darren Reed
(avalon@coombs.anu.EDU.AU), revised by R. P. C. Rodgers
(rodgers@maxwell.mmwb.ucsf.edu), by the lynX, and by Matthew Green
(mrg@eterna.com.au).