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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
INIT
UTF8 1
WANTSTATE
!Set clipboard; final chunk len 4
PUSH "\e]52;c;SGVsbG8s\e\\"
selection-set mask=0001 ["Hello,"]
!Set clipboard; final chunk len 3
PUSH "\e]52;c;SGVsbG8sIHc=\e\\"
selection-set mask=0001 ["Hello, w"]
!Set clipboard; final chunk len 2
PUSH "\e]52;c;SGVsbG8sIHdvcmxkCg==\e\\"
selection-set mask=0001 ["Hello, world\n"]
!Set clipboard; split between chunks
PUSH "\e]52;c;SGVs"
selection-set mask=0001 ["Hel"
PUSH "bG8s\e\\"
selection-set mask=0001 "lo,"]
!Set clipboard; split within chunk
PUSH "\e]52;c;SGVsbG"
selection-set mask=0001 ["Hel"
PUSH "8s\e\\"
selection-set mask=0001 "lo,"]
!Set clipboard; empty first chunk
PUSH "\e]52;c;"
PUSH "SGVsbG8s\e\\"
selection-set mask=0001 ["Hello,"]
!Set clipboard; empty final chunk
PUSH "\e]52;c;SGVsbG8s"
selection-set mask=0001 ["Hello,"
PUSH "\e\\"
selection-set mask=0001 ]
!Set clipboard; longer than buffer
PUSH "\e]52;c;" . "LS0t"x10 . "\e\\"
selection-set mask=0001 ["-"x15
selection-set mask=0001 "-"x15]
!Clear clipboard
PUSH "\e]52;c;\e\\"
selection-set mask=0001 []
!Set invalid data clears and ignores
PUSH "\e]52;c;SGVs*SGVsbG8s\e\\"
selection-set mask=0001 []
!Query clipboard
PUSH "\e]52;c;?\e\\"
selection-query mask=0001
!Send clipboard; final chunk len 4
SELECTION 1 ["Hello,"]
output "\e]52;c;"
output "SGVsbG8s"
output "\e\\"
!Send clipboard; final chunk len 3
SELECTION 1 ["Hello, w"]
output "\e]52;c;"
output "SGVsbG8s"
output "IHc=\e\\"
!Send clipboard; final chunk len 2
SELECTION 1 ["Hello, world\n"]
output "\e]52;c;"
output "SGVsbG8sIHdvcmxk"
output "Cg==\e\\"
!Send clipboard; split between chunks
SELECTION 1 ["Hel"
output "\e]52;c;"
output "SGVs"
SELECTION 1 "lo,"]
output "bG8s"
output "\e\\"
!Send clipboard; split within chunk
SELECTION 1 ["Hello"
output "\e]52;c;"
output "SGVs"
SELECTION 1 ","]
output "bG8s"
output "\e\\"
|