Terminal
The terminal renders MUD output and sends commands.
It is intentionally close to a MUD terminal, but with browser quality-of-life features.
Very Large Output
Desktop and mobile bound both scrollback and individual unfinished lines. Very long lines or lines containing excessive color and link fragments show [output truncated; triggers skipped]. Older scrollback is removed as its memory budget fills.
Truncated lines never run command or Lua triggers, and they clear partial multiline matches. Matching resumes on complete, untruncated lines. An unusually large single batch may also skip older lines for automation. Lua echo output follows the same display limits.
Scrollback
The browser keeps up to 2,500 rendered terminal lines. New output follows automatically while the viewport is near the bottom. Scrolling upward pauses follow mode so incoming text does not move the viewport.
While follow mode is paused, a compact live tail shows the newest output at the bottom of the terminal. Press PageUp and PageDown from the command input to scroll the main terminal. Press Ctrl+Enter or use the down-arrow button to return to the newest output and resume following.
Rendering
- ANSI foreground and background colors are rendered.
- Bright colors, 256-color mode, and truecolor sequences are supported.
- Bold, dim, italic, underline, and inverse styles are supported.
- HTTP and HTTPS links in output are clickable.
- Basic terminal controls such as carriage return, backspace, line erase, and screen clear are handled.
Input
Clicking the terminal focuses the command input unless you are selecting text or clicking a link. Browser password managers are discouraged on the command input, and password mode is enabled when the telnet session requests it.
If the MUD sends prompt text through BatClient, the command input marker shows state.prompt > instead of a static prompt marker.
Command history supports prefix matching. If you type say and press Up, history cycles through commands starting with say.
Press Tab to complete the word at the cursor from recent command history and terminal scrollback. Repeated Tab presses cycle forward through matches; Shift+Tab cycles backward. Matching is case-insensitive and uses the typed prefix.
The Terminal setting Keep submitted command selected leaves a sent command selected in the input. Enter sends it again, while typing replaces it. Password input is always cleared.
Command Separator
The Terminal setting Split commands with separator lets one submitted line send several MUD commands immediately. The default separator is ;;, so north;;east;;look sends north, east, and look in order.
The separator is configurable on desktop and mobile. It applies to the normal command flow, including typed commands, aliases, hotkeys, quick commands, triggers, Lua sends, scripts, and timers. If an alias or variable expansion creates a separated command bundle, the expanded commands are split before sending.
To send the separator literally, prefix it with a backslash. For example, say hello \;; world sends say hello ;; world. If your separator is -.-, use \-.- to send -.- without splitting.
Password input ignores command separation and sends exactly what you type.
Command Limits
Each command sent to the MUD must fit within 8 KiB. Commands generated by aliases, triggers, scripts, or command separation follow the same limit.
Sending too many commands in a short time can detach your browser connection. If you see a message-rate error, stop rapid sends or looping automation, wait, and reconnect. Break large command bundles into smaller batches. A rejected command is not automatically queued for later delivery.
Client Commands
Commands beginning with / are handled by PlayMUD.online before aliases and before anything is sent to the MUD.
/help
/print_var gmcp.Char.Vitals
/pv batclient.vitals
/?
/help lists available client commands. /print_var, /printvar, and /pv print readable GMCP, BatClient, state, variable, or settings data in the current terminal.
Fonts, Size And Line Spacing
Terminal font, font size, and line spacing are configured separately for desktop and mobile. Desktop Settings can edit both preferences; the mobile More view edits the mobile preferences directly.
Font choices are safe monospace presets available on the device. If a selected font is not installed, its configured fallback is used. Sizes are limited to 5-24 pixels to keep terminal controls usable.
For denser output, lower Line spacing: 1.00 is tight, 1.10 is compact, and 1.35 is the default. You can choose values from 1.00 to 1.60 in steps of 0.05. Empty lines follow the same spacing. These preferences save with your settings for the selected MUD.
Backgrounds
If your PlayMUD.online site has terminal backgrounds available, Settings lists them by name. Pick one and choose an opacity to place it behind terminal output.
The saved setting stores only the selected background name and opacity percentage. Unknown background names are ignored when settings are saved.
Connection Resume
PlayMUD.online keeps active MUD sessions tied to your profile and selected server. Closing or refreshing the browser only detaches the page; returning with the same logged-in profile resumes the selected server session automatically when possible.
- A limited recent history is replayed when needed; the default is 200 lines.
- Replayed output does not send trigger commands or run Lua automation. Highlighting can still apply.
- Triggers do not run while every browser is detached.
- Other active server sessions stream into their own terminal buffers while you view one server.
- Clicking Disconnect explicitly closes the selected MUD server session.
- Logging out detaches the browser and preserves MUD sessions for a later authenticated return.
- Disconnect, expiry of a detached session, account disablement, a password reset by the site operator, a MUD disconnect, or a PlayMUD.online restart can end a MUD session.
A resumed connection keeps the original MUD server and charset. Selecting another active server makes it visible, restores its scoped client data, and keeps the previous server online until you disconnect it.
Background and detached MUD sessions still count toward your account's connection allowance. Use Disconnect to free a slot; closing the tab alone does not free it.
Charsets
The charset selector controls how incoming MUD text is decoded before it appears in the browser. Current options include UTF-8, Latin-1, ISO-8859-10, Latin-10, Latin-11, and Windows-1252.