man-pterm.but 24 KB

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