Ticket #3623 (new defect) — at Initial Version

Opened 9 years ago

Last modified 3 years ago

mc v.4.8.16 freezes when working via screen/tmux

Reported by: ctac Owned by:
Priority: major Milestone:
Component: mc-tty Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Oracle Linux Server release 7.2
GNU Midnight Commander 4.8.16
screen-4.1.0-0.23.20120314git3c2946.el7_2.x86_64
tmux-1.8-4.el7.x86_64

mc-4.8.16-8.1.x86_64 works just perfect in a single ssh session and freeze reaction on keyboard when runs under screen/tmux (sometimes it does not react on a single keypress, sometimes with delay up to 3-4 secs, sometimes - without problem)

GNU Midnight Commander 4.8.16
Built with GLib 2.36.3
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

mc-4.8.7-8.el7.x86_64 works under screen/tmux just fine
GNU Midnight Commander 4.8.7
Built with GLib 2.36.3
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

mc 3:4.8.16-2 under debian 8.3 does not affected too:
GNU Midnight Commander 4.8.16
Built with GLib 2.32.4
Using the S-Lang library with terminfo database
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, ftpfs, sftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

Steps to reproduce:

  1. install OEL7 (sure that this problem will exist on CentOS/RHEL as well)
  2. create mc yum repository:

# cat >/tmp/yum.repos.d/midnight-commander.repo <<EOF
[mc7]
name=Midnight Commander - CentOS.7
baseurl=http://download.opensuse.org/repositories/home:/laurentwandrebeck:/mc/CentOS_7/
enabled=1
gpgcheck=0
EOF

  1. update mc:

# yum install mc screen tmux

  1. run mc and check that everything is fine (press arrows, go to menu):

$ rpm -q mc
mc-4.8.16-8.1.x86_64
$ mc

  1. exit mc, run it under screen:

$ screen
$ mc

  1. press arrows and browse the mc's menu to see that something wrong
Note: See TracTickets for help on using tickets.