Hi Thomas,
Thomas Dickey schrieb am Thu 01. Mar, 20:38 (-0500):
> On Tue, Feb 27, 2007 at 12:50:11AM +0100, Jörg Sommer wrote:
> > Package: xterm
> > Version: 224-1
> > Severity: normal
> >
> > Hi,
> >
> > the manual page of xterm says: Note that xterm has one bold font which
> > you may set explicitly. It attempts to match a bold font for the other
> > font selections (font1 through font6). If the normal and bold fonts are
> > distinct, this resource [boldMode] has no effect.
> >
> > So I set boldFont and boldMode:
> > % xrdb -query|grep -E '(XTerm.*ont|bold)'
> > XTerm.*.boldFont: -misc-fixed-bold-*-*-*-18-*-*-*-*-*-iso10646-1
> > XTerm.*.font: -misc-fixed-medium-*-*-*-18-*-*-*-*-*-iso10646-1
> > XTerm.*.boldMode: false
>
> I need a little more information to see if I'm reconstructing this
> properly. Your locale appears to be de_DE.UTF-8,
Correct.
> but the given resources are for "XTerm" rather than "UXTerm".
Correct.
> Are you starting xterm using the "-u8" option, or using the "utf8" or
> "wideChars" resource, then?
Nothing of it. But I don't have problems with UTF-8. I start xterm with
the variable LANG=de_DE.UTF-8.
> btw - the ".*." is really the same as "*"
Thanks for this hint. I thought it's like shell patterns, so XTerm.*.font
wouldn't match XTerm.foo.barfont.
> > As you can see the font and boldFont entities are distinct, ergo the
> > boldMode resource should get ignored. But it isn't so. I don't get bold
> > characters. If I set the boldMode to true, I get ugly characters for
> > font1 through font6.
>
> Well it could be distinct (even as specified) for a couple of different
> reasons, e.g.,
>
> a) the pattern might not match a real font
% xlsfonts -fn '-misc-fixed-bold-*-*-*-18-*-*-*-*-*-iso10646-1'
-misc-fixed-bold-r-normal--18-120-100-100-c-90-iso10646-1
-misc-fixed-bold-r-normal--18-130-100-100-c-0-iso10646-1
-misc-fixed-bold-r-normal--18-130-100-100-c-0-iso10646-1
-misc-fixed-bold-r-semicondensed--18-130-100-100-c-0-iso10646-1
> b) another resource could override one of the given patterns.
>
> For instance, I started with "*font", but that was overridden
> by "*VT100.font". But "UXTerm*font" worked.
Not at me. This are my settings:
% xrdb -query
*customization: -color
Fig.latexfonts: true
Fig.rigidtext: true
Fig.specialtext: true
XLock*logoutButton: -1
XLock.endCmd: xlock_kb restore
XLock.startCmd: xlock_kb save
XTerm*boldMode: false
XTerm.*.Scrollbar.translations: #override\n <Btn5Down>: StartScroll(Forward)\n <Btn4Down>: StartScroll(Backward)\n
XTerm.*.background: black
XTerm.*.boldFont: -misc-fixed-bold-*-*-*-18-*-*-*-*-*-iso10646-1
XTerm.*.color4: blue3
XTerm.*.eightBitInput: false
XTerm.*.font: -misc-fixed-medium-*-*-*-18-*-*-*-*-*-iso10646-1
XTerm.*.foreground: gray90
XTerm.*.metaSendsEscape: true
XTerm.*.rightScrollBar: true
XTerm.*.scrollBar: false
XTerm.*.vt100.translations: #override\n Shift<Btn4Down>,<Btn4Up>:scroll-back(1,line)\n Shift<Btn5Down>,<Btn5Up>:scroll-forw(1,line)\n Ctrl<Btn4Down>,<Btn4Up>:scroll-back(1,page)\n Ctrl<Btn5Down>,<Btn5Up>:scroll-forw(1,page)\n <Btn4Down>,<Btn4Up>:scroll-back(1,halfpage)\n <Btn5Down>,<Btn5Up>:scroll-forw(1,halfpage)\n <Key>Home: string(0x1b) string("[1~")\n <Key>End: string(0x1b) string("[4~")\n <Key>KP_Enter: string(0xd)\n Shift<Key>Up: scroll-back(1, line)\n Shift<Key>Down: scroll-forw(1, line)\n
XTerm.messages: false
gnuplot.*.line2Color: darkgreen
irssi.*.popOnBell: true
rootsh.*.ScrollBar: true
rootsh.*.background: firebrick
server.*.ScrollBar: false
server.*.background: darkgreen
server.*.geometry: 80x25
server.*.multiScroll: true
server.*.scrollLines: 0
server.title: Server Terminal
slrn.*.boldMode: false
slrn.*.font: -misc-fixed-medium-r-normal-*-*-140-100-100-c-*-iso8859-1
slrn_cp.*.boldMode: false
slrn_cp.*.font: -misc-fixed-medium-r-normal-*-*-140-100-100-c-*-iso8859-1
xdvi.shrinkButton1: 4
xdvi.shrinkButton2: 5
xdvi.shrinkButton3: 6
xdvi.shrinkFactor: 5
xdvi.sideMargin: 1cm
xdvi.topMargin: 2cm
xjed.font: -misc-fixed-medium-*-*-*-*-200-*-*-*-*-iso10646-1
xprop.title: xprop
xterm.*.scrollBar: true
Bye, Jörg.
--
Life can only be understood backwards, but it must be lived forwards.
(Soren Kierkegaard)
Attachment:
pgpsUHnuMYzZX.pgp
Description: PGP signature