Version: 1.6.3 (using KDE KDE 3.5.3) Installed from: NetBSD pkgsrc OS: NetBSD Konsole recognizes the RIS sequence (\ec), but not the DECSTR (\e[!p), which is less destructive.
Yes, the reason being that Konsole's emulation is based primarily on the VT102, the DECSTR sequence was added in later terminal models. Note: For reference, here is a definition of what DECSTR does: http://vt100.net/docs/vt510-rm/DECSTR
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/605
Git commit 62f956b723f929ef9fb334494a1e47576387e30a by Tomaz Canabrava, on behalf of Luis Javier Merino Morán. Committed on 03/03/2022 at 10:46. Pushed by tcanabrava into branch 'master'. Add support for DECSTR (Soft Terminal Reset) DECSTR is a level 2 control (VT2xx and up), and is to be used instead of RIS (Reset to Initial State), which can initiate a self-test and drop the connection on some hardware terminals. M +4 -2 src/Emulation.h M +19 -11 src/Screen.cpp M +1 -1 src/Screen.h M +14 -6 src/Vt102Emulation.cpp M +1 -1 src/Vt102Emulation.h https://invent.kde.org/utilities/konsole/commit/62f956b723f929ef9fb334494a1e47576387e30a