[Bug 39866] [NEW] Breaks config files by adding hard line breaks

Launchpad Bug Tracker 39866 at bugs.launchpad.net
Fri Mar 27 19:22:10 GMT 2009


You have been subscribed to a public bug by Anders Kaseorg (anders-kaseorg):

Nano breaks config files by adding hard line breaks. Using nano with
sudo should automatically turn on --nowrap, like in other systems.

To reproduce
1) sudo nano foo
2) type a long line
The line is broken to multiple lines. The linebreaks are stored as real linebreaks in the file. 

Broken lines confuse very easily. For example, tftpd and dhcpd don't
print any error messages to screen when they refuse to start because of
broken lines. Fedora makes nano use --nowrap automatically when run as
root.

Suggestion: enable --nowrap when nano is run with sudo.

** Affects: nano (Ubuntu)
     Importance: Medium
     Assignee: Jordi Mallach (jordi)
         Status: Confirmed

** Affects: nano (Debian)
     Importance: Unknown
         Status: New

-- 
Breaks config files by adding hard line breaks
https://bugs.edge.launchpad.net/bugs/39866
You received this bug notification because you are a member of Ubuntu Sponsors for main, which is a direct subscriber.



More information about the Ubuntu-main-sponsors mailing list