Search Results

Search: Posts Made By: Allison_A
2,956
Posted By Allison_A
expect "capture results"
#!/user/bin/expect
spawn telnet 192.xxx.xxx.xxx
send "A" # send a charactor to get weight
echo results $scale # send results to variable $scale
send $scale > test.txt
exit 0

I am trying...
Forum: IP Networking 05-09-2009
2,625
Posted By Allison_A
Not logon required. To extract output i.e (XX....
Not logon required. To extract output i.e (XX. lb. gross) where XX = pounds it requires sending {alt} + 149. Is there a way to send these commands in a script ?
Forum: IP Networking 05-08-2009
2,625
Posted By Allison_A
telnet help
Using solaris 10.
I have a scale with a nic card that allows for telnet sessions. Telnet to the scale works fine. I can capture the entire telnet session to a file. Now the problem; is there a...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 01:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy