Re: 奇怪的Debian内核结构大小

2011-06-21 文章 Dongsheng Song
2011/6/20 lubiao lubiao...@gmail.com 我用 gcc-4.4 -Wall -O2 test.c 编译失败,就使用 gcc-4.3 试试,也是如此。 struct ip_vs_get_services 有个特别的成员: struct ip_vs_service_entry entrytable[0]; 可能跟优化选项有关系。把 -O2 去掉试试吧。 不是这个问题。运行我这个程序的主机原来是32bit,后来安装了64bit内核, 但是gcc默认仍旧生成32bit程序,结果系统调用接口的结构对齐约定就发生了冲突,

Re: xifg中无法启动SCIM拼音输入法

2011-06-21 文章 Aron Xu
用 LC_CTYPE=zh_CN.UTF-8 试试? 2011/6/18 syd eruyds...@gmail.com: 系统环境为debain squeenze 6.0, 语言环境为en_US utf8。发现使用“env LANG=zh_CN xfig -international启动xfig,也无法使用ctrl+space调出SCIM拼 音输入法。有哪位有解决的办法?谢谢。 -- To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org with a subject of

emacs 里怎样不让超长的行折行显示?

2011-06-21 文章 wolfman.wu
emacs怎样作才有似 vim 的 set nowrap 功能? 谢谢! -- To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1308714463.8968.4.camel@debian3

Re:

2011-06-21 文章 Aron Xu
那就 locale-gen zh_CN.UTF-8,然后再试试。 2011/6/21 syd eruyds...@gmail.com: 貌似不行,出现如下提示:bash: warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.UTF-8): No such file or directory。 估计是我的系统没有这个环境。我只装了en_US的环境。也可能是我弄debian没多 久的缘故。 -- Regards, Aron Xu

Re: xfig

2011-06-21 文章 Aron Xu
那就试试 dpkg-reconfigure locales,然后在里面选一下 zh_CN.UTF-8。 On Wed, Jun 22, 2011 at 12:16, syd eruyds...@gmail.com wrote: 终端里输入:locale-gen zh_CN.UTF-8 提示:Generating locales (this might take a while)... en_US.UTF-8... done Generation complete. 貌似没生成zh_CN.UTF-8 然后终端里输入:LC_CTYPE=zh_CN.UTF-8 xfig

Re: emacs 里怎样不让超长的行折行显示?

2011-06-21 文章 Lifeng Sun
On 11:47 Wed 06/22/11 Jun , wolfman.wu wrote: emacs怎样作才有似 vim 的 set nowrap 功能? 设置 truncate-lines,或者 M-x toggle-truncate-lines -- -- To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: