Re: Midnight Commander in Gnome Terminal



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



Relevant Pages

  • Re: Autotext watermarks in multi-section documents
    ... to which the watermark is to be inserted. ... would seem to be a risk that inserting the watermark into every header ... >> diagonal DRAFT) from Autotext. ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Autotext watermarks in multi-section documents
    ... > There's no problem about superimpostion simply by inserting the watermark in ... > every header: only one header gets shown on the page, ... >> BillDoc are, as you'll guess from the comment, boolean variables which ... >> would seem to be a risk that inserting the watermark into every header ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Header Help...again!
    ... Header and Footer toolbar will be active, and the Header pane will say ... Word MVP FAQ site: http://word.mvps.org ... > breaks to inserting the header. ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Autotext watermarks in multi-section documents
    ... There's no problem about superimpostion simply by inserting the watermark in ... every header: only one header gets shown on the page, ... > would seem to be a risk that inserting the watermark into every header ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Curse that Cursor
    ... I have a document with a picture inserted into the header. ... When that form file is merged to a new blank document, because the cursor ... Is there any way to control where the cursor is/resides when inserting an ...
    (microsoft.public.word.drawing.graphics)