{"id":16935832,"url":"https://github.com/knu/p","last_synced_at":"2026-05-04T23:38:38.926Z","repository":{"id":2731153,"uuid":"3726439","full_name":"knu/p","owner":"knu","description":"p - a lazy wrapper for $PAGER","archived":false,"fork":false,"pushed_at":"2017-05-13T17:05:01.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T01:41:46.536Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-15T08:35:10.000Z","updated_at":"2021-06-27T04:50:19.000Z","dependencies_parsed_at":"2022-07-21T13:18:18.424Z","dependency_job_id":null,"html_url":"https://github.com/knu/p","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knu","download_url":"https://codeload.github.com/knu/p/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739958,"owners_count":20501992,"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-10-13T20:55:27.291Z","updated_at":"2026-05-04T23:38:33.885Z","avatar_url":"https://github.com/knu.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# p - a lazy wrapper for `$PAGER`\n\n## NAME\n\n`p(1) - a lazy wrapper for $PAGER`\n\n## SYNOPSIS\n\n```\np\np ...\n```\n\n## DESCRIPTION\n\n`p(1)` is a lazy wrapper for `$PAGER`, which brings any pager a\nsimilar functionality of the `-F`/`--quit-if-one-screen` option of\n`less(1)`.\n\nWhen invoked as a piped pager (i.e. the standard input is not a\nterminal) without a file argument, it delays a pager invocation until\nit gets more lines than are displayable in the current terminal.  The\nline number limit is estimated by subtracting two from the terminal's\nheight to leave room for shell prompts.\n\nIf any argument is given or the standard input is a terminal, it\nbecomes eager enough to delegate everything to the pager.  This means\ncalling `p` with a `-` (`... | p -`) always invokes the pager even if\nit gets small input.\n\nLastly, if the standard output is not a terminal, it just passes the\nstandard input through to the standard output without calling a pager.\n\n## ENVIRONMENT\n\n- `PAGER`\n\n    The command (or command line) wrapped around and invoked by this\n    wrapper.\n\n## SEE ALSO\n\n[`less(1)`](http://www.freebsd.org/cgi/man.cgi?query=less\u0026sektion=1)\n\n## AUTHOR\n\nCopyright (c) 2012 Akinori MUSHA.\n\nLicensed under the 2-clause BSD license.  See `LICENSE.txt` for\ndetails.\n\nVisit [GitHub Repository](https://github.com/knu/p) for the latest\ninformation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknu%2Fp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fp/lists"}