You are not logged in.

#1 2009-04-25 12:11:41

stabele
Member
Registered: 2008-12-22
Posts: 101

rxvt-unicode - weird characters in midnight-commander ?

Midnight commander displays wird characters instead lines and I am unbale to fix it. I use rxvt-unicode (urxvt) but same result is in xterm. It is strange, on second installation of arch it works OK.   I tried to play with bash variables TERM and COLORTERM (rxvt or rxvt-unicode), LANG , LC_ALL (en_US.UTF-8) - but no success. Even mc -a does not work which is strange. I suppose I did stupid mistake somewhere.

Offline

#2 2009-04-25 23:09:54

stabele
Member
Registered: 2008-12-22
Posts: 101

Re: rxvt-unicode - weird characters in midnight-commander ?

I did more research. My .Xdefaults:

URxvt.font: -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso8859-1
URxvt*foreground: White
URxvt*background: Black
URxvt*scrollBar: False
URxvt*termName: rxvt-unicode

I am starting urxvt by openbox deffined key:

<keybind key="W-a">
      <action name="Desktop">
        <desktop>1</desktop>
      </action>
      <action name="Execute">
        <command>urxvt</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </keybind>

Result: mc show strange characters ibtead lines. But if I start urxvt from this urxvt, and than mc, all is correct. I got temporary solution - forcing fomt in command line, but I dislike the idea:

<keybind key="W-a">
      <action name="Desktop">
        <desktop>1</desktop>
      </action>
      <action name="Execute">
        <command>urxvt -fn -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso8859-2</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </keybind>

I would be very happy if someone could point me out where to search.

Offline

Board footer

Powered by FluxBB