{"id":18274495,"url":"https://github.com/lilydjwg/stdoutisatty","last_synced_at":"2025-04-05T03:30:38.527Z","repository":{"id":138713357,"uuid":"11278431","full_name":"lilydjwg/stdoutisatty","owner":"lilydjwg","description":"Make programs think their stdout is a tty / terminal.","archived":false,"fork":false,"pushed_at":"2024-12-02T14:04:38.000Z","size":10,"stargazers_count":45,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-20T21:22:27.539Z","etag":null,"topics":["isatty","ld-preload","linux","stdout"],"latest_commit_sha":null,"homepage":null,"language":"C","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/lilydjwg.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2013-07-09T09:30:38.000Z","updated_at":"2025-01-17T10:04:02.000Z","dependencies_parsed_at":"2023-07-08T00:02:50.003Z","dependency_job_id":null,"html_url":"https://github.com/lilydjwg/stdoutisatty","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilydjwg%2Fstdoutisatty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilydjwg%2Fstdoutisatty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilydjwg%2Fstdoutisatty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilydjwg%2Fstdoutisatty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lilydjwg","download_url":"https://codeload.github.com/lilydjwg/stdoutisatty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284911,"owners_count":20913691,"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":["isatty","ld-preload","linux","stdout"],"created_at":"2024-11-05T12:09:42.737Z","updated_at":"2025-04-05T03:30:38.506Z","avatar_url":"https://github.com/lilydjwg.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Make programs think their stdout is a tty / terminal.\n\nBuild \u0026 Install\n---------------\n::\n\n$ mkdir -p build \u0026\u0026 cd build\n$ cmake ..\n$ make\n$ sudo make install\n$ sudo ldconfig\n\nUsage\n-----\nJust prefix your command with ``stdoutisatty``::\n\n$ stdoutisatty ls --color=auto | less\n\nUse a two-character environment variable ``ISATTY`` to specify whether you want stdout and/or stderr to be treated as a tty:\n\n.. list-table::\n   :header-rows: 1\n\n   * - ``ISATTY`` value\n     - which isatty\n   * - ``yy``\n     - stdout, stderr\n   * - ``y.``\n     - stdout\n   * - ``.y``\n     - stderr\n\n``.`` indicates any characer other than (lower-cased) ``y``. Only the first two characters are examined (currently).\n\nLinks\n-----\n* `A blog article (Chinese) \u003chttps://blog.lilydjwg.me/2013/7/9/pretend-that-stdout-is-a-tty.39922.html\u003e`_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilydjwg%2Fstdoutisatty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flilydjwg%2Fstdoutisatty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilydjwg%2Fstdoutisatty/lists"}