If mc is executed in gnome-terminal, the mouse actions have an incorrect behavior. For example, when I left double click on a folder the name of the folder is selected, instead to enter that folder; when I right click in mc on a folder, the context menu from gnome-terminal appears,instead for that folder to be selected. If mc is executed in another terminal like xterm or rxvt, the mouse actions have the correct behavior. A month ago i was using the x86 architecture, and I did not have this problem. emerge --info Portage 2.1.1_pre4-r3 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glib c-2.4-r3, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.4 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gcon f /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/storage/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org ftp://ftp.lug.ro/gent oo ftp://gentoo.romnet.org http://ftp.roedu.net/mirrors/gentoo http://ftp.lug.ro /gentoo" MAKEOPTS="-j2" PKGDIR="/storage/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage" USE="amd64 7zip X a52 aac acl acpi alsa asf avi berkdb bitmap-fonts cairo cdpara noia cdr clamav cli crypt cups dbus dlloader dri dvd dvdr dvdread eds elibc_glib c emboss encode firefox foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg kernel_linux lzw lzw-tiff matroska mono mp3 mpeg mysql ncurse s nls nptl nptlonly nsplugin ogg opengl pcre pdf pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd theora tiff truetype-fonts type1-fonts usb userland_GNU video_cards_nvidia xorg xpm xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU AS
try running "TERM=xterm mc" and see if the problems are still here.
With tyhe TERM environment set to xterm it works ok. Thanks.
Gnome herd has a fix pending, should be comitted soon
>=x11-libs/vte-0.13.0 has the aforementioned fix included. Also adding the upstream bug to URL field.
In gnome-terminal-2.16.1 we don't set the default TERM to gnome, but leave it be as xterm. With that mc works again. Oh and my comment #4 seems to be about a completely different issue than reported here. Marking as fixed