First, check if your 'Caps Lock' key is broken. :)

Next, check your SSH2 and SSH1 settings are the same on your AIX server.

Finally what version of SSH server are you using? SSH Tectia or OpenSSH server? 
I've read about bugs in SSH2 and seen poor SSH2 implementations on terminal 
emulators before.

Yours could be your terminal emulator, not necessarily your server. Are you or 
have used PuTTY with SSH2 to eliminate that as the root cause?

:)


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Lloyd Cottrell
Sent: Wednesday, 23 December 2009 9:20 AM
To: [email protected]
Subject: [U2] INPUTIF

IN THE FOLLOWING BIT OF CODE, MOST NOTABLE THE INPUTIF, WHEN THIS IS
RUN USING A TELNET SESSION, EVERYTHING WORKS JUST FINE, WHEN THE
CONNECTION IS SSH1 EVERYTHING IS FINE, HOWEVER, RUNNING IT USING SSH2
IT TAKE ABOUT 20 SECONDS BEFORE YOU GET ANYTHING TO RESPOND AFTER YOU
INPUT.  WE ARE USING UV 10.3 AND AIX 5.3


      SUBROUTINE TIMER2(ANS,HUSH,SECONDS,POS1,POS2)
      *TLK DIFFERS FROM LBP TIMER, WAITS FOR <CR> AFTER INPUT
      STOP=0 ; Y=SECONDS
      IF Y='' THEN Y=5
      PROMPT''
10:
      TIME.SAV=TIME()
      TIME.SAV=FIELD(TIME.SAV,".",1)
      IF STOP=0 THEN
         TIME.STOP=TIME.SAV+Y
      END
      DONE=0
      LOOP UNTIL DONE DO
         TIME = TIME()
         TIME =FIELD(TIME,".",1)
         IF TIME > TIME.SAV THEN DONE=1
         IF TIME > TIME.STOP THEN ANS='' ; RETURN
         PRINT @(POS1,POS2) : ; INPUTIF ANS ELSE ANS=''
         IF ANS#'' THEN RETURN
      REPEAT
      IF NOT(HUSH) THEN
         PRINT @(10,23): "COUNTDOWN ":Y:
      END

      PRINT @(POS1,POS2) : ; INPUTIF ANS ELSE ANS=''

      IF ANS#'' THEN RETURN
      Y=Y-1
      STOP=1
      GOTO 10
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

************** IMPORTANT MESSAGE *****************************       
This e-mail message is intended only for the addressee(s) and contains 
information which may be
confidential. 
If you are not the intended recipient please advise the sender by return email, 
do not use or
disclose the contents, and delete the message and any attachments from your 
system. Unless
specifically indicated, this email does not constitute formal advice or 
commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. 
We can be contacted through our web site: commbank.com.au. 
If you no longer wish to receive commercial electronic messages from us, please 
reply to this
e-mail by typing Unsubscribe in the subject line. 
**************************************************************



_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to