bugGNU nano - Bugs: bug #36523, Nano breaks long lines spuriously

 
 

bug #36523: Nano breaks long lines spuriously

Submitted by:  None
Submitted on:  Tue 22 May 2012 03:18:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: Chris Allegretta <astyanax>
Open/Closed: OpenRelease: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 14 Jun 2014 04:11:48 PM UTC, comment #2:

Maybe we should urge distros to set nowrap in /etc/nanorc? Or instead consider making nowrap the default (when called as 'nano' and only use wrap by default when called as 'pico')?

Benno Schulenberg <bens>
Project Member
Thu 10 Jan 2013 03:58:53 AM UTC, comment #1:

Are you using -w or --nowrap on the command line? Nano lets you set or unset this option several different ways.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Tue 22 May 2012 03:18:47 PM UTC, original submission:

When editing the end of a long line in a text file, nano often breaks the line, without the user pressing enter. While breaking the line for display purposes may be okay, actually inserting a line end without the user pressing "Enter" is unacceptable. This behavior is especially problematic when editing bash scripts, as it causes the new line to be interpreted as a new command. In my personal experience, it has caused many of my scripts to fail, forcing me to go back and remove the spurious line breaks.

The correct behavior would be for nano to only enter line breaks when the user presses "Enter."

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Posted a comment)
  • -unavailable- added by astyanax (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Jan 2013 03:58:53 AM UTCastyanaxStatusNone=>Need Info
      Assigned toNone=>astyanax

    Back to the top


    Powered by Savane 3.1-cleanup