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

Bug#354295: xterm.faq: say how to save font selections



Package: xterm
Version: 6.8.2.dfsg.1-11
Severity: wishlist
File: /usr/share/doc/xterm/xterm.faq.gz
Tags: upstream

We attempt to get a larger font in uxterm.

We see
   How do I change the font size?

   This is in the manpage, in MENUS.

   X Consortium xterm provides popup menus, by pressing the control
   key...

But there is no mention how then to save your selections. Nor in the
manpage, in MENUS. The user can only hope to every day over and over
set it.

No, no button to hit to tell the user what to put in his .Xresources
or whatever to get the same effect. He must learn the hard way
somehow.

Also the FAQ talks about right and left mouse buttons, but the xterm
man page refers to them by numbers.

Anyways, I tried
$ uxterm -fw -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1
but had to kill it before it looped out of control.

Now turning to/usr/share/doc/xterm/README.i18n.gz,
it says
   The leading "XTerm*" pattern is more specific than the system's
   app-defaults file, therefore it overrides the corresponding line
   beginning with

       *VT100.utf8Fonts.font: ...

       -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1

   because these two fonts have corresponding doublewidth fonts.  These
   fonts are used as default font and default "Large" font, respectively.

Well, I'll have you know that
*VT100.utf8Fonts.font: -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1
didn't do anything here in uxterm. I had to use
UXTerm*VT100.*.font: -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1

Well that font is very ugly. The 18 is good but I need to change some
parameters. Of course none of uxterms 3 mouse button menus will tell
me anything about what font I am using at the moment. Nor does xset q.
Nor does xlsfonts. Nor does pstree, nor digging around in /proc. Maybe
fuser does bla bla bla.

It must be one of
$ set -- `xlsfonts -fn  -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1`
$ for i do xfd -fn $i; done
but it's hard to tell.

Anyway... if there is a way to, even though the fonts are sitting
right on my system, pick the right one without guessing or wading thru
fonts that don't have Chinese, then do tell me.

I also found if I do
$ uxterm -e sh -c read\;date\;read
the fonts are ok, vs.
$ uxterm -e sh -c date\;read

And only the default and large fonts have the utf chars to even do
`date` in zh_TW.utf8 !



Reply to: