Debian Codegraph @

see

raw
1 #! /bin/sh
2
3 INFO='
4 man DefaultRootWindow
5 man XAllowEvents
6 man XGrabButton
7 man XSendEvent
8 man XQueryTree
9 man XQueryPointer
10 man XGetInputFocus
11 man XGetDeviceFocus
12 man XOpenDevice
13 man XSendExtensionEvent
14 less /usr/X11R6/include/X11/X.h
15 less /usr/X11R6/include/X11/keysymdef.h
16 less /usr/X11R6/include/X11/extensions/XTest.h
17 less /usr/X11R6/include/X11/extensions/XInput.h
18 '
19
20 if [ $# -gt 0 ]
21 then
22 `cat << . | grep -i "$1" | awk 'NR==1'
23 $INFO
24 .`
25 else
26 echo -n "Info available:$INFO"
27 fi