|HP-UX Reference > T
HP-UX 11i Version 3: February 2007
tsm — Terminal Session Manager
tsm allows a user to interact with more than one shell or application (session) from a single terminal. Each session is bound to a virtual device emulating the physical terminal. The emulation includes maintaining display state, softkeys, and terminal modes for each session. The virtual device can be manipulated like the actual terminal by using stty and ioctl (see stty(1) and ioctl(2)). Additionally tsm supports cut and paste between sessions, and provides an interface for a local lp device. Each session has its own process group ID.
A session is current if it is being displayed and is the recipient of keyboard input.
The standard search path is:
./ $HOME $TSMPATH /usr/tsm/
Configuration files and such are searched for in the order indicated and defined by these paths.
There are two methods of interacting with tsm: a pull-down menu, and a command line interface. The pull-down menu (when configured) can be activated from a session by pressing the tsm menu hot key (default is ^T) and should be self explanatory. The command line interface can be activated by pressing the tsm hot key (default is ^W) in a session. Pressing a "hot key" twice passes the "hot key" character to the session instead of activating tsm command or menu mode.
Commands to tsm generally have single character invocation, in some cases the user is prompted for more input. The following commands can be issued from the tsm prompt level:
In general tsm environment variables must be set prior to tsm invocation. TSMLP is the lp(1) name of a printer that gets its output redirected to the printer port of the terminal.
TSMTPATH specifies an alternate search path for tsm files.
TSMTERM specifies an alternate terminal information file to be used by tsm instead of that specified by TERM. TSMHOTKEY specifies an alternate tsm hotkey for invocation ot the tsm command line.
Some operations are not supported on certain terminals.
tsm does not support long user and group names on the current release, HP-UX 11i V3.