bugGNU nano - Bugs: bug #29014, nano hangs on Arch when opening...


bug #29014: nano hangs on Arch when opening files named PKGBUILD

Submitted by:  None
Submitted on:  Fri Feb 26 21:51:45 2010  
Severity: 3 - NormalStatus: Duplicate
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 Feb 22 20:11:53 2014, comment #5:

Duplicate of bug #26977.

Benno Schulenberg <bens>
Project Administrator
Tue Sep 17 19:08:39 2013, comment #4:

I think this bug (bug #29014) is a duplicate of bug #26977: Possible memory leak with nano 2.1.9 syntax highlighting

tigrmesh <tigrmesh>
Wed Mar 3 02:39:24 2010, comment #3:

The syntax file does seem to be the problem, I commented it out in my .nanorc and the problem goes away.

Arch PKGBUILD info:

Arch Nano Page, PKGBUILD syntax subsection (feel free to update):

Sun Feb 28 07:57:06 2010, comment #2:

Ah, probably. Did not think of that.

Syntax file attached.

(file #19812)

Sat Feb 27 21:44:25 2010, comment #1:

Hmm, I'm having trouble reproducing this behavior.

Does PKGBUILD have a syntax associated with it on arch? It seems that by default with no ,nanorc or flags nano does not have issues with this filename. I'm guessing there probably is a bug but it's in the nanorc or syntax code.

If you could include the nanorc and any syntax highlighting rules associated with the PKGBUILD file that would be helpful.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Fri Feb 26 21:51:45 2010, original submission:

( see http://aur.archlinux.org/ for PKGBUILD )

When trying to open a file with the name "PKGBUILD", nano stalls at a blank ncurses screen. Any other name works, even just a single lower case name such as "PKGbUILD". The file does not need to exist, can be an empty file, or one downloaded.. all fail.

I also tried download the current stable and compiling to make sure it was not Arch's build, but even that fails in the same way.



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

Attach File(s):

Attached Files
file #19812:  pkgbuild.nanorc added by None (1kB - application/octet-stream - PKGBUILD syntax)


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 tigrmesh (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Feb 22 20:11:53 2014bensStatusNeed Info=>Duplicate
      SummaryFailure to open when editing certain files named as PKGBUILD=>nano hangs on Arch when opening files named PKGBUILD
    Sun Feb 28 07:57:06 2010NoneAttached File-=>Added pkgbuild.nanorc, #19812
    Sat Feb 27 21:44:25 2010astyanaxStatusNone=>Need Info
      Assigned toNone=>astyanax

    Back to the top

    Powered by Savane 3.1-cleanup1