MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: control characters
-
Date: Wed, 31 Jul 1996 14:24:05 PDT
-
From: slayer@kaiwan.com
-
Content-Type: text/plain; charset="us-ascii"
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.
Home |
Subject Index |
Thread Index