存档
写了一个Hello World的gaim plugin版
折腾了好几天。
开始想写一个给gaim用的机器人,发现gaim.sf.net
上有个perl写的plugin例子。照着抄了一个发现基本不知他在不在跑。其实根本没跑。
因为:gaim安装时会给perl加Gaim module,否则use Gaim如何能生效呢?
可我的perl早就升到了5.8.5,目录位置早就不对了。找到一些用C写的例子,
不过代码太多了,嗯,我越来越发现自己岁数大了,什么也不原意深究了。
结果鼓捣perl鼓捣了两天。
Gaim的官方网站上根本没有用C写plugin的例子。
后来下载了一个SmartEar的plugin,才几十K,终于有兴趣往下看了……
一编译发现需要头文件,于是下载gaim-devel的rpm装。
还不对,
只好下载gaim的源代码,装了之后竟然启动就会segment fault,而root下就没问题。
想了想把自己用户目录下的 .gaim改个名。果然就启动好了。
其实,gaim.sf.net给的perl例子已经不能运行在最新的1.0.2下了。抓狂
偶尔在看版本信息的时候发现了gaim的irc在 freenode。
于是irc,/join #gaim。又问里面的人,终于有一个大概是gaim的开发者告诉了我
How to write a plugin for gaim by C language
还好,照葫芦画瓢搞出了第一个plugin。
接下来就是完善它,再搞搞NLP。。。。。。
FBUI
Numbers for Comparison
Item | FBUI | X-Windows |
---|---|---|
Core software size | 26 kilobytes | 1710 kilobytes |
Library software size | 17 kilobytes (optional) | 1370 kilobytes (that’s just Xlib; required) |
Window manager program size | 30 kilobytes (fbwm, static link) | 145 kilobytes (twm, dynamic link) |
Terminal emulator program size | 38 kilobytes (fbterm, static link) | 247 kilobytes (xterm, dynamic link) |
Analog clock program size | 23 kilobytes (fbclock, static link) | 29 kilobyte (xclock, dynamic link) |
linux kernel 2.6.9 release
这个2.6.9也有意思
明明release了,但是 kernel.org却没有
要到ftp里才找得到。据说就是rc4。
而今天又写着18号release
还有一个2.6.9-bk5是20号的
奇怪奇怪真奇怪
CONFIG_DEBUG_USER
remove CONFIG_DEBUG_USER to fix following output.
On Thu, Jun 03, 2004 at 12:29:31PM +0200, Fabien Renaud wrote:
> > pc : [] lr : [] Not tainted
> > sp : 00253914 ip : 00253908 fp : 002539f4
> > r10: 402f4cb8 r9 : 00008d8c r8 : 402f7390
> > r7 : 00000003 r6 : 0000acec r5 : 00000005 r4 : 00000005
> > r3 : 00000014 r2 : 40a599c0 r1 : 00000000 r0 : 00000000
> > Flags: nZCv IRQs on FIQs on Mode USER_32 Segment user
> > Control: 397F Table: A1148000 DAC: 00000015
You have CONFIG_DEBUG_USER turned on so the kernel is giving you
information about userspace errors. Running ‘dmesg’ will give you
the debug lines which explain why the register dump was given.
> Nobody has an idea ?
Nope, I don’t do qt, and neither does linux-arm-kernel.