Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-46

Pasting a block of text into CLI only produces the first line

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • 16.06
    • None
    • None

      On fast machines/connections, the terminal is coalescing pasted text into a single call to read(). Previously in line mode, the telnet client and the tty would emit one line of text at a time, but now in read mode it all arrives at once.

      This would be good except the logic to keep back remaining text in the buffer is possibly being squashed by the command interpreter which uses that same vector.

      The net effect: Only the first line of such a "paste" actually appears; the rest is dropped on the floor.

      This isn't hurting anything, but it is annoying.

      Solution will be something like making sure only one line at a time makes it to the command interpreter.

            chrisluke Chris Luke
            chrisluke Chris Luke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: