diff options
author | Deron Johnson <deron.johnson@sun.com> | 2005-02-18 17:37:21 +0000 |
---|---|---|
committer | Deron Johnson <deron.johnson@sun.com> | 2005-02-18 17:37:21 +0000 |
commit | 2ef69a3b8a1c8feff130a7fe491a6f62361fe8fe (patch) | |
tree | 3d62310114267203e94be61d3cfd8629c89586ae | |
parent | 71eb560c323df9e78e1381eff41002f1df9cb44b (diff) |
-rw-r--r-- | print.c | 4 | ||||
-rw-r--r-- | xmore.man | 32 | ||||
-rw-r--r-- | xmore.sgml | 11 |
3 files changed, 25 insertions, 22 deletions
@@ -305,6 +305,10 @@ void DoPrintTextSource(const char *programname, apd->jobtitle = jobtitle; n = 0; + /* Override any geometry resource settings as XawPrintShell adjusts it's size + * to the current page siue when |XawPrintLAYOUTMODE_DRAWABLEAREA| or + * |XawPrintLAYOUTMODE_PAGESIZE| are used. */ + XtSetArg(args[n], XtNgeometry, "+0+0"); n++; XtSetArg(args[n], XawNlayoutMode, XawPrintLAYOUTMODE_DRAWABLEAREA); n++; apd->printshell = CreatePrintShell(toplevel, apd->pscreen, "printshell", args, n); @@ -1,25 +1,23 @@ -.\" This manpage has been automatically generated by docbook2man -.\" from a DocBook document. This tool can be found at: -.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> -.\" Please send any bug reports, improvements, comments, patches, -.\" etc. to Steve Cheng <steve@ggi-project.org>. -.TH "XMORE" "__mansuffix__" "24 May 2004" "" "" +.\" -*- coding: us-ascii -*- +.TH xmore __appmansuffix__ "1 February 2005" .SH NAME xmore \- plain text display program for the X Window System .SH SYNOPSIS - -\fBxmore\fR [ \fB\fIfilename\fB\fR] - -.SH "DESCRIPTION" -.PP -\fBxmore\fR is a plain text browser. -.SH "ENVIRONMENT" -.TP -\fBXPSERVERLIST \fR +.ad l +\fBxmore\fR \kx +.if (\nxu > (\n(.lu / 2)) .nr x (\n(.lu / 5) +'in \n(.iu+\nxu +[\fB\fBfilename\fR\fR] +'in \n(.iu-\nxu +.ad b +.SH DESCRIPTION +xmore is a plain text browser. +.SH ENVIRONMENT +.TP +\fBXPSERVERLIST\fR \fB${XPSERVERLIST}\fR must be set, identifying the available Xprint servers. See \fBXprint\fR(__miscmansuffix__) for more details. .SH "SEE ALSO" -.PP -\fBX11\fR(__miscmansuffix__), \fBxman\fR(__mansuffix__) +\fBX11\fR(__miscmansuffix__), \fBxman\fR(__appmansuffix__) @@ -1,13 +1,14 @@ -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.2//EN" '/usr/share/sgml/docbook_4.2/docbook.dtd'> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.2//EN" 'http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd'> <!-- Process this file with DocBook tools to generate the output format (such as manual pages or HTML documents). -Note that strings like __mansuffix__, __filemansuffix__, __libmansuffix__, +Note that strings like __appmansuffix__, __filemansuffix__, __libmansuffix__, __miscmansuffix__ etc. have to be replaced first (in theory that's the job of ENTITIES but some XML tools are highly allergic to such stuff... ;-(). A quick way to do that is to filter this document via -/usr/bin/sed "s/__mansuffix__/${MANSUFFIX}/g;s/__filemansuffix__/${FILEMANSUFFIX}/g;s/__libmansuffix__/${LIBMANSUFFIX}/g;s/__miscmansuffix__/${MISCMANSUFFIX}/g" +/usr/bin/sed "s/__appmansuffix__/${MANSUFFIX}/g;s/__filemansuffix__/${FILEMANSUFFIX}/g;s/__libmansuffix__/${LIBMANSUFFIX}/g;s/__misc +mansuffix__/${MISCMANSUFFIX}/g" assuming that env vars like MANSUFFIX etc. have been set to the matching manual volume numbers. --> @@ -15,7 +16,7 @@ manual volume numbers. <refentry> <refmeta> <refentrytitle>xmore</refentrytitle> - <manvolnum>__mansuffix__</manvolnum> + <manvolnum>__appmansuffix__</manvolnum> </refmeta> <refnamediv> <refname>xmore</refname> @@ -72,7 +73,7 @@ manual volume numbers. <!-- Xprint general references --> <member><citerefentry><refentrytitle>X11</refentrytitle><manvolnum>__miscmansuffix__</manvolnum></citerefentry></member> - <member><citerefentry><refentrytitle>xman</refentrytitle><manvolnum>__mansuffix__</manvolnum></citerefentry></member> + <member><citerefentry><refentrytitle>xman</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member> </simplelist> </para> </refsect1> |