~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to xless/xless.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH Xless 1 "1 June 1989" "X Version 11"
 
2
.SH NAME
 
3
xless - File browsing program for the X Window System.
 
4
.SH SYNOPSIS
 
5
.B xless
 
6
.I [-options ...] [filename ...]
 
7
.SH DESCRIPTION
 
8
Xless pops up a window on the display specified, containing the file
 
9
specified on the command line or piped in from stdin.  This file may easily
 
10
be viewed using the scrollbar to the left of the window.
 
11
Xless also takes input from the standard input.
 
12
Extra function are available on the toolbox to the right of the window:
 
13
.LP
 
14
.TP 10
 
15
- Pop up a help window.
 
16
.TP
 
17
- Search a specified pattern
 
18
.TP
 
19
- Search the next occurance of the above specified pattern
 
20
.LP
 
21
- Open a session of the editor (specified in the environment
 
22
variable EDITOR) on the current file
 
23
.TP
 
24
- Reload the current file
 
25
.TP
 
26
- Change file in the current window
 
27
.TP
 
28
- Open a new
 
29
.B xless
 
30
window to display the specified file
 
31
.TP
 
32
- Print the current file
 
33
.TP
 
34
- Close the current window
 
35
.LP
 
36
For further information on using
 
37
.B xless
 
38
please read the online
 
39
help information.  The rest of this manual page will discuss
 
40
customization of
 
41
.B xless
 
42
to suit the needs of a particular user.
 
43
.SH "OPTIONS"
 
44
.LP
 
45
Xless is build upon the \fIX Toolkit (Xt)\fP and as such understands all
 
46
the normal command line options.
 
47
.SH "WIDGET AND RESOURCE NAMES"
 
48
.LP
 
49
In addition to the usual widget resources, Xless has the following
 
50
application resources:
 
51
.LP
 
52
.TP 10
 
53
.B standardFont
 
54
The default font to be used if any of the specified fonts are available.
 
55
.TP
 
56
.B textFont
 
57
The fonts to use for the text.
 
58
.TP
 
59
.B labelFont
 
60
The fonts to use for labels in dialog boxes.
 
61
.TP
 
62
.B buttonFont
 
63
The fonts to use for labels on buttons.
 
64
.TP
 
65
.B standardCur
 
66
The cursors to use in the main button window with the Quit and Help commands.
 
67
.TP
 
68
.B dialogCur
 
69
The cursors to use in the toolbox and dialog box windows.
 
70
.TP
 
71
.B helpFile
 
72
Name of a file to use instead of the system default helpfile.
 
73
.TP
 
74
.B editorDoesWindows
 
75
Set to TRUE if your editor brings up its own window
 
76
(
 
77
.B xedit
 
78
or GNU
 
79
.B emacs,
 
80
for example.)
 
81
.TP
 
82
.B printCommand
 
83
Command string used to print the current file.
 
84
The name of the file is simply appended to this string.
 
85
(
 
86
.I enscript -G
 
87
is nice, if you've got it.)
 
88
.TP
 
89
.B maxWindows
 
90
Maximum number of windows which
 
91
.B xless
 
92
will display at one time.
 
93
Set this to zero if you don't want a limit.
 
94
(This is a good thing to set if you tend to run
 
95
.I xless *
 
96
in directories with lots of files.)
 
97
.TP
 
98
.B quitButton
 
99
Set to TRUE if you want a Quit button on every window which, when clicked,
 
100
will quit
 
101
.B every
 
102
window started from this copy of
 
103
.B xless.  The default is FALSE.
 
104
.TP
 
105
.B textGeometry
 
106
Geometry of the text part of the
 
107
.B xless
 
108
window.  The default is "80x25" or 80 characters wide, 25 lines high.
 
109
.TP
 
110
.B sizeToFit
 
111
Set to TRUE if you want text windows to be only as big as they need to be,
 
112
up to the maximum size specified by 'textGeometry'.
 
113
.TP
 
114
.B namePrefix
 
115
A string which will be prepended to every icon and window name.  The default
 
116
is "xless:".
 
117
.TP
 
118
.B removePath
 
119
Set to TRUE if you want the directory portion of the file path removed.
 
120
For example, a path like '/usr/src/X11/xless/main.c' would be shortened to
 
121
'main.c'.  The default is TRUE.
 
122
.LP
 
123
.SH "COLOR RESOURCES"
 
124
.LP
 
125
If you have a color display and you're running at least X11R5, you may want
 
126
to add a line like:
 
127
.LP
 
128
.RS
 
129
.ft B
 
130
.nf
 
131
 
 
132
        #ifdef COLOR
 
133
        *customization: -color
 
134
        #endif
 
135
.fi
 
136
.ft R
 
137
.RE
 
138
.LP
 
139
to your personal resources file.  This will allow you to get the
 
140
color-related resources for not only
 
141
.B xless,
 
142
but for every program which sets up its own color resources.
 
143
.LP
 
144
Versions of X earlier than X11R5 don't support the
 
145
.B customization
 
146
resource.  If you're on one of those, you'll have to include the color
 
147
resources in your personal resources file.
 
148
.SH "SEE ALSO"
 
149
X(1), X(8C), more(1), less(1)
 
150
.SH BUGS
 
151
There probably are some.
 
152
.LP
 
153
.SH AUTHOR
 
154
Copyright 1989 by Massachusetts Institute of Technology.
 
155
 
 
156
Originally by Carlo Lisa (MIT Project Athena) from
 
157
xmore written by Chris Peterson (MIT Project Athena).
 
158
 
 
159
Massively revised by Dave Glowacki (UCB Software Warehouse) and others.