# control characters

slayer@kaiwan.com (slayer@kaiwan.com)
Wed, 31 Jul 1996 14:24:05 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    At 02:09 PM 7/31/96 PDT, Eric A. Zarko wrote:
    >I have been looking around everywhere I could think to look. Exactly how
    >does one pass a control character to a player, or a network connection,
    >or anything like that at all?
    >
    set_connection_option(object, "binary", 1);
    notify(object, "~07");  /* sends ^G, for example (a beep) */
    set_connection_option(object, "binary", 0);

    basically just set their binary option to 1, then send them an encoded
    binary string (such as encode_binary(7)), then turn it back off again.