Garbage characters after line in nano #69

Open
opened 2026-01-30 21:41:23 +00:00 by claunia · 0 comments
Owner

Originally created by @mobluse on GitHub (Feb 10, 2018).

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.17093.1000]
    Ubuntu is most updated.

  • What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)
    I'm editing a file in GNU nano and when i go to the end of line there are garbage characters after it. The left part shows WSL Ubuntu with original Console and the right part wsltty 1.8.4 (based on mintty). wsltty is correct in this case.
    nano-beep
    apt source beep
    cd beep-1.3/
    nano beep.c

  • What's wrong / what should be happening instead:
    There should not be characters after the last ; on the line starting with $vent));. This bug makes it rather difficult to edit files. The colors are also different, but ought to be the same as in e.g. xterm unless one has some special color scheme. The fonts are the same teletext2.ttf but they have different sizes (16pt and 11pt, respectively) even though they look the same size. I think if one uses a font size it should be the same size on screen in different programs.

Originally created by @mobluse on GitHub (Feb 10, 2018). * Your Windows build number: (Type `ver` at a Windows Command Prompt) Microsoft Windows [Version 10.0.17093.1000] Ubuntu is most updated. * What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots) I'm editing a file in GNU nano and when i go to the end of line there are garbage characters after it. The left part shows WSL Ubuntu with original Console and the right part wsltty 1.8.4 (based on mintty). wsltty is correct in this case. ![nano-beep](https://user-images.githubusercontent.com/5777329/36062286-6eab7082-0e69-11e8-80db-c991f50f2daa.png) `apt source beep` `cd beep-1.3/` `nano beep.c` * What's wrong / what should be happening instead: There should not be characters after the last `;` on the line starting with `$vent));`. This bug makes it rather difficult to edit files. The colors are also different, but ought to be the same as in e.g. xterm unless one has some special color scheme. The fonts are the same [teletext2.ttf](https://github.com/peterkvt80/Muttlee/tree/master/public/assets) but they have different sizes (16pt and 11pt, respectively) even though they look the same size. I think if one uses a font size it should be the same size on screen in different programs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#69