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: [EMAIL PROTECTED]
>
>
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
pgp00000.pgp
Description: PGP signature
