About the CLI Prompt

The CLI prompt lists the current focus, and then displays a greater-than symbol (>) and a blank space. The current focus is the processes and threads to which the next command applies. Here are some examples:

d1.<>

The current focus is the default focus set for each command, which is first user thread in process 1.

g2.3>

The current focus is process 2, thread 3; commands act on the entire group.

t1.7>

The current focus is thread 7 of process 1.

gW3.>

The current focus is all worker threads in the control group that contains process 3.

p3/3

The current focus is all processes in process 3, group 3.

To change the prompt’s appearance, use the dset command to set the PROMPT state variable; for example:

dset PROMPT "Kill this bug! > "