Re: systat colors?
On Thu, Nov 10, 2011, Joe wrote: > Has anyone already modified systat to support colored text? No, nor will they. colorized utilities are not particularly welcome. (i mean, you can do it, but don't expect such patches to be accepted.)
Re: systat colors?
On 11/10/11 16:41, Ted Unangst wrote: On Thu, Nov 10, 2011, Joe wrote: Has anyone already modified systat to support colored text? No, nor will they. colorized utilities are not particularly welcome. (i mean, you can do it, but don't expect such patches to be accepted.) But such a systat could live in ports, quite happily. See colorls. --STeve Andre'
Re: systat colors?
* Ted Unangst [2011-11-10 16:41-0500]: > No, nor will they. colorized utilities are not particularly welcome. Amen to that. When I first started using OpenBSD I immediately noticed how colorless everything is. With time, I got this realization that I actually prefer things monochrome. A terminal, OpenBSD and nvi -- what more could one ask for? :)
Re: systat colors?
On Thu, 10 Nov 2011 13:17:21 -0800, Joe wrote: > Has anyone already modified systat to support colored text? > > Easy: 1. xterm -fg red systat 2. Profit!
Re: systat colors?
Use OPENBSD-VM-MIB; extract via SNMP and prettify it later. ~BAS Has anyone already modified systat to support colored text?
Re: systat colors?
On 2011-11-10, STeve Andre' wrote: > On 11/10/11 16:41, Ted Unangst wrote: >> On Thu, Nov 10, 2011, Joe wrote: >>> Has anyone already modified systat to support colored text? >> No, nor will they. colorized utilities are not particularly welcome. >> (i mean, you can do it, but don't expect such patches to be accepted.) >> >> > But such a systat could live in ports, quite happily. See > colorls. Not all that happily. It will keep getting out of sync with the OS.
Re: systat colors?
On 11/11/11 18:58, Stuart Henderson wrote: On 2011-11-10, STeve Andre' wrote: On 11/10/11 16:41, Ted Unangst wrote: On Thu, Nov 10, 2011, Joe wrote: Has anyone already modified systat to support colored text? No, nor will they. colorized utilities are not particularly welcome. (i mean, you can do it, but don't expect such patches to be accepted.) But such a systat could live in ports, quite happily. See colorls. Not all that happily. It will keep getting out of sync with the OS. OK, point taken. But if the 'color systat' was a post-processor it could take the output and add color escape sequences. That then leaves syncing problems for changes in systat's output itself, which while happening, isn't that common. --STeve Andre'
Re: systat colors?
readelf -d `which systat` ... 0x0001 (NEEDED) Shared library: [libcurses.so.12.1] ... On Fri, Nov 11, 2011 at 8:08 PM, STeve Andre' wrote: > On 11/11/11 18:58, Stuart Henderson wrote: >> >> On 2011-11-10, STeve Andre' B wrote: >>> >>> On 11/10/11 16:41, Ted Unangst wrote: On Thu, Nov 10, 2011, Joe wrote: > > Has anyone already modified systat to support colored text? No, nor will they. B colorized utilities are not particularly welcome. (i mean, you can do it, but don't expect such patches to be accepted.) >>> But such a systat could live in ports, quite happily. B See >>> colorls. >> >> Not all that happily. It will keep getting out of sync with the OS. >> >> > OK, point taken. B But if the 'color systat' was a post-processor > it could take the output and add color escape sequences. > That then leaves syncing problems for changes in systat's > output itself, which while happening, isn't that common. > > --STeve Andre'
Re: systat colors?
If it were a post-processor that took the systats output and colorified it, the only change that would render the two out of sync would be changes to systat's output itself. On 11/11/11 19:48, Andres Perera wrote: readelf -d `which systat` ... 0x0001 (NEEDED) Shared library: [libcurses.so.12.1] ... On Fri, Nov 11, 2011 at 8:08 PM, STeve Andre' wrote: On 11/11/11 18:58, Stuart Henderson wrote: On 2011-11-10, STeve Andre'wrote: On 11/10/11 16:41, Ted Unangst wrote: On Thu, Nov 10, 2011, Joe wrote: Has anyone already modified systat to support colored text? No, nor will they. colorized utilities are not particularly welcome. (i mean, you can do it, but don't expect such patches to be accepted.) But such a systat could live in ports, quite happily. See colorls. Not all that happily. It will keep getting out of sync with the OS. OK, point taken. But if the 'color systat' was a post-processor it could take the output and add color escape sequences. That then leaves syncing problems for changes in systat's output itself, which while happening, isn't that common. --STeve Andre'