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 - NormalStatus: Confirmed
Assigned to: NoneOpen/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 File(s):

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 (Submitted the item)

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 27 Jun 2016 07:34:50 PM UTCbensOpen/ClosedClosed=>Open
    Mon 27 Jun 2016 07:34:39 PM UTCbensStatusWont Fix=>Confirmed
    Wed 29 Apr 2015 08:17:52 AM UTCbensStatusNone=>Wont Fix

    Back to the top

    Powered by Savane 3.1-cleanup1