- Package:
- profanity-light
- Source:
- profanity
- Description:
- console based XMPP client, light version
- Submitter:
- Date:
- 2026-07-02 17:45:08 UTC
- Severity:
- normal
- Tags:
Hello !
I noticed Profanity disconnects from the XMPP server when sending
specific sequences in chat.
I can reproduce it every time by inputting ALT+F1, ALT+Fn keys in a
private message window, and sending it.
09:53:15 - me: ^[[11~^[[12~^[[13~^[[12~^[[11~^[[13~^[[14~^[[13~^[[12/home/fab^[[14~
09:53:15 - Lost connection.
09:53:58 - Connection re-established.
ALT+Fn keys are meant to switch window but don't seem to work on my
setup (I can switch with the other regular ways).
All I get in profanity.log is:
11/11/2020 09:53:15: prof: INF: Closing connection
I may provide more infos if needed.
Have a good day,
Control: tag -1 + moreinfo ... Maybe this is some speciality of your desktop environment or window manager? Which one is it and is it configured in some special way? In mine (xfce4), nothing happens, when I press ALT+Fn. Cheers
Okay, so it's linked to urxvt and it's treatment of ALT key, which affects the shortcut. I don't know exactly what it sends but profanity doesn't like it. I tried with xterm and couldn't switch between windows either, but it doesn't send any character sequences so no crash. Running i3. Just checked, also happens with good old VTs. Switch to console, run profanity, and try some escape sequence such as hitting CTRL+V twice, then enter. Disconnects from the server again. Le mercredi 11 novembre 2020 à 10:58:04, Martin a écrit :
Confirmed!
I can reproduce something similar in my desktop environment¹ by pressing [esc]+[any arrow] (``^[OD`` gets entered on the command line) followed by enter to send it ¹ fluxbox + urxvt + ssh + screen, which is probably why some keypresses result in “odd” characters.
This bug doesn't affects only profanity-light. The problem also appears in profanity. profanity is using the XMPP libstrophe. libstrophe should filter out forbidden sequences. The issue in upstream's projects is https://github.com/strophe/libstrophe/issues/170