Filewatcher File Search
FTP Search
  
Directory 
  
Content Search 
   
pkg://efax-0.9-27.2.1.src.rpm:108195/efax-0.9-viewcmd.patch  info  downloads

--- efax-0.9/fax.orig	2005-10-10 11:05:57.000000000 +0200
+++ efax-0.9/fax	2005-10-10 11:08:01.000000000 +0200
@@ -60,9 +60,13 @@
 # The command to view a Portable Gray Map (PGM) image from the
 # standard input.  Typically "xv -" or "xloadimage stdin".
 
-VIEWCMD="xloadimage stdin"		# best
-# VIEWCMD="pnmtoxwd | xwud"		# slower alternative
-# VIEWCMD="xv -"			# much slower alternative	
+VIEWCMD="pnmtoxwd | xwud"
+if [ -x /usr/bin/display ] ; then
+  VIEWCMD="display -"
+elif [ -x /usr/bin/xloadimage -o -x /usr/X11R6/bin/xloadimage ] ; then
+   VIEWCMD="xloadimage stdin"  # best
+fi
+# VIEWCMD="xv -"        # much slower alternative
 
 # The name of the Ghostscript executable including full path if
 # necessary.  Only required if faxing Postscript files.
Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2009 MARUHN Internet Solutions