易截截图软件、单文件、免安装、纯绿色、仅160KB

Fedora Linux 下安装 source navigator 的 bug shoot!

安装后
运行snavigator
出现
Can't find a usable tk.tcl in the following directories: 
/opt/sourcenav/share/tk8.3
/opt/sourcenav/share/tk8.3/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
(file "/opt/sourcenav/share/tk8.3/listbox.tcl" line 182)
invoked from within
"source [file join $tk_library listbox.tcl]"
invoked from within
"if {[string compare $tcl_platform(platform) "macintosh"] && \
[string compare {} $tk_library]} {
source [file join $tk_library button.tcl]
so..."
(file "/opt/sourcenav/share/tk8.3/tk.tcl" line 308)
invoked from within
"source /opt/sourcenav/share/tk8.3/tk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel \#0[list source $file]"
This probably means that tk wasn't installed properly.
解决方法
comment out lines 182-184 in the file /opt/sourcenav/share/tk8.3/listbox.tcl
comment out lines 457-459 in the file /opt/sourcenav/share/tk8.3/text.tcl
ps:
这个软件太爽了~用来看ns源码真实太方便了,太方便了 哈哈
这个软件让我第一次真正感觉到Linux的强大~(因为windows下这种软件是付费的..)


相关文档:

Linux 下 Qt 4.6.0 嵌入式开发环境的搭建、移植

转自http://hi.baidu.com/jiyeqian/blog/item/f46d26a2ff3f7da6caefd0d6.html
 
Qt:qt-everywhere-opensource-src-4.6.0.tar.gz
嵌入式平台:2440
arm-linux-gcc:4.1.2,下载(我用4.3.2和4.4.1版本时,移植时都有段错误。我把它放在:/usr/local/arm/4.1.2/ 。)
将 qt-everywhere-opensource-src-4.6.0.tar.g ......

Perl和PHP在Linux下无法mkdir 777的问题

首先Perl mkdir 的语法是:
1.mkdir('dir', 代表九位二进制数字的十进制值)
设置775,则该值为十进制的509,即二进制的111111101
此数值不能设置为111111111即十进制的511即777。
2.mkdir('dir', 0常见unix3位权限)
可以设置777。
然后在linux下时,由于umask的原因,只能设置为755。
因为创建文件时的权限是umask和 ......

linux编程基础—文件I/O编程

    Linux文件I/O主要由read、write、open、close、lseek五个函数组成;
一、文件描述符
    在嵌入式Linux中每打开一个文件都有一个描述符与之对应,该描述符是一个非负整数;
    当用open打开或新建一个文件时,该函数的返回值就是该文件的描述符;
   ......

是谁编写了Linux:美国公司

    来源:cnbeta 作者:cnbeta 2008-10-31 出处:pcdog.com
    我不知道为什么“只有0.10068%的Linux内核开发者领薪水”这种稀里糊涂的想法流传不息,但它确实在流传.所以,我只想一劳永逸地说,就绝大部分而言,Linux是由一些主要的美国公司雇用的软件工程师 ......

Linux内存线性地址空间布局解析


 
Linux内存线性地址空间大小为4GB,分为2个部分:用户空间部分(通常是3G)和内核空间部分(通常是1G)。在此我们主要关注内核地址空间部分。
内核通过内核页全局目录来管理所有的物理内存,由于线性地址前3G空间为用户使用,内核页全局目录前768项(刚好3G)除0、1两项外全部为0,后256项(1G)用来管理所有的物 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号