When brpaste key sequence is missing in joerc file, pasting text in ANSI terminal results in it being prefixed with 0~ and postfixed with 1~. This can happen for example when you update to version 3.8 or newer but keep your old joerc unchanged. Please see this bug.
I've created a patch which ensures that joe won't initialize bracketed paste mode when brpaste is missing in joerc.
Bump. Is the patch acceptable?
Started to look at this. My first thought is that we should create a "-brpaste" option to send the sequence to the terminal instead of trying to test the keymap for it, but let me think it through some more.
I can see that the problem is resolved in 4.1. Thanks.
Feel free to close this ticket.