id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
1820	Paste to mcedit loses characters	vda		"I am selecting the following in my Konsole window:

# ./.cmkbloat
function                                             old     new   delta
read_line_input                                     4820    4886     +66
put_prompt                                           108      47     -61
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 66/-61)              Total: 5 bytes
   text    data     bss     dec     hex filename
 825888     453    6812  833153   cb681 busybox_old
 825893     453    6812  833158   cb686 busybox_unstripped

To be more exact, the hexdump of the beginning of selected data is:

23 20 2e 2f 2e 63 6d 6b  62 6c 6f 61 74 0a 66 75  |# ./.cmkbloat.fu|
6e 63 74 69 6f 6e 20 20  20 20 20 20 20 20 20 20  |nction          |
20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
20 20 20 6f 6c 64 20 20  20 20 20 6e 65 77 20 20  |   old     new  |
20 64 65 6c 74 61 0a 72  65 61 64 5f 6c 69 6e 65  | delta.read_line|
5f 69 6e 70 75 74 20 20  20 20 20 20 20 20 20 20  |_input          |
20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
20 20 20 20 20 20 20 20  20 20 20 34 38 32 30 20  |           4820 |
20 20 20 34 38 38 36 20  20 20 20 20 2b 36 36 0a  |   4886     +66.|

Now, I run ""strace -oLOG /usr/bin/mcedit NEWFILE""
and paste selected text.

First two lines get concatenated together, the separating newline is gone.

I am attaching the LOG.

It seems to be a timing issue - without strace, sometimes all lines get jammed together into one long line, or tow lines, sometimes the line is not printed - it seems to be filled with spaces until I input yet another char.

This happens on current git. It happens for versions from last several weeks or more."	defect	closed	major	4.7	mc-core	4.7.0-pre4	duplicate					no branch	
