no newline

Pavel Curtis (pavel@parc.xerox.com)
Thu, 9 May 1996 09:05:17 PDT


Rene van der Meer writes:
> Is there a way to get the LambdaMOO server to omit the newline at the end of
> a line?

Yes: you put the connection into binary mode, write the output (re-encoded into
binary string), and then put the connection back into normal mode:

	set_connection_option(conn, "binary", 1);
	notify(conn, encode_binary("My prompt:"));
	set_connection_option(conn, "binary", 0);