25 lines
436 B
Bash
Executable File
25 lines
436 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# char width: 7
|
|
# char height: 15
|
|
|
|
# set color
|
|
printf '\033[0;31;3m'
|
|
|
|
# clear screen
|
|
printf '\033[2J'
|
|
|
|
# move to 0; 0
|
|
printf '\033[0;0H'
|
|
|
|
printf 'The purpose of computing is insight, not numbers.\r\n'
|
|
printf 'Richard Hamming\r\n'
|
|
|
|
# invalid colors
|
|
printf '\033]12;#ff0\007'
|
|
printf '\033]12;#FfFfFfFf\007'
|
|
printf '\033]12;fff000\007'
|
|
# change cursor color and then query it
|
|
printf '\033]12;#ff00FF\007'
|
|
printf '\033]12;?\007'
|