NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: daily `makemandb -Q' drops core



RVP <rvp%SDF.ORG@localhost> writes:

> On Sat, 30 Aug 2025, Van Ly wrote:
>

>
> File a PR against pkgin(1) if you feel this is confusing.
>

Done.

>>> Didn't get this. Shrunk where? console or in X11?
>>
>> In X11's xterm, I had a tmux session running and it was displaying all
>> the fonts I had interest in, and I guess the fontsize was 12 or higher.
>>
>> I went to restart CTWM but misfired and quit the xsession.  On logging
>> back in, the X11 xterm had shrunk in size to 8 fontsize and tofu glyphs
>> appeared in place of expected characters.  I guess the font being used
>> doesn't have adequate coverage.  A fallback to the NOTO fonts avoids
>> this problem.
>>
>
> When an X11 session is done, both xinit(1) or xdm(8) will kill the X server,
> which'll cause all clients to die. When a new session is started, X11 apps
> will use the defaults (for things like fonts and sizes) or overrides in
> ~/.Xresources (or, ~/.Xdefaults). Is this what's happened?

I think I copied the system wide Xsession script to ~/.xsession and
hadn't changed the fonts and sizes in ~/.Xresources or ~/.Xdefaults.

>
> If you want consistent settings, set them in ~/.Xresources:
>
> ```
> XTerm*faceName:         DejaVu Sans Mono
> XTerm*faceNameDoublesize:       Noto Sans Mono CJK KR
> XTerm*faceSize:         12
> XTerm*locale:           true
> XTerm*renderFont:       true
> ```
>
> (Note: need separate settings for UXTerm)
>
> ```

Yes, applying the above settings allows the X11 xterm to render those
East Asia fonts.  Thank you very much!

> $ cat ~/.xinitrc
> #!/bin/sh
>
> export LANG=en.GB.UTF-8
> [...]
> xrdb -merge ~/.Xresources
> [...]
>

I checked with Grok on the options for the LANG environment variable and
expect the next login to be improved.

> $ cat ~/.xsession
> #!/bin/sh
>
> export PATH=$PATH:/usr/pkg/bin:/usr/pkg/sbin
> . ~/.xinitrc
> $
> ```
>
> All this is basic X11 stuff...
>

Thanks, configuring the X11 environment is something I do after long
stretches when I have to.

-- 
vl


Home | Main Index | Thread Index | Old Index