diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-03-29 19:00:00 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-03-29 19:00:00 -0500 |
commit | af9be28bc2701ea448898282942bd5b957439f18 (patch) | |
tree | 8401b3f99897cbbe4855c7c8b5485a01efa73c59 /src/LYMain.c | |
parent | 43797ce7b89f70182191e7b41521772c7efa2d25 (diff) | |
download | lynx-snapshots-af9be28bc2701ea448898282942bd5b957439f18.tar.gz |
snapshot of project "lynx", label v2-8-1dev_5
Diffstat (limited to 'src/LYMain.c')
-rw-r--r-- | src/LYMain.c | 71 |
1 files changed, 36 insertions, 35 deletions
diff --git a/src/LYMain.c b/src/LYMain.c index 65fea071..f34be98d 100644 --- a/src/LYMain.c +++ b/src/LYMain.c @@ -1,37 +1,37 @@ -#include "HTUtils.h" -#include "tcp.h" -#include "HTTP.h" -#include "HTParse.h" -#include "HTAccess.h" -#include "HTList.h" -#include "HTFile.h" -#include "UCMap.h" -#include "UCDefs.h" +#include <HTUtils.h> +#include <tcp.h> +#include <HTTP.h> +#include <HTParse.h> +#include <HTAccess.h> +#include <HTList.h> +#include <HTFile.h> +#include <UCMap.h> +#include <UCDefs.h> #ifdef VMS -#include "HTVMSUtils.h" +#include <HTVMSUtils.h> #endif /* VMS */ -#include "HTInit.h" -#include "LYCurses.h" -#include "LYStyle.h" -#include "HTML.h" -#include "LYUtils.h" -#include "LYGlobalDefs.h" -#include "LYSignal.h" -#include "LYGetFile.h" -#include "LYStrings.h" -#include "LYClean.h" -#include "LYCharSets.h" -#include "LYCharUtils.h" -#include "UCMap.h" -#include "LYReadCFG.h" -#include "LYrcFile.h" -#include "LYKeymap.h" -#include "LYList.h" -#include "LYJump.h" -#include "LYMainLoop.h" -#include "LYBookmark.h" +#include <HTInit.h> +#include <LYCurses.h> +#include <LYStyle.h> +#include <HTML.h> +#include <LYUtils.h> +#include <LYGlobalDefs.h> +#include <LYSignal.h> +#include <LYGetFile.h> +#include <LYStrings.h> +#include <LYClean.h> +#include <LYCharSets.h> +#include <LYCharUtils.h> +#include <UCMap.h> +#include <LYReadCFG.h> +#include <LYrcFile.h> +#include <LYKeymap.h> +#include <LYList.h> +#include <LYJump.h> +#include <LYMainLoop.h> +#include <LYBookmark.h> #ifdef DOSPATH -#include "HTDOS.h" +#include <HTDOS.h> #endif #ifndef VMS @@ -41,11 +41,11 @@ #endif /* !VMS */ #ifdef LOCALE -#include<locale.h> +#include <locale.h> #endif /* LOCALE */ -#include "LYexit.h" -#include "LYLeaks.h" +#include <LYexit.h> +#include <LYLeaks.h> #define FREE(x) if (x) {free(x); x = NULL;} @@ -164,6 +164,7 @@ PUBLIC int LYShowColor = SHOW_COLOR_UNKNOWN; /* to show or not to show */ PUBLIC int LYChosenShowColor = SHOW_COLOR_UNKNOWN; /* whether to show and save */ PUBLIC int LYrcShowColor = SHOW_COLOR_UNKNOWN; /* ... as last read or written */ PUBLIC BOOLEAN LYShowCursor = SHOW_CURSOR; /* to show or not to show */ +PUBLIC BOOLEAN verbose_img = VERBOSE_IMAGES; /* show filenames or not */ PUBLIC BOOLEAN LYUseDefShoCur = TRUE; /* Command line -show_cursor toggle */ PUBLIC BOOLEAN LYforce_no_cache = FALSE; PUBLIC BOOLEAN LYoverride_no_cache = FALSE;/*override no-cache b/c history etc*/ @@ -571,7 +572,7 @@ else {init_ctrl_break[0] = 1;} #endif #ifdef DOSPATH - terminal = "vt100"; + if (getenv("TERM")==NULL) putenv("TERM=vt100"); #endif LYShowColor = (SHOW_COLOR ? SHOW_COLOR_ON : SHOW_COLOR_OFF); |