MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: no newline



At 08:14 PM 5/8/96 PDT, Rene van der Meer wrote:
>I'm sure this question has been asked before, but I'm kinda new to the
>list. Is there a way to get the LambdaMOO server to omit the newline
>at the end of a line? I have the prompt-patch which is supposed to
>allow you to do that. Unfortunately my C isn't good enough to get the
>patch to work with 1.8.0p4.. Can anyone out there help me? If needed
>I can send you the patch (which I found on a public ftp site listed
>in some FAQ).

Instead of using the patch, try this:

@verb $player:prompt this none this rx
@prog $player:prompt
set_connection_option(this,"binary",1);
this:notify(encode_binary(tostr(@args)));
set_connection_option(this,"binary",0);
.

Then to do a prompt, call player:prompt("text");  You might want to make a
wiz-check at the beginning.

- Kipp
http://radioactivo.com.mx/~paradigm/
-----
GCS/CC d- s+:- a16 C++ UL++++ P+ L++ E-? W+ !N--@ !o-- K->K++++++
w++(--) O- M-- V--? PS++(+) PE(--) Y+ PGP-? t+ 5(+) X++ R+++(*)
!tv b+ DI++++ D++++ G e* h!()(*) r+ !y+




Home | Subject Index | Thread Index