bugGNU nano - Bugs: bug #48395, a command typed during loading is...

 
 

bug #48395: a command typed during loading is considered an invalid sequence

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 04 Jul 2016 09:41:34 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 13 Jul 2016 08:11:15 AM UTC, comment #2:

Fixed in git, 033376a.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 04 Jul 2016 10:41:12 AM UTC, comment #1:

Note: you need the latest git to test this, because it fixes the dropping of a byte at startup (bug #48388).

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 04 Jul 2016 09:41:34 AM UTC, original submission:

To reproduce, run 'for x in $(seq 66); do cat NEWS >>100thousand.c; done', then start nano with 'src/nano +99999 100thousand.c' and during loading type: M-G 11 <Enter>.

It will say "Unknown sequence" (apart from startup taking much longer than without typing anything -- see bug #48389).

Expected behavior: it should simply execute the given "Goto Line 11" command. Nano should recognize that "Esc g" is not the start of any multicharacter escape sequence, and thus should not consider anything coming after it as part of it.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

(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 (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
    Sat 30 Jul 2016 09:16:26 AM UTCbensOpen/ClosedOpen=>Closed
    Wed 13 Jul 2016 08:11:15 AM UTCbensStatusIn Progress=>Fixed
    Mon 04 Jul 2016 10:41:12 AM UTCbensStatusNone=>In Progress
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1