Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11674 - Request nano nowrap functionality be re-enabled

Attached to Project: Arch Linux
Opened by Brian Hall (hallbw) - Tuesday, 07 October 2008, 13:52 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 28 March 2009, 09:26 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Nowrap functionality is disabled in nano, I would ask that it be re-enabled as it was before. Please remove the "--disable-wrapping" configure flag from the package build.
When this capability was removed, I had to comment out the "nowrap" option in /etc/nanorc or nano would error out whenever I edited something, since it was my default editor.

Often I don't want the wrapping, but in some cases I do, such as pasting long text articles from webpages for archival.

Using "--disable-wrapping-as-root" instead of "--disable-wrapping" would also be acceptable.


Name : nano
Version : 2.0.9-1
URL : http://www.nano-editor.org
Licenses : GPL
Groups : base
Provides : None
Depends On : glibc ncurses texinfo
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 1164.00 K
Packager : Andreas Radke <andyrtr@archlinux.org>
Architecture : x86_64
Build Date : Mon Sep 22 13:23:22 2008
Install Date : Tue Sep 23 17:39:31 2008
Install Reason : Explicitly installed
Install Script : Yes
Description : Pico editor clone with enhancements


This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 28 March 2009, 09:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.0.9-2 in testing for signoff
Comment by Andreas Radke (AndyRTR) - Tuesday, 07 October 2008, 17:24 GMT
I can't satisfy both user groups. Some want that feature and think in some (rare) cases it might be helpful. Many others claimed about broken config files due to the line wrapping resulting in a non-booting system or other stupid issues.

For the safety I think for now we will stay with linewrapping disabled at all. Anybody who wants it back - use "abs" and rebuild it to fit your needs.
Comment by Brian Hall (hallbw) - Tuesday, 07 October 2008, 17:37 GMT
Right. Use "--disable-wrapping-as-root" and that would prevent some of the ways you can kill your system as root.

I must say, though, I don't ever agree with the concept of removing capability because someone might misuse it.
Comment by Roman Kyrylych (Romashka) - Saturday, 18 October 2008, 15:16 GMT
hmm, didn't know about that option. Looks like the best way to me.
Comment by Gavin Bisesi (Daenyth) - Saturday, 21 March 2009, 14:16 GMT
as of nano 2.0.9-1, it's still compiled with --disable-wrapping; status?
Comment by Andreas Radke (AndyRTR) - Saturday, 28 March 2009, 09:25 GMT
applied --disable-wrapping-as-root

Loading...