The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Webpage to Telnet via Perl and Expect: Telnet problem? jondo Shell Programming and Scripting 1 07-22-2008 12:35 AM
Telnet and su - uXion AIX 0 07-27-2006 02:33 PM
telnet eykyn17 AIX 3 02-16-2006 01:17 PM
telnet on AT&T MLS V smartgod Security 1 07-01-2005 07:41 AM
Telnet For DMS r00t.$h3ll Security 1 02-14-2002 09:14 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-08-2009
Allison_A Allison_A is offline
Registered User
  
 

Join Date: May 2009
Posts: 3
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 way to capture the weight only from the scale, and move it to a text file.

Thank You,

Allison
  #2 (permalink)  
Old 05-08-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,643
IS there a telnet session command to display the weight? like show weight or something? This example assume there is; that exit ends the connection; someaddr is the telnet connect string for your scale; there is no authentication.

This puts telnet in command line mode.

Code:
telnet <<EOF > weight.lis
open someaddr
show weight
exit
EOF

cat weight.lis
  #3 (permalink)  
Old 05-09-2009
Allison_A Allison_A is offline
Registered User
  
 

Join Date: May 2009
Posts: 3
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 ?
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:52 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0