1 |
Jorge Almeida <jjalmeida@×××××.com> writes: |
2 |
|
3 |
> On Sun, Dec 18, 2016 at 6:52 AM, Andrew Savchenko <bircoph@g.o> wrote: |
4 |
>> On Sun, 18 Dec 2016 02:48:28 -0800 Jorge Almeida wrote: |
5 |
>>> I tried Ctrl+click (any button) on an xterm window, to bring up the |
6 |
>>> menu (which I never used before; after reading a recent thread about X |
7 |
>>> (in)security, I was trying to access the secure mode for password |
8 |
>>> entering). |
9 |
>>> |
10 |
>>> This crashes xterm. The logs: |
11 |
>> |
12 |
>> On xterm-325 "secure keyboard" mode works perfectly fine for me. |
13 |
>> |
14 |
>> Try to change font used by xterm, there are many ways to do this, I |
15 |
>> prefer to put in ~/.Xresources: |
16 |
>> |
17 |
>> xterm*faceName: DejaVu Sans Mono:style=Bold |
18 |
>> xterm*faceSize: 15 |
19 |
>> |
20 |
>> Anyway, application should not crash, so if your system is |
21 |
>> up-to-date (not only xterm, but Xorg, freetype and friends as well, |
22 |
>> so better update all system) and bug is still here, please report |
23 |
>> it on bugzilla. |
24 |
>> |
25 |
> My system (stable) is up-to-date, and I actually have XTerm*faceName: |
26 |
> xft:DejaVu Sans Mono:style=book:antialias=true in |
27 |
> .Xresources. |
28 |
> |
29 |
> The logs complain about helvetica, and I found similar stuff in the |
30 |
> net (not necessarilly about xterm). This appears to be a font problem, |
31 |
> which is essentially voodoo to me. xterm crashing instead of just |
32 |
> failing to bring up the menu seems to be an xterm bug indeed, but the |
33 |
> real problem is what to do to solve the missing fonts problem. |
34 |
|
35 |
This works for me: |
36 |
|
37 |
|
38 |
XTerm*termName: xterm-256color |
39 |
|
40 |
XTerm*activeIcon: true |
41 |
XTerm*background: black |
42 |
XTerm*foreground: green |
43 |
XTerm*cursorColor: Red |
44 |
|
45 |
XTerm*multiScroll: on |
46 |
XTerm*jumpScroll: on |
47 |
|
48 |
xterm*FaceName: xft:Source Code Pro:pixelsize=14:style=Regular |
49 |
|
50 |
XTerm*ScrollBar: false |
51 |
XTerm*SaveLines: 1024 |
52 |
|
53 |
|
54 |
There's a Gentoo package for that font (which I can highly recommend). |
55 |
|
56 |
Perhaps it has to do with a font not being available in the size needed |
57 |
for the menu? |
58 |
|
59 |
> I have xterm emerged with "openpty truetype unicode" USE flags. I |
60 |
|
61 |
same here |
62 |
|
63 |
> can't imagine why the menu would require an "usable ISO8859 font"... |
64 |
|
65 |
Try using another window manager? |