copy/paste of large amount of text to terminal leads to scrambled/missing characters
7
votes
2
answers
13035
views
I work with TextMate and R over the terminal.
When pasting a lot of code (CMD+C/CMD+V, e.g. 60 lines) it sometimes happens that few characters in the code are scrambled, which then leads to error messages and wrong code execution.
For example:
> col col onlyDF
is turning into
> oalyDF
These character-replacements seem very random and it is difficult to predict when it happens.
The problem is also described here for iterm2:
https://gitlab.com/gnachman/iterm2/issues/3160
The explanation provided there is that it is a bug in bash that can lead to buffered input to get lost due to paste speed.
Has anyone experienced these problems and found a work-around for the native terminal app in Mac OS? (e.g. by modifying the paste speed, if that is possible in terminal)
Asked by grueb
(71 rep)
Feb 3, 2018, 04:58 PM
Last activity: Oct 27, 2018, 08:54 PM
Last activity: Oct 27, 2018, 08:54 PM