fbgs script in fbi 1.31 faile to read pdf: $fbgs ./UnicodeBookTOC.pdf ### rendering pages, please wait ... ### ESP Ghostscript 7.07 (2003-07-12) Copyright 2003 artofcode LLC and Easy Software Products, all rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 12. Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8 Page 9 Page 10 Page 11 Page 12 Oops: ghostscript wrote no pages? I made a little change to this script to enable pdf reading. $cat ./fbi-1.31-fbgs.patch --- ./fbgs.orig 2004-02-22 19:51:11.000000000 +0800 +++ fbgs 2004-10-11 16:25:08.160454888 +0800 @@ -57,7 +57,7 @@ echo -ne "\\007" # sanity check -pages=`ls $DIR/ps*.jpeg 2>/dev/null | wc -l` +pages=`ls $DIR/ps*.tiff 2>/dev/null | wc -l` if test "$pages" -eq "0"; then echo echo "Oops: ghostscript wrote no pages?" Reproducible: Always Steps to Reproduce: 1.emerge fbi ghostscript 2.fbgs ./UnicodeBookTOC Actual Results: ### rendering pages, please wait ... ### ESP Ghostscript 7.07 (2003-07-12) Copyright 2003 artofcode LLC and Easy Software Products, all rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 12. Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8 Page 9 Page 10 Page 11 Page 12 Oops: ghostscript wrote no pages? Expected Results: Open the pdf file and display it from fbconsole. I think there are something wrong in the dealing of gs's output. A little patch was put above.
*** This bug has been marked as a duplicate of 61850 ***