Ticket #1820 (closed defect: duplicate)

Opened 15 years ago

Last modified 15 years ago

Paste to mcedit loses characters

Reported by: vda Owned by:
Priority: major Milestone: 4.7
Component: mc-core Version: 4.7.0-pre4
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

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.

Attachments

LOG (374.0 KB) - added by vda 15 years ago.
strace log

Change History

Changed 15 years ago by vda

strace log

comment:1 Changed 15 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to duplicate

There are many duplicate tickets for this bug: #1710, #1736, #1811. Dear users, when you will use search?

comment:2 Changed 15 years ago by angel_il

test

comment:3 Changed 15 years ago by angel_il

test2

comment:4 Changed 15 years ago by zaytsev

Search is for fags!

Note: See TracTickets for help on using tickets.