mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-12 01:53:58 +03:00
60e27afe74
templates: upload to svn, add to ISO/res/templates git-svn-id: svn://kolibrios.org@7544 a494cfbc-eb01-0410-851d-a64ba20cac60
34 lines
3.5 KiB
Bash
34 lines
3.5 KiB
Bash
#SHS
|
||
|
||
echo Table for 16-color terminal escape sequences.
|
||
echo Replace ESC with \033 in bash.
|
||
|
||
echo Background | Foreground colors
|
||
echo ---------------------------------------------------------------------
|
||
echo [0m ESC[40m | [40m[30m [30m [40m[31m [31m [40m[32m [32m [40m[33m [33m [40m[34m [34m [40m[35m [35m [40m[36m [36m [40m[37m [37m [0m
|
||
echo [0m ESC[40m | [40m[1;30m [1;30m[40m[1;31m [1;31m[40m[1;32m [1;32m[40m[1;33m [1;33m[40m[1;34m [1;34m[40m[1;35m [1;35m[40m[1;36m [1;36m[40m[1;37m [1;37m[0m
|
||
echo ---------------------------------------------------------------------
|
||
echo [0m ESC[41m | [41m[30m [30m [41m[31m [31m [41m[32m [32m [41m[33m [33m [41m[34m [34m [41m[35m [35m [41m[36m [36m [41m[37m [37m [0m
|
||
echo [0m ESC[41m | [41m[1;30m [1;30m[41m[1;31m [1;31m[41m[1;32m [1;32m[41m[1;33m [1;33m[41m[1;34m [1;34m[41m[1;35m [1;35m[41m[1;36m [1;36m[41m[1;37m [1;37m[0m
|
||
echo ---------------------------------------------------------------------
|
||
echo [0m ESC[42m | [42m[30m [30m [42m[31m [31m [42m[32m [32m [42m[33m [33m [42m[34m [34m [42m[35m [35m [42m[36m [36m [42m[37m [37m [0m
|
||
echo [0m ESC[42m | [42m[1;30m [1;30m[42m[1;31m [1;31m[42m[1;32m [1;32m[42m[1;33m [1;33m[42m[1;34m [1;34m[42m[1;35m [1;35m[42m[1;36m [1;36m[42m[1;37m [1;37m[0m
|
||
echo ---------------------------------------------------------------------
|
||
echo [0m ESC[43m | [43m[30m [30m [43m[31m [31m [43m[32m [32m [43m[33m [33m [43m[34m [34m [43m[35m [35m [43m[36m [36m [43m[37m [37m [0m
|
||
echo [0m ESC[43m | [43m[1;30m [1;30m[43m[1;31m [1;31m[43m[1;32m [1;32m[43m[1;33m [1;33m[43m[1;34m [1;34m[43m[1;35m [1;35m[43m[1;36m [1;36m[43m[1;37m [1;37m[0m
|
||
echo ---------------------------------------------------------------------
|
||
echo [0m ESC[44m | [44m[30m [30m [44m[31m [31m [44m[32m [32m [44m[33m [33m [44m[34m [34m [44m[35m [35m [44m[36m [36m [44m[37m [37m [0m
|
||
echo [0m ESC[44m | [44m[1;30m [1;30m[44m[1;31m [1;31m[44m[1;32m [1;32m[44m[1;33m [1;33m[44m[1;34m [1;34m[44m[1;35m [1;35m[44m[1;36m [1;36m[44m[1;37m [1;37m[0m
|
||
echo ---------------------------------------------------------------------
|
||
echo [0m ESC[45m | [45m[30m [30m [45m[31m [31m [45m[32m [32m [45m[33m [33m [45m[34m [34m [45m[35m [35m [45m[36m [36m [45m[37m [37m [0m
|
||
echo [0m ESC[45m | [45m[1;30m [1;30m[45m[1;31m [1;31m[45m[1;32m [1;32m[45m[1;33m [1;33m[45m[1;34m [1;34m[45m[1;35m [1;35m[45m[1;36m [1;36m[45m[1;37m [1;37m[0m
|
||
echo ---------------------------------------------------------------------
|
||
echo [0m ESC[46m | [46m[30m [30m [46m[31m [31m [46m[32m [32m [46m[33m [33m [46m[34m [34m [46m[35m [35m [46m[36m [36m [46m[37m [37m [0m
|
||
echo [0m ESC[46m | [46m[1;30m [1;30m[46m[1;31m [1;31m[46m[1;32m [1;32m[46m[1;33m [1;33m[46m[1;34m [1;34m[46m[1;35m [1;35m[46m[1;36m [1;36m[46m[1;37m [1;37m[0m
|
||
echo ---------------------------------------------------------------------
|
||
echo [0m ESC[47m | [47m[30m [30m [47m[31m [31m [47m[32m [32m [47m[33m [33m [47m[34m [34m [47m[35m [35m [47m[36m [36m [47m[37m [37m [0m
|
||
echo [0m ESC[47m | [47m[1;30m [1;30m[47m[1;31m [1;31m[47m[1;32m [1;32m[47m[1;33m [1;33m[47m[1;34m [1;34m[47m[1;35m [1;35m[47m[1;36m [1;36m[47m[1;37m [1;37m[0m
|
||
echo ---------------------------------------------------------------------
|
||
|
||
|