Skip to content

Potential extension to the behavior of the cmdline/COMMAND column #20

@mforthewin

Description

@mforthewin

One idea not addressed in #17 was that the truncation of the cmdline contents in the COMMAND column of zps's output maybe should be adapted to allow longer output depending on the number of available terminal columns. An example of this would be ps, which attempts to display the contents up to the line limit of the interactive terminal, unless stdout is piped to a different program's stdin – like grep, for example –, in which case the whole cmdline is displayed.

Introducing this functionality would still have one issue, however: Users looking for a specific substring in the interactive output of zps would not find every match that grep-ing would show, due to differences in the maximum line lengths and occurring truncation.
Thus, it might actually be desirable to actually limit the lengths in any case, so users are required to check the contents through alternative sources/programs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions