bugGNU nano - Bugs: bug #24957, misbehavior with long search and...


bug #24957: misbehavior with long search and home key in search history

Submitted by:  Mike Frysinger <vapier>
Submitted on:  Fri 28 Nov 2008 07:31:13 AM UTC  
Severity: 3 - NormalStatus: Fixed
Assigned to: Chris Allegretta <astyanax>Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

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


Sat 21 Nov 2009 05:13:18 PM UTC, comment #1:

Okay, sorry for th delay on this Mike. This is hopefully fixed as of r4434. Let me know if not.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Fri 28 Nov 2008 07:31:13 AM UTC, original submission:

if you search for a long string and then repeat the search, the home key does not work properly in the search box

for example, do this:
- run `nano`
- start a search with ctrl+w
- enter a really long string (value does not matter, just needs to wrap on the display) i.e. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- hit enter
- do a search again with ctrl+w
- hit up arrow key
- hit home key to go to start of string
- cursor only goes to start of displayed string rather than actual string
- hit home again and again or try to use the left arrow key ... no change in behavior
- hit end and then home to get to the start of the string

Mike Frysinger <vapier>
Project Member


(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 (Updated the item)
  • -unavailable- added by astyanax (Updated the item)
  • -unavailable- added by vapier (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 23 Feb 2014 12:33:50 PM UTCbensStatusReady For Test=>Fixed
      Summarymisbehavior with long search and home key and search history=>misbehavior with long search and home key in search history
    Sat 21 Nov 2009 05:13:18 PM UTCastyanaxStatusNone=>Ready For Test
    Sat 21 Nov 2009 04:42:01 PM UTCastyanaxAssigned toNone=>astyanax

    Back to the top

    Powered by Savane 3.1-cleanup1