logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Telnet scripot issue
N7IP
#1 Posted : Saturday, December 31, 2016 12:46:34 PM(UTC)
Rank: Advanced Member

Groups: Registered
Posts: 198
Location: OR

Was thanked: 22 time(s) in 22 post(s)
I have a script that includes looking for HELLO > prompt and waiting 5 seconds to send the response "show/dx/100". It doesn't work. As you can see below, logic doesn't recognize the "HELLO". Here is the exchange by telent:
===============================================================
Welcome to CC User
*** Connected to: CC User
Please enter your call:
login:
N7IP
DX de KC8QDQ: 18115.0 CT1JOP + 1737Z
N7IP de AE5E >
Hello >
DX de PY2PAL: 28450.0 PY2BMX CQ DXS TEST YAGI 2 ELEMENTOS 5 1736Z
DX de UR4GA: 7139.0 S509PMC tnx QSO 1736Z

LOGic> Waited for HELLO > to be sent by host, but it was not.
LOGic> Check Setup.
=======================================================
Any help fixing this would be greatly appreciated. Thanks,

Bob, N7IP
Sponsor
Note: We receive a commission from Amazon when you purchase via this link. It does not affect your cost. Thank you!
WN4AZY
#2 Posted : Tuesday, January 3, 2017 4:04:16 PM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 3,093
Man
Location: Auburn, GA

Thanks: 997 times
Was thanked: 496 time(s) in 411 post(s)
Hi Bob:

Please post the address of this host, and I'll fix you up.

Also, get the 9.1.7 update if you don't have it already. There was a problem where the prompt-response would fail if the host sent additional info after the prompt. This has been fixed. Or so I thought. Maybe I need to extend the look-ahead buffer even more than I did.

Anyway, send me the address.

Tnx & 73,

Dennis WN4AZY
N7IP
#3 Posted : Tuesday, January 3, 2017 4:54:03 PM(UTC)
Rank: Advanced Member

Groups: Registered
Posts: 198
Location: OR

Was thanked: 22 time(s) in 22 post(s)
Dennis, I use my own cluster client that is connected to VE7CC at dxc.ve7cc.net.

However the script I posted used the AE5E cluster at dxspots.com 204.221.76.52.

Bob
WN4AZY
#4 Posted : Wednesday, January 4, 2017 10:21:42 AM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 3,093
Man
Location: Auburn, GA

Thanks: 997 times
Was thanked: 496 time(s) in 411 post(s)
Ok, on 204.221.76.52 I am not seeing a HELLO > prompt. I am seeing CCC >. I did not have this in my database. Click + to add a new host record.

Attached is the proper setup for this host. The same setup works for dxc.ve7cc.net. There is already a record in LOGic for this -- just add the CCC > line.

Tnx & 73,

Dennis WN4AZY
File Attachment(s):
Capture.JPG (56kb) downloaded 20 time(s).
Users browsing this topic
Guest
Forum Jump  
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.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.027 seconds.