moo.sdk.output

Player I/O functions: write, editor, paginator, session settings, boot.

Functions

boot_player(obj)

Disconnect the given player from the MOO server.

can_open_editor()

True if the current player's client can display an editor.

get_client_mode()

Return the current player's shell mode.

get_session_setting(key[, default])

Get a session-specific output setting for the current player.

get_wrap_column()

Return the effective wrap column for the current player.

open_editor(obj, initial_content, ...[, ...])

Request the connected SSH client to open a full-screen text editor.

open_input(obj, prompt, callback_verb, *args)

Request the connected SSH client to show an inline input prompt.

open_paginator(obj, content[, content_type])

Request the connected SSH client to open a full-screen read-only paginator.

play_sound(obj, name[, volume, priority])

Play a sound on obj's client.

room_info_payload(room)

Build the IRE-style GMCP Room.Info payload for room.

send_gmcp(obj, module[, data])

Send a GMCP event to obj's SSH channel.

send_oob(obj, data)

Send a raw IAC subnegotiation frame to obj's SSH channel.

set_session_setting(key, value)

Set a session-specific output setting for the current player.

write(obj, message)

Send an asynchronous message to the user.