id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2964	mouse does not work in subshell on linux terminal	gilhad	andrew_b	"I am using Gentoo, I reported that to Gentoo team, they sugested to report to upsream. I emerged mc, did not start X, just started mc. Ctrl-O to see the black screen, click left mouse and drag to select text - mouse do not move. Release mouse, cursor jumps to new position, but text is not selected and not in clipboard.

run mc under terminal on X, Ctrl-O to see the black screen, click left mouse and drag to select text - mouse selects the text, text could be pasted by middle mouse click.

kill X, run mc on text screen, the problem is back again. Run 'TERM=xrvt mc' the mouse can select text on the text screen (but command line is on top of previus text and so as it is bad terminal type)

I just tested that only on framebuffer (term=linux) (as i use more lines/char per line and nice tuxes on start)

Reproducible: Always

Steps to Reproduce:
1. run mc in text mode
2. Ctrl+O to subshell
3. Try select anything with mouse
Actual Results:  
mouse do not select anything

Expected Results:  
mouse works like without mc (selects, paste ...)

Happenes on more computers, on more versions of mc.

 mc -V
GNU Midnight Commander 4.8.1
Built with GLib 2.30.2
Using the ncurses library
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, fish
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;

 mc -F
[System data]
    Config directory: /etc/mc/
    Data directory:   /usr/share/mc/
    VFS plugins and scripts: /usr/libexec/mc/
	extfs.d:        /usr/libexec/mc/extfs.d/
	fish:           /usr/libexec/mc/fish/

[User data]
    Config directory: /home/gilhad/.mc/
    Data directory:   /home/gilhad/.mc/
	skins:          /home/gilhad/.mc/skins/
	extfs.d:        /home/gilhad/.mc/extfs.d/
	fish:           /home/gilhad/.mc/fish/
    Cache directory:  /home/gilhad/.mc/
"	defect	closed	major	4.8.8	mc-tty	master	fixed					merged	committed-master
