[clug] Terminal Line Drawing Character funnies (OS/X)

steve jenkin sjenkin at canb.auug.org.au
Sun Sep 12 21:07:15 MDT 2010


This simple fault has been driving me crazy...
Using 'mutt' locally in 'thread-view', I get rubbish displayed
but ssh into a debian system and mutt shows the line drawing chars.
[Examples at end. CLUG emails for August 2010]

Documenting it might help others.
I did STFW, but only found people asking "why", no answers.

For historic reasons, I use a Mac as my primary desktop.
This same problem could also affect people with Linux/Unix at times.

I tried different TERMs - fault persisted. Not vt100, ansi or xterm related.
Looked at TERM definitions Debian vs OS/X. Only Minor diffs.
Tried every single font OS/X had to offer (bizzare!)
Tried changing the 'Character mapping' from UTF-8 to Western(Latin1) and
others...

Tried an xterm under OS/X (running under a real X-11 environment).
Still a bust...

Didn't seem to be any Terminal.app preferences or any Unix O/S setting.

Then it dawned on me that I was looking in the wrong area :-)
The hint was:
 the same screen displays correctly on Debian.

So I looked for "LC_" and "LANG" variables...
And that was it.

Hope this is useful to someone.

steve


================================================================

TERM=vt100
LANG=en_AU.UTF-8

  35 O   Aug 12 Eyal Lebedinsky (  24) [clug] How do I set up DLNA with
MythTV?
  36 O   Aug 12 tridge at samba (  18) ?~T~\?~T~@>
  37 O   Aug 12 Eyal Lebedinsky (  79) ?~T~B ?~T~\?~T~@>
  38 O   Aug 12 Hal Ashburner   ( 118) ?~T~B ?~T~B ?~T~\?~T~@>
  39 O   Aug 12 tridge at samba (  30) ?~T~B ?~T~B ?~T~T?~T~@>
  40 O   Aug 12 Eyal Lebedinsky (  75) ?~T~B ?~T~B   ?~T~T?~T~@>
  41 O   Aug 12 Kevin Pulo      (  43) ?~T~B ?~T~T?~T~@>


================================================================

TERM=vt100
LANG=C

  35 O   Aug 12 Eyal Lebedinsky (  24) [clug] How do I set up DLNA with
MythTV?
  36 O   Aug 12 tridge at samba (  18) ├─>
  37 O   Aug 12 Eyal Lebedinsky (  79) │ ├─>
  38 O   Aug 12 Hal Ashburner   ( 118) │ │ ├─>
  39 O   Aug 12 tridge at samba (  30) │ │ └─>
  40 O   Aug 12 Eyal Lebedinsky (  75) │ │   └─>
  41 O   Aug 12 Kevin Pulo      (  43) │ └─>


-- 
Steve Jenkin, Info Tech, Systems and Design Specialist.
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA

sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin


More information about the linux mailing list