作者lxb ()
看板PttCurrent
标题Re: 请问我若要加功能上去
时间Thu May 26 15:57:51 2005
※ 引述《shane123 (家产有八十七亿  ﰩ》之铭言:
: 我写在bbs.c的内容如下
: const onekey_t read_comms[] = {
: show_owner, //p
啊, 己寄了解决方法给你, 这个回覆是给 pttc 维护程式的大大们看.
请把 read.c 或 io.c 占去了的 key , 於各 rcmdlist 中注述一下,
以方便同系站台增加程式时留意.
例 - bbs.c :
....
NULL, // 'e' , read.c i_read_key() e,q,KEY_LEFT "Escape to upper level"
#ifdef NO_GAMBLE
NULL, // 'f'
#else
join_gamble, // 'f'
#endif
good_post, // 'g'
b_help, // 'h'
b_posttype, // 'i'
NULL, // 'j' , read.c i_read_key() n,j,KEY_DOWN "Next entry"
NULL, // 'k' , read.c i_read_key() p,k,KEY_UP "Previous entry"
NULL, // 'l' , read.c i_read_key() l,\r,\n,KEY_RIGHT "Enter this entry"
....
--
.╱\ 香港地 网络社区
|\[|HK \ bbs.hkday.net
{|][|DAY|
=|'=|===_e 亲善、好客、通融
\-\_o_oo_/ 活力之都.在香港~
~~~ ~~~ ~~~ ~~ -_-;
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.238.143.229