1

Why does pressing Super+F1 cause the terminal to output the following (including "s1") on the following prompt?

~ $ 
::1        localhost  
~ $ s1

Note: The value of $? seems to be preserved, so I don't believe it's executing a command.

Environment: Gentoo Linux, Gnome 3.20.0, Konsole 16.08.3-r1

  • This looks like a list of users (X display, host). What output does the command w produce on your system?. What happens if you first type ' (apostrophe), and then Super + F1? – dirkt Apr 1 '17 at 11:51
  • 1
    Terminals translate function keys to escape sequences. See How do keyboard input and text output work? for some background. Run cat and press Super+F1, what gets inserted? – Gilles Apr 1 '17 at 14:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.