[Bug 1858293] Re: Missing repeated characters

2020-01-07 Thread Benno Schulenberg
Thanks for confirming that the problem was caused by using an older
Putty.

** Summary changed:

- Missing repeated characters
+ Missing repeated characters when using old Putty  [resolved]

** Changed in: nano (Ubuntu)
   Status: New => Invalid

-- 
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 when using old Putty  [resolved]

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

[Bug 1858293] Re: Missing repeated characters

2020-01-06 Thread Wes Z
Hello,

Hello and than you for the assistance and your time.

For sure I thought this was a bug because it appeared platform dependent
and only associated with nano.

The first thing I did was I checked my version of PuTTy which was .70
and then checked the PuTTy site and updated to PuTTy .73 and this "bug"
is gone.

Updating PuTTy to .73 resolved my issue. Probably the first thing I
should have done, but we never quit learning.

Nano is my favorite terminal editor.

Thanks.

-- 
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

[Bug 1858293] Re: Missing repeated characters

2020-01-06 Thread Benno Schulenberg
> 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

[Bug 1858293] Re: Missing repeated characters

2020-01-05 Thread Wes Z
Question Answers:

1. Windows 10 laptop core i7 Microsoft Windows [Version 10.0.17763.914]

2. TERM=xterm

3. 
write(1, 
"\33[?1049h\33[22;0;0t\33[1;47r\33(B\33[m\33[4l\33[?7h\33[39;49m\33[?1h\33=", 
54) = 54
write(1, "\33[?1h\33=", 7)  = 7
write(1, "\33[?1h\33=", 7)  = 7
write(1, "\33[?25l", 6) = 6
write(1, "\33[39;49m\33(B\33[m\33[H\33[2J", 21) = 21
write(1, "\33(B\33[0;7m  GNU nano 2.9.3 \33[53bNew Buffer \33[63b \33[1;144H", 
56) = 56
write(1, "\33(B\33[m", 6)   = 6
write(1, "\r\33[46d", 6)= 6
write(1, "\33(B\33[0;7m^G\33(B\33[m Get Help \33(B\33[0;7m^O\33(B\33[m 
Write Out\33(B\33[0;7m^W\33(B\33[m Where Is \33(B\33[0;7m^K\33(B\33[m 
Cut Text \33(B\33[0;7m^J\33(B\33[m Justify\33[81G", 154) = 154
write(1, "\33(B\33[0;7m^C\33(B\33[m Cur Pos\33[97G", 30) = 30
write(1, "\33(B\33[0;7mM-U\33(B\33[m Undo\33[46;113H", 32) = 32
write(1, "\33(B\33[0;7mM-A\33(B\33[m Mark Text   \33(B\33[0;7mM-]\33(B\33[m To 
Bracket\r\33[47d", 66) = 66
write(1, "\33(B\33[0;7m^X\33(B\33[m Exit\33[47;17H", 30) = 30
write(1, "\33(B\33[0;7m^R\33(B\33[m Read File\33(B\33[0;7m^\\\33(B\33[m 
Replace\33[49G", 61) = 61
write(1, "\33(B\33[0;7m^U\33(B\33[m Uncut Text   \33(B\33[0;7m^T\33(B\33[m To 
Spell \33(B\33[0;7m^_\33(B\33[m Go To Line   \33(B\33[0;7mM-E\33(B\33[m 
Redo\33[47;113H", 125) = 125
write(1, "\33(B\33[0;7mM-6\33(B\33[m Copy Text   \33(B\33[0;7mM-W\33(B\33[m 
WhereIs Next\r\33[45d", 68) = 68
write(1, "\33[3d", 4)   = 4
write(1, "\33[39;49m\33(B\33[m", 14)= 14
write(1, "\33[?12l\33[?25h", 12)= 12
write(1, "\33[?25l", 6) = 6
write(1, "\33[1;136H", 8)   = 8
write(1, "\33(B\33[0;7mModified", 17)   = 17
write(1, "\33(B\33[m", 6)   = 6
write(1, "\r\33[3d", 5) = 5
write(1, "#\33[9G", 5)  = 5
write(1, "+-\33[7b+\33[25G", 12)= 12
write(1, "+-\33[7b+\33[41G", 12)= 12
write(1, "+-\33[7b+\33[57G", 12)= 12
write(1, "+-\33[7b+\r\33[4d", 12)   = 12
write(1, "#\33[9G", 5)  = 5
write(1, "|\33[4;18H", 8)   = 8
write(1, "|\33[25G", 6) = 6
write(1, "|\33[4;34H", 8)   = 8
write(1, "|\33[41G", 6) = 6
write(1, "|\33[4;50H", 8)   = 8
write(1, "|\33[57G", 6) = 6
write(1, "|\33[4;66H", 8)   = 8
write(1, "|\r\33[5d", 6)= 6
write(1, "# >CLK->|\33[5;18H", 16)  = 16
write(1, "|>CLK->|\33[5;34H", 15)   = 15
write(1, "|>CLK->|\33[5;50H", 15)   = 15
write(1, "|>CLK->|\33[5;66H", 15)   = 15
write(1, "|>CLK->\r\33[6d", 12) = 12
write(1, "# >CS ->|\33[6;18H", 16)  = 16
write(1, "|>CS ->|\33[6;34H", 15)   = 15
write(1, "|>CS ->|\33[6;50H", 15)   = 15
write(1, "|>CS ->|\33[6;66H", 15)   = 15
write(1, "|>CS ->\r\33[7d", 12) = 12
write(1, "# >DIN->|\33[7;18H", 16)  = 16
write(1, "|>DIN->|\33[7;34H", 15)   = 15
write(1, "|>DIN->|\33[7;50H", 15)   = 15
write(1, "|>DIN->|\33[7;66H", 15)   = 15
write(1, "|>DIN->\r\33[8d", 12) = 12
write(1, "#\33[9G", 5)  = 5
write(1, "|\33[8;18H", 8)   = 8
write(1, "|\33[25G", 6) = 6
write(1, "|\33[8;34H", 8)   = 8
write(1, "|\33[41G", 6) = 6
write(1, "|\33[8;50H", 8)   = 8
write(1, "|\33[57G", 6) = 6
write(1, "|\33[8;66H", 8)   = 8
write(1, "|\r\33[9d", 6)= 6
write(1, "#\33[9G", 5)  = 5
write(1, "+-\33[7b+\33[25G", 12)= 12
write(1, "+-\33[7b+\33[41G", 12)= 12
write(1, "+-\33[7b+\33[57G", 12)= 12
write(1, "+-\33[7b+", 7)= 7
write(1, "\33[?12l\33[?25h", 12)= 12
write(1, "\33[?25l", 6) = 6
write(1, "\r\33[45d", 6)= 6
write(1, "\33(B\33[0;7mSave modified buffer?  (Answering \"No\" will DISCARD 
changes.) \33[82b \33[46;1H", 84) = 84
write(1, " Y\33(B\33[m Yes\33[K\r\33[47d", 21) = 21
write(1, "\33(B\33[0;7m N\33(B\33[m No  \33[47;18H", 30) = 30
write(1, "\33(B\33[0;7mC\33(B\33[m Cancel\33[K\33[45;63H", 34) = 34
write(1, "\33[?12l\33[?25h", 12)= 12
write(1, "\33[?25l", 6) = 6
write(1, "\r", 1)   = 1
write(1, "\33[J\33[47;145H", 12)= 12
write(1, "\33[?12l\33[?25h", 12)= 12
write(1, "\33[47;1H\33[?1049l\33[23;0;0t\r\33[?1l\33>", 32) = 32
+++ exited with 0 +++

4. I am putty'd in on machine 1 and ssh into machine 2, open nano, paste
the example and issue is still there.

5. I have not "built" a nano4-7 on the machine. But I can try tomorrow if you 
still need me to do so.
Just let me know.

6. I do not have access to a 19.10 machine

Thanks.

-- 
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 

[Bug 1858293] Re: Missing repeated characters

2020-01-05 Thread Benno Schulenberg
Thanks for reporting.  Please answer the following questions.

1) From what kind of machine are you putty'ing into your Ubuntu 18.04
machines?

2) When putty'ed in, what is the output of 'env | grep TERM'?

3) When putty'ed in, please run 'strace -ewrite -s2000 /bin/nano
--ignore 2>TRAIL', paste your seven-line example into nano, then press
^X N, and attach the resultant TRAIL file here.

4) When ssh'ing in from a regular GNU/Linux machine (from an xterm or
from a Linux console) to your Ubuntu 18.04 machines, do you observe the
same problem?

5) If you build the latest nano-4.7 on one of your 18.04 machines, does
the problem still occur when putty'ing in and running nano-4.7?

6) When you putty into an Ubuntu 19.10 machine (if you can find one),
does the problem occur there too?

-- 
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