首页

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (Page 9 of 15)



February 6, 2006

非常常见的一个 Unix/Linux 命令错误信息: The parameter list is too long.

$ find /backup/* -ctime 2
ksh: /usr/bin/find: 0403-027 The parameter list is too long.

find: 0403-027 The parameter list is too long 这个错误信息很让人迷惑: 难道该目录下文件太多了么? 其实不是的, 问题出在那个 "*" 上,Korn Shell 默认把 * 作为 Metadata 处理,进行了扩展,进而这条语句备错误的解析.我的操作平台是 AIX 5.3. 我不确定这是和这个平台的 Korn Shell 有关.

使用 ls / grep / find 等命令时侯因为通配符的使用, 一不小心就会遇到这样的错误.可以通过对对象添加引号来禁止扩展

Continue reading "The parameter list is too long" »

| | Comments (3)


January 29, 2006

自由软件基金会日前宣布, Tridge(Andrew Tridgell) 因为在 Samba 项目的贡献而获取 2005 年 "2005 Free Software Awards".

Tridge 其他的贡献还包括 rsync 工具以及对 Linux Kernel 的代码贡献. 2005 年, Tridge 写了一个针对 BitKeeper 自由软件的客户端, 并通过 对BK协议的反向工程最后使得 BitMover 公司去除了对该软件的使用限制. Tridge 的行为在开源软件社群中曾经引起轩然大波, Linus 曾经公开批评[more]过 Tridge:

最终结果是,那些不赞成 Tridgell 做法的人们受到了损失,这个软件对任何人都没有价值,它赶走了BitKeeper,而后自己又要黯然离场......

不过 Linux Kerner 现在代码维护工具是 Linus 发起的新项目 Git .

关于 Samba 的历史可以从 Wiki 条目 SAMBA 得到一些, 亦有一篇 Samba的诞生 是某次对 Tridge 的访谈, Tridge 回顾了开发 Samba 过程中的感受.

Continue reading "Tridge 获得 2005 年自由软件大奖" »

| | Comments (1)


September 19, 2005

如何打开 OpenSuSE 10 RC1 freetype2 的 Bytecode Interpreter? SuSE 9.3 以前的 Bytecode Interpreter 默认都是关闭的。如果需要激活该特性,需要重新编译 freetype2 : 下载软件RPM 源代码包 ,然后修改 SPEC 文件 rpmbuild -bb ...重新编译一下(参考这篇文档)。但这个方法对 OpenSuSE 10 来说不适用了:

On SuSE 10.0, freetype2 is already compiled with the Bytecode Interpreter enabled so you do not need to take care of it.
而且,还有个需要注意的地方:
In SuSE 10.0, it's a little tricky. The checkbox "Use anti-aliasing for fonts" as no effect if unchecked and it's not considered as a bug by the maintainer.

需要编辑 /etc/fonts/suse-hinting.conf 在 78 行处 :

<test name="pixelsize" compare="less_eq">	 
     <double>0</double> 	 
 </test>	 

把 double 标记中间的 0 换成 18.

Continue reading "OpenSuSE 10 Bytecode Interpreter and Anti-Aliasing Fonts" »

| | Comments (0)


September 18, 2005

杀毒工具与软件防火墙也有免费的午餐.一般来说,如果不想用盗版,可以用如下几个方式得到免费的工具:

  • 著名杀毒厂商的测试版.比如 Kaspersky 的 6.0 Beta 测试版.适用期可以到 2006 年 1 月.因为是测试版本,可能稍稍有点不稳定.
  • 免费的个人版杀毒工具.这类工具还是不少的.比如 AntiVir Personal Edition ,还有 AVG Free Edition 这一类的工具实际上和商业版对比起来都有一定的功能限制.
  • OpenSource 产品.这一类的产品也有,但是真的比较少,ClamWin 是一个. 看上去界面有些原始了,更新速度不慢.

Continue reading "免费杀毒软件与防火墙" »

| | Comments (8)


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (Page 9 of 15)