lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Patch for LYMainLoop.c


From: Thomas Dickey
Subject: Re: lynx-dev Patch for LYMainLoop.c
Date: Mon, 16 Feb 2004 09:12:33 -0500
User-agent: Mutt/1.3.27i

On Sun, Feb 15, 2004 at 07:39:04PM -0800, Doug Kaufman wrote:
> I noticed that the spawning message was placed wrong on the screen in
> the DJGPP and MingW ports. In both these cases the message starts in the
> last column of the status line, then wraps to the next line. This fixes
> it cosmetically, and shouldn't break other platforms. I don't
> understand, however, why the cursor starts in the rightmost column after
> shelling out. Does anyone think that this is covering up a problem,
> rather than fixing it?

The stop_curses() call is supposed to restore the carriage-return/line-feed
translation.  That would be done in the endwin() call.  Perhaps DJGPP needs
some help with a setmode() call in stop_curses?

>                           Doug
> 
> --- src/LYMainLoop.c.ori      2004-01-28 11:30:38.000000000 -0800
> +++ src/LYMainLoop.c  2004-02-15 19:35:46.000000000 -0800
> @@ -4227,7 +4227,7 @@
>  {
>      if (!no_shell) {
>       stop_curses();
> -     printf("%s\r\n", SPAWNING_MSG);
> +     printf("\r\n%s\r\n", SPAWNING_MSG);
>  #if defined(__CYGWIN__)
>       /* handling "exec $SHELL" does not work if $SHELL is null */
>       if (LYGetEnv("SHELL") == NULL) {
> 
> -- 
> Doug Kaufman
> Internet: address@hidden
> 
> 
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgp1797aRHYG0.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]