I'm not familiar with the Intermec CK30 terminal, but what it sounds like is
that this terminal has its own input buffer that it feeds to the server.  If
this is the case then your INPUTCLEAR is clearing the Servers Input Buffer
but the Intermec is still feeding it data.

You could go into a loop based on SYSTEM(14).  Such as:

LOOP WHILE SYSTEM(14) DO INPUTCLEAR REPEAT

If this loop is too tight try adding a SLEEP.

Thanks,
David A. Green
DAG Consulting


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony Dzikiewicz
Sent: Tuesday, September 19, 2006 11:51 AM
To: [email protected]
Subject: [U2] Universe INPUTCLEAR

Hello All,

I have a strange situation going on with an Intermec CK30 terminal.  We
have an error message routine that clears the display, issues an
INPUTCLEAR, then displays the error message, then issues an INPUT
DUMMY,1 (press any key to continue).  This is so that the user cannot
bypass the error.

What has been happening is that the INPUTCLEAR statement seems to have
no impact on the typeahead buffer.  The error message is not displayed.
Somehow there is data in the typeahead.  The error message routine
appears to be skipped altogether.  What is happening is that the there
is still something in the typeahead when it gets to the INPUT DUMMY,1.
In effect pressing 'any key' for the user.  I changed the error message
routine to do INPUTCLEAR, INPUT DUMMY,1  , DISPLAY ERROR.MSG, INPUT
DUMMY,1.  This works and only requires one key press (even though you
all logic would make you believe it would require two).

Very strange.  Has anyone else encountered something like this.  Any
thoughts or suggestions would be helpful and appreciated.

Thanks
Anthony
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to