bugGNU nano - Bugs: bug #24852, Nano surreptitiously breaks long...

 
 

bug #24852: Nano surreptitiously breaks long lines when editing with PuTTY on Windows

Submitted by:  None
Submitted on:  Sun 16 Nov 2008 05:01:41 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
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.

 

Sun 23 Feb 2014 12:30:47 PM UTC, comment #2:

Cannot reproduce. Does it happen only on Windows, and only while using PuTTY. If also elsewhere, please include an example file and the version info of your nano.

Benno Schulenberg <bens>
Project Member
Wed 10 Feb 2010 12:17:25 AM UTC, comment #1:

There is a nowrap option available for use in nanorc; or, if you want, you can launch nano with the -w flag.

Dustin Howett <dhowett>
Sun 16 Nov 2008 05:01:41 PM UTC, original submission:

I first discovered this bug when editing a php.ini file. I thought the file had been installed incorrectly when in fact nano had incorrectly "wrapped" the last word on the long line. The issue is apparent regardless of file contents. I don't edit html much with nano but it's especially bothersome when making a minor change to an html paragraph.

Reproducing the error:

Load any simple text file with lines longer than the screen width and insert text in the middle of a long line. In some cases the line scrolls and disappears correctly (I see a '$') and in other cases it simply breaks at the right margin and pushes the end of the line to the next line. The wrapping is inconsistent. I have not discovered what causes the the wrapping but moving to the end of the line and removing the LF corrects the line length.

This issue makes it difficult to edit config files with certainty. Saving and reloading confirms the LF was indeed written before the end of the line.

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 dhowett (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 23 Feb 2014 12:30:47 PM UTCbensStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup