[w3m-dev 03373] setting form on loading
* config.h.dist (PRE_FORM_FILE): added * configure (PRE_FORM_FILE): added * etc.c (openPasswdFile): define by openSecretFile() (openSecretFile): renamed, not static * file.c (loadGeneralFile): preFOrmUpdateBuffer() * fm.h (Buffer): add submit (pre_form_file): added * form.c (struct pre_form_item): added (struct pre_form): added (next_token): added (PreForm): added (add_pre_form): added (add_pre_form_item): added (loadPreForm): added (preFormUpdateBuffer): added * frame.c (renderFrame): add preFormUpdateBuffer() * main.c (MAIN): buf->submit check * proto.h (preFormUpdateBuffer): added (openSecretFile): added (loadPreForm): added * rc.c (sync_with_option): add loadPreForm() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: configure,v 1.81 2002/10/28 17:09:20 ukai Exp $
|
||||
# $Id: configure,v 1.82 2002/11/05 15:56:12 ukai Exp $
|
||||
# Configuration.
|
||||
#
|
||||
|
||||
@@ -2389,6 +2389,7 @@ $def_use_xface
|
||||
#define HISTORY_FILE "history"
|
||||
|
||||
#define PASSWD_FILE RC_DIR "/passwd"
|
||||
#define PRE_FORM_FILE RC_DIR "/pre_form"
|
||||
#define USER_MAILCAP RC_DIR "/mailcap"
|
||||
#define SYS_MAILCAP "/etc/mailcap"
|
||||
#define USER_MIMETYPES "~/.mime.types"
|
||||
|
||||
Reference in New Issue
Block a user