WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Midnight Commander and urxvt, eterm ...  (Read 3786 times)

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Midnight Commander and urxvt, eterm ...
« on: April 22, 2011, 07:14:05 PM »
MC works for me only in aterm. If I try MC in urxvt or Eterm, then do not work the arrow keys. How do I configure MC for these terminals?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Midnight Commander and urxvt, eterm ...
« Reply #1 on: April 23, 2011, 01:42:31 AM »
See if loading ncurses-common and/or ncurses-terminfo helps.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Midnight Commander and urxvt, eterm ...
« Reply #2 on: April 23, 2011, 01:50:26 AM »
See if loading ncurses-common and/or ncurses-terminfo helps.

mc compiled with slang, not with ncurces.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Midnight Commander and urxvt, eterm ...
« Reply #3 on: April 23, 2011, 02:22:08 AM »
urxvt is the default terminal in LXDE where mc works fine as expected. The trick is to start urxvt with '-tn rxvt' command line option.

In stock TC it cures cursor keys except left and right which seems to be stolen by TC's window manager.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Midnight Commander and urxvt, eterm ...
« Reply #4 on: April 23, 2011, 02:35:12 AM »
AFAIK slang uses the terminfo database as well.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Midnight Commander and urxvt, eterm ...
« Reply #5 on: April 23, 2011, 03:21:33 AM »
AFAIK slang uses the terminfo database as well.

ncurses is not a dependency od slang nor mc.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Midnight Commander and urxvt, eterm ...
« Reply #6 on: April 23, 2011, 06:10:52 AM »
Yes, but the db is separate from ncurses. One can use it without using ncurses.

See
http://packages.ubuntu.com/lucid/di-utils-terminfo
« Last Edit: April 23, 2011, 06:12:42 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: Midnight Commander and urxvt, eterm ...
« Reply #7 on: April 23, 2011, 02:01:26 PM »
See if loading ncurses-common and/or ncurses-terminfo helps.

No, no change.

urxvt is the default terminal in LXDE where mc works fine as expected. The trick is to start urxvt with '-tn rxvt' command line option.

This also works in Xfce4. Thanks.

BTW: The equivalent in Eterm is "--term-name rxvt" and works for me in Xfce4.

BTW2: IMHO, MC looks best in Eterm. The typeface is not so bulky. Same for manpages.

BTW3: In my experiments I found Terminator in the repo. There I can change the character encoding on the fly. That's cool, because I often visit computers with other character encodings. Tabbing and grouping are also very nice features ...

BTW4: The special character "€" (german locale de_DE@euro), only works in Eterm and Terminator.
« Last Edit: April 23, 2011, 02:05:36 PM by TaoTePuh »