bugGNU nano - Bugs: bug #57502, with Slang, the M-O toggle does...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #57502: with Slang, the M-O toggle does strange things

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 30 Dec 2019 11:24:15 AM UTC
   
 
Severity:  2 - Minor Status:  Wont Fix
Assigned to:  bens Open/Closed:  Closed

Fri 03 Jan 2020 11:39:47 AM UTC, comment #1: 

This cannot be fixed.  To avoid the problem, the user can use --raw.

Benno Schulenberg <bens>
Group administrator
Mon 30 Dec 2019 11:24:15 AM UTC, original submission:  

To reproduce, configure nano with the --with-slang option, compile, and then run 'src/nano --ignore README'.  Then press M-I four times, then M-P four times.  Note that these keystrokes work as expected, every time.

Now press M-O once.  Nothing happens.  Press M-O a second time.  Now it toggles the tabs-to-spaces flag.  Press M-O again.  Nothing happens.  Press M-O a fourth time.  Now it says "Unknown sequence".  Or it says that only the sixth time and then enters an "o" into the buffer.  :|

Slang appears to have some bug here.  Probably related to the thing in bug #49771 (where modified cursor keys produce escape sequences that are too short).

When using --raw, this problem does not occur.  So... it seems to be a faulty implementation of keypad(), of escape-sequence translation.

Benno Schulenberg <bens>
Group administrator

 

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

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-09 bens Open/ClosedOpen Closed
    2020-01-03 bens StatusNone Wont Fix
    2019-12-30 bens Summarywhen configured with --with-slang, the M-O toggle does strange things with Slang, the M-O toggle does strange things

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code