How to use mouse with mc in console

Peter Hugosson-Miller pehu at im.se
Thu Apr 4 09:42:18 UTC 2002


I have some more information that may be useful for analysing this
problem:

When I start gpm, a new device /dev/gpmctl appears as follows:

#ls -l /dev/gpm*
srwxrwxrwx   1   root   root          0 Apr  4 13:25    /dev/gpmctl
-rw-r--r--   1   root   root         84 Mar 17 17:36    /dev/gpmdata

If I try to read it manually (by using cat), I get the following:
#cat /dev/gpmctl
cat: /dev/gpmctl: No such device or address

I have also tried using the shift key to see if this might enable the
mouse functions, but there is no difference.


> I want to run mc in a console using the mouse, and I can't find out
how
> to do it.
>
> I have read the documentation, which says that I should use gpm. I do
> have gpm running and it is working fine:
>
> # gpm -v
> gpm 1.19.6, Thu Oct  4 00:21:21 CEST 2001
>
> $ ps -ef | grep gpm
> root       486     1  0 12:00 ?        00:00:00 /usr/sbin/gpm -m
> /dev/psaux -t ps2
>
> Here is some other version information:
>
> $ uname -r
> 2.4.18
>
> $ mc -V
> GNU Midnight Commander 4.5.55
> Edition: text mode
> Virtual File System: tarfs, extfs, ftpfs, mcfs, undelfs
> With builtin Editor
> Using S-Lang library with terminfo database
> With subshell support as default
> With support for background operations
> With mouse support on xterm and Linux console
> Using locale "C" (from environment variable LANG)
>
> I start the midnight (mouseless) commander from a console as follows:
>
> $ mc
>
> As far as I can see, everything is set up as it should be, but still
mc
> does not react to the mouse as much as I would expect. I can use the
> mouse in mc's built in editor to cut and paste, but that's just about
> all it will do.
>
> In the help documentation it says that I should be able to use the mc
> menus, select and run files, or cd into directories, all by using the
> mouse. If I click on a file or directory, the selected line in mc does

> not change, and if I double click then all that happens is that the
text
> is highlighted. If I right click with some text highlighted, then it
> gets pasted into the command line.
>
> What steps can I take to troubleshoot this problem, or if I have
missed
> out some important information, what more could I provide to help
> analyse the problem?

--
Best regards,

Peter Hugosson-Miller

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pehu.vcf
Type: text/x-vcard
Size: 550 bytes
Desc: Card for Peter Hugosson-Miller
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20020404/df214e5c/attachment.vcf>


More information about the mc mailing list