SetupBBS 板


LINE

※ [本文轉錄自 PttCurrent 看板 #1DNKuHeU ] 作者: siriusu (かがみは俺の嫁。) 看板: PttCurrent 標題: [問題] 主選單亂碼,是中文環境的問題嗎? 時間: Fri Feb 18 00:34:23 2011 把一個pttcurrent的舊系統bsd版本升級&ptt版本更新到最新 結果目前遇到最大的問題是主選單變這樣 -- 柽蜓蔃泾銵具肑 灰姑娘城堡 鲭缫SBadmint ● ● ● ● ● ● ● ● ● ● My Dear friend 下次再來喔! ● ● ● ● ╭╦═╮╭╦═╮╭╦═╮╔╦═╮ ╔╦═╮╭╦ ╮╭╦═╮ ╠╣╭╮╠╣ ║╠╣ ║╠╣ ║ ╠╬═╣╰╩╦╯╠╬═ ╰╩═╯╰╩═╯╰╩═╯╚╩═╯ ╚╩═╯╰═╩ ╰╩═╯ █■█■█■█■█■█■█■█■█■█■█■█■█■█■█■█■█■█■█■█ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (0)Admin 造蝟餌絞蝬剛風耠鄊 (A)nnounce 造蝎曇骓砌불甈萠鄊 ●(F)avorite 造鄠萠胦蒛 鄊 (C)lass 造疯떄閮殚ꮖ耠鄊 (M)ail 造蝘癳犖靽∩辣耠鄊 (T)alk 造隡隒箫予耠鄊 (U)ser 造鲸犖閮剖꺚耠鄊 (X)yz 造蝟餌絞鞈殴ꢊ耠鄊 (P)lay 造憡ɒꢂ乐벑鈠鄊 (N)amelist 造蝺函馅亙邍긠鄊 (G)oodbye a隋嚗鉴蚍閬骛肦 -- 因為不太清楚負責輸出這些的是誰@@所以我先去試著改了 csh.cshrc和 -- # $FreeBSD: src/etc/csh.cshrc,v 1.3.56.1.4.1 2010/06/14 02:09:06 kensmith Exp $ # # System-wide .cshrc file for csh(1). umask 022 setenv PAGER more set nobeep set autolist set notify set color set autologout = (300) set dspmbyte = big5 stty pass8 setenv LC_CTYPE en_US.ISO8859-1 setenv LC_ALL zh_TW.Big5 setenv LANG zh_TW.Big5 setenv CLICOLOR alias ls 'ls -F \!*' alias cp 'cp -i \!*' alias rm 'rm -i \!*' alias mv 'mv -i \!*' alias telnet 'telnet -8 \!*' if ($?prompt) then if(! $?WINDOW ) then set prompt="%{^[[1;33m%}%n%{^[[m%}@%{^[[1;37m%}%m%{^[[m%} %{^[[1;32m%}[%~]%{^[[m%} > " else set prompt="%{^[[1;33m%}%n%{^[[m%}@%{^[[1;37m%}%m%{^[[m%} %{^[[1;32m%}[%~]%{^[[m%} %{^[[1;35m%}[W$WINDOW]%{^[[m%} > " endif if ($?tcsh) then set mail = (/var/mail/$USER) bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward endif endif -- cshrc.login -- # $FreeBSD: src/etc/csh.login,v 1.21.30.2.2.1 2010/06/14 02:09:06 kensmith Exp $ # # System-wide .login file for csh(1). # Uncomment this to give you the default 4.2 behavior, where disk # information is shown in K-Blocks # setenv BLOCKSIZE K # # For the setting of languages and character sets please see # login.conf(5) and in particular the charset and lang options. # For full locales list check /usr/share/locale/* # # Check system messages # msgs -q # Allow terminal messages # mesg y setenv ENABLE_STARTUP_LOCALE zh_TW.Big5 setenv LC_CTYPE en_US.ISO8859-1 setenv LANG zh_TW.Big5 stty pass8 -- 也試著裝了big5con,但沒有效果 請問我該改哪邊呢,謝謝! P.S. 如果我用vim開啟 ~/etc/editable 等檔案時一開始是亂碼 需用 :set encoding=utf8 :set termencoding=big5 :set fileencoding=utf8 才能正常瀏覽 但是我把cs.cshrc的LANG改big5或UTF-8都還是有問題 謝謝各位! 附錄一 已裝的packages: apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 Apache Portability Library autoconf-2.68 Automatically configure source code on many Un*x platforms autoconf-wrapper-20101119 Wrapper script for GNU autoconf automake-1.11.1 GNU Standards-compliant Makefile generator (1.11) automake-wrapper-20101119 Wrapper script for GNU automake db41-4.1.25_4 The Berkeley DB package, revision 4.1 db42-4.2.52_5 The Berkeley DB package, revision 4.2 expat-2.0.1_1 XML 1.0 parser written in C gdbm-1.8.3_3 The GNU database manager gettext-0.18.1.1 GNU gettext package gmake-3.81_4 GNU version of 'make' utility help2man-1.38.4 Automatically generating simple manual pages from program o ja-lynx-2.8.7.r1 A terminal-based World-Wide Web Client with multi-byte modi ja-perl-5.005.03_5 Pattern Extraction and Recognition Language + Japanese patc libiconv-1.13.1_1 A character set conversion library libsigsegv-2.9 Handling page faults in user mode libtool-2.2.10 Generic shared library support script m4-1.4.15,1 GNU m4 mime-support-3.51.1 MIME Media Types list neon29-0.29.5 An HTTP and WebDAV client library for Unix systems p5-Locale-gettext-1.05_3 Message handling functions perl-5.10.1_3 Practical Extraction and Report Language pgp-2.6.3i_1 PGP International version - Public-Key encryption for the m pkg-config-0.25_1 A utility to retrieve information about installed libraries portupgrade-2.4.8_1,2 FreeBSD ports/packages administration and management tool s python26-2.6.6 An interpreted object-oriented programming language ruby-1.8.7.302,1 An object-oriented interpreted scripting language ruby18-bdb-0.6.5_1 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat sqlite3-3.7.4 An SQL database engine in a C library subversion-1.6.15 Version control system tcl-8.5.9 Tool Command Language tcl-modules-8.5.9 Tcl common modules unzip-6.0 List, test and extract compressed files in a ZIP archive vim-lite-7.3.81 Vi "workalike", with many additional features (Lite package zh-autoconvert-0.3.16_1 Intelligent Chinese encoding converter zh-big5con-0.92i Big5 Chinese console zh-mutt-devel-1.5.21_20100927 The Mongrel of Mail User Agents with Chinese support 附錄二 env的結果(bbsadm) HOSTTYPE=FreeBSD VENDOR=intel OSTYPE=FreeBSD MACHTYPE=i386 SHLVL=2 PAGER=more LC_CTYPE=en_US.ISO8859-1 LC_ALL=zh_TW.Big5 LANG=zh_TW.Big5 CLICOLOR= ENABLE_STARTUP_LOCALE=zh_TW.Big5 EDITOR=vi --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.33.2 --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.33.2
1F:→ siriusu:bsd version: 8.1stable 02/18 00:43







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:Tech_Job站內搜尋

TOP