Does anyone know if it's possible to display IPA symbols either in xterm or in console (tty), or better yet, in both? These symbols are all supported in Unicode, but they show up as solid boxes in my terminal. I'm a linguist and regularly read/write emails with IPA. I recently started using Mutt for email, and this is the only thing I can't get working.
My locale is set to en_US.UTF8, and I can see other non-ASCII symbols (accented characters, etc.), just not IPA. Also, I've tried running
with no difference. My font is terminus, but the solid boxes show up even when I use the default xterm font.
To see a list of the symbols I'm talking about, look here: http://www.phon.ucl.ac.uk/home/wells/ipa-unicode.htm.
Thanks for any help anyone might have!
Last edited by brianb (2012-03-21 23:05:38)
You can try fbterm for non-X terminal (tty, console) as the regular one can support 512 characters max.
Which font have you been using previously?
Edit 2: I'm using terminus too and I can input the symbols [in hex in vim] or copy from that website and they are printed properly in xterm (default font) and urxvt (terminus).
Last edited by karol (2012-03-21 23:49:10)
If you're using terminus and can input/copy IPA symbols into xterm, then something must be wrong on my end. Here's the xterm part of my .Xresources:
! xterm -------------------------------------------------------------------- xterm*geometry: 85x25 xterm*font: -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1 xterm*dynamicColors: true xterm*utf8: 2 xterm*eightBitInput: true xterm*saveLines: 512 xterm*scrollKey: true xterm*scrollTtyOutput: false xterm*scrollBar: false xterm*rightScrollBar: false xterm*jumpScroll: true xterm*multiScroll: true xterm*toolBar: false *VT100.colorBDMode: true *VT100.colorBD: white *VT100.colorULMode: true *VT100.colorUL: darkcyan
Is there maybe a difference between having terminus-font from community, vs. having terminus-font-ttf from AUR? I have the community one...
It seems that xterm shows just some symbols, e.g. ʤ is printed as a box.
Edit: I'm using terminus from [community] repo.
Last edited by karol (2012-03-22 00:07:19)
If the font you're using doesn't contain the glyphs, you get boxes instead. With DejaVu Sans Mono, I can see the IPA glyphs.
My .Xdefaults lines that may or may not all be necessary:
XTerm*utf8: 2 XTerm*faceName: xft:DejaVu Sans Mono:style=Book:size=8 XTerm.cjk_width: true
You would most probably want a larger font than I use.
Terminus font has the glyphs, but I get mostly boxes in xterm. urxvt seems to be working fine.
Last edited by karol (2012-03-22 00:14:27)
I've got urxvt installed (never use it though), and just edited my .Xresources to use terminus in urxvt. I can confirm that the IPA glyphs show up properly there, but not in xterm.
I've been looking for a reason to switch from xterm to urxvt... maybe this is it...
Well, I've been using urxvt and will probably just stick with that. Also got transparency working, which I've come to like, and which xterm lacks afaik.
Would still be curious to know if anyone figures out why xterm acts differently from urxvt in terms of displaying IPA.
Thanks again for the help.
Having the same issue with xterm+terminus+cyrillic
If change to another font, I can see any glyph in the xterm, but terminus just refuse to show them and chow only adorable rectangles instead. Can't figure out what's wrong.
For tty just use ter-c16n where 'c' stands for cyrillic set. Maybe topic-starter can look for the one, which will work for him?
My .Xresources at the moment: http://ix.io/2gX
BTW I can remember I have used terminus with xterm some time ago, but can't now.
Last edited by lava (2012-04-04 11:36:34)