The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
CHAR(0) appearing randomly in data |
Post Reply |
Author | |
NickTheHorse
Newbie Joined: October 30 2013 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: April 29 2014 at 8:16pm |
Hi,
We have an intermittent problem where CHAR(0) is finding its way into our data, causing corruption. We think we may have found the cause. To test this, I wrote the following program: KEY = '' KEY.LIST = '' OPEN 'TEMP.FILE' TO TMP THEN FOR X = 1 TO X + 1 UNTIL KEY = 27 IN KEY KEY.LIST<-1> = KEY WRITE KEY.LIST ON TMP, 'KEYS' IF KEY = 0 THEN CRT "NULL ENCOUNTERED - STOP" STOP END NEXT X END On holding down the enter key for a length of time, the CHAR(0) appears and the program terminates. If we look at the TEMP.FILE 'KEYS' record we see the following. 0319 13 0320 13 0321 13 0322 13 0323 13 0324 13 0325 13 0326 13 0327 13 0328 13 0329 13 0330 13 0331 13 0332 13 0333 13 0334 13 0335 13 0336 13 0337 0 This does not occur using SSH2 connectivity but occurs randomly using telnet. We need to use telnet because of our infrastructure requiring defined ports to be used. We are running D3 on AIX. Accuterm Release 7.1b sp1(7.1.2008) Wyse60 terminal emulation. This happens on both Windows XP and Windows 7. We have tested this on our old terminal emulator (S-TERM) and this does not happen. Any help you can give would be appreciated. Thanks Nick |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |