Added text caret tracking to simple-at's magnification, and
[platform/core/uifw/at-spi2-atk.git] / test / demo.csh
1 #!/bin/csh
2 echo "This demo requires the festival synthesis system, and modules"
3 echo "'gail'.  It also assumes (for the moment) that the gnome-2.0"
4 echo "libraries are in /opt/gnome-2.0/lib, gnome-2.0 executables are in"
5 echo "/opt/gnome-2.0/bin, and that festival is installed in"
6 echo "/usr/share/festival/festival."
7 echo "***WARNING*** this demo calls bonobo-slay and pkill, so it" 
8 echo "may kill a number of existing processes/applications on your system."
9 echo "you are advised to read and edit the file before use."
10 setenv PATH /opt/gnome-2.0/bin:/bin:/usr/bin:$HOME/gnome/at-spi/test/.libs:/usr/share/festival/festival/bin
11 setenv LD_LIBRARY_PATH /opt/gnome-2.0/lib
12 bonobo-slay
13 pkill festival_server
14 pkill festival
15 pkill sleep
16 pkill magnifier
17 pkill simple-at
18 unsetenv GTK_MODULES
19 setenv MAGNIFIER 1
20 setenv FESTIVAL 1
21 # start the text-to-speech service
22 festival_server &
23
24 # start the simple AT client, which uses the
25 #  MAGNIFIER and FESTIVAL environment variables
26 simple-at &
27
28 # now set GTK_MODULES for use by GTK+ applications
29 # this will cause the gail accessibility support, 
30 # the ferret test tool, and the atk-bridge to be
31 # loaded
32
33 setenv GTK_MODULES "gail:ferret:atk-bridge"
34
35 gtk-demo
36
37 # these might be out of place, if gtk-demo backgrounds
38 # itself
39
40 pkill festival_server
41 pkill festival
42 pkill sleep
43 pkill magnifier
44 pkill simple-at
45