終端機昇級套件讓您在終端機上也可以使用中文

Mac OS X 平台上程式設計的相關問題討論

版主: bryanchangdigdog謝孟叡

回覆文章
內容
發表人
頭像
bryanchang
討論區管理員
文章: 7057
註冊時間: 04/19/2001 1:01 am
來自: The '60s
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#1 文章 bryanchang »

今天的新聞:
http://www.frostyplace.com/index.php?story_id=893


對於這個安裝程式如果您有任何問題的話,歡迎在此跟大家討論。
頭像
digdog
討論區管理員
文章: 1297
註冊時間: 05/02/2001 1:01 am
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#2 文章 digdog »

setenv LC_CTYPE zh_TW.Big5
setenv LANG zh_TW.Big

這兩行不一定需要加,除非你想看到中文的軟體訊息,換言之,這跟用 screen 上 BB 沒有直接的關聯。

加了這兩行(如果是中文版的 Mac OS X,那這兩行已經是預設好的,就不用麻煩在 .cshrc 裡重加一次了),部份軟體在 Terminal 下輸出的訊息會是 Big5 編碼的中文字,這時後用 screen 就可以正常看到這些訊息了。

[ 09-28-2002: 留言編輯者: digdog ]
頭像
謝孟叡
討論區管理員
文章: 960
註冊時間: 05/01/2001 1:01 am
來自: 邪教組織 #osxchat
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#3 文章 謝孟叡 »

<BLOCKQUOTE><font size="1" face="XYZ">quote:</font><HR>原始發信人 白萊恩:
<STRONG>今天的新聞:
http://www.frostyplace.com/index.php?story_id=893


對於這個安裝程式如果您有任何問題的話,歡迎在此跟大家討論。</STRONG><HR></BLOCKQUOTE>

Reference:
<LI>utf8 screen
anarchy
基本會員
文章: 28
註冊時間: 07/07/2001 1:01 am
來自: taipei
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#4 文章 anarchy »

不董
什麼叫做自己在.cshrc 裡面加alias.....
在安裝時上面寫得小技巧
cktam
留言破百
文章: 143
註冊時間: 05/01/2001 1:01 am
來自: 澳門-Macau
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#5 文章 cktam »

>在.cshrc 裡面加alias
是的, 怎樣加alias 在 .cshrc 中, 這個檔案的位置在那裡呢,我找不到啊???
fddi1
留言破百
文章: 188
註冊時間: 05/03/2001 1:01 am
來自: USA/Seattle, WA
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#6 文章 fddi1 »

That assumes you are using C shell as your default shell. If you don't have .cshrc, you'll have to create one under your user home directory, and alias is a command. Do a man alias for more details.
cktam
留言破百
文章: 143
註冊時間: 05/01/2001 1:01 am
來自: 澳門-Macau
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#7 文章 cktam »

so, would you mind to give us some example, because we are not familar with unix shell commands.

thanks.
[img]images/smiles/icon_smile.gif[/img]
頭像
謝孟叡
討論區管理員
文章: 960
註冊時間: 05/01/2001 1:01 am
來自: 邪教組織 #osxchat
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#8 文章 謝孟叡 »

<BLOCKQUOTE><font size="1" face="XYZ">quote:</font><HR>原始發信人 cktam@澳門:
<STRONG>so, would you mind to give us some example, because we are not familar with unix shell commands.

thanks.
[img]images/smiles/icon_smile.gif[/img]</STRONG><HR></BLOCKQUOTE>
0. open Terminal.app
1. if you didn't change any default setting of shell, you are using tcsh now.
2. pico .cshrc
3. add following line:
alias screen "/usr/bin/screen -DRU"
4. save, exit, Command-N to create new shell terminal window.
5. now your screen command is mapped to screen -DRU now.
cktam
留言破百
文章: 143
註冊時間: 05/01/2001 1:01 am
來自: 澳門-Macau
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#9 文章 cktam »

thank you very much. [img]images/smiles/icon_smile.gif[/img]
頭像
謝孟叡
討論區管理員
文章: 960
註冊時間: 05/01/2001 1:01 am
來自: 邪教組織 #osxchat
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#10 文章 謝孟叡 »

<BLOCKQUOTE><font size="1" face="XYZ">quote:</font><HR>原始發信人 digdog:
<STRONG>FYI: Darwin Ports will add screen 3.9.11 soon. (with utf8-big5 encoding fix)

[ 10-30-2002: 留言編輯者: digdog ]</STRONG><HR></BLOCKQUOTE>

Thanks, wait for the committers...
BTW, anoncvs.opendarwin.org is not accessible now. [img]images/smiles/icon_mad.gif[/img]
頭像
digdog
討論區管理員
文章: 1297
註冊時間: 05/02/2001 1:01 am
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#11 文章 digdog »

FYI: Darwin Ports will add screen 3.9.11 soon. (with utf8-big5 encoding fix)

[ 10-30-2002: 留言編輯者: digdog ]
頭像
謝孟叡
討論區管理員
文章: 960
註冊時間: 05/01/2001 1:01 am
來自: 邪教組織 #osxchat
聯繫:

終端機昇級套件讓您在終端機上也可以使用中文

#12 文章 謝孟叡 »

<BLOCKQUOTE><font size="1" face="XYZ">quote:</font><HR>原始發信人 永野大神:
<STRONG>Thanks, wait for the committers...
BTW, anoncvs.opendarwin.org is not accessible now. [img]images/smiles/icon_mad.gif[/img]</STRONG><HR></BLOCKQUOTE>

Now it's in /usr/dports .... Thanks for those committers.
回覆文章