chiark / gitweb /
Import upstream version 5.3.
[mup] / mup / docs / mupdisp.1
CommitLineData
69695f33
MW
1.TH mupdisp 1 "November 4, 2006" "Arkkra Enterprises"
2.SH NAME
3.PP
4mupdisp - display output from Mup music publisher program
5.SH SYNOPSIS
6.PP
7mupdisp \fI[mup_options] file\fP
8.SH DESCRIPTION
9.PP
10Mupdisp provides a way to view Mup output on your screen.
11The \fIfile\fP is Mup input. Any other Mup options can be given,
12except -f, -m, -M, -r, or -v, which don't produce print output.
13.PP
14Mupdisp will run under MS-DOS or will run under
15UNIX with a TERM of AT386, linux, or xterm (under X windows).
16.PP
17When running under X windows, several standard X options are
18available:
19.TP
20\fB-geometry\fP \fIXxY+M+N\fP
21Sets the window size and/or location on the screen. The actual window
22width will be determined by the width of the Mup output. The height
23will be adjusted if necessary to be between 400 and the actual height
24of the Mup output. The window placment specifications can be positive
25or negative. The actual placement may be adjusted by your window manager.
26.TP
27\fB-fg\fP \fIcolor\fP or \fB-foreground\fP \fIcolor\fP
28Specifies the foreground color to use.
29.TP
30\fB-bg\fP \fIcolor\fP or \fB-background\fP \fIcolor\fP
31Specifies the background color to use.
32.PP
33These X options can also be set in your .Xdefaults file using resource names of
34mupdisp.geometry, mupdisp.foreground, and mupdisp.background. Command
35line arguments will override values in the .Xdefaults file.
36As an example, you could add these lines to your .Xdefaults file:
37.nf
38.na
39.ft CW
40.in +1i
41
42mupdisp.foreground: navy
43mupdisp.background: gray
44mupdisp.geometry: 400x760+100-34
45
46.in -1i
47.ft P
48.fi
49.ad
50.PP
51The Mupdisp program begins in partial page mode,
52which displays output at approximately actual size (depending
53on the size of your monitor). In this mode, most likely
54not all of the page fits on the
55screen, so the scrolling commands can be used to move up and down to view
56different parts of the page. In full page mode, a small version of the
57entire page is displayed. This is useful
58for seeing overall page layout, but is generally too small to see much detail.
59This mode is now somewhat of a relic of the days when screens were typically
60much smaller than they are today, and is thus becoming less useful.
61.PP
62If the environment variable MUPDISPMODE is set to some value,
63Mupdisp will start in full page rather than partial page mode.
64.PP
65The commands are:
66.TP
67\fInum\fP<Enter>
68Go to page number \fInum\fP.
69.TP
70+ or <space> or <control-E> or <control-F>
71move forward on the page by about 1/8 of an inch
72(partial page mode only)
73.TP
74- or <backspace> or <control-Y> or <control-B>
75move backward on the page by about 1/8 of an inch
76(partial page mode only)
77.TP
78b or <control-U> or <control-P> or <up-arrow-key>
79move backward on the page by about an inch
80(partial page mode only)
81.TP
82f or <Enter> or <control-D> or <control-N> or <down-arrow-key>
83move forward on the page by about an inch
84(partial page mode only)
85.TP
86h or ?
87display help screen
88.TP
89m
90toggle between partial page and full page modes.
91.TP
92n or <PageDown>
93go to next page
94.TP
95p or <PageUp>
96go to previous page
97.TP
98q or ZZ
99quit
100.TP
101r
102Repaint the page (useful for exiting help page)
103.PP
104When in X windows, the mouse can be used for scrolling. The left button scrolls
105downward like the f command, while the right button scrolls backwards like
106the b command.
107.PP
108Mupdisp supports page sizes of letter (8.5 x 11.0 inches),
109note (7.5 x 10.0 inches), legal (8.5 x 14.0 inches),
110A4 (8.26 x 11.69 inches), A5 (5.85 x 8.26 inches),
111A6 (4.125 x 5.85 inches), flsa (8.5 x 13.0 inches), and
112halfletter (5.5 x 8.5 inches).
113.SH FILES
114.P
115$HOME/.Xdefaults default X window resource definitions
116.SH "SEE ALSO"
117.PP
118gs(1), mup(1), mupmate(1), mupprnt(1).
119.br
120Mup \(em Music Publisher User's Guide
121.SH "CAVEATS AND BUGS"
122.PP
123You must have mup in your PATH.
124You must have ghostscript (gs or gs386.exe) in your PATH
125and it must be built to include the "bit" device.
126.PP
127Resizing the window does not resize the full page view.