Added Cyg-Win

This commit is contained in:
Frank Harris 2026-06-06 18:46:40 -04:00
parent 82cbc206eb
commit 413c315806
10586 changed files with 3806249 additions and 0 deletions

View file

@ -0,0 +1,71 @@
#############################################################################
# Mintty configuration template, with some useful examples -
# uncomment, change settings or add options to your preference.
# This sample config template mainly contains settings that
# cannot be configured in the interactive Options dialog.
# The config file should best be placed in one of these locations:
# $HOME/.minttyrc
# $HOME/.config/mintty/config
# $APPDATA/mintty/config
# (see manual for further options)
# enable a Compose key
#ComposeKey=ctrl
# enhance cursor visibility
#CursorType=block
# enable a VT320 status line
#StatusLine=yes
# enable DECSET 3 column switching by default (also enabled by DECSET 40)
#Enable132ColumnSwitching=yes
# enable terminal reflow on resize (also configurable in Options)
#RewrapOnResize=yes
# enable single-dash long options, e.g. mintty -WSL
#ShortLongOpts=on
# enable wslbridge2 as a WSL launcher
#WSLbridge=2
# new default uses native wsl.exe launcher
#WSLbridge=0
# indicate image space in clipboard
#SixelClipChars=▒
# place image or HTML screenshot files in common location
#default SaveFilename=mintty.%Y-%m-%d_%H-%M-%S
#SaveFilename=~/mintty.%Y-%m-%d_%H-%M-%S
#SaveFilename=$USERPROFILE/Pictures/mintty/mintty.%Y-%m-%d_%H-%M-%S
# place terminal log files in common location
#default Log=mintty.$h.%Y-%m-%d_%H-%M-%S.$p.log
#Log=~/mintty.$h.%Y-%m-%d_%H-%M-%S.$p.log
#Log=/tmp/mintty.$h.%Y-%m-%d_%H-%M-%S.$p.log
# add some useful actions to the extended context menu
#CtxMenuFunctions=Reverse Video:toggle-reverse-video;\
Status line:toggle-status-line;\
BiDi:toggle-bidi;\
Tab bar:toggle-tabbar;\
ScrollLock:toggle-no-scroll;\
Dim margins:toggle-dim-margins;\
Opaque override:toggle-opaque;\
Send Intr:intr;\
New Window here:new-window-cwd;\
Show config files:config-log;\
Suspend screen saver:win-toggle-keep-screen-on;
# add session launchers to the extended context menu
#SessionCommands=WSL:--WSL;Debian:--WSL=Debian;Ubuntu:--WSL=Ubuntu;\
Small Window:--size 60x20;PowerShell:-e powershell;
# define some useful keyboard functions and some examples of user-defined keys
#KeyFunctions=Break:break;\
AW+Left:tab-left;AW+Right:tab-right;\
AW+KP_Left:tab-left;AW+KP_Right:tab-right;\
A+F12:'🤓';AC+F12:`echo -n $( date )`;
#############################################################################

View file

@ -0,0 +1,238 @@
#! /bin/bash
trace () {
# echo $* >&2
true
}
wgetfirst=false
#wgetfirst=true
case "$1" in
-sh) postproc=cat
shift;;
*) postproc=bash;;
esac
case `basename "$PWD"` in
mintty)
echo "You seem to be in a mintty config directory:" >&2
echo " $PWD" >&2
echo "For direct emoji deployment, run this script from its subdirectory 'emojis'." >&2
exit;;
esac
emojisurl0=https://www.unicode.org/emoji/charts/full-emoji-list.html
emojisurl1=https://www.unicode.org/emoji/charts/full-emoji-modifiers.html
download () {
if $wgetfirst
then wget -N -t 1 "$1"
elif type curl
then # prefer curl because it works better behind proxies
if [ -f `basename "$1"` ]
then curl -RO -z `basename "$1"` "$1"
else # avoid "Warning: Illegal date format for -z"
curl -RO "$1"
fi
else wget -N -t 1 "$1"
fi ||
(echo "FILE: $1" >&2
echo "ERROR: download failed, file incomplete" >&2
if [ -f `basename "$1"` ]
then # enforce fresh download next time
touch -d 1970-01-01 `basename "$1"`
fi
return 9
)
}
case "$1" in
""|-h|--help)
echo "Usage: `basename $0` [-d | DIR | .../full-emoji-list.html] [EMOJI_STYLE]..." >&2
echo >&2
echo "This script extracts emojis graphics (.png format) from a downloaded copy of" >&2
echo " $emojisurl0" >&2
echo " $emojisurl1" >&2
echo "for the selected emoji style sets, or (if none selected) all of them:" >&2
echo " google" >&2
echo "and always extracts common emoji graphics." >&2
echo "Other styles are no longer provided at unicode.org:" >&2
echo " [apple facebook windows twitter emojione samsung]" >&2
echo >&2
echo "Options:" >&2
echo " -d Download the chart files" >&2
echo " DIR Expect the chart files in given directory" >&2
echo >&2
echo "Warning: with all styles selected, this may take a while." >&2
echo >&2
if [ `uname` = "Linux" ] && type wslpath 2> /dev/null 1>&2
then echo "Note: for direct deployment from WSL, first go into the common config directory:" >&2
echo ' cd `wslpath "$APPDATA/mintty/emojis"` || cd `wslpath "$APPDATA/wsltty/emojis"`' >&2
else echo "Note: for direct deployment, first go into subdirectory 'emojis' of one of the" >&2
echo "mintty config directories:" >&2
echo ' ~/.mintty' >&2
echo ' ~/.config/mintty' >&2
echo ' $APPDATA/mintty' >&2
echo ' /usr/share/mintty' >&2
fi
exit;;
-d|--download)
if download $emojisurl0 && download $emojisurl1
then emojis0=full-emoji-list.html
emojis1=full-emoji-modifiers.html
else echo Download failed >&2
exit
fi
shift;;
*.html) emojis1=`dirname "$1"`/full-emoji-modifiers.html
if [ -r "$1" -a -r "$emojis1" ]
then emojis0="$1"
else echo Not readable: "$1" "$emojis1" >&2
exit
fi
shift;;
*) if [ -d "$1" ]
then emojis0="$1"/full-emoji-list.html
emojis1="$1"/full-emoji-modifiers.html
if [ -r "$emojis0" -a -r "$emojis1" ]
then true
else echo Not readable: "$emojis0" "$emojis1" >&2
exit
fi
shift
else echo Missing file name of full emoji list >&2
exit
fi;;
esac
echo -n "Using " >&2
cat "$emojis0" | sed -e "s,<title>\(.*\)</title>,\1," -e t -e d >&2
#cat "$emojis0" |
#sed -e "/^<\/tr/ q" -e "s/.*<th.*#col-vendor.>\([^.<]*\).*/\1/" -e t -e d |
#pr -t -n | sed -e "s,^,vendor ," -e 7q
# 11.0:
# vendor 1 Appl
# vendor 2 Goog
# vendor 3 Twtr
# vendor 4 One
# vendor 5 FB
# vendor 6 Sams
# vendor 7 Wind
# 12.0:
# vendor 1 Appl
# vendor 2 Goog
# vendor 3 FB
# vendor 4 Wind
# vendor 5 Twtr
# vendor 6 Joy
# vendor 7 Sams
seli=0
styles=(common)
for vendor in `cat "$emojis0" |
sed -e "/^<\/tr/ q" -e "s/.*<th.*#col-vendor.>\([^.<]*\).*/\1/" -e t -e d |
sed -e 7q`
do seli=`expr $seli + 1`
case "$vendor" in
Appl) st=apple; apple=$seli;;
Sample|Goog) st=google; google=$seli;;
FB) st=facebook; facebook=$seli;;
Wind) st=windows; windows=$seli;;
Twtr) st=twitter; twitter=$seli;;
One|Joy) st=emojione; emojione=$seli;;
Sams) st=samsung; samsung=$seli;;
esac
styles[$seli]=$st
done
case "$1" in
"") #set - apple google facebook windows twitter emojione samsung
set - google
;;
esac
sel=
while case "$1" in
apple) seli="$apple";;
google) seli="$google";;
facebook) seli="$facebook";;
windows) seli="$windows";;
twitter) seli="$twitter";;
joy|emojione) seli="$emojione";;
samsung) seli="$samsung";;
"") false;;
*) echo emoji set "$1" not known; exit;;
esac
do sel="$sel$seli"
mkdir -p "$1"
shift
done
mkdir -p common google
export sel
echo "Warning: this may take a while on Cygwin" >&2
LC_ALL=C
export LC_ALL
total=`grep -e "name='\([^']*\)'.*U+" "$emojis0" "$emojis1" | wc -l`
export total
(
echo "Extracting $total emojis " >&2
echo LC_ALL=C
echo export LC_ALL
echo total=$total
echo sel=$sel
echo "styles=(${styles[*]})"
cat <<\/EOS
n=0
name () {
ename=$1
style=0
n=$(( $n + 1 ))
p=$(( ${n}00 / $total ))
echo "emoji $ename (${p}%)" >&2
}
img0 () {
echo " common $ename.png" >&2
echo "$1" | base64 -d > common/$ename.png
}
imgg () {
echo " google $ename.png" >&2
echo "$1" | base64 -d > google/$ename.png
}
img () {
style=$(( $style + 1 ))
case $sel in
*$style*) echo "$1" | base64 -d > ${styles[$style]}/$ename.png;;
esac
}
imgskip () {
style=$(( $style + 1 ))
case $sel in
*$style*) echo " skip ${styles[$style]}/$ename.png" >&2;;
esac
}
/EOS
cat "$emojis0" "$emojis1" |
sed -e "s/^.*name='\([^']*\)'.*U+.*/name \1/" -e "t name" \
-e "s/.*—.*/imgskip/" -e t \
-e "s@^.*….*src='data:image/png;base64,\([^']*\)'.*src='data:image/png;base64,\([^']*\)'.*@imgg \1\nimg0 \2@" -e t \
-e "s@^.*….*src='data:image/png;base64,\([^']*\)'.*@img0 \1@" -e t \
-e "s@^.*src='data:image/png;base64,\([^']*\)'.*@img \1@" -e t \
-e d \
-e ": name" \
-e "s,_,-,g"
) | $postproc

View file

@ -0,0 +1,164 @@
#! /bin/dash
# this script is 20% faster with dash than with bash
#############################################################################
# download function
download_noto () {
# download noto third-party region flags
if [ -d noto-emoji-flags ]
then if [ -d noto-emoji-flags/.git ]
then (cd noto-emoji-flags; git pull)
else echo WARNING: directory noto-emoji-flags already exists but no git config - Exit
exit 9
fi
else
notogit=https://github.com/googlefonts/noto-emoji
git clone --depth 1 -n --filter=blob:none $notogit noto-emoji-flags
(cd noto-emoji-flags
git sparse-checkout set --no-cone third_party/region-flags/png
git checkout
)
fi
(cd noto-emoji-flags; rm -f *.png; ln third_party/region-flags/png/*.png ./)
}
download_other () {
# download Puellanivis flag emojis
if [ -d puellanivis-flags ]
then if [ -d puellanivis-flags/.git ]
then (cd puellanivis-flags; git pull)
else echo WARNING: directory puellanivis-flags already exists but no git config - Exit
exit 9
fi
else
puelgit=https://github.com/puellanivis/emoji.git
git clone --depth 1 $puelgit puellanivis-flags
fi
(cd puellanivis-flags; rm -f *.png; ln flags/*.png flags/*/*.png ./)
}
download () {
download_noto
# drop download of old Google region flags
#git clone --depth 1 https://github.com/google/region-flags.git google-region-flags &&
#ln google-region-flags/png/*.png google-region-flags/
download_other
}
#############################################################################
# extract emoji files:
# pre-deploy them with proper filename, according to codepoint pattern
extract () {
mkdir -p common
for f in `ls *-flags/*.png`
do e=${f##*/}
e=${e%.png}
if [ -n "$BASH_VERSION" ]
then
e=${e//-}
e=${e//\'}
#else filter them out by missing case below
fi
case $e in
??) # 1F1E6 1F1E8 ; RGI_Emoji_Flag_Sequence
tagseq=false;;
*) # 1F3F4 E0067 E0062 E0065 E006E E0067 E007F; RGI_Emoji_Tag_Sequence; flag: England
tagseq=true;;
esac
if $tagseq
then n=1f3f4
else n=
fi
# speed-up possible by using a common sed script...
for l in $( echo "$e" | tr 'A-Z' 'a-z' | sed -e 's,.,& ,g' )
do d=$( printf %d "'$l'" )
if $tagseq
then case "$l" in
[a-z]|[0-9])
d=$(( $d + 917504 ))
n=$n-$( printf %x $d )
;;
#[a-z]) d=$(( $d - 97 + 917601 )) # 'a' -> U+E0061 ...
# n=$n-$( printf %x $d )
# ;;
#[0-9]) d=$(( $d - 48 + 917552 )) # '0' -> U+E0030 ...
# n=$n-$( printf %x $d )
# ;;
esac
else d=$(( $d - 97 + 127462 )) # U+1F1E6
n=$n-$( printf %x $d )
fi
done
if $tagseq
then n=$n-e007f.png
else n=${n#-}.png
fi
echo "$f -> common/$n"
if [ -L "$f" ]
then # linking a symbolic link while renaming the target
# would yield a dangling link, so copy it
cp "$f" "common/$n"
else ln "$f" "common/$n"
fi
done
}
#############################################################################
# perform download and extraction/deployment
case "$1" in
""|-h|--help)
echo "Usage: `basename $0` [-d | -e | -de]" >&2
echo >&2
echo "This script retrieves flag emojis from various sources." >&2
echo >&2
echo "Options:" >&2
echo " -d Download flags emojis repositories" >&2
echo " -n Download only Noto flags" >&2
echo " -e Extract emoji files with proper filenames into common/" >&2
echo " -de -d and -e" >&2
echo " -ne -n and -e" >&2
echo >&2
if [ `uname` = "Linux" ] && type wslpath 2> /dev/null 1>&2
then echo "Note: for direct deployment from WSL, first go into the common config directory:" >&2
echo ' cd `wslpath "$APPDATA/mintty/emojis"` || cd `wslpath "$APPDATA/wsltty/emojis"`' >&2
else echo "Note: for direct deployment, first go into subdirectory 'emojis' of one of the" >&2
echo "mintty config directories:" >&2
echo ' ~/.mintty' >&2
echo ' ~/.config/mintty' >&2
echo ' $APPDATA/mintty' >&2
echo ' /usr/share/mintty' >&2
fi
exit;;
-n|--download-noto)
download_noto
;;
-ne|--noto)
download_noto
extract
;;
-d|--download)
download
;;
-e|--extract)
extract
;;
-de|--all)
download
extract
;;
esac
#############################################################################
# end

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 KiB

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,132 @@
# re-localize system-localized items (system menu, chooser dialogs)
# to English; use built-in defaults for msgs not listed here
#: wininput.c:151
msgid "&Restore"
msgstr "&Restore"
#: wininput.c:152
msgid "&Move"
msgstr "&Move"
#: wininput.c:153
msgid "&Size"
msgstr "&Size"
#: wininput.c:154
msgid "Mi&nimize"
msgstr "Mi&nimize"
#: wininput.c:155
msgid "Ma&ximize"
msgstr "Ma&ximize"
#: wininput.c:156
msgid "&Close"
msgstr "&Close"
#. __ take notice
#: windialog.c:517
msgid "I see"
msgstr "I see"
#. __ confirm action
#: windialog.c:520
msgid "OK"
msgstr "OK"
#: winctrls.c:910
msgid "&Apply"
msgstr "&Apply"
#: config.c:1879 winctrls.c:906 windialog.c:521
msgid "Cancel"
msgstr "Cancel"
#: winctrls.c:909
msgid "Font "
msgstr "Font"
#: winctrls.c:911
msgid "&Font:"
msgstr "&Font:"
#: winctrls.c:912
msgid "Font st&yle:"
msgstr "Font st&yle:"
#: winctrls.c:913
msgid "&Size:"
msgstr "&Size:"
#: winctrls.c:914
msgid "Sample"
msgstr "Sample"
#. __ font chooser text sample ("AaBbYyZz" by default)
#: winctrls.c:916
msgid "Ferqœm4€"
msgstr "Cwm fjord bank glyphs vext quiz œ4€"
#. __ this field is only shown with OldFontMenu=true
#: winctrls.c:933
msgid "Sc&ript:"
msgstr "Sc&ript:"
#. __ this field is only shown with OldFontMenu=true
#: winctrls.c:935
msgid "<A>Show more fonts</A>"
msgstr "<A>Show more fonts</A>"
#: winctrls.c:939
msgid "Colour "
msgstr "Colour"
#: winctrls.c:952
msgid "Colour"
msgstr "Colour"
#: winctrls.c:947
msgid "B&asic colours:"
msgstr "B&asic colours:"
#: winctrls.c:949
msgid "&Custom colours:"
msgstr "&Custom colours:"
#: winctrls.c:951
msgid "De&fine Custom Colours >>"
msgstr "De&fine Custom Colours >>"
#: winctrls.c:953
msgid "|S&olid"
msgstr "|S&olid"
#: winctrls.c:954
msgid "&Hue:"
msgstr "&Hue:"
#: winctrls.c:955
msgid "&Sat:"
msgstr "&Sat:"
#: winctrls.c:956
msgid "&Lum:"
msgstr "&Lum:"
#: winctrls.c:957
msgid "&Red:"
msgstr "&Red:"
#: winctrls.c:958
msgid "&Green:"
msgstr "&Green:"
#: winctrls.c:959
msgid "&Blue:"
msgstr "&Blue:"
#: winctrls.c:960
msgid "A&dd to Custom Colours"
msgstr "A&dd to Custom Colours"

View file

@ -0,0 +1,143 @@
# re-localize system-localized items (system menu, chooser dialogs)
# to English; use built-in defaults for msgs not listed here
#: wininput.c:151
msgid "&Restore"
msgstr "&Restore"
#: wininput.c:152
msgid "&Move"
msgstr "&Move"
#: wininput.c:153
msgid "&Size"
msgstr "&Size"
#: wininput.c:154
msgid "Mi&nimize"
msgstr "Mi&nimize"
#: wininput.c:155
msgid "Ma&ximize"
msgstr "Ma&ximize"
#: wininput.c:156
msgid "&Close"
msgstr "&Close"
#. __ take notice
#: windialog.c:517
msgid "I see"
msgstr "I see"
#. __ confirm action
#: windialog.c:520
msgid "OK"
msgstr "OK"
#: winctrls.c:910
msgid "&Apply"
msgstr "&Apply"
#: config.c:1879 winctrls.c:906 windialog.c:521
msgid "Cancel"
msgstr "Cancel"
#: winctrls.c:909
msgid "Font "
msgstr "Font"
#: winctrls.c:911
msgid "&Font:"
msgstr "&Font:"
#: winctrls.c:912
msgid "Font st&yle:"
msgstr "Font st&yle:"
#: winctrls.c:913
msgid "&Size:"
msgstr "&Size:"
#: winctrls.c:914
msgid "Sample"
msgstr "Sample"
#. __ font chooser text sample ("AaBbYyZz" by default)
#: winctrls.c:916
msgid "Ferqœm4€"
msgstr "Ferqœm4€"
#. __ this field is only shown with OldFontMenu=true
#: winctrls.c:933
msgid "Sc&ript:"
msgstr "Sc&ript:"
#. __ this field is only shown with OldFontMenu=true
#: winctrls.c:935
msgid "<A>Show more fonts</A>"
msgstr "<A>Show more fonts</A>"
#: winctrls.c:939
msgid "Colour "
msgstr "Color"
#: winctrls.c:952
msgid "Colour"
msgstr "Color"
#: winctrls.c:947
msgid "B&asic colours:"
msgstr "B&asic colors:"
#: winctrls.c:949
msgid "&Custom colours:"
msgstr "&Custom colors:"
#: winctrls.c:951
msgid "De&fine Custom Colours >>"
msgstr "De&fine Custom Colors >>"
#: winctrls.c:953
msgid "|S&olid"
msgstr "|S&olid"
#: winctrls.c:954
msgid "&Hue:"
msgstr "&Hue:"
#: winctrls.c:955
msgid "&Sat:"
msgstr "&Sat:"
#: winctrls.c:956
msgid "&Lum:"
msgstr "&Lum:"
#: winctrls.c:957
msgid "&Red:"
msgstr "&Red:"
#: winctrls.c:958
msgid "&Green:"
msgstr "&Green:"
#: winctrls.c:959
msgid "&Blue:"
msgstr "&Blue:"
#: winctrls.c:960
msgid "A&dd to Custom Colours"
msgstr "A&dd to Custom Colors"
#: config.c:1888
msgid "Colours"
msgstr "Colors"
#: config.c:1978
msgid "Show &bold as colour"
msgstr "Show &bold as color"
msgid "as colour"
msgstr "as color"

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -0,0 +1,23 @@
This directory contains sound files for deployment as mintty bell sounds.
### Mintty bell sounds ###
The BOING sound
is available on [YouTube, BOING.WAV](http://kunalsdatabase.com/ebooks/computer_ebooks/Hacking%20eBooks%20Collection/Hacking/Hacking%20Tools/Hacking%20Tools/HO2K%20v0.1.8.1/HO2K%20v0.1.8.1/).
Other nice boing sounds could be extracted from
[YouTube, Boing 0](https://www.youtube.com/watch?v=iew9op9aPLQ)
or
[YouTube, Boing 2](https://www.youtube.com/watch?v=d7vfbyFl5kc).
Further sounds are selected from a contribution of “naknak”, with some instructions
[how to make bell sounds](https://github.com/mintty/mintty/issues/711#issuecomment-483074839)
from sound sources that may be useful to others.
The sounds are provided under the creative commons license.
Suitable Windows sounds may be `Windows Default.wav`, `Windows Ding.wav`,
`Windows Critical Stop.wav`, from the Windows subfolder `Media`.
To deploy a sound file to be listed in the Options dialog,
simply copy a .wav file into the config subfolder `sounds`
(e.g. in `$HOME/.config/mintty` or `$APPDATA/mintty`).

View file

@ -0,0 +1,21 @@
# source: https://github.com/dracula/mintty
# MIT License
ForegroundColour=248,248,242
BackgroundColour=40,42,54
Black=0,0,0
BoldBlack=104,104,104
Red=255,85,85
BoldRed=255,110,103
Green=80,250,123
BoldGreen=90,247,142
Yellow=241,250,140
BoldYellow=244,249,157
Blue=202,169,250
BoldBlue=202,169,250
Magenta=255,121,198
BoldMagenta=255,146,208
Cyan=139,233,253
BoldCyan=154,237,254
White=191,191,191
BoldWhite=230,230,230

View file

@ -0,0 +1,22 @@
# source: https://github.com/geekjuice/flat-ui-mintty/
# MIT License
ForegroundColour= 236, 240, 241
BackgroundColour= 24, 24, 24
CursorColour= 211, 84, 0
BoldBlack= 52, 73, 94
Black= 44, 62, 80
BoldRed= 231, 76, 60
Red= 192, 57, 43
BoldGreen= 46, 204, 113
Green= 39, 174, 96
BoldYellow= 241, 196, 15
Yellow= 243, 156, 18
BoldBlue= 52, 152, 219
Blue= 41, 128, 185
BoldMagenta= 155, 89, 182
Magenta= 142, 68, 173
BoldCyan= 26, 188, 156
Cyan= 122, 160, 133
BoldWhite= 236, 240, 241
White= 189, 195, 199

View file

@ -0,0 +1,19 @@
ForegroundColour=235,219,178
BackgroundColour=29,32,33
CursorColour=253,157,79
Black=40,40,40
BoldBlack=146,131,116
Red=204,36,29
BoldRed=251,73,52
Green=152,151,26
BoldGreen=184,187,38
Yellow=215,153,33
BoldYellow=250,189,47
Blue=69,133,136
BoldBlue=131,165,152
Magenta=177,98,134
BoldMagenta=211,134,155
Cyan=104,157,106
BoldCyan=142,192,124
White=168,153,132
BoldWhite=235,219,178

View file

@ -0,0 +1,50 @@
# "helmholtz" colour theme for mintty
#
# Copyright (C) 2022 Andy Koppe.
# Licensed under the terms of the MIT License.
#
# The aim of this theme is to provide vibrant colours where the normal and bold
# levels each have approximately equal brightness, with the exception of blue,
# which is somewhat darker than the others to aid its legibility on light
# backgrounds. Additionally, blue, red, magenta and grey have darker variants
# for use as background colours to help legibility of light text on them.
#
# To level the colours, their luminance was calculated as follows:
# - Gamma-expand the sRGB components by dividing each by 255 and applying the
# sRGB transfer function (which approximately means applying exponent 2.2).
# - Combine the components with formula Y = 0.2126 R + 0.7152 G + 0.0722 B.
# - Gamma-compress with the reverse transfer function (approximately: apply
# exponent 1/2.2).
#
# https://en.wikipedia.org/wiki/SRGB
#
# The colours were then adjusted to achieve equal luminance. However, that does
# not actually yield colours with equal apparent brightness. This is due to the
# "Helmholtz-Kohlrausch effect", which means that some saturated colours appear
# brighter than others to the human eye. The theme is named after that.
#
# https://en.wikipedia.org/wiki/Helmholtz-Kohlrausch_effect
#
# There doesn't appear to be a generally valid model for compensating for the
# effect, as it depends on observer, display device, and viewing environment.
# Hence, correction factors were determined experimentally, ranging from 1.0
# for yellow to 1.45 for red, and the colour components adjusted accordingly.
# Of course, that is a highly subjective process ...
Black=0,0,0
Red=212,44,58;162,30,41
Green=28,168,0
Yellow=192,160,0
Blue=0,93,255;0,32,192
Magenta=177,72,198;134,54,150
Cyan=0,168,154
White=191,191,191
BoldBlack=96,96,96;72,72,72
BoldRed=255,118,118
BoldGreen=0,242,0
BoldYellow=242,242,0
BoldBlue=125,151,255
BoldMagenta=255,112,255
BoldCyan=0,240,240
BoldWhite=255,255,255

View file

@ -0,0 +1,35 @@
# https://en.wikipedia.org/wiki/Web_colors#HTML_color_names
# Black #000000 (black)
Black = #000000
# Maroon #800000 (low red)
Red = #800000
# Green #008000 (low green)
Green = #008000
# Olive #808000 (brown)
Yellow = #808000
# Navy #000080 (low blue)
Blue = #000080
# Purple #800080 (low magenta)
Magenta = #800080
# Teal #008080 (low cyan)
Cyan = #008080
# Silver #C0C0C0 (light gray)
White = #C0C0C0
# Gray #808080 (dark gray)
BoldBlack = #808080
# Red #FF0000 (high red)
BoldRed = #FF0000
# Lime #00FF00 (high green); green
BoldGreen = #00FF00
# Yellow #FFFF00 (yellow)
BoldYellow = #FFFF00
# Blue #0000FF (high blue)
BoldBlue = #0000FF
# Fuchsia #FF00FF (high magenta); magenta
BoldMagenta = #FF00FF
# Aqua #00FFFF (high cyan); cyan
BoldCyan = #00FFFF
# White #FFFFFF (white)
BoldWhite = #FFFFFF

View file

@ -0,0 +1,52 @@
# "kohlrausch" colour theme for mintty
#
# Copyright (C) 2022 Andy Koppe.
# Licensed under the terms of the MIT License.
#
# This is a variant of the "helmholtz" theme that has been designed for use
# with a dark text colour and light background, by darkening the foreground
# variants of the normal colours and brightening the background ones.
#
# To level the colours, their luminance was calculated as follows:
# - Gamma-expand the sRGB components by dividing each by 255 and applying the
# sRGB transfer function (which approximately means applying exponent 2.2).
# - Combine the components with formula Y = 0.2126 R + 0.7152 G + 0.0722 B.
# - Gamma-compress with the reverse transfer function (approximately: apply
# exponent 1/2.2).
#
# https://en.wikipedia.org/wiki/SRGB
#
# The colours were then adjusted to achieve equal luminance. However, that does
# not actually yield colours with equal apparent brightness. This is due to the
# "Helmholtz-Kohlrausch effect", which means that some saturated colours appear
# brighter than others to the human eye. The theme is named after that.
#
# https://en.wikipedia.org/wiki/Helmholtz-Kohlrausch_effect
#
# There doesn't appear to be a generally valid model for compensating for the
# effect, as it depends on observer, display device, and viewing environment.
# Hence, correction factors were determined experimentally, ranging from 1.0
# for yellow to 1.45 for red, and the colour components adjusted accordingly.
# Of course, that is a highly subjective process ...
ForegroundColour=32,32,32
BackgroundColour=222,222,222
CursorColour=127,127,127
Black=0,0,0
Red=162,30,41;212,44,58
Green=21,126,0;28,168,0
Yellow=144,120,0;192,160,0
Blue=0,32,192;0,93,255
Magenta=134,54,150;177,72,198
Cyan=0,126,115;0,168,154
White=191,191,191
BoldBlack=96,96,96;127,127,127
BoldRed=255,118,118
BoldGreen=0,242,0
BoldYellow=242,242,0
BoldBlue=125,151,255
BoldMagenta=255,112,255
BoldCyan=0,240,240
BoldWhite=255,255,255

View file

@ -0,0 +1,42 @@
# "luminous" colour theme for mintty
#
# The aim of this theme is to provide vibrant colours where the normal and bold
# levels each have approximately equal luminance. The variants of each colour
# have slightly different hues to help distinguish them.
#
# To level the colours, their luminance was calculated as follows:
# - Gamma-expand the sRGB components by dividing each by 255 and applying the
# sRGB transfer function (which approximately means applying exponent 2.2).
# - Combine the components with formula Y = 0.2126 R + 0.7152 G + 0.0722 B.
# - Gamma-compress with the reverse transfer function (approximately: apply
# exponent 1/2.2).
#
# https://en.wikipedia.org/wiki/SRGB
#
# The colours were then adjusted to achieve equal luminance. However, that does
# not actually yield colours with equal apparent brightness. This is due to the
# "Helmholtz-Kohlrausch effect", which means that some saturated colours appear
# brighter than others to the human eye:
#
# https://en.wikipedia.org/wiki/Helmholtz-Kohlrausch_effect
#
# See also the "helmholtz" and "kohlrausch" themes that attempt to compensate
# for that.
Black=0,0,0
Red=228,0,19
Green=22,132,0
Yellow=135,112,0
Blue=0,102,255
Magenta=190,0,228
Cyan=0,128,117
White=191,191,191
BoldBlack=96,96,96
BoldRed=255,127,127
BoldGreen=0,192,0
BoldYellow=171,171,0
BoldBlue=85,170,255
BoldMagenta=255,102,255
BoldCyan=0,184,184
BoldWhite=255,255,255

View file

@ -0,0 +1,18 @@
# config.c
Black = #000000
Red = #BF0000
Green = #00BF00
Yellow = #BFBF00
Blue = #0000BF
Magenta = #BF00BF
Cyan = #00BFBF
White = #BFBFBF
BoldBlack = #404040
BoldRed = #FF4040
BoldGreen = #40FF40
BoldYellow = #FFFF40
BoldBlue = #6060FF
BoldMagenta = #FF40FF
BoldCyan = #40FFFF
BoldWhite = #FFFFFF

View file

@ -0,0 +1,21 @@
# source: https://iterm2colorschemes.com/
BackgroundColour=31,31,31
ForegroundColour=185,188,186
CursorColour=248,62,25
Black=58,61,67
BoldBlack=136,137,135
Red=190,63,72
BoldRed=251,0,31
Green=135,154,59
BoldGreen=15,114,47
Yellow=197,166,53
BoldYellow=196,112,51
Blue=79,118,161
BoldBlue=24,109,227
Magenta=133,92,141
BoldMagenta=251,0,103
Cyan=87,143,164
BoldCyan=46,112,109
White=185,188,186
BoldWhite=253,255,185

View file

@ -0,0 +1,22 @@
# source: https://github.com/arcticicestudio/nord-mintty
# Apache License
BackgroundColour=46,52,64
ForegroundColour=216,222,233
CursorColour=216,222,233
Black=59,66,82
BoldBlack=76,86,106
Red=191,97,106
BoldRed=191,97,106
Green=163,190,140
BoldGreen=163,190,140
Yellow=235,203,139
BoldYellow=235,203,139
Blue=129,161,193
BoldBlue=129,161,193
Magenta=180,142,173
BoldMagenta=180,142,173
Cyan=136,192,208
BoldCyan=143,188,187
White=229,233,240
BoldWhite=236,239,244

View file

@ -0,0 +1,23 @@
# source: http://www.rosipov.com/blog/mintty-color-scheme-cygwin/
# permission: https://github.com/ruslanosipov/ruslanosipov.github.io/issues/1
ForegroundColour = 131, 148, 150
BackgroundColour = 0, 0, 0
CursorColour = 220, 50, 47
Black = 7, 54, 66
BoldBlack = 0, 43, 54
Red = 220, 50, 47
BoldRed = 203, 75, 22
Green = 0, 200, 132
BoldGreen = 0, 200, 132
Yellow = 204, 204, 102
BoldYellow = 204, 204, 102
Blue = 102, 153, 204
BoldBlue = 102, 153, 204
Magenta = 211, 54, 130
BoldMagenta = 108, 113, 196
Cyan = 42, 161, 152
BoldCyan = 147, 161, 161
White = 238, 232, 213
BoldWhite = 253, 246, 227

View file

@ -0,0 +1,23 @@
# Based off of the theme for vim: https://github.com/jacoborus/tender.vim
# Mintty theme converted by: https://github.com/compEng0001/tender-mintty
# Licence: MIT
BackgroundColour=28,28,28
ForegroundColour=197,200,198
CursorColour=197,200,198
Black=40,40,40
BoldBlack=60,56,54
Red=251,73,52
BoldRed=204,36,29
Green=184,187,38
BoldGreen=152,151,26
Yellow=250,189,47
BoldYellow=215,153,33
Blue=131,165,152
BoldBlue=69,133,136
Magenta=211,134,155
BoldMagenta=177,98,134
Cyan=142,192,155
BoldCyan=104,157,106
White=235,219,178
BoldWhite=251,241,199

View file

@ -0,0 +1,29 @@
# https://en.wikipedia.org/wiki/Video_Graphics_Array#Color_palette
Black = #000000
Blue = #0000aa
Green = #00aa00
Cyan = #00aaaa
Red = #aa0000
Magenta = #aa00aa
# brown:
Yellow = #aa5500
# gray:
White = #aaaaaa
# dark gray:
BoldBlack = #555555
# bright blue:
BoldBlue = #5555ff
# bright green:
BoldGreen = #55ff55
# bright cyan:
BoldCyan = #55ffff
# bright red:
BoldRed = #ff5555
# bright magenta:
BoldMagenta = #ff55ff
# yellow:
BoldYellow = #ffff55
# white:
BoldWhite = #ffffff

View file

@ -0,0 +1,18 @@
# https://blogs.msdn.microsoft.com/commandline/2017/08/02/updating-the-windows-console-colors/
Black = 12,12,12
Blue = 0,55,218
Green = 19,161,14
Cyan = 58,150,221
Red = 197,15,31
Magenta = 136,23,152
Yellow = 193,156,0
White = 204,204,204
BoldBlack = 118,118,118
BoldBlue = 59,120,255
BoldGreen = 22,198,12
BoldCyan = 97,214,214
BoldRed = 231,72,86
BoldMagenta = 180,0,158
BoldYellow = 249,241,165
BoldWhite = 242,242,242

View file

@ -0,0 +1,35 @@
# xterm: XTerm-col.ad, charproc.c; /usr/share/X11/rgb.txt
#*VT100*color0: black
Black = 0,0,0
#*VT100*color1: red3
Red = 205,0,0
#*VT100*color2: green3
Green = 0,205,0
#*VT100*color3: yellow3
Yellow = 205,205,0
#*VT100*color4: blue2
Blue = 0,0,238
#*VT100*color5: magenta3
Magenta = 205,0,205
#*VT100*color6: cyan3
Cyan = 0,205,205
#*VT100*color7: gray90
White = 229,229,229
#*VT100*color8: gray50
BoldBlack = 127,127,127
#*VT100*color9: red
BoldRed = 255,0,0
#*VT100*color10: green
BoldGreen = 0,255,0
#*VT100*color11: yellow
BoldYellow = 255,255,0
#*VT100*color12: rgb:5c/5c/ff
BoldBlue = rgb:5c/5c/ff
#*VT100*color13: magenta
BoldMagenta = 255,0,255
#*VT100*color14: cyan
BoldCyan = 0,255,255
#*VT100*color15: white
BoldWhite = 255,255,255