Required versions: Webglimpse 1.7.5 or above, and Glimpse 4.12.5 or above
Step 1: You will make the following change in one or two files, depending on the version of Webglimpse you have. Change
$FILE_END_MARK = " ";to something other than a space. For example, set it to
$FILE_END_MARK = "\t";to use a tab character. (Then you can't index files with tabs in the names, but those are probably less common)
The file(s) you need to change are
| Webglimpse 2.0 and above | Webglimpse 1.X |
|---|---|
| /your/webglimpse/home/lib/wgHeader.pm |
/your/webglimpse/home/makenh
and webglimpse (installed somewhere under your cgi-bin area) |
Step 2: A corresponding change must be made in glimpse and glimpseindex:
| Glimpse 4.18.0 and above | |
|---|---|
From the directory where you extracted glimpse sources, run
./configure --with-file-end-mark='\t' | |
| Glimpse 4.14 thru 4.17.4 | Glimpse 4.13.2 and below |
From the directory where you extracted glimpse sources, run
./configure --file-end-mark='\t' |
Edit glimpse.h (in the /index subdirectory of the glimpse sources) to set a
matching value in glimpse itself.
Change the line #define FILE_END_MARK ' 'to match the value you set in makenh, for example, change it to #define FILE_END_MARK '\t'; Recompile glimpse. Copy the binaries to wherever you keep them, normally somewhere in your path. |
Step 3: Reindex your archive with wgreindex