{"id":22366733,"url":"https://github.com/vaeth/termcolors-mv","last_synced_at":"2025-09-08T20:42:44.587Z","repository":{"id":4892664,"uuid":"6048211","full_name":"vaeth/termcolors-mv","owner":"vaeth","description":"256colors sample script and dircolors configuration for standard or 256 colors","archived":false,"fork":false,"pushed_at":"2025-09-07T15:44:06.000Z","size":48,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-07T17:37:45.514Z","etag":null,"topics":["color-scheme","dircolors","dircolors-configuration","dircolors-wrapper","solarized"],"latest_commit_sha":null,"homepage":null,"language":"Perl","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/vaeth.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-10-02T17:01:07.000Z","updated_at":"2025-09-07T15:44:09.000Z","dependencies_parsed_at":"2022-08-18T00:21:27.807Z","dependency_job_id":"cce258f4-c284-4f7a-a584-98bdaf9ead8b","html_url":"https://github.com/vaeth/termcolors-mv","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/vaeth/termcolors-mv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaeth%2Ftermcolors-mv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaeth%2Ftermcolors-mv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaeth%2Ftermcolors-mv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaeth%2Ftermcolors-mv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaeth","download_url":"https://codeload.github.com/vaeth/termcolors-mv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaeth%2Ftermcolors-mv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231509,"owners_count":25245601,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["color-scheme","dircolors","dircolors-configuration","dircolors-wrapper","solarized"],"created_at":"2024-12-04T18:15:27.509Z","updated_at":"2025-09-08T20:42:44.568Z","avatar_url":"https://github.com/vaeth.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# termcolors-mv\n\n(C) Martin Väth \u003cmartin at mvath.de\u003e\nThis project is under the MIT license\nSPDX-License-Identifier: MIT\n\n256colors sample script, dircolors configuration files, and a dircolors wrapper\n\nFor gentoo, the package is available over the mv overlay (via layman).\n\nThis package contains two scripts and some \"dircolors\" colorschemes,\nall appropriate for unix type terminals with 8/16 and 256 colors.\n\nTo create the dircolor schemes create e.g. the directory `etc/dir_colors`\nor `lib/dir_colors`, change into it, and call the `bin/DIR_COLORS-create`\nscript (perl is needed).\nThese colorschemes are appropriate for 8/16 colors or 256 colors, respectively,\nand they were developed for standard system colors and\nEthan Schoonover's solarized colorscheme, respectively.\n\nThe system color schemes are developed for black background terminals, only.\n\nThe solarized versions work with both, light and dark versions of\nthe solarized colorscheme, and if you use them you are responsible on your\nown to set the terminal colors so that the 8/16 system colors are mapped\nto the colors from the solarized scheme.\nThe 256-color solarized scheme adds some more colors to the original scheme\nto allow a richer distinction of files.\n\nTo use the color schemes you can call\n-\t```eval \"`dircolors [path to desired color scheme]`\"```\n\nFor a fixed installation, I recommend to copy `etc/dir_colors/*`\n(or `lib/dir_colors/*`) to one of the directories\n-\t`$DEFAULTS/dir_colors/`\n-\t`$HOME/.dir_colors/`\n-\t`$HOME/.config/dir_colors/`\n-\t`/etc/dir_colors/`\n-\t`/usr/lib/dir_colors/`\n-\t`/lib/dir_colors/`\n\nand to use the dircolors-mv wrapper mentioned below which will look for the\nappropriate file in the above directories (in the mentioned order).\n\nThe scripts (in `bin`) are:\n\n### 256colors\n\nA small perl script which just displays 256 colors on capable\nterminals in a systematic manner. The usage should be self-explaining.\nCalling `256colors man` shows you some further options.\n\n### dircolors-mv\n\nThis script is a wrapper for dircolors.\nIf you copy this script into your path you can use\n-\t```eval \"`dircolors-mv`\"```\n\nif you followed the above suggestion about the location (see below).\nThis will pick the corresponding file depending on the environment variables\n-\t`TERM`\n\t(to determine whether the terminal is 8-bit capable by some heuristics)\n-\tSOLARIZED (to determine whether output for solarized is desired)\n-\tDEFAULTS (for the path mentioned above)\n\nIf the heuristics for the terminal does not work for you, just export `TERM`\nlocally, e.g.\n-\t```eval \"`TERM=xterm-256colors dircolors-mv`\"```\n\nwill force a 256 color scheme.\nConcerning the location, the first readable non-directory for the match will\nbe used. This way, there can be e.g. distribution defaults in\n`/usr/lib/dir_colors/` which can be overridden by the local administrator in\n`/etc/dir_colors/` which in turn can be overridden by the user which in turn\ncan be overridden by the environment variable `$DEFAULT`.\nTo protect a file from being used you can e.g. symlink it to `/dev/null`\nin a higher precedence directory.\n\n### DIR_COLORS-create\n\nThis script will generate in the current directory:\n-\t`DIR_COLORS`\n-\t`DIRCOLORS-solarized`\n-\t`DIRCOLORS-256`\n-\t`DIRCOLORS-solarized-256`\n\n(if these files exist they are overridden without any warning).\nThese files are the dircolor schemes for normal and solarized mode in\n8/16 or 256 color terminals, respectively.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaeth%2Ftermcolors-mv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaeth%2Ftermcolors-mv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaeth%2Ftermcolors-mv/lists"}