forked from borisfaure/terminology
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrep.sh
More file actions
executable file
·48 lines (33 loc) · 794 Bytes
/
rep.sh
File metadata and controls
executable file
·48 lines (33 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/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'