Hi,

Allan Streib wrote on Thu, Nov 30, 2017 at 12:09:13PM -0500:
> Philippe Meunier <meun...@ccs.neu.edu> writes:
>> Allan Streib wrote:

>>> Are you using xterm(1) or uxterm(1)?

>> uxterm does not exist anymore on OpenBSD 6.1:
>> https://www.openbsd.org/faq/upgrade61.html

> Hm. Well that's one that I overlooked. I've been upgrading since 5.x
> and I never removed uxterm. I'm on 6.2 now and still using it.

It's a trivial but wordy wrapper script.  The only things it does
that i could imagine to be relevant are setting two command line
options: -class UXTerm and -en UTF-8.

The -en option is a deprecated way to hardcode UTF-8 mode for
systems that do not support setlocale(3), so don't use it.
It can't be what helps you here, as UTF-8 works in general.

The -class UXTerm option causes /usr/X11R6/share/X11/app-defaults/UXTerm
to be used instead of /usr/X11R6/share/X11/app-defaults/XTerm.
The UXTerm file was also deleted, as it contains only font stuff
and nobody considered that relevant for anything.

Does the following make things work better for you?
You can apply it directly to /usr/X11R6/share/X11/app-defaults/XTerm
if you want to.  It just copies the UXTerm.ad stuff over and disables
the Precompose resource.  Frankly, i don't have the slightest idea
what the font resources mean, not even after reading the comment
in UXterm.ad, but maybe they are needed for some reason.

Except in a professional typesetting system like groff or LaTeX, i
consider anything that makes the end user worry about fonts
fundamentally broken.  Fonts that work should be installed by default
and not configurable, in my opinion.  Toying around with fonts
causes nothing but grief.

Yours,
  Ingo


Index: XTerm.ad
===================================================================
RCS file: /cvs/xenocara/app/xterm/XTerm.ad,v
retrieving revision 1.18
diff -u -p -r1.18 XTerm.ad
--- XTerm.ad    15 Jul 2017 19:20:51 -0000      1.18
+++ XTerm.ad    30 Nov 2017 17:52:26 -0000
@@ -266,6 +266,14 @@
 ! locales.  Even for people using the C/POSIX locale for everything,
 ! that's safer and more usable than the upstream default of "medium".
 *locale: UTF-8
+*precompose: false
+*VT100.utf8: 1
+*VT100.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
+*VT100.font:  -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
+*VT100.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
+*VT100.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
+*VT100.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
+*VT100.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
 
 ! ScrollBar by default
 *scrollBar: true

Reply via email to