this is very trivial, but the newer pam ebuilds (>=pam-0.78) cause the execution of the letter "n". I link the letter n to nano which is where it winds up and without the ability to send ctrl actions. Removing the link fixes this. I have not tried with sandbox'd portage.
Not a security issue. Re-assigning to pam herd.
I cannot see where this can happen - can you be more specific during what part it happens (unpack/compile/whatever) ?
grepping the unpacked sources of >=pam-0.78, I can't find this execution of 'n'. Additionally, I made an executable called 'n' that would print where it was called, and then tried to build all releases of pam that fit the package atom you gave (with all USE flags enabled).
Please provide more information and reopen the bug if it's still valid.