Skip to main content
added 333 characters in body
Source Link

I have a problem with Midnight Commander that I am finding exceptionally annoying. I hope that you can provide some relief to me.

I want to use Midnight Commander without mouse support, with mouse actions invoking my X terminal emulator program's functionality rather than being passed through to Midnight Commander. So I invoke Midnight Commander with the command-line option that does that, via an alias

alias mc='mc -d'

This works all well and good … until I press F4 to edit a file. Because (I think) I am using the so-called internal editor, this brings up mcedit, to which all of my mouse actions are passed because the mouse is enabled in it.

I know that the -d option works when I manually invoke the editor with mcedit -d and a file. How do I get the same when mc invokes the editor with F4?

Midnight Commander has this option of not using the mouse for both its mc and mcedit programs and I want to know how to turn it on throughout the whole of Midnight Commander, including when invoking its supposedly internal editor (that surely, if it were internal, should be respecting the -d option that I gave to mc).

Latter Edit: I have shell variables EDITOR and VISUAL set to '/usr/bin/mcedit', now I just changed them to /usr/bin/mcedit -d ... still don't work, then I tried to set a path with higher priority where I put a script called mcedit that call /usr/bin/mcedit -d $* (verified that is first with which mcedit) ... still same problem

I have a problem with Midnight Commander that I am finding exceptionally annoying. I hope that you can provide some relief to me.

I want to use Midnight Commander without mouse support, with mouse actions invoking my X terminal emulator program's functionality rather than being passed through to Midnight Commander. So I invoke Midnight Commander with the command-line option that does that, via an alias

alias mc='mc -d'

This works all well and good … until I press F4 to edit a file. Because (I think) I am using the so-called internal editor, this brings up mcedit, to which all of my mouse actions are passed because the mouse is enabled in it.

I know that the -d option works when I manually invoke the editor with mcedit -d and a file. How do I get the same when mc invokes the editor with F4?

Midnight Commander has this option of not using the mouse for both its mc and mcedit programs and I want to know how to turn it on throughout the whole of Midnight Commander, including when invoking its supposedly internal editor (that surely, if it were internal, should be respecting the -d option that I gave to mc).

I have a problem with Midnight Commander that I am finding exceptionally annoying. I hope that you can provide some relief to me.

I want to use Midnight Commander without mouse support, with mouse actions invoking my X terminal emulator program's functionality rather than being passed through to Midnight Commander. So I invoke Midnight Commander with the command-line option that does that, via an alias

alias mc='mc -d'

This works all well and good … until I press F4 to edit a file. Because (I think) I am using the so-called internal editor, this brings up mcedit, to which all of my mouse actions are passed because the mouse is enabled in it.

I know that the -d option works when I manually invoke the editor with mcedit -d and a file. How do I get the same when mc invokes the editor with F4?

Midnight Commander has this option of not using the mouse for both its mc and mcedit programs and I want to know how to turn it on throughout the whole of Midnight Commander, including when invoking its supposedly internal editor (that surely, if it were internal, should be respecting the -d option that I gave to mc).

Latter Edit: I have shell variables EDITOR and VISUAL set to '/usr/bin/mcedit', now I just changed them to /usr/bin/mcedit -d ... still don't work, then I tried to set a path with higher priority where I put a script called mcedit that call /usr/bin/mcedit -d $* (verified that is first with which mcedit) ... still same problem

Have a better question.
Source Link
JdeBP
  • 72.1k
  • 13
  • 175
  • 379

How do I disable mouse support in mcedit BUTwhen it is called via F4 from within mc?

so, I decided to ask this ashave a question be cause issue pissproblem with Midnight Commander that I am finding exceptionally annoying. I hope that you can provide some relief to me of SERIOUSLY ! I disabled.

I want to use Midnight Commander without mouse support in mc, with mouse actions invoking my X terminal emulator program's functionality rather than being passed through to Midnight Commander. So I invoke Midnight Commander with the command-line option that does that, via an alias mc='mc -d' ...

alias mc='mc -d'

This works all nicewell and good until I press F4F4 to edit a file, then BULLSHlT ON MY FACE. Because (sorry about bad wordsI think) I am using the so-called internal editor, but this really, REALLY,brings up REALLY PISS ME OFF) mcedit ignore mc started switch and has support for mouse like select and copy doesn't work X style but mc stylemcedit, to which is really RETARDED from my pointall of view at least (I know my tone is not nice, but please don't change subject onmouse actions are passed because the "pleasures" of working mcedit with mouse, I don't care about is enabled in it ! )

so, there are any "easy" solution to set once then forget ?.

instead of stuff like instead of F4 I can edit fileknow that the -d option works when I manually invoke the editor with mcedit -d CTRL+enter onmcedit -d and a file or. How do I get the same when (maybe) rebuild entire package without mouse supportmc invokes the editor with (then I'll have a custom package, no updates, etc.)F4?

PS if someone will editMidnight Commander has this be cause I'moption of not very nice atusing the momentmouse for both its mc and mcedit programs and I want to know how to turn it on throughout the whole of Midnight Commander, pleaseincluding when invoking its supposedly internal editor (that surely, PLEASE keep at least a little bit of myif it ... anger in textwere internal, should be respecting the ... thank you-d option that I gave to :mc).

disable mouse support in mcedit BUT called via F4 mc

so, I decided to ask this as a question be cause issue piss me of SERIOUSLY ! I disabled mouse support in mc via alias mc='mc -d' ... all nice and good until I press F4 to edit a file, then BULLSHlT ON MY FACE (sorry about bad words, but this really, REALLY, REALLY PISS ME OFF) mcedit ignore mc started switch and has support for mouse like select and copy doesn't work X style but mc style, which is really RETARDED from my point of view at least (I know my tone is not nice, but please don't change subject on the "pleasures" of working mcedit with mouse, I don't care about it ! )

so, there are any "easy" solution to set once then forget ?

instead of stuff like instead of F4 I can edit file with mcedit -d CTRL+enter on file or (maybe) rebuild entire package without mouse support (then I'll have a custom package, no updates, etc.)

PS if someone will edit this be cause I'm not very nice at the moment, please, PLEASE keep at least a little bit of my ... anger in text ... thank you :)

How do I disable mouse support in mcedit when it is called via F4 from within mc?

I have a problem with Midnight Commander that I am finding exceptionally annoying. I hope that you can provide some relief to me.

I want to use Midnight Commander without mouse support, with mouse actions invoking my X terminal emulator program's functionality rather than being passed through to Midnight Commander. So I invoke Midnight Commander with the command-line option that does that, via an alias

alias mc='mc -d'

This works all well and good until I press F4 to edit a file. Because (I think) I am using the so-called internal editor, this brings up mcedit, to which all of my mouse actions are passed because the mouse is enabled in it.

I know that the -d option works when I manually invoke the editor with mcedit -d and a file. How do I get the same when mc invokes the editor with F4?

Midnight Commander has this option of not using the mouse for both its mc and mcedit programs and I want to know how to turn it on throughout the whole of Midnight Commander, including when invoking its supposedly internal editor (that surely, if it were internal, should be respecting the -d option that I gave to mc).

Source Link

disable mouse support in mcedit BUT called via F4 mc

so, I decided to ask this as a question be cause issue piss me of SERIOUSLY ! I disabled mouse support in mc via alias mc='mc -d' ... all nice and good until I press F4 to edit a file, then BULLSHlT ON MY FACE (sorry about bad words, but this really, REALLY, REALLY PISS ME OFF) mcedit ignore mc started switch and has support for mouse like select and copy doesn't work X style but mc style, which is really RETARDED from my point of view at least (I know my tone is not nice, but please don't change subject on the "pleasures" of working mcedit with mouse, I don't care about it ! )

so, there are any "easy" solution to set once then forget ?

instead of stuff like instead of F4 I can edit file with mcedit -d CTRL+enter on file or (maybe) rebuild entire package without mouse support (then I'll have a custom package, no updates, etc.)

PS if someone will edit this be cause I'm not very nice at the moment, please, PLEASE keep at least a little bit of my ... anger in text ... thank you :)