aboutsummaryrefslogblamecommitdiffstats
path: root/tests/cpl.sh
blob: bee692928158bf91b2135a2f90b4993eae573cd6 (plain) (tree)
1
2
3

                   
                               














                          
                                










                         
                                 




                  
#!/bin/sh
# fill space with E
printf '\033[69;1;1;25;80\044x'
#set color
printf '\033[46;31;3m'

# move to 7; 7
printf '\033[7;7H'
printf 'a\033[Fb'

printf 'c\033[2Fd'
# set top/bottom margins:
printf '\033[10;20r'
# allow left/right margins
printf '\033[?69h'
# set left/right margins:
printf '\033[5;15s'
# fill margin with @
printf '\033[64;10;5;20;15\044x'

# move
printf '\033[12;19H'
printf 'e\033[5Ff'




# set left/right margins:
printf '\033[25;35s'
# fill margin with @
printf '\033[64;10;25;20;35\044x'
# restrict cursor
printf '\033[?6h'
# move
printf '\033[2;2H'
printf 'g\033[5Fh'