Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: TaoTePuh on April 22, 2011, 07:14:05 PM

Title: Midnight Commander and urxvt, eterm ...
Post by: TaoTePuh 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?
Title: Re: Midnight Commander and urxvt, eterm ...
Post by: curaga on April 23, 2011, 01:42:31 AM
See if loading ncurses-common and/or ncurses-terminfo helps.
Title: Re: Midnight Commander and urxvt, eterm ...
Post by: bmarkus 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.
Title: Re: Midnight Commander and urxvt, eterm ...
Post by: bmarkus 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.
Title: Re: Midnight Commander and urxvt, eterm ...
Post by: curaga on April 23, 2011, 02:35:12 AM
AFAIK slang uses the terminfo database as well.
Title: Re: Midnight Commander and urxvt, eterm ...
Post by: bmarkus 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.
Title: Re: Midnight Commander and urxvt, eterm ...
Post by: curaga 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
Title: Re: Midnight Commander and urxvt, eterm ...
Post by: TaoTePuh 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.