Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello i use a lot Midnight Commander on a ubuntu 8.04 trough putty, now just to see correct lines drawed on screen, i use as translation of putty UTF-8, but with this, bmon does not show the correct lines, so for bmon i must use CP437...

How can i use just ONE translation for use both with correct screen and lines? (it make me nut) Thanx in advance

share|improve this question

migrated from Nov 25 '09 at 7:26

This question came from our site for system and network administrators.

I don't use Midnight Commander (mc) or bmon at all, but I took a look at them.

Basically with Putty, I have Window > Translation > Character set received set to UTF-8. Then during my Putty session, envvars are set to TERM=xterm-256color and LANG=en_US.UTF-8, and mc looks correct with line characters. It even works with the mouse, wow! However, bmon has the "lqqqqqk" display problem.

I then installed ncurses-term for the TERM=vt-utf8, and then ran bmon as env TERM=vt-utf8 bmon, and the display looks a bit better with line art. There is some small problem with the close dialog box, though.

I suggest shell aliasing or wrapping your bmon as env TERM=vt-utf8 bmon and leaving your LANG set to humanlang.UTF-8 alone.

share|improve this answer
some versions of terminfo recognize a "putty" terminal, but i don't know if 8.04 includes that. my Debian Lenny system's /usr/share/terminfo/p/putty came from package ncurses-term version 5.7+20081213-1. – quack quixote Jan 21 '10 at 21:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.