id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3534	Slow startup in pantheon-terminal	egmont	slavazanko	"In pantheon-terminal it takes 10 seconds for mc to start up.

This is because pantheon-terminal sets

    PROMPT_COMMAND='dbus-send [blahblahblah];'

with a semicolon at the end, and mc appends to PROMPT_COMMAND using semicolon as separator. However, two semicolons (even if separated by spaces) is a syntax error in bash.

One possible solution is to use a newline separator instead, see patch.

Another approach could be to strip off trailing whitespaces and then a trailing semicolon, it's really cumbersome.

Yet another approach could be to prepend to PROMPT_COMMAND and then use ';' as separator. This would be okay because a command beginning with semicolon is a syntax error, so we'd only get error by two consecutive semicolons if the command was broken to begin with. However I'm not sure if the ""kill -STOP $$"" has to be at the very end, and it's safer not to tamper with that."	defect	closed	major	4.8.15	mc-core	master	fixed					merged	committed-master
