tcl.who

Verb: Access/TCL, Releases: AP and R83

TCL command which shows the port.number, the user id and the account name.

Syntax

who {port.number} {(options} who {*} {(options} who {user-id} {(options}

Description

displays the port.number, user-id, and account name for the current port, a specified port, or all ports.

'port.number' is the port number whose current account is to be displayed. If not specified, the account for the current port is displayed.

An '*' as the 'port.number', displays the account names for all ports that are logged on.

Options

a Converts output format to AP-style, showing the user-id followed by the account name. This is the default setting and is toggled with the 'c' option.

c Converts output format to R83-style, showing the account name followed by the user-id.

n No pause. Suppresses the pause at the end of the page on the terminal.

z Displays status of all ports, including those not logged on. The account name is displayed as 'unknown' for ports not logged on.

Example

:who
56 bob ref

:who 0
0 unknown

:who (c
[1320] R83 output for WHO display specified.

:who
56 ref bob

:who (a
[1321] AP output for WHO display specified.

:who
56 bob ref

See Also

Command Name Type Description
tcl.what Verb: Access Combines output of 'what', 'where', 'list-locks' and 'sp-status' commands.
tcl.r83.setup Verb: Access Sets user options to r83 defaults.
tcl.lu Verb: Access Invokes 'list-users' command.
basic.user.exits User Exit List of Pick/BASIC user exits.
tcl.wheres Verb: Access Displays execution status and last command for each process.
port.number Definition The port number associated with the process.
tcl.whoall Verb: Access Invokes 'wheres' command.
tcl.who_rp Verb: Access Displays account name and port number.
tcl.listusers_rp Verb: Access Displays currently active users.
ue.000e User Exit Gets the name of the currently logged-to account.
ue.60bb User Exit Returns the user-id (in AP) and account name.
ue.50bb User Exit Returns the port number, user-id and current account name.
ue.d070 User Exit Returns the account name into the input buffer.
ue.71a2 User Exit Returns the port number of the current process
tcl.which Verb: Access Displays system/release information.
basic.system Function Displays status of system-controlled variables.
tcl.list-users Verb: Access Displays currently active users.
tcl.listabs Verb: Access Displays Spooler assignment status for all users, a specific port, or a range of ports.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.