rfe - when pasting, wait for newline or similar

  • iTerm2 version: 3.2.0beta6
  • OS version: 10.13.5 (17F77)

Detailed steps to reproduce the problem:

  1. Copy long text (in my case switch config) with a lot of newlines
  2. Paste in iTerm while connected (ssh, minicom, screen) to a low bitrate device (rs232, 9.6kbaud)
  3. Text becomes truncated and mixed with other lines i the middle of a paste, i think because the paste is too quick for the low bitrate device.

What happened:
Errors in the config, resulting in several pastes and finding what errors there were and pasting just that config. Also determining if the paste was error-free, but certain config was put where it shouldn't be.

What should have happened:
Not really a bug, but a feature enhancement or a new feature :)
I know about the slow paste feature, but I think that could be enhanced with a "wait for newline" option or as a separate feature. So that the paste only continues if it encounters a cr/crlf, if of course there is more to paste.
A different and maybe even better enhancement would be the option to wait for character echo when pasting. That is that iTerm sends a character, waits for a (same?) character to be returned and then the next character and so on. The benefit of this would be that the device paces itself.

Both of these enhancements would make the paste a lot slower, but a lot more reliable. I dont mind the extra time when pasting text/config, as long as the config or text is pasted properly and correctly.

Thanks for an awesome terminal app! :)

David