This file is indexed.

/usr/share/doc/xmacro/examples/run is in xmacro 0.3pre-20000911-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
mydisp=:5.0

if [ $# -lt 1 ]
then
	echo 'Usage: run <startvfb|stopvfb|rec|play|look|control>'
	exit
fi

case $1 in
	startvfb)
		Xvfb $mydisp -ac -fbdir /tmp -screen 0 800x600x8 &
#		Xvfb $mydisp -fbdir /tmp -screen 0 1024x768x8 &
		icewm -display $mydisp &
#		xmodmap -display $mydisp /usr/X11R6/lib/X11/xmodmap.std
#		/home/keresztg/X/swm-1.0a/usr/X11R6/bin/swm -display $mydisp &
		;;
	stopvfb)
		killall Xvfb
		;;
	rec)
		if [ $# != 2 ]
		then
			echo 'Usage: run rec <output file>'
			exit
		fi
		(xv -geometry +0+0 -nodecor -wait 2 -wloop /tmp/Xvfb_screen0 &) ; ./xmacrorec -k 110 $mydisp > $2
		;;
	play)
		if [ $# != 2 ]
		then
			echo 'Usage: run play <input file>'
			exit
		fi
		./xmacroplay $mydisp < $2
		;;
	look)
		xv -geometry +0+0 -nodecor -wait 2 -wloop /tmp/Xvfb_screen0
		;;
	control)
		(xv -geometry +0+0 -nodecor -wait 2 -wloop /tmp/Xvfb_screen0 &) ; ./xmacrorec -k 110 $mydisp
		;;
esac