cockpit-session-recording icon indicating copy to clipboard operation
cockpit-session-recording copied to clipboard

Interpet or drop terminal control sequences

Open justin-stephenson opened this issue 5 years ago • 1 comments

Recorded sessions may include control sequences that can be ignored. For example, tmux sets a title definition. This causes the title string to be included in the recording output, duplicating the shell prompt effectively.

\u001bkrecuser@agalloch:~\u001b\\

ESC k Title Definition String ESC \ | 0x9C | ST | String Terminator | Terminates strings in other controls

Reference: https://en.wikipedia.org/wiki/ANSI_escape_code https://www.gnu.org/software/screen/manual/html_node/Control-Sequences.html

justin-stephenson avatar Mar 02 '20 16:03 justin-stephenson

This is likely to be fixed in the terminal emulator we're using.

spbnick avatar Mar 02 '20 17:03 spbnick