Hi Chet, > It seems like adding \r to the end of the sequence to turn off bracketed > paste mode should do the trick. Yup, I confirm that adding \r to BRACK_PASTE_FINI fixes the problem, this looks the simplest approach. cheers, egmont