ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.408 by sf-exg, Thu Nov 17 10:43:16 2011 UTC vs.
Revision 1.409 by sf-exg, Mon Nov 21 18:35:52 2011 UTC

2668 */ 2668 */
2669#if 0 2669#if 0
2670void 2670void
2671rxvt_term::scr_dump (int fd) NOTHROW 2671rxvt_term::scr_dump (int fd) NOTHROW
2672{ 2672{
2673 int row, wrote; 2673 // if this method is needed, it can be implemented by factoring the
2674 unsigned int width, towrite; 2674 // relevant code in scr_printscreen
2675 const char r1[] = "\n";
2676
2677 for (row = saveLines + top_row;
2678 row < saveLines + nrow - 1; row++)
2679 {
2680 width = row_buf[row].l >= 0 ? row_buf[row].l
2681 : ncol;
2682 for (towrite = width; towrite; towrite -= wrote)
2683 {
2684 wrote = write (fd, & (row_buf[row].t[width - towrite]),
2685 towrite);
2686 if (wrote < 0)
2687 return; /* XXX: death, no report */
2688 }
2689 if (row_buf[row].l >= 0)
2690 if (write (fd, r1, 1) <= 0)
2691 return; /* XXX: death, no report */
2692 }
2693} 2675}
2694#endif 2676#endif
2695 2677
2696/* ------------------------------------------------------------------------- * 2678/* ------------------------------------------------------------------------- *
2697 * CHARACTER SELECTION * 2679 * CHARACTER SELECTION *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines