Age | Commit message (Collapse) | Author |
|
Initialize INAPP & ERROR fields.
(ps_fmt_clone):
Propagate them.
(ps_fmt_write_proc_stat):
Use them.
|
|
(ps_fmt_clone): New function.
|
|
|
|
(_fmt_create): Get FIELD's precision, not width, from its spec.
|
|
Increment SRC when reading modifiers.
Recognize '^' modifier.
|
|
Change syntax of fields.
Add support for precision and `@', `:', `?', & `!' modifiers.
Add POSIX argument, and support for posix-style format strings.
When using the field name as the title, use the defn, not the user's.
(ps_fmt_write_titles): Implement PS_FMT_FIELD_UPCASE_TITLE.
(ps_fmt_squash): Call FN with the field, not the field's spec.
(ps_fmt_squash_flags): Appropiately modify the function we use.
(ps_fmt_create, ps_fmt_creation_error): Add POSIX argument.
|
|
(ps_fmt_create): Call _fmt_create.
(ps_fmt_creation_error): New function.
|
|
libraries. Other misc cleanups.
|
|
Use the new spec fields.
Now takes a ps_fmt_specs_t instead of an array of specs.
Also fixup call to ps_fmt_specs_find().
(ps_fmt_write_proc_stat): Support new inval field in FMT.
(ps_fmt_set_output_width): New function.
|
|
Use new STREAM parameter instead of old one and count.
|
|
passed just to get correctly capitalized titles. Instead, do things
correctly by making enough room to store our own version of the title string,
which we can do with what we please.
|
|
new more general ps_fmt_squash, which is usable for other things than flags.
Recalculate the set of ps flags needed by the fmt in ps_fmt_squash (which
then allows us to remove more specific code in ps_fmt_squash_flags).
|
|
|
|
Correctly skip prefix-only fields.
|
|
|