On Sat, Nov 12, 2022 at 03:17:01PM +0100, Andreas Tille wrote: > Am Sun, Nov 06, 2022 at 07:55:33PM -0500 schrieb Thomas Dickey: > > On Tue, Nov 01, 2022 at 09:23:55AM +0100, Andreas Tille wrote: > > > Am Sun, Oct 30, 2022 at 04:53:24PM -0400 schrieb Thomas Dickey: > > > > > > $ grep font /etc/X11/Xresources/xterm | grep -v ^! > > > > > > *VT100.utf8Fonts.font: fixed > > > > what locale settings are you using? > > > > (that might be relevant - or the choice of desktop/window-manager) > > $ locale > LANG=de_DE.UTF-8 > LANGUAGE= > LC_CTYPE="de_DE.UTF-8" > LC_NUMERIC="de_DE.UTF-8" > LC_TIME="de_DE.UTF-8" > LC_COLLATE="de_DE.UTF-8" > LC_MONETARY="de_DE.UTF-8" > LC_MESSAGES="de_DE.UTF-8" > LC_PAPER="de_DE.UTF-8" > LC_NAME="de_DE.UTF-8" > LC_ADDRESS="de_DE.UTF-8" > LC_TELEPHONE="de_DE.UTF-8" > LC_MEASUREMENT="de_DE.UTF-8" > LC_IDENTIFICATION="de_DE.UTF-8" > LC_ALL=
I tried that - no change
> Desktop environment is xfce4.
>
> > > Sorry its "comment".
> > >
> > > > > (the grep seems to indicate that the latter is meant)
> > > > >
> > > > > > crash with segmentation fault when not finding some specified font.
> >
> > I suppose the problem is something along the lines of the X server
> > returning some error in using the fonts. If it were TrueType fonts,
> > I'd use strace to verify that they're opened -- but for bitmap
> > fonts, that's done on the server side.
>
> I admit I'm fine with any nicely readable font. I once considered the
> terminus fonts to fit this requirement and never found any reason
> to change this.
>
> > > The crash happens for
> > >
> > > $ xrdb -query
> > > *VT100.utf8Fonts.font: fixed
> > > XTermVT100.faceSize: 22
> > > XTerm*geometry: 111x36
> >
> > hmm - I'm still not seeing _this_ problem.
> > (by the way, the geometry resource is over-broad, making the font-menu
> > less than useful).
>
> I've made the Geometry that size to fit exactly a quarter of my screen
> fitting 4 xterms at one time. Xfce4 places these intelligently in a
> 2x2 matrix.
Something like this will work, but fixing the problem with the menus:
XTerm*VT100.geometry: 111x36
It's in the FAQ:
https://invisible-island.net/xterm/xterm.faq.html#tiny_menus
> > I used xcfe4 for testing, on a virtual machine.
> >
> > My most recent snapshot (from 2022/11/01) didn't work - some problem
> > with X and the window manaager), so I upgraded from 2022/10/29,
> > to get a workable machine.
> >
> > Given that (I also have the terminus font installed),
> > I used "xrdb -load" with these resources, and ran xterm
> > from the Debian package. It looks okay to me - no crash.
>
> I'm using Debian packages exclusively - I have no time to spent
> extra fancy things. BTW. I'm observing the very same bug on my
> second laptop I'm using for traveling (but my desktop with the
> same setup works without any problem)
>
> Could you send me the full command line
> "xrdb -load ??"
I pasted the text from earlier mail as "bad.ad" (attached),
and loaded it with
xrdb -load bad.ad
> I could check here. What strace call should I send to track
> down the issue. Please note that while I'm an experienced
I'd just
strace -o trace.log -s 1024 xterm
to capture a long trace (~200kb),
and look to see if there's something interesting where xterm dies.
I also ran xterm using -report-fonts, which shows the fonts opened.
> Debian user and long year developer I would not consider myself
> an X expert.
>
> Kind regards
>
> Andreas.
>
> --
> http://fam-tille.de
--
Thomas E. Dickey <[email protected]>
https://invisible-island.net
ftp://ftp.invisible-island.net
Loaded VTFonts(font6)
fNorm: -*-terminus-*-*-*-32-*-*-*-*-*-*-*
all chars: no
default char: 63
direction: 0
ascent: 26
descent: 6
first char: 0
last char: 255
maximum-chars: 256
missing-chars: 37
present-chars: 219
min_byte1: 0
max_byte1: 0
properties: 22
min_bounds:
lbearing: 0
rbearing: 0
width: 16
ascent: -1
descent: -22
max_bounds:
lbearing: 6
rbearing: 16
width: 16
ascent: 26
descent: 6
fBold: -xos4-Terminus-bold-R-*-*-32-320-72-72-C-160-ISO8859-1
all chars: no
default char: 63
direction: 0
ascent: 26
descent: 6
first char: 0
last char: 255
maximum-chars: 256
missing-chars: 37
present-chars: 219
min_byte1: 0
max_byte1: 0
properties: 22
min_bounds:
lbearing: 0
rbearing: 0
width: 16
ascent: -1
descent: -22
max_bounds:
lbearing: 6
rbearing: 16
width: 16
ascent: 26
descent: 6
fWide: -xos4-Terminus-medium-R-*-*-32-320-72-72-C-320-ISO10646-1
all chars: no
default char: 63
direction: 0
ascent: 26
descent: 6
first char: 0
last char: 65535
maximum-chars: 65536
missing-chars: ?
present-chars: ?
min_byte1: 0
max_byte1: 255
properties: 27
min_bounds:
lbearing: 0
rbearing: 32
width: 32
ascent: 26
descent: 6
max_bounds:
lbearing: 0
rbearing: 32
width: 32
ascent: 26
descent: 6
fWBold: -xos4-Terminus-bold-R-*-*-32-320-72-72-C-320-ISO10646-1
all chars: no
default char: 63
direction: 0
ascent: 26
descent: 6
first char: 0
last char: 65535
maximum-chars: 65536
missing-chars: ?
present-chars: ?
min_byte1: 0
max_byte1: 255
properties: 27
min_bounds:
lbearing: 0
rbearing: 32
width: 32
ascent: 26
descent: 6
max_bounds:
lbearing: 0
rbearing: 32
width: 32
ascent: 26
descent: 6
Loaded VTFonts(font6)
fNorm: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
all chars: no
default char: 0
direction: 0
ascent: 16
descent: 4
first char: 0
last char: 65535
maximum-chars: 65536
missing-chars: 60331
present-chars: 5205
min_byte1: 0
max_byte1: 255
properties: 23
min_bounds:
lbearing: 0
rbearing: 0
width: 10
ascent: -3
descent: -15
max_bounds:
lbearing: 9
rbearing: 10
width: 10
ascent: 16
descent: 4
fBold: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
all chars: no
default char: 0
direction: 0
ascent: 16
descent: 4
first char: 0
last char: 65535
maximum-chars: 65536
missing-chars: 60331
present-chars: 5205
min_byte1: 0
max_byte1: 255
properties: 23
min_bounds:
lbearing: 0
rbearing: 0
width: 10
ascent: -3
descent: -15
max_bounds:
lbearing: 9
rbearing: 10
width: 10
ascent: 16
descent: 4
fWide: -Misc-Fixed-medium-R-*-*-20-200-75-75-C-200-ISO10646-1
all chars: no
default char: 0
direction: 0
ascent: 16
descent: 4
first char: 0
last char: 65535
maximum-chars: 65536
missing-chars: ?
present-chars: ?
min_byte1: 0
max_byte1: 255
properties: 27
min_bounds:
lbearing: 0
rbearing: 20
width: 20
ascent: 16
descent: 4
max_bounds:
lbearing: 0
rbearing: 20
width: 20
ascent: 16
descent: 4
fWBold: -Misc-Fixed-medium-R-*-*-20-200-75-75-C-200-ISO10646-1
all chars: no
default char: 0
direction: 0
ascent: 16
descent: 4
first char: 0
last char: 65535
maximum-chars: 65536
missing-chars: ?
present-chars: ?
min_byte1: 0
max_byte1: 255
properties: 27
min_bounds:
lbearing: 0
rbearing: 20
width: 20
ascent: 16
descent: 4
max_bounds:
lbearing: 0
rbearing: 20
width: 20
ascent: 16
descent: 4
*VT100.utf8Fonts.font: fixed XTermVT100.faceSize: 22 XTerm*geometry: 111x36 XTerm.VT100.font1: -*-terminus-*-*-*-16-*-*-*-*-*-*-* XTerm.VT100.font2: -*-terminus-*-*-*-18-*-*-*-*-*-*-* XTerm.VT100.font3: -*-terminus-*-*-*-20-*-*-*-*-*-*-* XTerm.VT100.font4: -*-terminus-*-*-*-24-*-*-*-*-*-*-* XTerm.VT100.font5: -*-terminus-*-*-*-28-*-*-*-*-*-*-* XTerm.VT100.font6: -*-terminus-*-*-*-32-*-*-*-*-*-*-* xterm*vt100.initialFont: 6 YTerm*geometry: 90x50 xterm*visualBell: true Rxvt.keysym.Delete: \b Rxvt.termName: xterm XTerm*decTerminalID: 200 XTerm*color0: black XTerm*color1: red XTerm*color2: green XTerm*color3: yellow XTerm*color4: blue XTerm*color5: magenta XTerm*color6: cyan XTerm*color7: white XTerm*color8: black XTerm*color9: red XTerm*color10: green XTerm*color11: yellow XTerm*color12: blue XTerm*color13: magenta XTerm*color14: cyan XTerm*color15: white XTerm*termName: xterm XTerm*title: XTerm XTerm*colorMode: on XTerm*background: blue XTerm*foreground: white XTerm*loginShell: true XTerm*dynamicColors: on
signature.asc
Description: PGP signature

