Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tsm(1)

tsm.info(1)

NAME

tsm.info − get Terminal Session Manager state information

SYNOPSIS

/usr/tsm/bin/tsm.info request

DESCRIPTION

tsm.info is used to obtain information about TSM.  When run from inside a TSM session it returns valid information; otherwise it fails with a non-zero error code.  Information returned is written to standard output.  request can have any of the following values:

is_a_window Succesful (returns zero) if executed from a TSM session, non-zero error code otherwise. 

session_number Writes the session number of the session the tsm.info command is executed in. 

current_session_number
Writes the session_number of the TSM session the user currently has active. 

active_session_numbers
Writes the session numbers (separated by whitespace) of all active sessions (sessions not idle).

idle_session_numbers Writes the session numbers (separated by whitespace) of all idle sessions. 

program_name Writes the program name (as assigned in .tsm or with tsm.command) of the session the tsm.info command is executed in. 

program_name_n Writes the program name of session n.

AUTHOR

tsm.info was developed by Structured Software Solutions, Inc. 

SEE ALSO

tsm(1)

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026