d08e9679 |
1 | .TH pterm 1 |
2 | .UC |
3 | .SH NAME |
4 | pterm \- yet another X terminal emulator |
5 | .SH SYNOPSIS |
6 | \fBpterm\fP [ \fIoptions\fP ] |
7 | .SH DESCRIPTION |
8 | \fIpterm\fP is a terminal emulator for X. It is based on a port of |
9 | the terminal emulation engine in the Windows SSH client PuTTY. |
10 | .SH OPTIONS |
11 | The command-line options supported by \fIpterm\fP are: |
74ff0c55 |
12 | .IP "\fB\-e\fP \fIcommand\fP [ \fIarguments\fP ]" |
d08e9679 |
13 | Specify a command to be executed in the new terminal. Everything on |
14 | the command line after this option will be passed straight to the |
15 | \fIexecvp\fP system call; so if you need the command to redirect its |
16 | input or output, you will have to use \fIsh\fP: |
17 | |
74ff0c55 |
18 | pterm \-e sh \-c 'mycommand < inputfile' |
19 | .IP "\fB\-\-display\fP \fIdisplay\-name\fP" |
d08e9679 |
20 | Specify the X display on which to open \fIpterm\fP. (Note this |
21 | option has a double minus sign, even though none of the others do. |
22 | This is because this option is supplied automatically by GTK. |
23 | Sorry.) |
74ff0c55 |
24 | .IP "\fB\-name\fP \fIfont-name\fP" |
d08e9679 |
25 | Specify the name under which \fIpterm\fP looks up X resources. |
26 | Normally it will look them up as (for example) \fBpterm.Font\fP. If |
74ff0c55 |
27 | you specify "\-name xyz", it will look them up as \fBxyz.Font\fP |
d08e9679 |
28 | instead. This allows you to set up several different sets of |
29 | defaults and choose between them. |
74ff0c55 |
30 | .IP "\fB\-fn\fP \fIfont-name\fP" |
d08e9679 |
31 | Specify the font to use for normal text displayed in the terminal. |
74ff0c55 |
32 | .IP "\fB\-fb\fP \fIfont-name\fP" |
d08e9679 |
33 | Specify the font to use for bold text displayed in the terminal. If |
34 | the \fIBoldAsColour\fP resource is set to 1 (the default), bold text |
35 | will be displayed in different colours instead of a different font, |
36 | so this option will be ignored. If \fIBoldAsColour\fP is set to 0 |
37 | and you do not specify a bold font, \fIpterm\fP will overprint the |
38 | normal font to make it look bolder. |
006238cb |
39 | .IP "\fB\-fw\fP \fIfont-name\fP" |
40 | Specify the font to use for double-width characters (typically |
41 | Chinese, Japanese and Korean text) displayed in the terminal. |
42 | .IP "\fB\-fwb\fP \fIfont-name\fP" |
43 | Specify the font to use for bold double-width characters (typically |
44 | Chinese, Japanese and Korean text) Like \fI-fb\fP, this will be |
45 | ignored unless the \fIBoldAsColour\fP resource is set to 0. |
74ff0c55 |
46 | .IP "\fB\-geometry\fP \fIwidth\fPx\fIheight\fP" |
d08e9679 |
47 | Specify the size of the terminal, in rows and columns of text. |
48 | Unfortunately \fIpterm\fP does not currently support specifying the |
49 | initial position of the window. |
74ff0c55 |
50 | .IP "\fB\-sl\fP \fIlines\fP" |
d08e9679 |
51 | Specify the number of lines of scrollback to save off the top of the |
52 | terminal. |
74ff0c55 |
53 | .IP "\fB\-fg\fP \fIcolour\fP" |
d08e9679 |
54 | Specify the foreground colour to use for normal text. |
74ff0c55 |
55 | .IP "\fB\-bg\fP \fIcolour\fP" |
d08e9679 |
56 | Specify the background colour to use for normal text. |
74ff0c55 |
57 | .IP "\fB\-bfg\fP \fIcolour\fP" |
d08e9679 |
58 | Specify the foreground colour to use for bold text, if the |
59 | \fIBoldAsColour\fP resource is set to 1 (the default). |
74ff0c55 |
60 | .IP "\fB\-bbg\fP \fIcolour\fP" |
d08e9679 |
61 | Specify the foreground colour to use for bold reverse-video text, if |
62 | the \fIBoldAsColour\fP resource is set to 1 (the default). (This |
63 | colour is best thought of as the bold version of the background |
64 | colour; so it only appears when text is displayed \fIin\fP the |
65 | background colour.) |
74ff0c55 |
66 | .IP "\fB\-cfg\fP \fIcolour\fP" |
d08e9679 |
67 | Specify the foreground colour to use for text covered by the cursor. |
74ff0c55 |
68 | .IP "\fB\-cbg\fP \fIcolour\fP" |
d08e9679 |
69 | Specify the background colour to use for text covered by the cursor. |
70 | In other words, this is the main colour of the cursor. |
811453cb |
71 | .IP "\fB\-title\fP \fItitle\fP" |
d08e9679 |
72 | Specify the initial title of the terminal window. (This can be |
73 | changed under control of the server.) |
74ff0c55 |
74 | .IP "\fB\-ut\-\fP or \fB+ut\fP" |
d08e9679 |
75 | Tells \fIpterm\fP not to record your login in the \fIutmp\fP, |
76 | \fIwtmp\fP and \fIlastlog\fP system log files; so you will not show |
77 | up on \fIfinger\fP or \fIwho\fP listings, for example. |
74ff0c55 |
78 | .IP "\fB\-ut\fP" |
d08e9679 |
79 | Tells \fIpterm\fP to record your login in \fIutmp\fP, \fIwtmp\fP and |
74ff0c55 |
80 | \fIlastlog\fP: this is the opposite of \fI\-ut\-\fP. This is the |
d08e9679 |
81 | default option: you will probably only need to specify it explicitly |
82 | if you have changed the default using the \fIStampUtmp\fP resource. |
74ff0c55 |
83 | .IP "\fB\-ls\-\fP or \fB+ls\fP" |
d08e9679 |
84 | Tells \fIpterm\fP not to execute your shell as a login shell. |
74ff0c55 |
85 | .IP "\fB\-ls\fP" |
d08e9679 |
86 | Tells \fIpterm\fP to execute your shell as a login shell: this is |
74ff0c55 |
87 | the opposite of \fI\-ls\-\fP. This is the default option: you will |
d08e9679 |
88 | probably only need to specify it explicitly if you have changed the |
89 | default using the \fILoginShell\fP resource. |
74ff0c55 |
90 | .IP "\fB\-sb\-\fP or \fB+sb\fP" |
d08e9679 |
91 | Tells \fIpterm\fP not to display a scroll bar. |
74ff0c55 |
92 | .IP "\fB\-sb\fP" |
d08e9679 |
93 | Tells \fIpterm\fP to display a scroll bar: this is the opposite of |
74ff0c55 |
94 | \fI\-sb\-\fP. This is the default option: you will probably only need |
d08e9679 |
95 | to specify it explicitly if you have changed the default using the |
96 | \fIScrollBar\fP resource. |
74ff0c55 |
97 | .IP "\fB\-log\fP \fIfilename\fP" |
d08e9679 |
98 | This option makes \fIpterm\fP log all the terminal output to a file |
99 | as well as displaying it in the terminal. |
2dc6356a |
100 | .IP "\fB\-cs\fP \fIcharset\fP" |
101 | This option specifies the character set in which \fIpterm\fP should |
102 | assume the session is operating. This character set will be used to |
103 | interpret all the data received from the session, and all input you |
104 | type or paste into \fIpterm\fP will be converted into this character |
105 | set before being sent to the session. |
106 | |
107 | Any character set name which is valid in a MIME header (and |
108 | supported by \fIpterm\fP) should be valid here (examples are |
109 | "ISO-8859-1", "windows-1252" or "UTF-8"). Also, any character |
110 | encoding which is valid in an X logical font description should be |
111 | valid ("ibm-cp437", for example). |
112 | |
facd762c |
113 | \fIpterm\fP's default behaviour is to use the same character |
114 | encoding as its primary font. If you supply a Unicode (iso10646-1) |
115 | font, it will default to the UTF-8 character set. |
116 | |
2dc6356a |
117 | Character set names are case-insensitive. |
74ff0c55 |
118 | .IP "\fB\-nethack\fP" |
d08e9679 |
119 | Tells \fIpterm\fP to enable NetHack keypad mode, in which the |
120 | numeric keypad generates the NetHack "hjklyubn" direction keys. This |
121 | enables you to play NetHack with the numeric keypad without having |
122 | to use the NetHack "number_pad" option (which requires you to press |
123 | "n" before any repeat count). So you can move with the numeric |
124 | keypad, and enter repeat counts with the normal number keys. |
74ff0c55 |
125 | .IP "\fB\-xrm\fP \fIresource-string\fP" |
0ac15bdc |
126 | This option specifies an X resource string. Useful for setting |
127 | resources which do not have their own command-line options. For |
128 | example: |
129 | |
74ff0c55 |
130 | pterm \-xrm 'ScrollbarOnLeft: 1' |
131 | .IP "\fB\-help\fP, \fB\-\-help\fP" |
96add444 |
132 | Display a message summarizing the available options |
d08e9679 |
133 | .SH X RESOURCES |
134 | \fIpterm\fP can be more completely configured by means of X |
135 | resources. All of these resources are of the form \fIpterm.FOO\fP |
136 | for some FOO; you can make \fIpterm\fP look them up under another |
137 | name, such as \fIxyz.FOO\fP, by specifying the command-line option |
74ff0c55 |
138 | "\-name xyz". |
90cfd8f4 |
139 | .IP "\fBpterm.CloseOnExit\fP" |
461b078e |
140 | This option should be set to 0, 1 or 2; the default is 2. It |
90cfd8f4 |
141 | controls what \fIpterm\fP does when the process running inside it |
461b078e |
142 | terminates. When set to 2 (the default), \fIpterm\fP will close its |
143 | window as soon as the process inside it terminates. When set to 0, |
144 | \fIpterm\fP will print the process's exit status, and the window |
145 | will remain present until a key is pressed (allowing you to inspect |
146 | the scrollback, and copy and paste text out of it). |
90cfd8f4 |
147 | |
461b078e |
148 | When this setting is set to 1, \fIpterm\fP will close |
90cfd8f4 |
149 | immediately if the process exits cleanly (with an exit status of |
150 | zero), but the window will stay around if the process exits with a |
151 | non-zero code or on a signal. This enables you to see what went |
152 | wrong if the process suffers an error, but not to have to bother |
153 | closing the window in normal circumstances. |
d08e9679 |
154 | .IP "\fBpterm.TerminalType\fP" |
155 | This controls the value set in the TERM environment variable inside |
156 | the new terminal. The default is "xterm". |
157 | .IP "\fBpterm.BackspaceIsDelete\fP" |
158 | This option should be set to either 0 or 1; the default is 1. When |
159 | set to 0, the ordinary Backspace key generates the Backspace |
160 | character (^H); when set to 1, it generates the Delete character |
161 | (^?). Whichever one you set, the terminal device inside \fIpterm\fP |
162 | will be set up to expect it. |
163 | .IP "\fBpterm.RXVTHomeEnd\fP" |
164 | This option should be set to either 0 or 1; the default is 0. When |
165 | it is set to 1, the Home and End keys generate the control sequences |
166 | they would generate in the \fIrxvt\fP terminal emulator, instead of |
167 | the more usual ones generated by other emulators. |
168 | .IP "\fBpterm.LinuxFunctionKeys\fP" |
169 | This option can be set to any number between 0 and 5 inclusive; the |
170 | default is 0. The modes vary the control sequences sent by the |
171 | function keys; for more complete documentation, it is probably |
74ff0c55 |
172 | simplest to try each option in "pterm \-e cat", and press the keys to |
d08e9679 |
173 | see what they generate. |
174 | .IP "\fBpterm.NoApplicationKeys\fP" |
175 | This option should be set to either 0 or 1; the default is 0. When |
176 | set to 1, it stops the server from ever switching the numeric keypad |
177 | into application mode (where the keys send function-key-like |
178 | sequences instead of numbers or arrow keys). You probably only need |
179 | this if some application is making a nuisance of itself. |
180 | .IP "\fBpterm.NoApplicationCursors\fP" |
181 | This option should be set to either 0 or 1; the default is 0. When |
182 | set to 1, it stops the server from ever switching the cursor keys |
183 | into application mode (where the keys send slightly different |
184 | sequences). You probably only need this if some application is |
185 | making a nuisance of itself. |
186 | .IP "\fBpterm.NoMouseReporting\fP" |
187 | This option should be set to either 0 or 1; the default is 0. When |
188 | set to 1, it stops the server from ever enabling mouse reporting |
189 | mode (where mouse clicks are sent to the application instead of |
190 | controlling cut and paste). |
191 | .IP "\fBpterm.NoRemoteResize\fP" |
192 | This option should be set to either 0 or 1; the default is 0. When |
193 | set to 1, it stops the server from being able to remotely control |
194 | the size of the \fIpterm\fP window. |
195 | .IP "\fBpterm.NoAltScreen\fP" |
196 | This option should be set to either 0 or 1; the default is 0. When |
197 | set to 1, it stops the server from using the "alternate screen" |
198 | terminal feature, which lets full-screen applications leave the |
199 | screen exactly the way they found it. |
200 | .IP "\fBpterm.NoRemoteWinTitle\fP" |
201 | This option should be set to either 0 or 1; the default is 0. When |
202 | set to 1, it stops the server from remotely controlling the title of |
203 | the \fIpterm\fP window. |
362a7289 |
204 | .IP "\fBpterm.NoRemoteQTitle\fP" |
205 | This option should be set to either 0 or 1; the default is 1. When |
206 | set to 1, it stops the server from remotely requesting the title of |
207 | the \fIpterm\fP window. |
208 | |
209 | This feature is a \fBPOTENTIAL SECURITY HAZARD\fP. If a malicious |
210 | application can write data to your terminal (for example, if you |
211 | merely \fIcat\fP a file owned by someone else on the server |
212 | machine), it can change your window title (unless you have disabled |
213 | this using the \fBNoRemoteWinTitle\fP resource) and then use this |
214 | service to have the new window title sent back to the server as if |
215 | typed at the keyboard. This allows an attacker to fake keypresses |
216 | and potentially cause your server-side applications to do things you |
217 | didn't want. Therefore this feature is disabled by default, and we |
218 | recommend you do not turn it on unless you \fBreally\fP know what |
219 | you are doing. |
d08e9679 |
220 | .IP "\fBpterm.NoDBackspace\fP" |
221 | This option should be set to either 0 or 1; the default is 0. When |
222 | set to 1, it disables the normal action of the Delete (^?) character |
223 | when sent from the server to the terminal, which is to move the |
224 | cursor left by one space and erase the character now under it. |
225 | .IP "\fBpterm.ApplicationCursorKeys\fP" |
226 | This option should be set to either 0 or 1; the default is 0. When |
227 | set to 1, the default initial state of the cursor keys are |
228 | application mode (where the keys send function-key-like sequences |
229 | instead of numbers or arrow keys). When set to 0, the default state |
230 | is the normal one. |
231 | .IP "\fBpterm.ApplicationKeypad\fP" |
232 | This option should be set to either 0 or 1; the default is 0. When |
233 | set to 1, the default initial state of the numeric keypad is |
234 | application mode (where the keys send function-key-like sequences |
235 | instead of numbers or arrow keys). When set to 0, the default state |
236 | is the normal one. |
237 | .IP "\fBpterm.NetHackKeypad\fP" |
238 | This option should be set to either 0 or 1; the default is 0. When |
239 | set to 1, the numeric keypad operates in NetHack mode. This is |
74ff0c55 |
240 | equivalent to the \fI\-nethack\fP command-line option. |
d08e9679 |
241 | .IP "\fBpterm.Answerback\fP" |
242 | This option controls the string which the terminal sends in response |
243 | to receiving the ^E character ("tell me about yourself"). By default |
244 | this string is "PuTTY". |
245 | .IP "\fBpterm.HideMousePtr\fP" |
246 | This option should be set to either 0 or 1; the default is 0. When |
247 | it is set to 1, the mouse pointer will disappear if it is over the |
248 | \fIpterm\fP window and you press a key. It will reappear as soon as |
249 | you move it. |
250 | .IP "\fBpterm.WindowBorder\fP" |
251 | This option controls the number of pixels of space between the text |
252 | in the \fIpterm\fP window and the window frame. The default is 1. |
253 | You can increase this value, but decreasing it to 0 is not |
254 | recommended because it can cause the window manager's size hints to |
255 | work incorrectly. |
256 | .IP "\fBpterm.CurType\fP" |
257 | This option should be set to either 0, 1 or 2; the default is 0. |
258 | When set to 0, the text cursor displayed in the window is a |
259 | rectangular block. When set to 1, the cursor is an underline; when |
260 | set to 2, it is a vertical line. |
261 | .IP "\fBpterm.BlinkCur\fP" |
262 | This option should be set to either 0 or 1; the default is 0. When |
263 | it is set to 1, the text cursor will blink when the window is active. |
264 | .IP "\fBpterm.Beep\fP" |
265 | This option should be set to either 0 or 2 (yes, 2); the default is |
266 | 0. When it is set to 2, \fIpterm\fP will respond to a bell character |
267 | (^G) by flashing the window instead of beeping. |
268 | .IP "\fBpterm.BellOverload\fP" |
269 | This option should be set to either 0 or 1; the default is 0. When |
270 | it is set to 1, \fIpterm\fP will watch out for large numbers of |
271 | bells arriving in a short time and will temporarily disable the bell |
272 | until they stop. The idea is that if you \fIcat\fP a binary file, |
273 | the frantic beeping will mostly be silenced by this feature and will |
274 | not drive you crazy. |
275 | |
276 | The bell overload mode is activated by receiving N bells in time T; |
277 | after a further time S without any bells, overload mode will turn |
278 | itself off again. |
2cb50250 |
279 | |
280 | Bell overload mode is always deactivated by any keypress in the |
281 | terminal. This means it can respond to large unexpected streams of |
282 | data, but does not interfere with ordinary command-line activities |
283 | that generate beeps (such as filename completion). |
d08e9679 |
284 | .IP "\fBpterm.BellOverloadN\fP" |
285 | This option counts the number of bell characters which will activate |
286 | bell overload if they are received within a length of time T. The |
287 | default is 5. |
288 | .IP "\fBpterm.BellOverloadT\fP" |
289 | This option specifies the time period in which receiving N or more |
290 | bells will activate bell overload mode. It is measured in |
291 | microseconds, so (for example) set it to 1000000 for one second. The |
292 | default is 2000000 (two seconds). |
293 | .IP "\fBpterm.BellOverloadS\fP" |
294 | This option specifies the time period of silence required to turn |
295 | off bell overload mode. It is measured in microseconds, so (for |
296 | example) set it to 1000000 for one second. The default is 5000000 |
297 | (five seconds of silence). |
298 | .IP "\fBpterm.ScrollbackLines\fP" |
299 | This option specifies how many lines of scrollback to save above the |
300 | visible terminal screen. The default is 200. This resource is |
74ff0c55 |
301 | equivalent to the \fI\-sl\fP command-line option. |
d08e9679 |
302 | .IP "\fBpterm.DECOriginMode\fP" |
303 | This option should be set to either 0 or 1; the default is 0. It |
304 | specifies the default state of DEC Origin Mode. (If you don't know |
305 | what that means, you probably don't need to mess with it.) |
306 | .IP "\fBpterm.AutoWrapMode\fP" |
307 | This option should be set to either 0 or 1; the default is 1. It |
308 | specifies the default state of auto wrap mode. When set to 1, very |
309 | long lines will wrap over to the next line on the terminal; when set |
310 | to 0, long lines will be squashed against the right-hand edge of the |
311 | screen. |
312 | .IP "\fBpterm.LFImpliesCR\fP" |
313 | This option should be set to either 0 or 1; the default is 0. When |
314 | set to 1, the terminal will return the cursor to the left side of |
315 | the screen when it receives a line feed character. |
316 | .IP "\fBpterm.WinTitle\fP" |
74ff0c55 |
317 | This resource is the same as the \fI\-T\fP command-line option: it |
d08e9679 |
318 | controls the initial title of the window. The default is "pterm". |
319 | .IP "\fBpterm.TermWidth\fP" |
74ff0c55 |
320 | This resource is the same as the width part of the \fI\-geometry\fP |
d08e9679 |
321 | command-line option: it controls the number of columns of text in |
322 | the window. The default is 80. |
323 | .IP "\fBpterm.TermHeight\fP" |
74ff0c55 |
324 | This resource is the same as the width part of the \fI\-geometry\fP |
d08e9679 |
325 | command-line option: it controls the number of columns of text in |
326 | the window. The defaults is 24. |
327 | .IP "\fBpterm.Font\fP" |
74ff0c55 |
328 | This resource is the same as the \fI\-fn\fP command-line option: it |
d08e9679 |
329 | controls the font used to display normal text. The default is |
330 | "fixed". |
331 | .IP "\fBpterm.BoldFont\fP" |
74ff0c55 |
332 | This resource is the same as the \fI\-fb\fP command-line option: it |
d08e9679 |
333 | controls the font used to display bold text when \fIBoldAsColour\fP |
334 | is turned off. The default is unset (the font will be bolded by |
335 | printing it twice at a one-pixel offset). |
006238cb |
336 | .IP "\fBpterm.WideFont\fP" |
337 | This resource is the same as the \fI\-fw\fP command-line option: it |
338 | controls the font used to display double-width characters. The |
339 | default is unset (double-width characters cannot be displayed). |
340 | .IP "\fBpterm.WideBoldFont\fP" |
341 | This resource is the same as the \fI\-fwb\fP command-line option: it |
342 | controls the font used to display double-width characters in bold, |
343 | when \fIBoldAsColour\fP is turned off. The default is unset |
344 | (double-width characters are displayed in bold by printing them |
345 | twice at a one-pixel offset). |
12994a99 |
346 | .IP "\fBpterm.ShadowBoldOffset\fP" |
74ff0c55 |
347 | This resource can be set to an integer; the default is \-1. It |
12994a99 |
348 | specifies the offset at which text is overprinted when using "shadow |
623f81b7 |
349 | bold" mode. The default (1) means that the text will be printed in |
350 | the normal place, and also one character to the right; this seems to |
12994a99 |
351 | work well for most X bitmap fonts, which have a blank line of pixels |
623f81b7 |
352 | down the right-hand side. For some fonts, you may need to set this to |
74ff0c55 |
353 | \-1, so that the text is overprinted one pixel to the left; for |
623f81b7 |
354 | really large fonts, you may want to set it higher than 1 (in one |
355 | direction or the other). |
d08e9679 |
356 | .IP "\fBpterm.BoldAsColour\fP" |
357 | This option should be set to either 0 or 1; the default is 1. It |
358 | specifies the default state of auto wrap mode. When set to 1, bold |
359 | text is shown by displaying it in a brighter colour; when set to 0, |
360 | bold text is shown by displaying it in a heavier font. |
361 | .IP "\fBpterm.Colour0\fP, \fBpterm.Colour1\fP, ..., \fBpterm.Colour21\fP" |
362 | These options control the various colours used to display text in |
363 | the \fIpterm\fP window. Each one should be specified as a triple of |
364 | decimal numbers giving red, green and blue values: so that black is |
365 | "0,0,0", white is "255,255,255", red is "255,0,0" and so on. |
366 | |
367 | Colours 0 and 1 specify the foreground colour and its bold |
74ff0c55 |
368 | equivalent (the \fI\-fg\fP and \fI\-bfg\fP command-line options). |
d08e9679 |
369 | Colours 2 and 3 specify the background colour and its bold |
74ff0c55 |
370 | equivalent (the \fI\-bg\fP and \fI\-bbg\fP command-line options). |
d08e9679 |
371 | Colours 4 and 5 specify the text and block colours used for the |
74ff0c55 |
372 | cursor (the \fI\-cfg\fP and \fI\-cbg\fP command-line options). Each |
d08e9679 |
373 | even number from 6 to 20 inclusive specifies the colour to be used |
374 | for one of the ANSI primary colour specifications (black, red, |
375 | green, yellow, blue, magenta, cyan, white, in that order); the odd |
376 | numbers from 7 to 21 inclusive specify the bold version of each |
377 | colour, in the same order. The defaults are: |
378 | |
379 | .nf |
380 | pterm.Colour0: 187,187,187 |
381 | pterm.Colour1: 255,255,255 |
382 | pterm.Colour2: 0,0,0 |
383 | pterm.Colour3: 85,85,85 |
384 | pterm.Colour4: 0,0,0 |
385 | pterm.Colour5: 0,255,0 |
386 | pterm.Colour6: 0,0,0 |
387 | pterm.Colour7: 85,85,85 |
388 | pterm.Colour8: 187,0,0 |
389 | pterm.Colour9: 255,85,85 |
390 | pterm.Colour10: 0,187,0 |
391 | pterm.Colour11: 85,255,85 |
392 | pterm.Colour12: 187,187,0 |
393 | pterm.Colour13: 255,255,85 |
394 | pterm.Colour14: 0,0,187 |
395 | pterm.Colour15: 85,85,255 |
396 | pterm.Colour16: 187,0,187 |
397 | pterm.Colour17: 255,85,255 |
398 | pterm.Colour18: 0,187,187 |
399 | pterm.Colour19: 85,255,255 |
400 | pterm.Colour20: 187,187,187 |
401 | pterm.Colour21: 255,255,255 |
402 | .fi |
403 | .IP "\fBpterm.RectSelect\fP" |
404 | This option should be set to either 0 or 1; the default is 0. When |
405 | set to 0, dragging the mouse over several lines selects to the end |
406 | of each line and from the beginning of the next; when set to 1, |
407 | dragging the mouse over several lines selects a rectangular region. |
408 | In each case, holding down Alt while dragging gives the other |
409 | behaviour. |
410 | .IP "\fBpterm.MouseOverride\fP" |
411 | This option should be set to either 0 or 1; the default is 1. When |
412 | set to 1, if the application requests mouse tracking (so that mouse |
413 | clicks are sent to it instead of doing selection), holding down |
414 | Shift will revert the mouse to normal selection. When set to 0, |
415 | mouse tracking completely disables selection. |
416 | .IP "\fBpterm.Printer\fP" |
417 | This option is unset by default. If you set it, then |
418 | server-controlled printing is enabled: the server can send control |
419 | sequences to request data to be sent to a printer. That data will be |
420 | piped into the command you specify here; so you might want to set it |
74ff0c55 |
421 | to "lpr", for example, or "lpr \-Pmyprinter". |
d08e9679 |
422 | .IP "\fBpterm.ScrollBar\fP" |
423 | This option should be set to either 0 or 1; the default is 1. When |
424 | set to 0, the scrollbar is hidden (although Shift-PageUp and |
74ff0c55 |
425 | Shift-PageDown still work). This is the same as the \fI\-sb\fP |
d08e9679 |
426 | command-line option. |
427 | .IP "\fBpterm.ScrollbarOnLeft\fP" |
428 | This option should be set to either 0 or 1; the default is 0. When |
429 | set to 1, the scrollbar will be displayed on the left of the |
430 | terminal instead of on the right. |
431 | .IP "\fBpterm.ScrollOnKey\fP" |
432 | This option should be set to either 0 or 1; the default is 0. When |
433 | set to 1, any keypress causes the position of the scrollback to be |
434 | reset to the very bottom. |
435 | .IP "\fBpterm.ScrollOnDisp\fP" |
436 | This option should be set to either 0 or 1; the default is 1. When |
437 | set to 1, any activity in the display causes the position of the |
438 | scrollback to be reset to the very bottom. |
2dc6356a |
439 | .IP "\fBpterm.LineCodePage\fP" |
440 | This option specifies the character set to be used for the session. |
441 | This is the same as the \fI\-cs\fP command-line option. |
442 | .IP "\fBpterm.NoRemoteCharset\fP" |
443 | This option disables the terminal's ability to change its character |
444 | set when it receives escape sequences telling it to. You might need |
445 | to do this to interoperate with programs which incorrectly change |
446 | the character set to something they think is sensible. |
d08e9679 |
447 | .IP "\fBpterm.BCE\fP" |
448 | This option should be set to either 0 or 1; the default is 1. When |
449 | set to 1, the various control sequences that erase parts of the |
450 | terminal display will erase in whatever the current background |
451 | colour is; when set to 0, they will erase in black always. |
452 | .IP "\fBpterm.BlinkText\fP" |
453 | This option should be set to either 0 or 1; the default is 0. When |
454 | set to 1, text specified as blinking by the server will actually |
455 | blink on and off; when set to 0, \fIpterm\fP will use the less |
456 | distracting approach of making the text's background colour bold. |
457 | .IP "\fBpterm.StampUtmp\fP" |
458 | This option should be set to either 0 or 1; the default is 1. When |
459 | set to 1, \fIpterm\fP will log the login in the various system log |
74ff0c55 |
460 | files. This resource is equivalent to the \fI\-ut\fP command-line |
d08e9679 |
461 | option. |
462 | .IP "\fBpterm.LoginShell\fP" |
463 | This option should be set to either 0 or 1; the default is 1. When |
464 | set to 1, \fIpterm\fP will execute your shell as a login shell. This |
74ff0c55 |
465 | resource is equivalent to the \fI\-ls\fP command-line option. |
d08e9679 |
466 | .SH BUGS |
467 | Most of the X resources have silly names. (Historical reasons from |
468 | PuTTY, mostly.) |