Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#56639 - [procps-ng] Return to "old" default interface with "--disable-modern-top" configure flag

Attached to Project: Arch Linux
Opened by Jonathon (jonathon) - Friday, 08 December 2017, 21:58 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 09 December 2017, 02:25 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
procps-ng introduced a new default interface that was a sizable step away from the older default, replacing a well-known display of the "top" processes with a red text-based process tree. This spawned a thread (https://bbs.archlinux.org/viewtopic.php?id=189757) where a configure flag was mentioned but not discussed further as a possible default for the PKGBUILD. There's a new thread here: https://bbs.archlinux.org/viewtopic.php?id=232506 (though as of writing there's not much discussion).

Adding "--disable-modern-top" to the PKGBUILD's ./configure returns the default interface to the original/old/usable/plain without (as far as I can tell) affecting any other functionality - all it does is change the default effective .toprc. Existing .toprc files are honoured, and the interface can be reconfigured as normal.

This change would return `top` to being usable-by-default, act the same way as `top` in other distributions (making migration easier), and reduce the time needed to make a commonly-used program usable.

PKGBUILD with minimal change attached.


Additional info:
* package version(s): 3.3.12
* config and/or log files etc. n/a


Steps to reproduce:

With default package:
Launch `top` with default/no .toprc
Observe red text-based process tree, not display of processes using CPU time

With edited PKGBUILD:
Build and install package
Launch `top` with default/no .toprc
Observe traditional white text displaying list of processes using CPU time

   PKGBUILD (1.1 KiB)
This task depends upon

Closed by  Gaetan Bisson (vesath)
Saturday, 09 December 2017, 02:25 GMT
Reason for closing:  Upstream
Comment by Gaetan Bisson (vesath) - Saturday, 09 December 2017, 02:25 GMT
Why would we add `--disable-modern-top` when modern is what Arch Linux strives to be? Upstream made a choice concerning the default interface for their software and I see no good reason to deviate from it. Sure, folks are used to the old interface, but that has never stopped progress.

Just write a `.toprc` to enforce your favorite options; problem solved. And if you really feel strongly about the new interface not matching your definition of "progress" you should bring your suggestions upstream.

Loading...