[w3m-dev 03200] Re: New configuration option `keymap_file'' and new command `DEFINE_KEY''

* fm.h: add <sts/stat.h>, unistd.h>
* fm.h (keymap_file): added
* func.c (keymap_initialized): added
	(current_keymap_file): added
	(setKeymap): added
	(initKeymap): rewrite to use setKeymap()
* funcname.tab (DEFINE_KEY): added
* main.c (MAIN): initKeymap(TRUE)
	(defKey): added
* proto.h (defKey): added
	(setKeymap): added
	(initKeymap): add force param
* rc.c (CMT_KEYMAP_FILE): added
	(params3): add keymap_file
	(sync_with_option): add initKeymap(FALSE)
* doc/README.func (DEFINE_KEY): added
* doc-jp/README.func: (DEFINE_KEY): added
* scripts/w3mhelp.cgi.in: add defKey
* NEWS:
	func: DEFINE_KEY
	rc: keymap_file
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2002-06-01 16:50:16 +00:00
parent 894c5097b7
commit fc4b6e4a93
11 changed files with 136 additions and 47 deletions

View File

@@ -1,4 +1,4 @@
# $Id: funcname.tab,v 1.8 2002/03/19 16:06:52 ukai Exp $
# $Id: funcname.tab,v 1.9 2002/06/01 16:50:16 ukai Exp $
# macro name function name
#----------------------------
@@@ nulcmd
@@ -12,6 +12,7 @@ CENTER_H ctrCsrH
CENTER_V ctrCsrV
COMMAND execCmd
COOKIE cooLst
DEFINE_KEY defKey
DELETE_PREVBUF deletePrevBuf
DICT_WORD dictword
DICT_WORD_AT dictwordat