Function Reference
— Built-in Function: val = whos_line_format ()
— Built-in Function: old_val = whos_line_format (new_val)

Query or set the format string used by the whos.

The following escape sequences may be used in the format:

%a
Prints attributes of variables (g=global, p=persistent, f=formal parameter, a=automatic variable).
%b
Prints number of bytes occupied by variables.
%c
Prints class names of variables.
%e
Prints elements held by variables.
%n
Prints variable names.
%s
Prints dimensions of variables.
%t
Prints type names of variables.

Every command may also have a modifier:

l
Left alignment.
r
Right alignment (this is the default).
c
Centered (may only be applied to command %s).

A command is composed like this:

          %[modifier]<command>[:size_of_parameter[:center-specific[:balance]]];

Command and modifier is already explained. Size_of_parameter tells how many columns the parameter will need for printing. The center-specific parameter may only be applied to command ‘%s’. The balance parameter specifies the offset for printing the dimensions string.

The default format is " %a:4; %ln:6; %cs:16:6:1; %rb:12; %lc:-1;\n".