A lot of people log into the same AIX 6.1 server as I do with a terminal emulator that automatically interprets and runs code encapsulated by certain control characters as VBA script instead of writing it to the display. So as a prank, I have a file that contains a sequence of characters that displays a message in a popup box that I want to write to their terminals.
$ cat msgbox.txt
*message box pops up*
But when I write it to someone, the effect is lost:
$ cat msgbox.txt | write *my other sesssion*
On the other session:
Message from *myself* [*datetime*] \o 33 *code to show a msgbox* \o 33\<EOT>
Where the "\o 33" replaces ASCII character 27. Is it possible to send control characters through write, or do I need to do something different?