{"id":19730564,"url":"https://github.com/begriffs/posix-man","last_synced_at":"2025-02-27T20:22:23.501Z","repository":{"id":141768193,"uuid":"306518944","full_name":"begriffs/posix-man","owner":"begriffs","description":"Man pages for POSIX (sections 0,1,3; issues 6 and 7)","archived":false,"fork":false,"pushed_at":"2020-10-23T03:23:20.000Z","size":3651,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T17:50:13.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/begriffs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-23T03:22:55.000Z","updated_at":"2024-10-01T13:13:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"d04c3cef-28ac-4ba3-9a2a-75c0019a94a3","html_url":"https://github.com/begriffs/posix-man","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fposix-man","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fposix-man/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fposix-man/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fposix-man/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/begriffs","download_url":"https://codeload.github.com/begriffs/posix-man/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241055932,"owners_count":19901686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T00:16:48.613Z","updated_at":"2025-02-27T20:22:23.496Z","avatar_url":"https://github.com/begriffs.png","language":"Roff","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Man pages for POSIX\n\nThese files allow you to easily consult the POSIX documentation for man\nsections 1 and 3. It also contains a \"section 0\" for header files.\n\nIt contains Issue 6 (POSIX.1-2001) and Issue 7 (POSIX.1-2008).\n\n### Accessing from vim\n\nPressing `K` in vim brings up the man page for the word under the cursor.  In\nfact, `nK` bring up section `n`. Sadly `0K` does not work, so section 0 is\ninaccessible through Vim.\n\nThe man pages in the upstream Debian package use sections 0P, 1P, and 3P,\nwhich would be incompatible with vim, so I changed them to plain numbers.\n\nTo point Vim to the POSIX man pages, do this:\n\n```bash\ngit clone https://github.com/begriffs/posix-man\n```\n\nThen in your vim configuration (like an ftplugin for c and sh files):\n\n```viml\nsetlocal keywordprg=man\\ -M\\ /path/to/posix-man/issue7\n```\n\nThe irony is not lost on me that -M or MANPATH is not supported by POSIX's own\nman interface.\n\n### Alternatives\n\nJune Bug's [exman](https://git.causal.agency/exman/about/exman.1) program\nallows you to consult multiple sets of man pages on the same system. This\ndidn't exactly fit the bill for me because I wanted to remove the P from\nsections, and also wanted to strip the Linux preamble from the POSIX pages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fposix-man","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbegriffs%2Fposix-man","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fposix-man/lists"}