Maybe you could try restoring the Netscape executable or the whole netscape
program directory. That way the file should be read no problem...


"Alan M. Friedman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi!
>            Can anyone point me to the format details of the
> "netscape.hst" file?
>
>             I have lost my history, but have the history file and NEED
> to use it.
> I recovered it with 'Norton's Unerase'.  Please bear with me for a
> description of what apparently happened.
>
>             I had more than 5Mb of history, which I used often, and
> consider a valuable index.  I accidentally increased the number of days
> for history expiration to a very large number (> 700,000 days) and the
> next time I opened the history window, it was empty.  I looked at the
> "netscape.hst" file and found it to be 0k in size.  After recovering the
>
> erased version, which was 5 Mb in size, I couldn't get netscape to
> accept it.  Every time I copied it into the proper directory and started
>
> Netscape, it truncated the file and even crashed several times.
> Finally,
> I looked at the expiration value in Preferences, I found it to be
> gigantic,
> and changed it back to what I believe it had been before,(~700 days).
>
>             I then compared a dump of this "netscape.hst" to one from
> another
> machine, and found values at about offset 36 hex into the bad file to be
>
> something like 00 36   FF FF FF EA whereas a working "netscape.hst" file
>
> had a value of  00 33   00 00 5C D2.  This latter file by the way, has
> a size of about 4 Mb.  When I changed these values in a copy of
> my 'bad' "netscape.hst", the file was accepted, but only had two
> entries,
> which, unusually enough, were placed about 25 lines down into an
> otherwise empty window.  Obviously some other values needed to also
> be changed.
>
>             So, again to the main question here, (thanks for your
> patience! :)
> I'm trying to determine what these initial values in at least the first
> 50 or 100
> bytes of "netscape.hst" are.  I've been going through the Mozilla
> source, but
> can't pin down the format of this file.   I know this seems like a lot
> of
> trouble, but suffice it to say that I really need these previous history
> entries.
>
>            I'm still looking through the Mozilla source, but a direct
> explanation
> of this file must exist, even if only in the source?  What might be the
> names
> of the functions which create, read and update "netscape.hst"?  I can't
> seem
> to find the structure which defines the header of the file and while the
> source
> file glhist.h has two structures (gh_HistEntry and gh_HistEntryData)
> it's not
> clear how these are used in "netscape.hst".
>
>             Any help is gratefully appreciated!!!
>             Please email a copy to   [EMAIL PROTECTED]    if
> possible.
>
> With Thanks,
> Alan
> [EMAIL PROTECTED]
>
>
>
>



Reply via email to