- Subject: Re: getting SLang to print with "\n" newlines.
- From: Larry <larrywyb@xxxxxxxxxxxx>
- Date: Sun, 12 Nov 2000 13:55:51 -0600
On Sun, Nov 12, 2000 at 02:16:14PM -0500, John E. Davis wrote:
> 2. (preferred solution)
>
> int row = 0;
> while(fgets(string,80,fptr) != NULL)
> {
> SLsmg_gotoc (row, 0);
> SLsmg_write_string(string);
> row++;
> }
> SLsmg_refresh();
> getchar();
Never even thought of the moving the rows solution, see how one track
our mind becomes when we're used to doing something one way?
Bummer! (:
> I encourage you to look at slang/demo/pager.c
I don't have this on my machine anywhere, is it part of the
code package? I generally delete that after I build and install
a program. But I can always go get it and untar it again. (;
Thanks a bunch.
Larry
[2000 date index]
[2000 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]