[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev annoying blinking of lynx with ncurses
From: |
Hataguchi Takeshi |
Subject: |
Re: lynx-dev annoying blinking of lynx with ncurses |
Date: |
Tue, 6 Nov 2001 00:47:34 +0900 (JST) |
On Fri, 2 Nov 2001, Thomas Dickey wrote:
> does it still break if you include the LYrefresh() call after LYclrtoeol()?
I got the same result with a LYrefresh call and without it, that is,
'Hello' is disappeared.
> (I'm not sure how it looks with Japanese - your example works for me with
> ISO-8859-1 and UTF-8).
How works do you mean?
# I think LYclrtoeol would cause the same problem independently of the
# encodeings (us-ascii, Japanese and UTF-8).
P.S.
Does FLORA site have some promlems now? I couldn't find this months
archive in html format(*1) but only mailbox format(*2).
So it takes longer time for me to check new mails than usual.
(*1) http://www.flora.org/lynx-dev/html/month112001/
(*2) http://www.flora.org/lynx-dev/mailbox/log.200111
> On Sat, Nov 03, 2001 at 12:10:00AM +0900, Hataguchi Takeshi wrote:
> > I tried to use LYclrtoeol instead of the explicit loop, but I found
> > a bad result in this html (I couldn't found 'Hello!').
> >
> > <html>
> > <head>
> > <title>foo</title>
> > </haed>
> > <body>
> > <form action="foo.cgi">
> > <input type="text" name="text"> Hello!
> > </form>
> > </body>
> > </html>
> > --
> > Takeshi Hataguchi
> > E-mail: address@hidden
> >
> > NOTE!: This patch will cause bad effect. This is just for a test.
> >
> > --- LYStrings.c.bak Thu Aug 16 07:09:52 2001
> > +++ LYStrings.c Fri Nov 02 22:01:52 2001
> > @@ -3449,6 +3449,9 @@
> > if (Mark >= 0 && DspStart > Mark)
> > TmpStyleOn(prompting ? s_prompt_sel : s_aedit_sel);
> > #endif
> > +#ifdef SUPPORT_MULTIBYTE_EDIT
> > + LYclrtoeol();
> LYrefresh(); /* you still need this line */
> > +#endif
> > for (i = 0; i < nrdisplayed; i++) {
> > #if defined(ENHANCED_LINEEDIT) && defined(USE_COLOR_STYLE)
> > if ( Mark >= 0 && ((DspStart + i == Mark && Pos > Mark)
> > @@ -3542,12 +3545,6 @@
> > }
> >
> > LYmove(edit->sy, edit->sx + Pos - DspStart);
> > -#ifdef SUPPORT_MULTIBYTE_EDIT
> > -#if (!USE_SLANG && !defined(USE_MULTIBYTE_CURSES))
> > - if (HTCJK != NOCJK)
> > - lynx_force_repaint();
> > -#endif /* !USE_SLANG && !defined(USE_MULTIBYTE_CURSES) */
> > -#endif /* SUPPORT_MULTIBYTE_EDIT */
> >
> > #ifdef USE_COLOR_STYLE
> > if (estyle != NOSTYLE)
--
Takeshi Hataguchi
E-mail: address@hidden
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden