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

 
 

bug #36523: Nano breaks long lines spuriously

Submitted by:  None
Submitted on:  Tue May 22 15:18:47 2012  
 
Severity: 3 - NormalStatus: Need Info
Assigned to: Chris Allegretta <astyanax>Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat Jan 9 16:50:58 2016, comment #3:

Closing, as the "bug" is probably due to a lack of --nowrap.

Benno Schulenberg <bens>
Project Administrator
Sat Jun 14 16:11:48 2014, 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 Administrator
Thu Jan 10 03:58:53 2013, 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 May 22 15:18:47 2012, 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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Jan 9 16:50:58 2016bensOpen/ClosedOpen=>Closed
    Thu Jan 10 03:58:53 2013astyanaxStatusNone=>Need Info
      Assigned toNone=>astyanax

    Back to the top


    Powered by Savane 3.1-cleanup