forked from enlightenment/terminology
49 lines
794 B
Bash
Executable File
49 lines
794 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# fill space with E
|
|
printf '\033[69;1;1;25;80\044x'
|
|
|
|
#set color
|
|
printf '\033[46;31;3m'
|
|
|
|
|
|
# go too far
|
|
printf '\033[1;10H1\033[11111b1'
|
|
|
|
# no arg
|
|
printf '\033[2;10H2\033[b2'
|
|
|
|
# arg = 3
|
|
printf '\033[3;10H3\033[3b1'
|
|
|
|
# arg == 0
|
|
printf '\033[4;10H4\033[0b4'
|
|
|
|
#with snowmen
|
|
printf '\033[5;10H5☃\033[4b'
|
|
|
|
# set top/bottom margins:
|
|
printf '\033[10;20r'
|
|
# allow left/right margins
|
|
printf '\033[?69h'
|
|
# set left/right margins:
|
|
printf '\033[6;15s'
|
|
# fill margin with @
|
|
printf '\033[64;10;6;20;15\044x'
|
|
|
|
# From inside to outside
|
|
printf '\033[12;12HA\033[20`A'
|
|
|
|
# From outside (on the left) to outside (on the right)
|
|
printf '\033[12;2HB\033[40bB'
|
|
|
|
# restrict cursor
|
|
printf '\033[?6h'
|
|
|
|
# From inside to outside
|
|
printf '\033[2;2HC\033[40bC'
|
|
|
|
# From inside to inside
|
|
printf '\033[4;4HD\033[6bD'
|
|
|