Path: utzoo!attcan!uunet!munnari.oz.au!labtam!cnw01!nigel From: nigel@cnw01.storesys.coles.oz.au (Nigel Harwood) Newsgroups: comp.protocols.tcp-ip Subject: rlogin and run a command etc Message-ID: <1141@cnw01.storesys.coles.oz.au> Date: 2 Dec 90 05:15:24 GMT Organization: Coles Myer Ltd., Melbourne, Australia Lines: 31 Apologies if this is a FAQ but I have up till now not read this news group (I did read all postings not yet expired). I have two systems connected via Win TCP/IP Ethernet. One system is to be used by the users to run all their jobs irregardless of which machine the job runs on. I cannot use the remote shell as some of the jobs they run are COBOL programs which use cursor addressing etc. Rlogin seemed to be promising as it can be auto-login with Win TCP/IP. The problem was that I cannot tell it to run a command as soon as it has logged in. Someone pointed out that the TERM variable was exported (nothing else from the environment sadly). By a slight fudge I could use TERM and the .login to do the job but is there a better way ? I have toyed with getting the source to rlogin but I'd rather not. Regards -- <<<<<<<<<<<<<<<<<<<<<<<<< Nigel Harwood >>>>>>>>>>>>>>>>>>>>>>>>>>> << Post: Coles Myer Ltd, PO Box 2000 Tooronga 3146, Australia >> << Phone: +61 3 829 6090 E-mail: nigel@cnw01.storesys.coles.oz.au >> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Brought to you by Super Global Mega Corp .com