The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with Net::Telnet lassimanji Shell Programming and Scripting 4 05-08-2009 08:49 PM
problem with remote execution of script using telnet sais Shell Programming and Scripting 1 02-04-2009 10:52 AM
Webpage to Telnet via Perl and Expect: Telnet problem? jondo Shell Programming and Scripting 1 07-22-2008 01:35 AM
telnet problem Rajat UNIX for Dummies Questions & Answers 2 07-11-2008 08:47 AM
Telnet Problem tazzy UNIX for Dummies Questions & Answers 17 05-15-2008 02:51 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-01-2009
pabloli150 pabloli150 is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 6
telnet script problem from DOS to AIX

hello,
i made a script with a telnet scripting tool, tst10.exe, the problem is that when i put the commands
send "rlogin aix57\m"
wait "password:"
send "op_syst.\m"
wait "$"

it do the login but a menu appears where you have to choose a terminal type, you have 8 options, 8 types of terminals, and then the script stops...

if i do rlogin to the server nothing like that appear, the same way runs ok with the rest of HP-UX servers... so i dont know what to do...

if anyone knows anything or needs more explanation tell me.

thanks a lot!
  #2 (permalink)  
Old 09-01-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 740
Sounds like you simply need to add a:
Code:
send "1"
Replace 1 with the number to select the correct terminal type, after:
Code:
send "op_syst.\m"
and before:
Code:
wait "$"
.

The other way to fix this maybe to put:
Code:
export TERM=pcterm
in the Unix user's ~/.profile or ~/.bashrc file, setting the terminal type appropriately.
Reply

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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