Midnight Commander without mouse(gpm)
I am trying to use MC without mouse. I looked at mc --help, but executing "mc -d" which should turn any mouse support off, results in NOT starting mc, but error: Cannot open shared object file (missing libgpm.so.1) Well, as said, I do not want mouse support on this machine (There is no mouse connected), so I do not want to have gpm installed. Now: How do I tell this to mc when its own option -d does not work obviously? Tnx! -- *º¤.,___,.¤º*¨¨¨*¤ =Oliver@home= *º¤.,¸¸¸,.¤º*¨¨*¤ I / __|__ http://www.bmw-roadster.de/Friends/Olli/olli.html I I / / |_/ http://www.bmw-roadster.de/Friends/friends.html I I \ \__|_\ http://groups.yahoo.com/group/VGAP-93 I I \___| mailto:VGAP-93-subscribe@yahoogroups.com I
Telek0ma iBBMS - moving house, but online! +49....TRSi1 <<<
On Wed, 26 Feb 2003 15:52:25 +0100
Oliver Ob
I am trying to use MC without mouse. I looked at mc --help, but executing "mc -d" which should turn any mouse support off, results in NOT starting mc, but error:
Cannot open shared object file (missing libgpm.so.1)
Well, as said, I do not want mouse support on this machine (There is no mouse connected), so I do not want to have gpm installed.
Now: How do I tell this to mc when its own option -d does not work obviously?
I just tried "mc --nomouse" and it turned off mouse support in an xterm. -- use Perl; #powerful programmable prestidigitation
zentara schrieb:
On Wed, 26 Feb 2003 15:52:25 +0100 Oliver Ob
wrote: I am trying to use MC without mouse. I looked at mc --help, but executing "mc -d" which should turn any mouse support off, results in NOT starting mc, but error:
Cannot open shared object file (missing libgpm.so.1)
Well, as said, I do not want mouse support on this machine (There is no mouse connected), so I do not want to have gpm installed.
Now: How do I tell this to mc when its own option -d does not work obviously?
I just tried "mc --nomouse" and it turned off mouse support in an xterm.
I meant to speak about console usage. What's it there? As said, mc -d does not work as it is supposed to. -- *º¤.,___,.¤º*¨¨¨*¤ =Oliver@home= *º¤.,¸¸¸,.¤º*¨¨*¤ I / __|__ http://www.bmw-roadster.de/Friends/Olli/olli.html I I / / |_/ http://www.bmw-roadster.de/Friends/friends.html I I \ \__|_\ http://groups.yahoo.com/group/VGAP-93 I I \___| mailto:VGAP-93-subscribe@yahoogroups.com I
Telek0ma iBBMS - moving house, but online! +49....TRSi1 <<<
On Wed, 26 Feb 2003 22:02:56 +0100
Oliver Ob
I just tried "mc --nomouse" and it turned off mouse support in an xterm. I meant to speak about console usage.
What's it there? As said, mc -d does not work as it is supposed to.
Same thing in a console. I started gpm, then "mc --nomouse", mc starts, then gpm mouse is still there, but it dosn't do anything in mc. What are you trying to accomplish? -- use Perl; #powerful programmable prestidigitation
Oliver Ob
Now: How do I tell this to mc when its own option -d does not work obviously?
It does work, but not as you thought :) The -d makes mc not support the mouse, but the executable still requires libgpm. This dependency is created at link time and can't be changed at runtime. The only way to change this is to recompile mc and pass --without-gpm at configure time. Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
Philipp Thomas schrieb:
Oliver Ob
[Wed, 26 Feb 2003 15:52:25 +0100]: Now: How do I tell this to mc when its own option -d does not work obviously?
It does work, but not as you thought :) The -d makes mc not support the mouse, but the executable still requires libgpm. This dependency is created at link time and can't be changed at runtime. The only way to change this is to recompile mc and pass --without-gpm at configure time.
Philipp
AAAAAAAAH! Thanks PT! That IS what I was after No other workaround? -- *º¤.,___,.¤º*¨¨¨*¤ =Oliver@home= *º¤.,¸¸¸,.¤º*¨¨*¤ I / __|__ http://www.bmw-roadster.de/Friends/Olli/olli.html I I / / |_/ http://www.bmw-roadster.de/Friends/friends.html I I \ \__|_\ http://groups.yahoo.com/group/VGAP-93 I I \___| mailto:VGAP-93-subscribe@yahoogroups.com I
Telek0ma iBBMS - moving house, but online! +49....TRSi1 <<<
On Fri, 28 Feb 2003 18:45:25 +0100
Oliver Ob
Philipp Thomas schrieb:
Oliver Ob
[Wed, 26 Feb 2003 15:52:25 +0100]: Now: How do I tell this to mc when its own option -d does not work obviously?
It does work, but not as you thought :) The -d makes mc not support the mouse, but the executable still requires libgpm. This dependency is created at link time and can't be changed at runtime. The only way to change this is to recompile mc and pass --without-gpm at configure time.
Philipp
AAAAAAAAH! Thanks PT!
That IS what I was after
No other workaround?
I just compiled the latest version, 4.6.0 and have full mouse support built-in, and I don't usually use gpm. It dosn't give the old error messages in the logs, so try 4.6.0 and build with the defaults. It's nice to have gpm support when you occaisionally need it. -- use Perl; #powerful programmable prestidigitation
zentara
I just compiled the latest version, 4.6.0 and have full mouse support built-in, and I don't usually use gpm.
Watch for a 4.6.0 in 8.2 :) Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
Philipp Thomas schrieb:
zentara
[Fri, 28 Feb 2003 13:43:30 -0500]: I just compiled the latest version, 4.6.0 and have full mouse support built-in, and I don't usually use gpm.
Watch for a 4.6.0 in 8.2 :)
Philipp
-- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
WAAAAAAAAAAH! Philipp! Will ya!!! :-)))))))) You could not resist, can yoU :-))) -- *º¤.,___,.¤º*¨¨¨*¤ =Oliver@home= *º¤.,¸¸¸,.¤º*¨¨*¤ I / __|__ http://www.bmw-roadster.de/Friends/Olli/olli.html I I / / |_/ http://www.bmw-roadster.de/Friends/friends.html I I \ \__|_\ http://groups.yahoo.com/group/VGAP-93 I I \___| mailto:VGAP-93-subscribe@yahoogroups.com I
Telek0ma iBBMS - moving house, but online! +49....TRSi1 <<<
Oliver Ob
Watch for a 4.6.0 in 8.2 :)
Philipp! Will ya!!! :-))))))))
You could not resist, can yoU :-)))
Why should I :) I'm maintaining mc and 4.6.0 appeared just in time to make it into 8.2 :) But don't expect too much as the changes are very moderate. The only significant change is that gmc, aka the GNOME version of mc, has been dropped. Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 03 March 2003 08:29 pm, Philipp Thomas wrote:
Oliver Ob
[Mon, 03 Mar 2003 12:29:45 +0100]: Watch for a 4.6.0 in 8.2 :)
Philipp! Will ya!!! :-))))))))
You could not resist, can yoU :-)))
Why should I :) I'm maintaining mc and 4.6.0 appeared just in time to make it into 8.2 :) But don't expect too much as the changes are very moderate. The only significant change is that gmc, aka the GNOME version of mc, has been dropped.
Don't forget that macros in the editor now actually work. They were broken forever. - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+ZLAT+FOexA3koIgRAmSDAJ0d7C0ATIqB9WCNCQdoHj+VL11WFQCdHLJK O8zsUUyO81xOHqa4oE8nCBI= =7NAY -----END PGP SIGNATURE-----
James Oakley
Don't forget that macros in the editor now actually work. They were broken forever.
That totally escaped me as I never used the internal editor :) Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
Philipp Thomas schrieb:
James Oakley
[Tue, 4 Mar 2003 09:54:27 -0400]: Don't forget that macros in the editor now actually work. They were broken forever.
That totally escaped me as I never used the internal editor :)
Philipp
Which one do you use for mc? (I love joe) -- *º¤.,___,.¤º*¨¨¨*¤ =Oliver@home= *º¤.,¸¸¸,.¤º*¨¨*¤ I / __|__ http://www.bmw-roadster.de/Friends/Olli/olli.html I I / / |_/ http://www.bmw-roadster.de/Friends/friends.html I I \ \__|_\ http://groups.yahoo.com/group/VGAP-93 I I \___| mailto:VGAP-93-subscribe@yahoogroups.com I
Telek0ma iBBMS - moving house, but online! +49....TRSi1 <<<
Oliver Ob
No other workaround?
Yes, but that would require changing the mc code. mc would have to explicitly load libgpm via dlopen() (in contrast to implicitly having it getting loaded by ld-linux as is normal) and then do all the necessary stuff needed to access functions etc. in that library. After that change, -d could also prohibit the loading of libgpm. But that way isn't exactly easier than just recompiling the rpm :) Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
participants (4)
-
James Oakley
-
Oliver Ob
-
Philipp Thomas
-
zentara