pick

pick


listbi Index Level .profile
Syntax pick { {-q } {{-n} machine} } {(options}
Category Unix
Type Verb
Description provides a front-end to the Unix 'ap' command.

The 'pick' TCL command is a front end to the Unix command 'ap'. Some care must be taken, however, in its usage since it can create a new Pick user process on top of the existing Pick process.

The TCL command 'ap' is a synonym to the TCL command 'pick'.

The '-q' form gets status information on the current virtual machine. This is the only legitimate and innocuous usage of this command from TCL.

If "machine" (typically specified as "pick0") is not specified, the current virtual machine is assumed. The "-n" flag may be omitted if there is no ambiguity.

If it is really necessary to 'stack' several Pick processes on the same terminal, use "disc (f)" (or the "exit" macro) and NOT the form "disc (n)" to unstack Pick processes. Otherwise, processes will be left 'hanging' and will create confusion.
Options l  Generates the string necessary to automatically log on to the specified virtual machine, as the same user, on the same md and to set the same TERM. This option cannot be used if there is a password, or if the user macro or logon PROC contains any prompt.

q  Quiet. Suppresses all messages.

u  Generates the necessary string to log on to the specified virtual machine as the same user.
See Also power-off get.pick pick0 virtual machine logon PROCs and Macros d3 psr pick
Example ap (l
Connects to the same virtual machine as the current one, logging automatically to the same account, as the same user.

ap dev2 (u
Connects to the virtual machine 'dev2', as the same user. The md is requested, as usual.
Warnings When several Pick processes are stacked on the same terminal, it can be difficult to trace them. The TCL command 'psr' can be used to trace process usage. Also, the shutdown process will have some difficulties terminating the processes underneath a stacked Pick process.
Compatibility D3/Unix
listbi Index Level .profile