> write(1, "+-\33[7b+\33[25G", 12) = 12 This tells your terminal to draw a "+", followed by a "-" which should then be repeated seven more times (\33[7b), followed by a "+". So, nano (by way of ncurses) gives your terminal a correct sequence of codes to draw the stuff that should be drawn. But apparently your terminal (Putty) does not understand the \33[nb code and ignores it, resulting in a garbled display.
Please see https://stackoverflow.com/questions/46507473/ncurses-in- urxvt-does-not-print-repeating-characters. And https://invisible- island.net/ncurses/ncurses.faq.html#xterm_generic (the paragraphs after the table). The problem is in Putty: it says it is an xterm (or xterm-compatible), but it isn't. Solution: set your TERM to what it should be: putty. Look in /usr/share/terminfo/p/ for other possibilities. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1858293 Title: Missing repeated characters To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1858293/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs