Bug 1127909
Summary: | 'w' command aligns the colums incorrectly | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | giulioo | ||||
Component: | procps-ng | Assignee: | Jan Rybar <jrybar> | ||||
Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.0 | CC: | jkejda, kdudka, lmiksik, ovasik | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-03-27 14:53:28 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1078310 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
giulioo
2014-08-07 19:46:13 UTC
Hello Giulioo. The w FROM issue has already been reported internally in scope of Bug 1078310. But the minor issue with column alignment you mentioned is something I never noticed before. Good catch. I'll fix that upstream and then backport/rebase in scope of RHEL7. Thanks for the report. Regards, Jaromir. Created attachment 1114841 [details]
procps-ng-3.3.10-w-from-column-aligment.patch
After testing the patch uploaded above I noticed that fixing one space makes another misalignment if user tries another w's option (-s for example). Because the spaces in headline are mostly hardcoded (!!!) even within upstream version, it is like hit-a-mole game. The entire headline space computation should be reconsidered to be more dynamic, which may exceed the scope of this BZ. |