tsm.1 (2010 09)
t
tsm(1) tsm(1)
NAME
tsm - Terminal Session Manager
SYNOPSIS
tsm
DESCRIPTION
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 main-
taining display state, softkeys, and terminal modes for each session. The virtual device can be manipu-
lated 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.
Definitions
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.
Commands
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:
0-9 Pressing a number at the command prompt selects the session of the same number to
become the current session.
+ Select the next higher numbered session.
- Select the next lower numbered session.
l Select the last session.
? Display a help screen describing tsm commands.
c Copy (cut): Three types:
• Text (Lines including new-lines). This is the default. Select with
T when cut
prompt is displayed.
• String (Lines strung together with white space in place of new-lines). Select with
T when cut prompt is displayed.
• Block (A rectangle). Select with
T when cut prompt is displayed.
The user is prompted for the "cut extents". The extents are defined by using arrow keys or
the keys
u, d, l, and r to move the cursor as desired. Pressing the space bar aborts the
cut operation. The selected text is placed in the cut buffer. Trailing whitespace and char-
acter attribute information are ignored.
p Paste: the contents of the cut buffer is echoed to the current session as if it were typed
from the keyboard.
r Run a program as a new session. The user is prompted for the program name.
s Start a new session containing a shell.
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1