Date:2010-10-18 18:59:46 (13 years 5 months ago)
Author:kyak
Commit:ee8e1ef72d0abe33904fd2417a13e39b57c8279c
Message:a little help text from man fbgs

Files: fbida/patches/003-fbgs.patch (2 diffs)

Change Details

fbida/patches/003-fbgs.patch
11--- fbida-2.07.orig/fbgs 2010-10-18 20:26:32.264246468 +0400
2+++ fbida-2.07/fbgs 2010-10-18 20:26:57.179244034 +0400
32@@ -1,7 +1,7 @@
43-#!/bin/bash
54+#!/bin/sh
...... 
1010 test -d "$DIR" || exit 1
1111 trap "rm -rf $DIR" EXIT
1212
13@@ -33,7 +33,22 @@
14         -p) password="$2"
15             shift; shift
16             ;;
17- -h) echo fixme: help text
18+ -h) echo "
19+fbgs - poor man's PostScript/pdf viewer for the linux framebuffer con-
20+sole
21+
22+fbgs [ options ] file
23+
24+fbgs is a simple wrapper script which takes a PostScript or pdf file as
25+input, renders the pages using ghostscript into a temporary directory
26+and finally calls fbi to display them.
27+
28+fbps understands all fbi options (they are passed through). Addition-
29+ally you can specify -l, -xl or -xxl to get the pages rendered with
30+100, 120 or 150 dpi (default is 75). You can use option -p <password>
31+if your PDF file requires password. With -c you can ask fbgs to render
32+the pages in color.
33+"
34             exit 1
35             ;;
36         -c) device="png16m"

Archive Download the corresponding diff file



interactive