bugGNU nano - Bugs: bug #44620, representation of a Mac file with...

 
 

bug #44620: representation of a Mac file with --noconvert is not very useful

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Tue 24 Mar 2015 03:48:14 PM UTC  
 
Severity:  3 - Normal Status:  Confirmed
Assigned to:  None Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 27 Jun 2016 07:34:39 PM UTC, comment #2:

I've found this: http://www.unicode.org/reports/tr14/tr14-32.html#BreakingRules. See LB5: "Treat CR followed by LF, as well as CR, LF, and NL as hard line breaks."

To me that says that nano may show a ^M (when using --noconvert), but that it also must start a new line.

Benno Schulenberg <bens>
Project Administrator
Wed 29 Apr 2015 08:17:52 AM UTC, comment #1:

I guess the main reason why --noconvert exists is to override nano in the rare case it thinks a file is in Mac-format when it really isn't.

Benno Schulenberg <bens>
Project Administrator
Tue 24 Mar 2015 03:48:14 PM UTC, original submission:

When opening a file that contains no other line endings than Mac line endings (bare 0x0d instead of 0x0a), the representation on the screen is as a single interminably long line. This does not seem very useful to me. Is this the intended behaviour? I would have expected the separate lines to be shown as separate lines.

As an example, run:

The content is shown as "aaaaa^Maaaaa^Maaaaa^Maaaaa^M...".

Benno Schulenberg <bens>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can 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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-27 bens Open/ClosedClosed => Open
    2016-06-27 bens StatusWont Fix => Confirmed
    2015-04-29 bens StatusNone => Wont Fix
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.3