.\" use -man macros .TH XDIFF 1L "" "" HP-UX .\" ========== .SH NAME xdiff \- context diff under X windows .\" ========== .SH SYNOPSIS .B xdiff [ .I \-bvt ] [ .I \-c context ] .I file1 .I file2 .\" ========== .SH DESCRIPTION .I xdiff\^ is a modified version of \fIcdiff\fR and can display context diffs either on a terminal or under X windows. .I xdiff\^ produces output similar to the output produced by the 4.3BSD \-c option of .I diff but displays the differences of the two files side by side. \fIxdiff\fR calls \fIdiff (1)\fR to generate the raw difference between the two files. .SS OPTIONS .TP .I \-b Similar to the \-b option in \fIdiff (1)\fR. .TP .I \-t Terminal mode. Display the output on stdout instead of the X display. (Similar to \fIcdiff\fR). .TP .I \-v Print the version and patchlevel and exit. .TP .I \-c context Use "context" lines of context instead of the default three. .SS RESOURCES Under X windows the following resources can be used. Additional resources can be found in /usr/lib/X11/app-defaults/XDiff, or one can use resources specified by \fIXmText(3X)\fR. #Geometry .br xdiff*geometry: 1100x767 .br #Type "q" over any text to quit xdiff .br xdiff*XmText.translations: q: activate() .br #Text font .br xdiff*text.fontList: .\" ========== .SH AUTHORS Larry Wall, for the original cdiff. .br Konstantinos Konstantinides, for the X Window display portion. .\" ========== .SH FILES .I /bin/sh is used to locate a .I diff executable. .\" ========== .SH SEE ALSO .IR diff (1)