wok rev 6527

Add accessx
author Paul Issott <paul@slitaz.org>
date Sun Oct 03 20:25:18 2010 +0000 (2010-10-03)
parents 0627647fa669
children 69c79cf3eb4c
files accessx/receipt accessx/stuff/accessx.diff
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/accessx/receipt	Sun Oct 03 20:25:18 2010 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="accessx"
     1.7 +VERSION="0.951"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Set and display Xkeyboard (XCB) Accessx features."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="tk tcl"
    1.12 +BUILD_DEPENDS="xorg-libX11-dev"
    1.13 +TARBALL="accessx0951.tar.gz"
    1.14 +WEB_SITE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
    1.15 +WGET_URL="http://cita.disability.uiuc.edu/software/accessx/files/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null
    1.21 +	cd $src
    1.22 +	# Patch for deprecated <iostream.h>
    1.23 +	patch -p0 < ../stuff/accessx.diff || exit 1
    1.24 +	make
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	cp -a $src/ax $fs/usr/bin
    1.32 +	cp -a $src/accessx $fs/usr/bin
    1.33 +
    1.34 +	# Change owner & perms accessx
    1.35 +	chown root.root $fs/usr/bin/accessx
    1.36 +	chmod 0755 $fs/usr/bin/accessx
    1.37 +}
    1.38 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/accessx/stuff/accessx.diff	Sun Oct 03 20:25:18 2010 +0000
     2.3 @@ -0,0 +1,549 @@
     2.4 +--- orig.Access.C	2003-09-19 17:08:01.000000000 +0100
     2.5 ++++ Access.C	2010-10-03 12:29:36.000000000 +0100
     2.6 +@@ -19,6 +19,7 @@
     2.7 +  */
     2.8 + 
     2.9 + #include <X11/Xlib.h>
    2.10 ++#include <iostream>
    2.11 + #include <X11/XKBlib.h>
    2.12 + #include "Access.h"
    2.13 + 
    2.14 +@@ -62,43 +63,43 @@
    2.15 + 
    2.16 + void Access::ShowDiagnostics()
    2.17 + {
    2.18 +-  cout << "AccessX Timeout:       " << onoroff(GetAccessXTOState()) << endl;
    2.19 +-  cout << "AccessX Timeout Value: " << GetAccessXDelay() << endl;
    2.20 ++  std::cout << "AccessX Timeout:       " << onoroff(GetAccessXTOState()) << std::endl;
    2.21 ++  std::cout << "AccessX Timeout Value: " << GetAccessXDelay() << std::endl;
    2.22 + 
    2.23 +-  cout << endl;
    2.24 ++  std::cout << std::endl;
    2.25 + 
    2.26 +-  cout << "MouseKeys:             " << onoroff(GetMouseKeysState()) << endl;
    2.27 +-  cout << "  - Delay:             " << GetMouseKeysDelay() << endl;
    2.28 +-  cout << "  - Interval:          " << GetMouseKeysInterval() << endl;
    2.29 +-  cout << "  - T to Max:          " << GetMouseKeysTimeToMax() << endl;
    2.30 +-  cout << "  - Max Speed:         " << GetMouseKeysMaxSpeed() << endl;
    2.31 +-  cout << "  - Curve:             " << GetMouseKeysCurve() << endl;
    2.32 ++  std::cout << "MouseKeys:             " << onoroff(GetMouseKeysState()) << std::endl;
    2.33 ++  std::cout << "  - Delay:             " << GetMouseKeysDelay() << std::endl;
    2.34 ++  std::cout << "  - Interval:          " << GetMouseKeysInterval() << std::endl;
    2.35 ++  std::cout << "  - T to Max:          " << GetMouseKeysTimeToMax() << std::endl;
    2.36 ++  std::cout << "  - Max Speed:         " << GetMouseKeysMaxSpeed() << std::endl;
    2.37 ++  std::cout << "  - Curve:             " << GetMouseKeysCurve() << std::endl;
    2.38 + 
    2.39 +-  cout << endl;
    2.40 ++  std::cout << std::endl;
    2.41 + 
    2.42 +-  cout << "SlowKeys:              " << onoroff(GetSlowKeysState()) << endl;
    2.43 +-  cout << "  - Delay:             " << GetSlowKeysDelay() << endl;
    2.44 ++  std::cout << "SlowKeys:              " << onoroff(GetSlowKeysState()) << std::endl;
    2.45 ++  std::cout << "  - Delay:             " << GetSlowKeysDelay() << std::endl;
    2.46 + 
    2.47 +-  cout << endl;
    2.48 ++  std::cout << std::endl;
    2.49 + 
    2.50 +-  cout << "StickyKeys:            " << onoroff(GetStickyKeysState()) << endl;
    2.51 +-  cout << "  - Latch/Lock:        " << onoroff(GetStickyKeysLatchToLockState())
    2.52 +-       << endl;
    2.53 +-  cout << "  - 2 Key Dis:         " <<
    2.54 +-    onoroff(GetStickyKeysTwoKeyDisableState()) << endl;
    2.55 ++  std::cout << "StickyKeys:            " << onoroff(GetStickyKeysState()) << std::endl;
    2.56 ++  std::cout << "  - Latch/Lock:        " << onoroff(GetStickyKeysLatchToLockState())
    2.57 ++       << std::endl;
    2.58 ++  std::cout << "  - 2 Key Dis:         " <<
    2.59 ++    onoroff(GetStickyKeysTwoKeyDisableState()) << std::endl;
    2.60 + 
    2.61 +-  cout << endl;
    2.62 ++  std::cout << std::endl;
    2.63 + 
    2.64 +-  cout << "BounceKeys:            " << onoroff(GetBounceKeysState()) << endl;
    2.65 +-  cout << "  - Delay:             " << GetBounceKeysDelay() << endl;
    2.66 ++  std::cout << "BounceKeys:            " << onoroff(GetBounceKeysState()) << std::endl;
    2.67 ++  std::cout << "  - Delay:             " << GetBounceKeysDelay() << std::endl;
    2.68 + 
    2.69 +-  cout << endl;
    2.70 ++  std::cout << std::endl;
    2.71 + 
    2.72 +-  cout << "RepeatKeys:            " << onoroff(GetRepeatKeysState()) << endl;
    2.73 +-  cout << "  - Delay:             " << GetRepeatKeysDelay() << endl;
    2.74 +-  cout << "  - Interval:          " << GetRepeatKeysInterval() << endl;
    2.75 ++  std::cout << "RepeatKeys:            " << onoroff(GetRepeatKeysState()) << std::endl;
    2.76 ++  std::cout << "  - Delay:             " << GetRepeatKeysDelay() << std::endl;
    2.77 ++  std::cout << "  - Interval:          " << GetRepeatKeysInterval() << std::endl;
    2.78 + 
    2.79 +-  cout << endl;
    2.80 ++  std::cout << std::endl;
    2.81 + }
    2.82 + 
    2.83 + //
    2.84 +--- orig.Access.h	2003-09-19 17:00:42.000000000 +0100
    2.85 ++++ Access.h	2010-10-03 12:24:20.000000000 +0100
    2.86 +@@ -21,7 +21,7 @@
    2.87 +  *
    2.88 +  */
    2.89 + 
    2.90 +-#include <iostream.h>
    2.91 ++#include <iostream>
    2.92 + #include <math.h>
    2.93 + 
    2.94 + inline char* onoroff(int val)
    2.95 +--- orig.ax.C	2003-09-19 17:09:31.000000000 +0100
    2.96 ++++ ax.C	2010-10-03 12:31:00.000000000 +0100
    2.97 +@@ -62,45 +62,45 @@
    2.98 + 
    2.99 + void showHelp(void) {
   2.100 + 
   2.101 +-  cout << "Usage: accessx [options & option/value pairs]"
   2.102 +-       << endl << endl;
   2.103 +-  cout << "status:                  Show status of AccessX Features" << endl
   2.104 +-       << "help:                    Show this help text" << endl
   2.105 +-       << "loadconfig:              Load the ~/AccessX config file" << endl
   2.106 +-       << endl
   2.107 +-       << "+timeout:                Enable AccessX Timeout" << endl
   2.108 +-       << "-timeout:                Disable AccessX Timeout" << endl
   2.109 +-       << "timeout <value>:         Set AccessX Timeout" << endl
   2.110 +-       << endl
   2.111 +-       << "+mousekeys:              Enable MouseKeys" << endl
   2.112 +-       << "-mousekeys:              Disable MouseKeys" << endl
   2.113 +-       << "mousedelay <value>:      Set MouseKeys Delay" << endl
   2.114 +-       << "mouseinterval <value>:   Set MouseKeys Interval" << endl
   2.115 +-       << "mousetimetomax <value>:  Set MouseKeys time to max speed" << endl
   2.116 +-       << "mousemaxspeed <value>:   Set MouseKeys max speed" << endl
   2.117 +-       << "mousecurve <value>:      Set MouseKeys acceleration curve" << endl
   2.118 +-       << endl
   2.119 +-       << "+slowkeys:               Enable SlowKeys" << endl
   2.120 +-       << "-slowkeys:               Disable SlowKeys" << endl
   2.121 +-       << "slowdelay <value>:       Set SlowKeys Delay" << endl
   2.122 +-       << endl
   2.123 +-       << "+stickykeys:             Enable StickyKeys" << endl
   2.124 +-       << "-stickykeys:             Disable StickyKeys" << endl
   2.125 +-       << "+stickylatchtolock:      Enable S.K. Latch To Lock" << endl
   2.126 +-       << "-stickylatchtolock:      Disbale S.K. Latch To Lock" << endl
   2.127 +-       << "+stickytwokeydisable:    Enable S.K. Two Key Disable" << endl
   2.128 +-       << "-stickytwokeydisable:    Disable S.K. Two Key Disable" << endl
   2.129 +-       << endl
   2.130 +-       << "+bouncekeys:             Enable BounceKeys" << endl
   2.131 +-       << "-bouncekeys:             Disable BounceKeys" << endl
   2.132 +-       << "bouncedelay <value>:     Set Debounce Delay" << endl
   2.133 +-       << endl
   2.134 +-       << "+repeatkeys:             Enable RepeatKeys" << endl
   2.135 +-       << "-repeatkeys:             Disable RepeatKeys" << endl
   2.136 +-       << "repeatdelay <value>:     Set RepeatKeys Delay" << endl
   2.137 +-       << "repeatinterval <value>:  Set RepeatKeys Interval" << endl << endl
   2.138 +-       << "With no options, loads config file." << endl
   2.139 +-       << endl;
   2.140 ++  std::cout << "Usage: accessx [options & option/value pairs]"
   2.141 ++       << std::endl << std::endl;
   2.142 ++  std::cout << "status:                  Show status of AccessX Features" << std::endl
   2.143 ++       << "help:                    Show this help text" << std::endl
   2.144 ++       << "loadconfig:              Load the ~/AccessX config file" << std::endl
   2.145 ++       << std::endl
   2.146 ++       << "+timeout:                Enable AccessX Timeout" << std::endl
   2.147 ++       << "-timeout:                Disable AccessX Timeout" << std::endl
   2.148 ++       << "timeout <value>:         Set AccessX Timeout" << std::endl
   2.149 ++       << std::endl
   2.150 ++       << "+mousekeys:              Enable MouseKeys" << std::endl
   2.151 ++       << "-mousekeys:              Disable MouseKeys" << std::endl
   2.152 ++       << "mousedelay <value>:      Set MouseKeys Delay" << std::endl
   2.153 ++       << "mouseinterval <value>:   Set MouseKeys Interval" << std::endl
   2.154 ++       << "mousetimetomax <value>:  Set MouseKeys time to max speed" << std::endl
   2.155 ++       << "mousemaxspeed <value>:   Set MouseKeys max speed" << std::endl
   2.156 ++       << "mousecurve <value>:      Set MouseKeys acceleration curve" << std::endl
   2.157 ++       << std::endl
   2.158 ++       << "+slowkeys:               Enable SlowKeys" << std::endl
   2.159 ++       << "-slowkeys:               Disable SlowKeys" << std::endl
   2.160 ++       << "slowdelay <value>:       Set SlowKeys Delay" << std::endl
   2.161 ++       << std::endl
   2.162 ++       << "+stickykeys:             Enable StickyKeys" << std::endl
   2.163 ++       << "-stickykeys:             Disable StickyKeys" << std::endl
   2.164 ++       << "+stickylatchtolock:      Enable S.K. Latch To Lock" << std::endl
   2.165 ++       << "-stickylatchtolock:      Disbale S.K. Latch To Lock" << std::endl
   2.166 ++       << "+stickytwokeydisable:    Enable S.K. Two Key Disable" << std::endl
   2.167 ++       << "-stickytwokeydisable:    Disable S.K. Two Key Disable" << std::endl
   2.168 ++       << std::endl
   2.169 ++       << "+bouncekeys:             Enable BounceKeys" << std::endl
   2.170 ++       << "-bouncekeys:             Disable BounceKeys" << std::endl
   2.171 ++       << "bouncedelay <value>:     Set Debounce Delay" << std::endl
   2.172 ++       << std::endl
   2.173 ++       << "+repeatkeys:             Enable RepeatKeys" << std::endl
   2.174 ++       << "-repeatkeys:             Disable RepeatKeys" << std::endl
   2.175 ++       << "repeatdelay <value>:     Set RepeatKeys Delay" << std::endl
   2.176 ++       << "repeatinterval <value>:  Set RepeatKeys Interval" << std::endl << std::endl
   2.177 ++       << "With no options, loads config file." << std::endl
   2.178 ++       << std::endl;
   2.179 + }
   2.180 + 
   2.181 + 
   2.182 +@@ -115,26 +115,26 @@
   2.183 + 
   2.184 + void showRawStatus(Access* ax)
   2.185 + {
   2.186 +-  cout << ax->GetAccessXTOState() << endl;
   2.187 +-  cout << (int)ceil(ax->GetAccessXDelay() / 60.0) << endl;
   2.188 +-  cout << ax->GetMouseKeysState() << endl;
   2.189 +-  cout << (int)ceil(ax->GetMouseKeysTimeToMax() / 1000.0) << endl;
   2.190 +-  cout << ax->GetMouseKeysMaxSpeed() << endl;
   2.191 +-  cout << ax->GetSlowKeysState() << endl;
   2.192 +-  cout << (float)(ax->GetSlowKeysDelay() / 1000.0) << endl;
   2.193 +-  cout << ax->GetStickyKeysState() << endl;
   2.194 +-  cout << ax->GetStickyKeysLatchToLockState() << endl;
   2.195 +-  cout << ax->GetStickyKeysTwoKeyDisableState() << endl;
   2.196 +-  cout << ax->GetBounceKeysState() << endl;
   2.197 +-  cout << (float)(ax->GetBounceKeysDelay() / 1000.0) << endl;
   2.198 +-  cout << ax->GetRepeatKeysState() << endl;
   2.199 +-  cout << (float)(ax->GetRepeatKeysDelay() / 1000.0) << endl;
   2.200 +-  cout << (float)(1000.0 / ax->GetRepeatKeysInterval()) << endl;
   2.201 +-  cout << ToggleKeysToggleSet << endl;
   2.202 +-  cout << SoundOnOffToggleSet << endl;
   2.203 +-  cout << SlowKeysOnAcceptToggleSet << endl;
   2.204 +-  cout << SlowKeysOnPressToggleSet << endl;
   2.205 +-  cout << EnableAccessXToggleSet << endl;
   2.206 ++  std::cout << ax->GetAccessXTOState() << std::endl;
   2.207 ++  std::cout << (int)ceil(ax->GetAccessXDelay() / 60.0) << std::endl;
   2.208 ++  std::cout << ax->GetMouseKeysState() << std::endl;
   2.209 ++  std::cout << (int)ceil(ax->GetMouseKeysTimeToMax() / 1000.0) << std::endl;
   2.210 ++  std::cout << ax->GetMouseKeysMaxSpeed() << std::endl;
   2.211 ++  std::cout << ax->GetSlowKeysState() << std::endl;
   2.212 ++  std::cout << (float)(ax->GetSlowKeysDelay() / 1000.0) << std::endl;
   2.213 ++  std::cout << ax->GetStickyKeysState() << std::endl;
   2.214 ++  std::cout << ax->GetStickyKeysLatchToLockState() << std::endl;
   2.215 ++  std::cout << ax->GetStickyKeysTwoKeyDisableState() << std::endl;
   2.216 ++  std::cout << ax->GetBounceKeysState() << std::endl;
   2.217 ++  std::cout << (float)(ax->GetBounceKeysDelay() / 1000.0) << std::endl;
   2.218 ++  std::cout << ax->GetRepeatKeysState() << std::endl;
   2.219 ++  std::cout << (float)(ax->GetRepeatKeysDelay() / 1000.0) << std::endl;
   2.220 ++  std::cout << (float)(1000.0 / ax->GetRepeatKeysInterval()) << std::endl;
   2.221 ++  std::cout << ToggleKeysToggleSet << std::endl;
   2.222 ++  std::cout << SoundOnOffToggleSet << std::endl;
   2.223 ++  std::cout << SlowKeysOnAcceptToggleSet << std::endl;
   2.224 ++  std::cout << SlowKeysOnPressToggleSet << std::endl;
   2.225 ++  std::cout << EnableAccessXToggleSet << std::endl;
   2.226 + }
   2.227 + 
   2.228 + ///////////////////////////////////////////////////////////////////////////////
   2.229 +@@ -183,7 +183,7 @@
   2.230 +       index++;
   2.231 +       rc = getValue(argv[index], &value);
   2.232 +       if(rc) {
   2.233 +-	cout << "Invalid Option." << endl;
   2.234 ++	std::cout << "Invalid Option." << std::endl;
   2.235 + 	exit(2);
   2.236 +       }
   2.237 +       ax->SetAccessXDelay(value);
   2.238 +@@ -201,7 +201,7 @@
   2.239 +       index++;
   2.240 +       rc = getValue(argv[index], &value);
   2.241 +       if(rc) {
   2.242 +-	cout << "Invalid Option." << endl;
   2.243 ++	std::cout << "Invalid Option." << std::endl;
   2.244 + 	exit(2);
   2.245 +       }
   2.246 +       ax->SetMouseKeysDelay(value);
   2.247 +@@ -210,7 +210,7 @@
   2.248 +       index++;
   2.249 +       rc = getValue(argv[index], &value);
   2.250 +       if(rc) {
   2.251 +-	cout << "Invalid Option." << endl;
   2.252 ++	std::cout << "Invalid Option." << std::endl;
   2.253 + 	exit(2);
   2.254 +       }
   2.255 +       ax->SetMouseKeysInterval(value);
   2.256 +@@ -219,7 +219,7 @@
   2.257 +       index++;
   2.258 +       rc = getValue(argv[index], &value);
   2.259 +       if(rc) {
   2.260 +-	cout << "Invalid Option." << endl;
   2.261 ++	std::cout << "Invalid Option." << std::endl;
   2.262 + 	exit(2);
   2.263 +       }
   2.264 +       ax->SetMouseKeysTimeToMax(value);
   2.265 +@@ -228,7 +228,7 @@
   2.266 +       index++;
   2.267 +       rc = getValue(argv[index], &value);
   2.268 +       if(rc) {
   2.269 +-	cout << "Invalid Option." << endl;
   2.270 ++	std::cout << "Invalid Option." << std::endl;
   2.271 + 	exit(2);
   2.272 +       }
   2.273 +       ax->SetMouseKeysMaxSpeed(value);
   2.274 +@@ -237,7 +237,7 @@
   2.275 +       index++;
   2.276 +       rc = getValue(argv[index], &value);
   2.277 +       if(rc) {
   2.278 +-	cout << "Invalid Option." << endl;
   2.279 ++	std::cout << "Invalid Option." << std::endl;
   2.280 + 	exit(2);
   2.281 +       }
   2.282 +       ax->SetMouseKeysCurve(value);
   2.283 +@@ -255,7 +255,7 @@
   2.284 +       index++;
   2.285 +       rc = getValue(argv[index], &value);
   2.286 +       if(rc) {
   2.287 +-	cout << "Invalid Option." << endl;
   2.288 ++	std::cout << "Invalid Option." << std::endl;
   2.289 + 	exit(2);
   2.290 +       }
   2.291 +       ax->SetSlowKeysDelay(value);
   2.292 +@@ -294,7 +294,7 @@
   2.293 +       index++;
   2.294 +       rc = getValue(argv[index], &value);
   2.295 +       if(rc) {
   2.296 +-	cout << "Invalid Option." << endl;
   2.297 ++	std::cout << "Invalid Option." << std::endl;
   2.298 + 	exit(2);
   2.299 +       }
   2.300 +       ax->SetBounceKeysDelay(value);
   2.301 +@@ -312,7 +312,7 @@
   2.302 +       index++;
   2.303 +       rc = getValue(argv[index], &value);
   2.304 +       if(rc) {
   2.305 +-	cout << "Invalid Option." << endl;
   2.306 ++	std::cout << "Invalid Option." << std::endl;
   2.307 + 	exit(2);
   2.308 +       }
   2.309 +       ax->SetRepeatKeysDelay(value);
   2.310 +@@ -321,7 +321,7 @@
   2.311 +       index++;
   2.312 +       rc = getValue(argv[index], &value);
   2.313 +       if(rc) {
   2.314 +-	cout << "Invalid Option." << endl;
   2.315 ++	std::cout << "Invalid Option." << std::endl;
   2.316 + 	exit(2);
   2.317 +       }
   2.318 +       ax->SetRepeatKeysInterval(value);
   2.319 +@@ -330,7 +330,7 @@
   2.320 +     // AccessX Unknown Features ---------------------------------------------
   2.321 + 
   2.322 +     else {
   2.323 +-      cout << "Unknown Option!" << endl;
   2.324 ++      std::cout << "Unknown Option!" << std::endl;
   2.325 +       exit(1);
   2.326 +     }
   2.327 + 
   2.328 +@@ -490,14 +490,14 @@
   2.329 +       else if(!strcmp(param, "*TimeOutScale.value:")) {
   2.330 + 	rc = getValue(value, &TimeOutScaleValue);
   2.331 + 	if(rc) {
   2.332 +-	  cout << "Invalid Config File Option." << endl;
   2.333 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.334 + 	  exit(10);
   2.335 + 	}
   2.336 +       }
   2.337 +       else if(!strcmp(param, "*TimeOutScale.decimalPoints:")) {
   2.338 + 	rc = getValue(value, &TimeOutScaleDecimalPoints);
   2.339 + 	if(rc) {
   2.340 +-	  cout << "Invalid Config File Option." << endl;
   2.341 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.342 + 	  exit(10);
   2.343 + 	}
   2.344 +       }
   2.345 +@@ -505,7 +505,7 @@
   2.346 +       else if(!strcmp(param, "*KRGSlowKeysDelayScale.value:")) {
   2.347 + 	rc = getValue(value, &KRGSlowKeysDelayScaleValue);
   2.348 + 	if(rc) {
   2.349 +-	  cout << "Invalid Config File Option." << endl;
   2.350 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.351 + 	  exit(10);
   2.352 + 	}
   2.353 +       }
   2.354 +@@ -513,7 +513,7 @@
   2.355 +       else if(!strcmp(param, "*KRGSlowKeysDelayScale.decimalPoints:")) {
   2.356 + 	rc = getValue(value, &KRGSlowKeysDelayScaleDecimalPoints);
   2.357 + 	if(rc) {
   2.358 +-	  cout << "Invalid Config File Option." << endl;
   2.359 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.360 + 	  exit(10);
   2.361 + 	}
   2.362 +       }
   2.363 +@@ -521,7 +521,7 @@
   2.364 +       else if(!strcmp(param, "*MouseMaxSpeedScale.value:")) {
   2.365 + 	rc = getValue(value, &MouseMaxSpeedScaleValue);
   2.366 + 	if(rc) {
   2.367 +-	  cout << "Invalid Config File Option." << endl;
   2.368 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.369 + 	  exit(10);
   2.370 + 	}
   2.371 +       }
   2.372 +@@ -529,7 +529,7 @@
   2.373 +       else if(!strcmp(param, "*MouseMaxSpeedScale.decimalPoints:")) {
   2.374 + 	rc = getValue(value, &MouseMaxSpeedScaleDecimalPoints);
   2.375 + 	if(rc) {
   2.376 +-	  cout << "Invalid Config File Option." << endl;
   2.377 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.378 + 	  exit(10);
   2.379 + 	}
   2.380 +       }
   2.381 +@@ -537,7 +537,7 @@
   2.382 +       else if(!strcmp(param, "*KRGDebounceScale.value:")) {
   2.383 + 	rc = getValue(value, &KRGDebounceScaleValue);
   2.384 + 	if(rc) {
   2.385 +-	  cout << "Invalid Config File Option." << endl;
   2.386 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.387 + 	  exit(10);
   2.388 + 	}
   2.389 +       }
   2.390 +@@ -545,7 +545,7 @@
   2.391 +       else if(!strcmp(param, "*KRGDebounceScale.decimalPoints:")) {
   2.392 + 	rc = getValue(value, &KRGDebounceScaleDecimalPoints);
   2.393 + 	if(rc) {
   2.394 +-	  cout << "Invalid Config File Option." << endl;
   2.395 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.396 + 	  exit(10);
   2.397 + 	}
   2.398 +       }
   2.399 +@@ -553,7 +553,7 @@
   2.400 +       else if(!strcmp(param, "*KRGRepeatDelayScale.value:")) {
   2.401 + 	rc = getValue(value, &KRGRepeatDelayScaleValue);
   2.402 + 	if(rc) {
   2.403 +-	  cout << "Invalid Config File Option." << endl;
   2.404 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.405 + 	  exit(10);
   2.406 + 	}
   2.407 +       }
   2.408 +@@ -561,7 +561,7 @@
   2.409 +       else if(!strcmp(param, "*KRGRepeatDelayScale.decimalPoints:")) {
   2.410 + 	rc = getValue(value, &KRGRepeatDelayScaleDecimalPoints);
   2.411 + 	if(rc) {
   2.412 +-	  cout << "Invalid Config File Option." << endl;
   2.413 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.414 + 	  exit(10);
   2.415 + 	}
   2.416 +       }
   2.417 +@@ -569,7 +569,7 @@
   2.418 +       else if(!strcmp(param, "*KRGRepeatRateScale.value:")) {
   2.419 + 	rc = getValue(value, &KRGRepeatRateScaleValue);
   2.420 + 	if(rc) {
   2.421 +-	  cout << "Invalid Config File Option." << endl;
   2.422 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.423 + 	  exit(10);
   2.424 + 	}
   2.425 +       }
   2.426 +@@ -577,7 +577,7 @@
   2.427 +       else if(!strcmp(param, "*KRGRepeatRateScale.decimalPoints:")) {
   2.428 + 	rc = getValue(value, &KRGRepeatRateScaleDecimalPoints);
   2.429 + 	if(rc) {
   2.430 +-	  cout << "Invalid Config File Option." << endl;
   2.431 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.432 + 	  exit(10);
   2.433 + 	}
   2.434 +       }
   2.435 +@@ -585,7 +585,7 @@
   2.436 +       else if(!strcmp(param, "*MouseTimeToMaxScale.value:")) {
   2.437 + 	rc = getValue(value, &MouseTimeToMaxScaleValue);
   2.438 + 	if(rc) {
   2.439 +-	  cout << "Invalid Config File Option." << endl;
   2.440 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.441 + 	  exit(10);
   2.442 + 	}
   2.443 +       }
   2.444 +@@ -593,13 +593,13 @@
   2.445 +       else if(!strcmp(param, "*MouseTimeToMaxScale.decimalPoints:")) {
   2.446 + 	rc = getValue(value, &MouseTimeToMaxScaleDecimalPoints);
   2.447 + 	if(rc) {
   2.448 +-	  cout << "Invalid Config File Option." << endl;
   2.449 ++	  std::cout << "Invalid Config File Option." << std::endl;
   2.450 + 	  exit(10);
   2.451 + 	}
   2.452 +       }
   2.453 + 
   2.454 +       else {
   2.455 +-	cout << "Invalid Config File Parameter." << endl;
   2.456 ++	std::cout << "Invalid Config File Parameter." << std::endl;
   2.457 + 	exit(10);
   2.458 +       }
   2.459 +     }
   2.460 +@@ -621,7 +621,7 @@
   2.461 +       SlowKeysDelayValue /= 10;
   2.462 + 
   2.463 +     if(SlowKeysDelayValue == 0) {
   2.464 +-      cout << "Config File: Slow Keys Delay Cannot Be Zero." << endl;
   2.465 ++      std::cout << "Config File: Slow Keys Delay Cannot Be Zero." << std::endl;
   2.466 +       exit(10);
   2.467 +     }
   2.468 + 
   2.469 +@@ -629,7 +629,7 @@
   2.470 +       TimeOutValue /= 10;
   2.471 + 
   2.472 +     if(TimeOutValue == 0) {
   2.473 +-      cout << "Config File: Timeout Value Cannot Be Zero." << endl;
   2.474 ++      std::cout << "Config File: Timeout Value Cannot Be Zero." << std::endl;
   2.475 +       exit(10);
   2.476 +     }
   2.477 + 
   2.478 +@@ -637,7 +637,7 @@
   2.479 +       MouseMaxSpeedValue /= 10;
   2.480 + 
   2.481 +     if(MouseMaxSpeedValue == 0) {
   2.482 +-      cout << "Config File: Mouse Keys Max Speed Cannot Be Zero." << endl;
   2.483 ++      std::cout << "Config File: Mouse Keys Max Speed Cannot Be Zero." << std::endl;
   2.484 +       exit(10);
   2.485 +     }
   2.486 + 
   2.487 +@@ -645,7 +645,7 @@
   2.488 +       MouseTimeToMaxValue /= 10;
   2.489 + 
   2.490 +     if(MouseTimeToMaxValue == 0) {
   2.491 +-      cout << "Config File: Mouse Keys Time To Max Cannot Be Zero." << endl;
   2.492 ++      std::cout << "Config File: Mouse Keys Time To Max Cannot Be Zero." << std::endl;
   2.493 +       exit(10);
   2.494 +     }
   2.495 + 
   2.496 +@@ -653,7 +653,7 @@
   2.497 +       DebounceValue /= 10;
   2.498 + 
   2.499 +     if(DebounceValue == 0) {
   2.500 +-      cout << "Config File: Debounce Delay Cannot Be Zero." << endl;
   2.501 ++      std::cout << "Config File: Debounce Delay Cannot Be Zero." << std::endl;
   2.502 +       exit(10);
   2.503 +     }
   2.504 + 
   2.505 +@@ -661,7 +661,7 @@
   2.506 +       RepeatDelayValue /= 10;
   2.507 + 
   2.508 +     if(RepeatDelayValue == 0) {
   2.509 +-      cout << "Config File: Repeat Keys Delay Cannot Be Zero." << endl;
   2.510 ++      std::cout << "Config File: Repeat Keys Delay Cannot Be Zero." << std::endl;
   2.511 +       exit(10);
   2.512 +     }
   2.513 + 
   2.514 +@@ -669,7 +669,7 @@
   2.515 +       RepeatRateValue /= 10;
   2.516 + 
   2.517 +     if(RepeatRateValue == 0) {
   2.518 +-      cout << "Config File: Repeat Keys Rate Cannot Be Zero." << endl;
   2.519 ++      std::cout << "Config File: Repeat Keys Rate Cannot Be Zero." << std::endl;
   2.520 +       exit(10);
   2.521 +     }
   2.522 + 
   2.523 +@@ -695,14 +695,14 @@
   2.524 +     ax->SetRepeatKeysInterval((int)floor(1000.0/RepeatRateValue));
   2.525 + 
   2.526 +     if(!quiet) {
   2.527 +-      cout << "Config file ~/AccessX loaded." << endl
   2.528 +-	   << "\"ax help\" for help." << endl;
   2.529 ++      std::cout << "Config file ~/AccessX loaded." << std::endl
   2.530 ++	   << "\"ax help\" for help." << std::endl;
   2.531 +     }
   2.532 +   }
   2.533 +   else {
   2.534 +     if(!quiet) {
   2.535 +-      cout << "Config File ~/AccessX not found!" << endl
   2.536 +-	   << "\"ax help\" for help." << endl;
   2.537 ++      std::cout << "Config File ~/AccessX not found!" << std::endl
   2.538 ++	   << "\"ax help\" for help." << std::endl;
   2.539 +     }
   2.540 +   }
   2.541 + }
   2.542 +--- orig.ax.h	2003-09-19 17:06:56.000000000 +0100
   2.543 ++++ ax.h	2010-10-03 12:24:42.000000000 +0100
   2.544 +@@ -24,7 +24,7 @@
   2.545 + 
   2.546 + // Include Files
   2.547 + 
   2.548 +-#include <iostream.h>
   2.549 ++#include <iostream>
   2.550 + #include <stdio.h>
   2.551 + #include <stdlib.h>
   2.552 + #include <string.h>