1a5ae21e4Smrg#!/bin/sh
204b94745Smrg# $XTermId: pointer-shapes.sh,v 1.2 2021/11/11 17:47:07 tom Exp $
3a5ae21e4Smrg# -----------------------------------------------------------------------------
4a5ae21e4Smrg# this file is part of xterm
5a5ae21e4Smrg#
6a5ae21e4Smrg# Copyright 2021 by Thomas E. Dickey
7a5ae21e4Smrg# 
8a5ae21e4Smrg#                         All Rights Reserved
9a5ae21e4Smrg# 
10a5ae21e4Smrg# Permission is hereby granted, free of charge, to any person obtaining a
11a5ae21e4Smrg# copy of this software and associated documentation files (the
12a5ae21e4Smrg# "Software"), to deal in the Software without restriction, including
13a5ae21e4Smrg# without limitation the rights to use, copy, modify, merge, publish,
14a5ae21e4Smrg# distribute, sublicense, and/or sell copies of the Software, and to
15a5ae21e4Smrg# permit persons to whom the Software is furnished to do so, subject to
16a5ae21e4Smrg# the following conditions:
17a5ae21e4Smrg# 
18a5ae21e4Smrg# The above copyright notice and this permission notice shall be included
19a5ae21e4Smrg# in all copies or substantial portions of the Software.
20a5ae21e4Smrg# 
21a5ae21e4Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22a5ae21e4Smrg# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23a5ae21e4Smrg# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
24a5ae21e4Smrg# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
25a5ae21e4Smrg# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
26a5ae21e4Smrg# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
27a5ae21e4Smrg# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28a5ae21e4Smrg# 
29a5ae21e4Smrg# Except as contained in this notice, the name(s) of the above copyright
30a5ae21e4Smrg# holders shall not be used in advertising or otherwise to promote the
31a5ae21e4Smrg# sale, use or other dealings in this Software without prior written
32a5ae21e4Smrg# authorization.
33a5ae21e4Smrg# -----------------------------------------------------------------------------
34a5ae21e4Smrg# exercise xterm's pointer-shape control
35a5ae21e4Smrg
36a5ae21e4Smrgmap() {
37a5ae21e4Smrg	printf '\033]22;%s\033\\' "$1"
38a5ae21e4Smrg	printf "** %s\n" "$1"
39a5ae21e4Smrg	sleep 2
40a5ae21e4Smrg}
41a5ae21e4Smrg
42a5ae21e4Smrgmap X_cursor
43a5ae21e4Smrgmap arrow
44a5ae21e4Smrgmap based_arrow_down
45a5ae21e4Smrgmap based_arrow_up
46a5ae21e4Smrgmap boat
47a5ae21e4Smrgmap bogosity
48a5ae21e4Smrgmap bottom_left_corner
49a5ae21e4Smrgmap bottom_right_corner
50a5ae21e4Smrgmap bottom_side
51a5ae21e4Smrgmap bottom_tee
52a5ae21e4Smrgmap box_spiral
53a5ae21e4Smrgmap center_ptr
54a5ae21e4Smrgmap circle
55a5ae21e4Smrgmap clock
56a5ae21e4Smrgmap coffee_mug
57a5ae21e4Smrgmap cross
58a5ae21e4Smrgmap cross_reverse
59a5ae21e4Smrgmap crosshair
60a5ae21e4Smrgmap diamond_cross
61a5ae21e4Smrgmap dot
62a5ae21e4Smrgmap dotbox
63a5ae21e4Smrgmap double_arrow
64a5ae21e4Smrgmap draft_large
65a5ae21e4Smrgmap draft_small
66a5ae21e4Smrgmap draped_box
67a5ae21e4Smrgmap exchange
68a5ae21e4Smrgmap fleur
69a5ae21e4Smrgmap gobbler
70a5ae21e4Smrgmap gumby
71a5ae21e4Smrgmap hand1
72a5ae21e4Smrgmap hand2
73a5ae21e4Smrgmap heart
74a5ae21e4Smrgmap icon
75a5ae21e4Smrgmap iron_cross
76a5ae21e4Smrgmap left_ptr
77a5ae21e4Smrgmap left_side
78a5ae21e4Smrgmap left_tee
79a5ae21e4Smrgmap leftbutton
80a5ae21e4Smrgmap ll_angle
81a5ae21e4Smrgmap lr_angle
82a5ae21e4Smrgmap man
83a5ae21e4Smrgmap middlebutton
84a5ae21e4Smrgmap mouse
85a5ae21e4Smrgmap pencil
86a5ae21e4Smrgmap pirate
87a5ae21e4Smrgmap plus
88a5ae21e4Smrgmap question_arrow
89a5ae21e4Smrgmap right_ptr
90a5ae21e4Smrgmap right_side
91a5ae21e4Smrgmap right_tee
92a5ae21e4Smrgmap rightbutton
93a5ae21e4Smrgmap rtl_logo
94a5ae21e4Smrgmap sailboat
95a5ae21e4Smrgmap sb_down_arrow
96a5ae21e4Smrgmap sb_h_double_arrow
97a5ae21e4Smrgmap sb_left_arrow
98a5ae21e4Smrgmap sb_right_arrow
99a5ae21e4Smrgmap sb_up_arrow
100a5ae21e4Smrgmap sb_v_double_arrow
101a5ae21e4Smrgmap shuttle
102a5ae21e4Smrgmap sizing
103a5ae21e4Smrgmap spider
104a5ae21e4Smrgmap spraycan
105a5ae21e4Smrgmap star
106a5ae21e4Smrgmap target
107a5ae21e4Smrgmap tcross
108a5ae21e4Smrgmap top_left_arrow
109a5ae21e4Smrgmap top_left_corner
110a5ae21e4Smrgmap top_right_corner
111a5ae21e4Smrgmap top_side
112a5ae21e4Smrgmap top_tee
113a5ae21e4Smrgmap trek
114a5ae21e4Smrgmap ul_angle
115a5ae21e4Smrgmap umbrella
116a5ae21e4Smrgmap ur_angle
117a5ae21e4Smrgmap watch
118a5ae21e4Smrgmap xterm
119