]>
Commit | Line | Data |
---|---|---|
6c46478d AA |
1 | diff -Nur old/squidview.cpp new/squidview.cpp |
2 | --- old/squidview.cpp 2003-11-21 03:25:58.000000000 +0000 | |
3 | +++ new/squidview.cpp 2003-11-28 20:58:27.000000000 +0000 | |
4 | @@ -41,7 +41,7 @@ | |
5 | #ifdef HAVE_CONFIG_H | |
6 | #include <config.h> | |
7 | #else | |
8 | -# define SHAREDIR "/usr/local/share/squidview" | |
d1413898 | 9 | +# define SHAREDIR "/usr/share/doc/squidview-0.69/" |
6c46478d AA |
10 | # define PACKAGE "squidview" |
11 | # define VERSION "0.6" | |
12 | #endif | |
13 | @@ -3910,6 +3910,7 @@ | |
b1bd17df | 14 | IOstring ("sRepFocus", sRepFocus); |
15 | IOstring ("sRepBDTuser", sRepBDTuser); | |
16 | IOstring ("sViewer", sViewer); | |
17 | + IOstring ("sZipViewer", sZipViewer); | |
18 | IOstring ("sCurrentReport", sCurrentReport); | |
19 | IOstring ("sCurrentEmail", sCurrentEmail); | |
20 | IOint ("iSizeHitGrade", iSizeHitGrade); | |
d1413898 | 21 | @@ -3960,7 +3961,7 @@ |
b1bd17df | 22 | } |
23 | } | |
24 | else | |
2c61822f | 25 | - RunProgramInConsole (sViewer + " " + sHowToLink); |
26 | + RunProgramInConsole (sZipViewer + " " + sHowToLink); | |
b1bd17df | 27 | } |
28 | ||
29 | ||
6c46478d AA |
30 | diff -Nur old/squidview.h new/squidview.h |
31 | --- old/squidview.h 2003-11-21 03:25:58.000000000 +0000 | |
32 | +++ new/squidview.h 2003-11-28 20:55:09.000000000 +0000 | |
f9fb9504 | 33 | @@ -80,7 +80,7 @@ |
b1bd17df | 34 | const char szWordFile[] = "words"; // search words |
35 | const char szUsersFile[] = "users"; // list of real names | |
6c46478d AA |
36 | const char szAliasesFile[] = "aliases"; // map IPs to user names |
37 | -const char szHowToFile[] = "HOWTO"; // link name | |
38 | +const char szHowToFile[] = "HOWTO.gz"; // link name | |
b1bd17df | 39 | |
40 | string sLogFile1, sLogFile2, sLogFile3; | |
6c46478d | 41 | string sWordFile, sUsersFile, sAliasesFile, sSetFileName, sHowToLink; |
f9fb9504 | 42 | @@ -88,6 +88,7 @@ |
43 | char const *pszReadingFile = 0; | |
b1bd17df | 44 | |
45 | string sViewer = "less"; | |
46 | +string sZipViewer = "zless"; | |
47 | string sCurrentReport = ""; | |
48 | string sCurrentEmail = ""; | |
49 | const string sReportExt = ".txt"; |