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灯, 水草

请输入看板名称,例如:e-shopping站内搜寻

TOP