[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV ac0.97: '@' command is broken now
From: |
Klaus Weide |
Subject: |
Re: LYNX-DEV ac0.97: '@' command is broken now |
Date: |
Sun, 30 Nov 1997 23:10:16 -0600 (CST) |
On Mon, 1 Dec 1997, [KOI8-R] áÎÄÒÅÊ þÅÒÎÏ× wrote:
> On Sun, 30 Nov 1997, Hynek Med wrote:
>
> > > '@' command not change anything for current page now, only next pages
> > > affected...
> > >
> > > To test it just set your display charset to KOI8-R and enter to
> > > http://www.zhurnal.ru/ (I know that this site is broken since it isn't
> > > specify charset= parameter, but '@' command just designed as workaround
> > > for broken sites). You'll see some strange iso-8859-1 letters. Then press
> > > '@', also it says "Reloading..." really NOTHING CHANGES on the screen! (in
> > > previous version you'll see 8bit characters or even Russian text if you
> > > load KOI8-R fonts). When you walk down to some URL, it is OK, but not for
> > > main page you enter very first time.
> >
> > What is your Display Charset set to? And does setting assumed charset to
> > KOI8-R help/behave the same?
>
> I already write at the beginning of this message that Display Charset is
> set to KOI8-R. Assumed charset is 8859-1 as it _must_ be. In this example
> we have correct lynx settings and incorrect WWW site (lots of such sites
> are around here). '@' command designed as workaround of such sites and
> always work before ac0.96. Well, I don't need to repeat this bug report
> since it is quoted above.
>
> I just additionly discover that Reload command followed after '@' command
> works correctly. I.e. in previous versions I need to press only '@', but
> now I forced to press '@' _and_ ^R for Reload.
Yes, this is Oops!, not intentional. With last changes, Lynx remembers
"too much" from the previous loading when the auto-reloading after '@'
happens. It is a result of taking some changes (but not all) from Fote's
code without understanding the interaction with other changes. Will be
fixed.
If you need a quick temporary fix, the following should work:
Find `case LYK_RELOAD:' in LYMainLoop.c, and under that the lines
if (real_cmd == LYK_RELOAD) {
HTuncache_current_document();
} else {
LYforce_no_cache = TRUE;
}
Replace those lines with just
HTuncache_current_document();
Klaus