Re: Midnight Commander in Gnome Terminal
- From: "Yevgeniy Makarov" <emakarov@xxxxxxxxx>
- Date: Thu, 9 Aug 2007 01:11:44 +0200
I think I found how to change MC to work under the new gnome terminal.
I put the following text in my ~/.mc/ini file:
[terminal:xterm]
up=\e[1;5A
up=\eO1;5A
down=\e[1;5B
down=\eO1;5B
right=\e[1;5C
right=\eO1;5C
left=\e[1;5D
left=\eO1;5D
The idea was taken from the distribution-wide file mc.lib, and I
inserted 1;5 in the middle of the escape sequences there based on what
was inserted in a file when I pressed Ctrl+left/right arrow.
Interestingly, the header [terminal:gnome] (which also occurs in
mc.lib) did not make any difference, but as shown above, MC works both
in gnome terminal and xterm.
There was a similar discussion at
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/96676
about the fact that gnome terminal suddenly started inserting 1; in
the middle of the escape sequences
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list
- References:
- Re: Midnight Commander in Gnome Terminal
- From: Yevgeniy Makarov
- Re: Midnight Commander in Gnome Terminal
- Prev by Date: Re: Midnight Commander in Gnome Terminal
- Next by Date: Download gnome-2.18
- Previous by thread: Re: Midnight Commander in Gnome Terminal
- Next by thread: Download gnome-2.18
- Index(es):
Relevant Pages
|
|