Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

migrated from serverfault.com Nov 25 '09 at 7:26

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

1 Answer

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
add comment

Your Answer

 
discard

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