Merge pull request #8 from Negusbuk/master

various fixes for scientific linux 6
Merge pull request #9 from Negusbuk/master

various fixes for sld6
changed file permissions
implemented new methods for IO with device
new version with updated and working terminal parameters
new version of test code