I am using terminal mode in two Linux machines using Ubuntu 18.04. On my laptop I navigate with a touchpad equipped with a left and right select button. I have a file on first machine that I want to copy to the second machine. I have tried successfully using scp to copy the file from first machine to second machine. I have also tried cat file on first machine, Ctrl-C select/copy then on second machine I open nano editor and I do a right click from the touchpad and the contents are copied. All selected content seems to copy fine, both scp and Ctrl-C except for the remarks with multiple same characters. For example:
#########################################
//------------------------------------------
are copied over as:
#
//-
Respectively It doesn't seem to affect the running code and in .c files gcc works just fine. However, if I try to edit the copied code nano editor acts strangely like the characters are hidden, they will show then become hidden, etc. as I try to delete and edit them including Ctrl-k in nano editor. Is there a work-around or is this even considered an issue. I have searched around but don't see anything related to multiple characters issues. Thanks for input.