Linux command
mtm 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start mtm
mtm
Start with specific shell
mtm -s [/bin/zsh]
Start with custom terminal type
mtm -t [screen-256color]
说明
mtm (Micro Terminal Multiplexer) is a minimal terminal multiplexer. It splits a terminal into multiple virtual terminals, each running its own shell. The tool uses a simple keyboard interface with Ctrl-G as the command prefix. Horizontal and vertical splits create flexible layouts. Focus moves between terminals with directional keys. Unlike tmux or screen, mtm focuses on minimalism. It lacks sessions, window management, and extensive configuration. This simplicity makes it suitable for basic split-terminal needs. Terminal emulation supports UTF-8 and basic VT100/VT220 sequences. Complex applications may not render correctly compared to full-featured multiplexers. The small codebase makes mtm easy to understand and modify. It's useful when tmux or screen are unavailable or overkill.
参数
- -s _SHELL_
- Shell to run in terminals.
- -t _TERM_
- Terminal type (TERM environment).
- -T _TERM_
- Terminal type to emulate.
- -c _CHAR_
- Command prefix character.
FAQ
What is the mtm command used for?
mtm (Micro Terminal Multiplexer) is a minimal terminal multiplexer. It splits a terminal into multiple virtual terminals, each running its own shell. The tool uses a simple keyboard interface with Ctrl-G as the command prefix. Horizontal and vertical splits create flexible layouts. Focus moves between terminals with directional keys. Unlike tmux or screen, mtm focuses on minimalism. It lacks sessions, window management, and extensive configuration. This simplicity makes it suitable for basic split-terminal needs. Terminal emulation supports UTF-8 and basic VT100/VT220 sequences. Complex applications may not render correctly compared to full-featured multiplexers. The small codebase makes mtm easy to understand and modify. It's useful when tmux or screen are unavailable or overkill.
How do I run a basic mtm example?
Run `mtm` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s _SHELL_ do in mtm?
Shell to run in terminals.