I'm looking for documented examples of applications using the APC (APPLICATION PROGRAM COMMAND) control character. I've read ECMA-48, which defines it as follows:
APPLICATION PROGRAM COMMAND APC - APPLICATION PROGRAM COMMAND
Notation: (C1)
Representation: 09/15 or ESC 05/15
APC is used as the opening delimiter of a control string for application program use. The command string following may consist of bit combinations in the range 00/08 to 00/13 and 02/00 to 07/14. The control string is closed by the terminating delimiter STRING TERMINATOR (ST). The interpretation of the command string depends on the relevant application program.
I've found that many modern terminal emulator programs recognize this control enough to suppress the display of the APC thru the ST, which seems to match up with the ECMA intent... I'm looking for any examples using "namespaces" that might allow different apps to use different content in the command sequence. I would be particularly interested in examples where a terminal emulator does something with APC sequences.
Example
const APC = "\x9F"
const ST = "\x9C"
console.log(`Hello world${APC}hidden command${ST}!`)
As displayed on the terminal (Windows 10)
PS > node index.js
Hello world!
The "hidden command" is not displayed. This seems good, but if I pipe the output to another app, the command string is in there.
Some shells seem a bit confused by the C1 version of the control characters, I have some work to do to document that.
Background
I'm considering using APC sequences to allow embedded data, e.g., in JSON form, to be mixed into a stdout stream.