[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Re: forms-option bug report: novice/advanced mode...
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev Re: forms-option bug report: novice/advanced mode... |
Date: |
Fri, 11 Sep 1998 18:55:40 +0400 (MSD) |
> * From: Sinan Kaan Yerli <address@hidden>
> _________________________________________________________________
> (10/09/1998 16:08) Leonid Pauzner:
>>In forms-based options menu switching of user mode
>>from Novice to Intermediate or Advanced
>>will not remove statusline near the bottom forever
>>until I repaint screen with Ctrl-W...
> I don't see this on [dev.25]+your patch (on solaris machine). I tried
> all possible combination of user modes switched from one to another and
> the statusline is always recovered.
> The only thing different on novice with partial_display on was that the
> page spills over the statusline but then recovers when the loading
> finishes.
the problem was a side effect of the fact that screen size was not changed
(actually, we lost two lines if scroll page in Novice mode).
Fixed by looking into old-style stuff:
diff -u old/lyoption.c ./lyoption.c
--- old/lyoption.c Wed Sep 9 12:05:50 1998
+++ ./lyoption.c Fri Sep 11 18:47:00 1998
@@ -3489,6 +3489,11 @@
/* User Mode: Default: */
if (!strcmp(data[i].tag, user_mode_string)) {
user_mode = GetOptValues(user_mode_values, data[i].value);
+ if (user_mode == NOVICE_MODE) {
+ display_lines = (LYlines - 4);
+ } else {
+ display_lines = LYlines-2;
+ }
}
/* Verbose Images: ON/OFF */
@@ -3683,7 +3688,7 @@
StrAllocCopy(*newfile, any_filename);
LYforce_no_cache = TRUE;
- BeginInternalPage(fp0, OPTIONS_TITLE, OPTIONS_HELP);
+ BeginInternalPage(fp0, OPTIONS_TITLE, NULL); /* help already built-in */
/*
* I do C, not HTML. Feel free to pretty this up.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: lynx-dev Re: forms-option bug report: novice/advanced mode...,
Leonid Pauzner <=