Bug 54195
Summary: | ps shouldn't truncate lines when outputing to a pipe | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <eli.venter> |
Component: | procps | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NOTABUG | QA Contact: | Aaron Brown <abrown> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-03-29 12:45:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2001-10-01 14:15:28 UTC
This is a "historical" issue. Use the -w or w argument to make ps not cut the output. It still doesn't seem like it does the "right" thing. When you have a terminal of 80 chars it should truncate to 80 chars. When you pipe the output somewhere it should give the full lines. I guess the real point here is it's very strange to have an xterm with 130 columns when you do ps aux it fills the 130 columns but when you do ps aux | less it truncates to 80 columns. Not truncating when the output is a pipe sounds reasonable. Reopening. Is this fixed in procps-3.1.15? Comments from upstream maintainer: Current behavior differs. There is no correct behavior though; the old behavior was quite reasonable. Failing to truncate lines makes "ps auxe | less" look ugly. Either way, this is a losing situation. Perhaps "ps" should link against curses so that TERM may be used. So not a bug. |