mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Introduce a third setting for the 'bold as colour' mode, which lets
you both brighten the colour _and_ bold the font at the same time. (Fixes 'bold-font-colour' and Debian #193352.) [originally from svn r9559]
This commit is contained in:
@ -1541,20 +1541,22 @@ If you do not see \cq{colors#256} in the output, you may need to
|
||||
change your terminal setting. On modern Linux machines, you could
|
||||
try \cq{xterm-256color}.
|
||||
|
||||
\S{config-boldcolour} \q{Bolded text is a different colour}
|
||||
\S{config-boldcolour} \q{Indicate bolded text by changing}
|
||||
|
||||
\cfg{winhelp-topic}{colours.bold}
|
||||
|
||||
When the server sends a \i{control sequence} indicating that some text
|
||||
should be displayed in \i{bold}, PuTTY can handle this two ways. It can
|
||||
either change the \i{font} for a bold version, or use the same font in a
|
||||
brighter colour. This control lets you choose which.
|
||||
should be displayed in \i{bold}, PuTTY can handle this in several
|
||||
ways. It can either change the \i{font} for a bold version, or use the
|
||||
same font in a brighter colour, or it can do both (brighten the colour
|
||||
\e{and} embolden the font). This control lets you choose which.
|
||||
|
||||
By default the box is checked, so non-bold text is displayed in
|
||||
light grey and bold text is displayed in bright white (and similarly
|
||||
in other colours). If you uncheck the box, bold and non-bold text
|
||||
will be displayed in the same colour, and instead the font will
|
||||
change to indicate the difference.
|
||||
By default bold is indicated by colour, so non-bold text is displayed
|
||||
in light grey and bold text is displayed in bright white (and
|
||||
similarly in other colours). If you change the setting to \q{The font}
|
||||
box, bold and non-bold text will be displayed in the same colour, and
|
||||
instead the font will change to indicate the difference. If you select
|
||||
\q{Both}, the font and the colour will both change.
|
||||
|
||||
\S{config-logpalette} \q{Attempt to use \i{logical palettes}}
|
||||
|
||||
|
@ -37,7 +37,7 @@ Sorry.)
|
||||
\dd Specify the font to use for bold text displayed in the terminal. If
|
||||
the \cw{BoldAsColour} resource is set to 1 (the default), bold text
|
||||
will be displayed in different colours instead of a different font,
|
||||
so this option will be ignored. If \cw{BoldAsColour} is set to 0
|
||||
so this option will be ignored. If \cw{BoldAsColour} is set to 0 or 2
|
||||
and you do not specify a bold font, \cw{puttytel} will overprint the
|
||||
normal font to make it look bolder.
|
||||
|
||||
@ -50,7 +50,7 @@ Chinese, Japanese and Korean text) displayed in the terminal.
|
||||
|
||||
\dd Specify the font to use for bold double-width characters
|
||||
(typically Chinese, Japanese and Korean text). Like \cw{-fb}, this
|
||||
will be ignored unless the \cw{BoldAsColour} resource is set to 0.
|
||||
will be ignored unless the \cw{BoldAsColour} resource is set to 0 or 2.
|
||||
|
||||
\dt \cw{\-geometry} \e{geometry}
|
||||
|
||||
@ -74,12 +74,12 @@ terminal.
|
||||
\dt \cw{\-bfg} \e{colour}
|
||||
|
||||
\dd Specify the foreground colour to use for bold text, if the
|
||||
\cw{BoldAsColour} resource is set to 1 (the default).
|
||||
\cw{BoldAsColour} resource is set to 1 (the default) or 2.
|
||||
|
||||
\dt \cw{\-bbg} \e{colour}
|
||||
|
||||
\dd Specify the foreground colour to use for bold reverse-video text, if
|
||||
the \cw{BoldAsColour} resource is set to 1 (the default). (This
|
||||
the \cw{BoldAsColour} resource is set to 1 (the default) or 2. (This
|
||||
colour is best thought of as the bold version of the background
|
||||
colour; so it only appears when text is displayed \e{in} the
|
||||
background colour.)
|
||||
|
@ -57,7 +57,7 @@ sets of defaults and choose between them.
|
||||
\dd Specify the font to use for bold text displayed in the terminal. If
|
||||
the \cw{BoldAsColour} resource is set to 1 (the default), bold text
|
||||
will be displayed in different colours instead of a different font,
|
||||
so this option will be ignored. If \cw{BoldAsColour} is set to 0
|
||||
so this option will be ignored. If \cw{BoldAsColour} is set to 0 or 2
|
||||
and you do not specify a bold font, \cw{pterm} will overprint the
|
||||
normal font to make it look bolder.
|
||||
|
||||
@ -70,7 +70,7 @@ Chinese, Japanese and Korean text) displayed in the terminal.
|
||||
|
||||
\dd Specify the font to use for bold double-width characters
|
||||
(typically Chinese, Japanese and Korean text). Like \cw{-fb}, this
|
||||
will be ignored unless the \cw{BoldAsColour} resource is set to 0.
|
||||
will be ignored unless the \cw{BoldAsColour} resource is set to 0 or 2.
|
||||
|
||||
\dt \cw{\-geometry} \e{geometry}
|
||||
|
||||
@ -94,12 +94,12 @@ terminal.
|
||||
\dt \cw{\-bfg} \e{colour}
|
||||
|
||||
\dd Specify the foreground colour to use for bold text, if the
|
||||
\cw{BoldAsColour} resource is set to 1 (the default).
|
||||
\cw{BoldAsColour} resource is set to 1 (the default) or 2.
|
||||
|
||||
\dt \cw{\-bbg} \e{colour}
|
||||
|
||||
\dd Specify the foreground colour to use for bold reverse-video text, if
|
||||
the \cw{BoldAsColour} resource is set to 1 (the default). (This
|
||||
the \cw{BoldAsColour} resource is set to 1 (the default) or 2. (This
|
||||
colour is best thought of as the bold version of the background
|
||||
colour; so it only appears when text is displayed \e{in} the
|
||||
background colour.)
|
||||
@ -498,7 +498,7 @@ controls the font used to display normal text. The default is
|
||||
|
||||
\dd This resource is the same as the \cw{\-fb} command-line option: it
|
||||
controls the font used to display bold text when \cw{BoldAsColour}
|
||||
is turned off. The default is unset (the font will be bolded by
|
||||
is set to 0 or 2. The default is unset (the font will be bolded by
|
||||
printing it twice at a one-pixel offset).
|
||||
|
||||
\dt \cw{pterm.WideFont}
|
||||
@ -511,7 +511,7 @@ default is unset (double-width characters cannot be displayed).
|
||||
|
||||
\dd This resource is the same as the \cw{\-fwb} command-line option: it
|
||||
controls the font used to display double-width characters in bold,
|
||||
when \cw{BoldAsColour} is turned off. The default is unset
|
||||
when \cw{BoldAsColour} is set to 0 or 2. The default is unset
|
||||
(double-width characters are displayed in bold by printing them
|
||||
twice at a one-pixel offset).
|
||||
|
||||
@ -529,10 +529,11 @@ than 1 (in one direction or the other).
|
||||
|
||||
\dt \cw{pterm.BoldAsColour}
|
||||
|
||||
\dd This option should be set to either 0 or 1; the default is 1. It
|
||||
specifies the default state of auto wrap mode. When set to 1, bold
|
||||
\dd This option should be set to either 0, 1, or 2; the default is 1.
|
||||
It specifies how bold text should be displayed. When set to 1, bold
|
||||
text is shown by displaying it in a brighter colour; when set to 0,
|
||||
bold text is shown by displaying it in a heavier font.
|
||||
bold text is shown by displaying it in a heavier font; when set to 2,
|
||||
both effects happen at once (a heavy font \e{and} a brighter colour).
|
||||
|
||||
\dt \cw{pterm.Colour0}, \cw{pterm.Colour1}, ..., \cw{pterm.Colour21}
|
||||
|
||||
|
@ -37,7 +37,7 @@ Sorry.)
|
||||
If the \cw{BoldAsColour} resource is set to 1 (the default), bold
|
||||
text will be displayed in different colours instead of a different
|
||||
font, so this option will be ignored. If \cw{BoldAsColour} is set to
|
||||
0 and you do not specify a bold font, \cw{putty} will overprint the
|
||||
0 or 2 and you do not specify a bold font, \cw{putty} will overprint the
|
||||
normal font to make it look bolder.
|
||||
|
||||
\dt \cw{\-fw} \e{font-name}
|
||||
@ -49,7 +49,7 @@ Chinese, Japanese and Korean text) displayed in the terminal.
|
||||
|
||||
\dd Specify the font to use for bold double-width characters
|
||||
(typically Chinese, Japanese and Korean text). Like \cw{-fb}, this
|
||||
will be ignored unless the \cw{BoldAsColour} resource is set to 0.
|
||||
will be ignored unless the \cw{BoldAsColour} resource is set to 0 or 2.
|
||||
|
||||
\dt \cw{\-geometry} \e{geometry}
|
||||
|
||||
@ -73,12 +73,12 @@ terminal.
|
||||
\dt \cw{\-bfg} \e{colour}
|
||||
|
||||
\dd Specify the foreground colour to use for bold text, if the
|
||||
\cw{BoldAsColour} resource is set to 1 (the default).
|
||||
\cw{BoldAsColour} resource is set to 1 (the default) or 2.
|
||||
|
||||
\dt \cw{\-bbg} \e{colour}
|
||||
|
||||
\dd Specify the foreground colour to use for bold reverse-video
|
||||
text, if the \cw{BoldAsColour} resource is set to 1 (the default).
|
||||
text, if the \cw{BoldAsColour} resource is set to 1 (the default) or 2.
|
||||
(This colour is best thought of as the bold version of the
|
||||
background colour; so it only appears when text is displayed \e{in}
|
||||
the background colour.)
|
||||
|
Reference in New Issue
Block a user