2018-11-24 06:46:35 -08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#set color
|
|
|
|
printf '\033[46;31;3m'
|
|
|
|
# fill space with E
|
2018-12-28 08:58:53 -08:00
|
|
|
printf '\033[69;1;1;25;80\044x'
|
2018-11-24 06:46:35 -08:00
|
|
|
# restrict cursor
|
|
|
|
printf '\033[?6h'
|
|
|
|
# set top/bottom margins:
|
|
|
|
printf '\033[10;20r'
|
|
|
|
# allow left/right margins
|
|
|
|
printf '\033[?69h'
|
|
|
|
# set left/right margins:
|
|
|
|
printf '\033[5;15s'
|
|
|
|
# top left corner
|
2018-12-28 08:58:53 -08:00
|
|
|
printf '\033[3;5;12;7\044z'
|
2018-11-24 06:46:35 -08:00
|
|
|
# top right corner
|
2018-12-28 08:58:53 -08:00
|
|
|
printf '\033[8;12;13;17\044z'
|
2018-11-24 06:46:35 -08:00
|
|
|
# bottom left corner
|
2018-12-28 08:58:53 -08:00
|
|
|
printf '\033[18;3;22;8\044z'
|
2018-11-24 06:46:35 -08:00
|
|
|
# top right corner
|
2018-12-28 08:58:53 -08:00
|
|
|
printf '\033[17;14;23;18\044z'
|