-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace die.net links with better resources where applicable #5143
Comments
Sounds like a good idea! |
How about https://man7.org? It's seems distro-agnostic (at least the url is), and it's updated very frequently. Two days ago as of 1/31/2021. Once we decide, I'll go through and fix everything. |
Oops sorry I barely even read your message @mebeim! man7.org it is. |
I'll tackle this now. |
Sounds good to me. Although, should a command be distribution specific (e.g. |
@bl-ue oh, sorry I didn't see you were working on this. |
Don't be sorry—I'm glad! I have a lot of things I've assigned myself and I'm glad an energetic helper has shouldered one of the burdens! 🙂 |
Arch manpages are not exclusively used for Arch utilities. Take
Oh, you are concerned about quirky HTML conversions and rendering, I feel your pain. Let me show you something really nice: https://gitlab.archlinux.org/archlinux/archmanweb/-/blob/275f3ee173ae658a6eedc139c49002371192728a/archmanweb/urls.py#L12
This last thing is especially cool cause it enables you to do something like this: Also take, a look at the actual HTML source code of that <!--BEGIN-SITETRACKING-->
<!-- SITETRACKING.man7.org_linux_man-pages -->
<!-- Default Statcounter code for man7.org/linux/man-pages
http://www.man7.org/linux/man-pages -->
<script type="text/javascript">
var sc_project=7422636;
var sc_invisible=1;
var sc_security="9b6714ff";
</script>
<script type="text/javascript"
src="https://www.statcounter.com/counter/counter.js"
async></script>
<noscript><div class="statcounter"><a title="Web Analytics
Made Easy - StatCounter" href="https://statcounter.com/"
target="_blank"><img class="statcounter"
src="https://c.statcounter.com/7422636/0/9b6714ff/1/"
alt="Web Analytics Made Easy -
StatCounter"></a></div></noscript>
<!-- End of Statcounter Code -->
<!-- Start of Google Analytics Code -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9830363-8']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- End of Google Analytics Code -->
<!--END-SITETRACKING--> taken from https://man7.org/linux/man-pages/man8/vmstat.8.html
I propose Arch manpages as default, man7.org as a fallback (in case of page not being present in Arch manpage set), and using distro-specific man frontends where needed. |
For the record here is a complete (check)list of pages pointing to
Generated using rg -l 'linux.die.net' | xargs -n1 basename -s '.md' | sort | xargs -n1 printf '- [ ] %s\n' |
I wrote a quick and dirty script to check for manpages on Arch end:
|
I'm not aware of any RHEL or macOS specific online manpage viewers 🤷 |
@marchersimon Well, I like that you appreciate my opinion on the subject but let's wait for others to have their say and reach a consensus. |
I'd rather we reach explicit consensus here before making the changes. I'd suggest holding off that PR for now, until we reach a decision. @mebeim, @sbrl — you two expressed preference towards man7.org; any thoughts on @vladimyr's comments? |
Thanks for the ping @waldyrious. @vladimyr I see your point and I must agree, it seems that Arch man pages are a way better alternative to TLDR: prefer Arch / other distros to man7/die.net. Sounds good? |
@mebeim do you also think we should prefer Ubuntu manpages over unix.com? I'm trying to understand the motivation for this comment. |
Folks, just a quick heads up, I have made some recent discoveries that actually made me alter my proposal 🙃 |
Ok, I'm back... First I need to clear things up. I wasn't precise enough stating:
They do host stuff that is not necessarily Arch specific but only if it is part of the core Arch package set or distributed through AUR so there is some truth in @mebeim's earlier statement:
What it means is that we still need to fallback to other manpage frontends in cases like the ones I described here: #5143 (comment) @mebeim summarized it well:
Sure that works and it is definitely an upgrade compared to linux.die.net, and a better alternative than man7.org IMHO. However, I still wished for something that will cover all our needs without having to resort to alternatives. Basically, something like https://www.unix.com/man-page-repository.php, covering many different manpage sources and actually user-friendly. (I think it goes without saying but unix.com is out due to horrendous formatting and page bloat, ranging from visual clutter straight up to ads.) And I actually found it by reading archman's README: https://gitlab.archlinux.org/archlinux/archmanweb#similar-projects
It is important to note that manned.org search algorithm is tuned in a such way that in most cases it actually gives you the same content as archman would which is a great thing as AUR is both large and regularly updated. In cases given manpage does not belong in Arch manpage set it will transparently switch to appropriate fallback which essentially means that we don't need to do it manually. It is so good it feels almost like magic! So, to summarise, my new proposal is: let's use manned.org everywhere! 🎉 |
Wow @vladimyr that's a great find! The formatting is nice and simple, and sure enough I found Also this is what they say on the homepage:
Unfortunately, we need to use some other source for Gentoo pages because as they source towards the bottom of the about page (bold mine):
|
Do we even have any Gentoo-only pages? |
In fact, I have no idea! 😄 I was just giving a heads up. |
Which I fully appreciate as I'm known as someone who doesn't read till the end of readme like in archman's case 🙃 With that being said I'm not aware of any online viewer for Gen/Funtoo manpages? I tried searching for the |
Great discussion here. I'm not sure it's as clear-cut though as saying "let's use the Arch Linux man website for everything", because some commands are distro-specific. For example, This said, there are also plenty of commands that are distro-agnostic. Picking a good (and stable / long lasting) website here is a good idea. I do agree that the Arch Linux help pages are very helpful, but I'm unsure about blindly linking to them as a catch-all here, because some man pages there might be distro-specific. So I'm inclined to choose a more neutral contender to solve the issue here. I especially like the suggestion to reference https://manned.org here as our catch-all. As mentioned by @vladimyr above, it seems to be well-maintained - and according to the web archive it has been around in its present form since 2012 (before which it was a website about manned space flight, which started in 2006 and ended in 2010). Of course, for distro-specific man pages I say that we reference the distro's website, but for a catch-all https://manned.org/ is the best thing I've seen (it even has a DuckDuckGo bang: |
There was a short discussion today on Gitter about pages which have "more information" links pointing to
die.net
. As @navarroaxel showed there is man.archlinux.org, which is for Arch Linux programs, and which could be better suited for Arch Linux specific utilities.In general though, we have the same distro-generic set of manual pages that
die.net
offers onman7.org
, which IMHO renders the pages a lot better (sometimesdie.net
pages have syntax errors due to special characters being treated strangely when rendered in HTML, furthermoreman7.org
pages are actually in monospace).Therefore I suggest we convert all "more information" links which are pointing to
die.net
to point toman7.org
instead, and in case the package/command is distro-specific, directly point to the distribution's own manual pages if available, for example:The text was updated successfully, but these errors were encountered: