Skip to content
zolrath edited this page Mar 20, 2012 · 1 revision

There are a number of additional options that be configured in /etc/wemux.conf. In most cases the only option that must be changed is the host_list array.

Host Mode

To have an account act as host, ensure that you have added their username to the /etc/wemux.conf file's host_list array.

host_list=(zolrath hostusername csagan brocksampson)

Pair Mode

Pair mode can be disabled, only allowing clients to attach to the server in mirror mode by setting allow_pair_mode="false"

Default Client Mode

When clients enter 'wemux' with no arguments by default it will first attempt to join an existing pair mode session. If there is no pair session it will start a mirror mode session. By setting default_client_mode to "pair", 'wemux' with no arguments will always join a pair mode session, even if it has to create it.

This can be changed by setting default_client_mode="pair"

Changing Hostnames

The ability to change hostnames can be enabled by setting allow_host_change="true"

Listing Hostnames

Listing hostnames can be disabled by setting allow_host_list="false"

Announcements

When a user joins a session in either mirror or pair mode, a message is displayed to all currently attached users:

csagan has attached in mirror mode.
csagan has detached.

This can be disabled by setting announce_attach="false"

In addition, when a user switches from one host to another via the wemux name <hostname> command, their movement is displayed similarly to the attach messages.

If csagan enters wemux name applepie the users on the default hostname host will see:

csagan has switched to hostname: applepie

If csagan returns to default hostname with: wemux reset users on host will see:

csagan has joined this hostname.

This can be disabled by setting announce_host_change="false"

Clone this wiki locally