Bug 456461 - Add DECPS escape sequences for music playback
Summary: Add DECPS escape sequences for music playback
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: emulation (show other bugs)
Version: master
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-07 20:33 UTC by David Korth
Modified: 2022-07-07 20:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Korth 2022-07-07 20:33:59 UTC
Windows Terminal Preview 1.15 added support for the little-used DECPS escape sequences, introduced on the VT500 terminals, which allows for simple music playback, similar to the "PLAY" command in old versions of MS-DOS QBASIC.

https://github.com/microsoft/terminal/issues/8687

STEPS TO REPRODUCE
1. Run a sample script that contains DECPS escape sequences, e.g. this one from the above GitHub thread that plays the title theme from "Ms. Pac-Man":

printf "\e[3;2;1;3;5,~\e[3;8;6;10;8;11,~\e[3;4;10;11;13;10,~\e[3;8;8;11,~\e[3;4;10;11;13;10;11;13;15;17,~\e[3;8;18;17;18,~"

OBSERVED RESULT
Nothing

EXPECTED RESULT
It plays the specified music.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Gentoo Linux
(available in About System)
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION