Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 186144

Summary: Nano prints garbage, making it unusable
Product: Gentoo Linux Reporter: Andrew A. Gill <superluser>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew A. Gill 2007-07-21 19:16:25 UTC
Whenever I use the nano provided by Gentoo's ebuilds, it prints crap all over the screen, rendering it unusable for typing.

Reproducible: Always

Steps to Reproduce:
1.open nano in UXTerm, or in the console without X
2.type (the backspace char in this example)

Actual Results:  
get_key_buffer(): key_buffer_len = 1
                                    parse_kbinput(): kbinput = 263, meta_key = FALSE, func_key = FALSE, escapes = 0, byte_digits = 0, retval = 8
                                                                get_shortcut(): kbinput = 8, meta_key = FALSE, func_key = FALSE
                                               get_toggle(): kbinput = 8, meta_key = FALSE

Expected Results:  
With backspace, nothing.  With other keys, it should have displayed the character corresponding to the key pressed.  If I had typed `h' for example, the first part of the output would have been het_key_buffer(): .  It should have been h.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-21 19:18:32 UTC
Setting USE=debug globally is a seriously wrong idea...

*** This bug has been marked as a duplicate of bug 54208 ***
Comment 2 Andrew A. Gill 2007-07-21 19:22:18 UTC
That's strange...I don't remember adding them, but there they are.

Thanks, I figured it was something simple and stupid.