id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4548	Mc start up is slow on FreeBSD with Bash shell when mc is using a subshell	tonythed1111		"Mc start up is slow on FreeBSD systems when running a Bash shell and the mc subshell feature is in use. There is an annoying delay of about 1 to 2 seconds during start up of the mc program. This occurs on any FreeBSD version that I have used when running bash as my login shell. The delay does not occur on any Linux system that I have used, it only happens on the FreeBSD systems. On FreeBSD when mc is started as 'mc -u' with no subshell the program starts almost instantly and is the expected behavior. When mc is started as 'mc' which does have a subshell, there is an annoying 1 to 2 second delay before it starts up.

What steps will reproduce the problem? 

1. On any FreeBSD operating system set your login shell to use Bash (any bash version).

2. On the console or xterm, run 'mc'.

3. You will observe a 1 to 2 second annoying delay before the program starts up.

4. Now run 'mc -u'.

5. You will observe an almost instant start up, which is the expected behavior for mc.

6. The inclusion of a subshell causes the annoying delay.
"	defect	new	major	Future Releases	mc-core	master			maverick.woo@…			no branch	
