In the default configuration, the character classes are:
•Class 0 contains white space and control characters.
•Class 1 contains most punctuation.
•Class 2 contains letters, numbers and a few pieces of punctuation (the double quote, minus sign, period, forward slash and underscore).
So, for example, if you assign the @ symbol into character class 2, you will be able to select an e-mail address with just a double click.
In order to adjust these assignments, you start by selecting a group of characters in the list box. Then enter a class number in the edit box below, and press the ‘Set’ button.
This mechanism currently only covers ASCII characters, because it isn't feasible to expand the list to cover the whole of Unicode.
Character class definitions can be modified by control sequences sent by the server. This configuration option controls the default state, which will be restored when you reset the terminal (see
section 3.1.3.6
). However, if you modify this option in mid-session
using ‘Change Settings’, it will take effect immediately.
4.12 The Colours panel
The Colours panel allows you to control PuTTY's use of colour.
•
4.12.1 ‘Allow terminal to specify ANSI colours’
•
4.12.2 ‘Allow terminal to use xterm 256-colour mode’
•
4.12.3 ‘Indicate bolded text by changing...’
•
4.12.4 ‘Attempt to use logical palettes’
•
4.12.5 ‘Use system colours’
•
4.12.6 Adjusting the colours in the terminal window
4.12.1 ‘Allow terminal to specify ANSI colours’
This option is enabled by default. If it is disabled, PuTTY will ignore any control sequences sent by the server to request coloured text.
If you have a particularly garish application, you might want to turn this option off and make PuTTY only use the default foreground and background colours.
4.12.2 ‘Allow terminal to use xterm 256-colour mode’
This option is enabled by default. If it is disabled, PuTTY will ignore any control sequences sent by the server which use the extended 256-colour mode supported by recent versions of xterm.
If you have an application which is supposed to use 256-colour mode and it isn't working, you may find you need to tell your server that your terminal supports 256 colours. On Unix, you do this by ensuring that the setting of TERM describes a 256-colour-capable terminal. You can check this using a command such as infocmp:
$ infocmp | grep colors
colors#256, cols#80, it#8, lines#24, pairs#256,
If you do not see ‘colors#256’ in the output, you may need to change your terminal setting. On modern Linux machines, you could try ‘xterm-256color’.
4.12.3 ‘Indicate bolded text by changing...’
When the server sends a control sequence indicating that some text should be displayed in bold, PuTTY can handle this in several ways. It can either change the font for a bold version, or use the same font in a brighter colour, or it can do both (brighten the colour and embolden the font). This control lets you choose which.