diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1996-11-30 10:18:30 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1996-11-30 10:18:30 -0500 |
commit | 6bd78b38830217fa268e678d9637116ec516bf0e (patch) | |
tree | ff28371a110a8035413ef3ded834a5e76ebb7fd0 /src/LYReadCFG.c | |
parent | e087f6d44e87f489fcb3056e86319ebba4218156 (diff) | |
download | lynx-snapshots-6bd78b38830217fa268e678d9637116ec516bf0e.tar.gz |
snapshot of project "lynx", label v2_6_961130
Diffstat (limited to 'src/LYReadCFG.c')
-rw-r--r-- | src/LYReadCFG.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/LYReadCFG.c b/src/LYReadCFG.c index bc9f6c0e..686eb13e 100644 --- a/src/LYReadCFG.c +++ b/src/LYReadCFG.c @@ -12,6 +12,7 @@ #include "LYCgi.h" #include "LYCurses.h" #include "LYSignal.h" +#include "LYBookmark.h" #ifdef DIRED_SUPPORT #include "LYLocal.h" @@ -590,7 +591,19 @@ PUBLIC void read_cfg ARGS1( user_mode = ADVANCED_MODE; } else if(!strncasecomp(buffer,"DEFAULT_BOOKMARK_FILE:",22)) { - StrAllocCopy(bookmark_page,buffer+22); + StrAllocCopy(bookmark_page, buffer+22); + StrAllocCopy(BookmarkPage, bookmark_page); + StrAllocCopy(MBM_A_subbookmark[0], bookmark_page); + StrAllocCopy(MBM_A_subdescript[0], MULTIBOOKMARKS_DEFAULT); + + } else if(!strncasecomp(buffer,"MULTI_BOOKMARK_SUPPORT:",23)) { + LYMultiBookmarks = is_true(buffer+23); + + } else if(!strncasecomp(buffer,"BLOCK_MULTI_BOOKMARKS:",22)) { + LYMBMBlocked = is_true(buffer+22); + + } else if(!strncasecomp(buffer,"ADVANCED_MULTI_BOOKMARKS:",25)) { + LYMBMAdvanced = is_true(buffer+25); } else if(!system_editor && !strncasecomp(buffer,"DEFAULT_EDITOR:",15)) { @@ -957,6 +970,9 @@ PUBLIC void read_cfg ARGS1( HTNewsChunkSize = HTNewsMaxChunk; } + } else if(!strncasecomp(buffer,"USE_SELECT_POPUPS:",17)) { + LYSelectPopups = is_true(buffer+17); + #if defined(VMS) && defined(VAXC) && !defined(__DECC) } else if (!strncasecomp(buffer, "DEFAULT_VIRTUAL_MEMORY_SIZE:", 28)) { HTVirtualMemorySize = atoi(buffer+28); |