📄 viewfax.man
字号:
.TH viewfax 1 "14 October 1995" "Frank\'s Hacks" "Local commands".UC 4.SH NAMEviewfax \- display fax files in an X11 window.SH SYNOPSIS.PU.ll +8.B viewfax.RB [ -fnluirv24 ].RB [ -h\fIheight ].RB [ -w\fIwidth ].RB [ -z\fIzoom ].RB [ -d\fIdisplay ].RB [ -g\fIwxh+x+y ].RB [ -b\fIbell ].RB [ -m\fImemory ].I filename....ll -8.br.SH DESCRIPTION.B viewfaxdisplays one or more fax files in an X11 window. The inputfiles may be either raw, single-page faxes received by a fax modemwith a program such as.B mgetty(1),or tiff files such as those used by.B hylafax.The first (or only) page of "PC-Research"-style (DigiFAX) filesproduced by the.B ghostscriptdfaxhigh or dfaxlow drivers can also be displayed.Input files using any common fax encoding such as group 3 (1 and 2dimensional) and group 4 can be displayed.The fax images are rendered at full resolution and then successivelyscaled down by a linear factor of 2 prior to display, until they fiton the screen. The display can be controlled interactively usingmouse and keyboard commands. The left mouse button expands the imageby a factor of two and the right button reduces it by the same factor.If the image is bigger than the available window size, the middlemouse button can be used to reposition it within the window. Holddown the middle button while dragging the image to its new position.Further interaction is controlled by single-key commands:.TP.Bh or Helpdisplays a page of help information. Type 'q' to return to theoriginal document..TP.Bp or Prior or PgUP or - or BackSpacedisplays the previous page from the command-line list..TP.Bn or Next or PgDn or + or spacedisplays the next page from the command-line list..TP.B Shift HOMEdisplays the first page from the command-line list..TP.B Shift ENDdisplays the last page from the command-line list..TP.B zzoom in (same as right mouse button)..TP.B Shift Zzoom out (same as left mouse button)..TP.B uturns the image upside down, which is useful if the fax was originallyfed the wrong way into the machine..TP.B Shift Uturns this and all following pages upside down..TP.B lturns the image through 90 degrees, to view landscape text..TP.B Shift Lturns this and all following pages sideways..TP.B mproduce a left/right mirror image of the page..TP.B Shift Mmirror this and all following pages..TP.B cursor arrowsreposition the displayed image if it exceeds the window size..TP.B HOMErepositions so that the top left corner is visible..TP.B ENDmakes the bottom right corner visible..TP.B qterminates the program..TP.B Shift Qterminates the program with non-zero exit status. Can be used toabort a shell script, e.g. when the user is previewing an outbound faxand decides not to send it..SH OPTIONS.B viewfaxis designed to "do the right thing" when given just a filename.Special cases can be handled with the following options. (Note thattiff-files contain a header which overrides the \fB-f, -n, -h, -w, -l,-m, \fRand \fB-u \fRflags.).TP.B -findicates that raw input files are fine resolution (7.7 lines/mm)faxes. This is the default unless the filename begins with "fn".Tiff and "PC-Research" (DigiFAX) files are self-specifying..TP.B -nindicates that raw input files are normal resolution (3.85 lines/mm)faxes. Each fax line is duplicated in the displayed image to giveapproximately equal vertical and horizontal scales..TP.B -h\fIheightspecifies the number of fax lines. If this option is missing,.B viewfaxcounts the number of lines in the input file..TP.B -w\fIwidthspecifies the number of pixels in each scan-line. The default value is 1728..TP.B -ldisplay in landscape mode..TP.B -uturn the image upside down..TP.B -iinvert pixels (black/white)..TP.B -bpreferred warning style: 'a' for audible bell (console beep), 'v' forvisible bell (flash the window), 'n' for neither. 'v' is the default..TP.B -d or -displayuse specified X server.TP.B -g or -geometrythe preferred size and position of the window, specified as\fIwidth\fRx\fIheight\fR+\fIx\fR+\fIy\fR. If a position is given (xand y values),.B viewfaxasks the window manager to place the window there. The initial sizeof the window is constrained to be at most \fIwidth\fRx\fIheight\fR.If the window is subsequently resized due to the user zooming in orout, the geometry is taken as a constraint on the screen area whichmay be used by.B viewfax.If you do not supply a geometry value, everything works fine withICCCM-compliant window managers like \fBolwm, mwm, twm, \fRand\fBtvtwm\fR. When fully zoomed out the.B viewfaxwindow will occupy the entire screen.Users of.B fvwmwill notice that the title bar and left border are moved off screen when.B viewfaxrepositions the window to (0,0). A workaround is to use -geometry+5+23 when using.B fvwm.The proper fix would be for someone to update the routineHandleConfigureRequest() in fvwm/events.c to correspond to the code intwm/events.c..TP.B -m\fImemory limiteach page is kept in memory after being fetched and expanded, whichsaves time if the user returns to it in the same session. To preventviewfax from using all the available swap space, a limit is placed onthe total size of cached images. This defaults to 4 MBytes, enoughfor about 6 typical pages. If the memory limit is exceeded, old imagesare discarded and must be reloaded from disk if the user returns tothem. The operation of this mechanism is transparent apart from theoccasional delays due to reloading. The value specified on thecommand line can be suffixed.B kor.B mfor kilo- or megabytes..TP.B -rthe bit order of the bytes in the input file is reversed. The faxspecification deals only with serial data transmission. Modemmanufacturers have to decide whether the first bit received should beplaced in the most significant or the least significant position in abyte. The consensus is to pack most significant first, but the -rflag is available to deal with the opposite order..TP.B -vproduce some informative messages (verbose mode)..TP.B -z\fIzoomspecifies an initial zoom factor. A full-scale fax will usually notfit on the screen. If the.B -zoption is not specified,.B viewfaxscales the image by a power of 2 such that it is fully visible at areduced size. The user can then use the mouse buttons (see above) toview expanded portions of the image..TP.B -2Assume that raw input files use group 3 two dimensional coding..TP.B -4Assume that raw input files use group 4 coding. The number of faxlines (-h option) is required in this case..SH SEE ALSO.B mgetty(ftp://ftp.leo.org/pub/comp/networking/communication/modem/mgetty)controls data/fax/voice modems..B hylafax(ftp://sgi.com/sgi/fax) is a full-function fax client/server system..B g32pbm(1)and.B xv(1)can be used in a pipeline to view faxes. This will usually be slowerthan using.B viewfax,but.B xvhas many capabilities for manipulating the image and saving itin other formats..B xli(1)can display a wide variety of image formats, including g3 faxes.Version 1.15 has difficulty recognising damaged fax files..B faxview.tcl,(ftp://ftp.UL.BaWue.DE/pub/purple/fax/faxview.tcl)a simple dialog for viewing FAX messages by Ralph Schleicher(rs@purple.in-ulm.de). This is a useful tool which provides a filemenu from which incoming faxes can be selected for display with.B viewfax.CCITT (now ITU) Recommendation T.4,.I Standardization of Group 3 Facsimile Apparatus for Document.I Transmission. CCITT (now ITU) Recommendation T.6,.I Facsimile Coding Schemes and Coding Control Functions for Group 4.I Facsimile Apparatus..SH BUGSThe user interface does not comply with any known style guide..brThe help text looks moth-eaten because it is encoded as a fax. Thisavoids dealing with X11 fonts..brThe program does not refer to the X resources database..SH AUTHORFrank D. Cringle (fdc@cliwe.ping.de).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -