[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev DIRED for DOS [patch]
From: |
dickey |
Subject: |
Re: lynx-dev DIRED for DOS [patch] |
Date: |
Sun, 20 Jun 1999 21:51:42 -0400 (EDT) |
>
> On Sun, 20 Jun 1999 address@hidden wrote:
>
> >
> > > _statusline(tmpbuf);
> > > stop_curses();
> > > - printf("%s\n", tmpbuf);
> > > + printf("%s\r\n", tmpbuf);
> >
> > is this needed? - I thought that the modes would be changed so a \n would
> > work properly at this point
>
> Yes, this is needed. The "\n" leaves the cursor in the middle of the
> screen on DJGPP. The alternative would be to switch to text mode before
> the printf and back to binary mode just after. Does the "\r" cause
> screen problems with some platforms?
no - but since it's unusual, it's likely to be dropped unless there's a
comment saying why. I guess switching modes here might be something to check
into.
> Doug
>
> __
> Doug Kaufman
> Internet: address@hidden (preferred)
> address@hidden
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey