[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printing the screen
From: |
Thomas Dickey |
Subject: |
Re: printing the screen |
Date: |
Thu, 23 Aug 2001 18:57:45 -0400 |
User-agent: |
Mutt/1.2.5i |
On Thu, Aug 23, 2001 at 03:13:57PM -0700, Peter Jay Salzman wrote:
> hi thomas and all,
>
> ok, i changed
>
> fputc(A_CHARTEXT & mvinch(row,col), pipe);
>
> to
>
> fputc(0xff & mvinch(row,col), pipe);
>
> just to make absolutely sure i don't have a problem with the width of
> A_CHARTEXT. it's still printing a single blank page.
>
> any more ideas?
>
> do you have any source code which does a similar thing that i can look at and
> compare to?
not so tidy, but the screen-dump code in my directory editor
ftp://invisible-island.net/ded/td_lib.tgz (td_lib/src/curses/win2file.c)
(I'll take a closer look at your sample on the weekend -- I usually do
ncurses development on Saturdays, and leave weeknights for other programs).
--
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com