From: fdc@watsun.cc.columbia.edu Sent: Friday, February 02, 2001 9:51 AM To: Info-VAX@Mvb.Saic.Com Subject: Re: CTRL Z from a script & Kermit In article <95eff9$u04$1@nnrp1.deja.com>, Piyush Avichal wrote: : In article <95ebtp$l9$1@n.ruf.uni-freiburg.de>, : gartmann@immunbio.mpg.de wrote: : > In article <95e9d2$p2a$1@nnrp1.deja.com>, Piyush Avichal : writes: : > >OK. I have installed CKermit on my VAX. How do I get it to read : > >in commands from a DCL script? : > > : > >telnet xxx.xxx.xxx.xxx : > >login : > >password : > >command : > >command : > >logout : > >exit : > : > You define a symbol for the C-Kermit program. Then you call this : symbol : > from within your DCL-procedure with a script: : > $ kermit my_script.ini : > and in your script you put all the input (not in DCL). Note that C-Kermit : > has a powerful script language. : : I've tried that, but it only seems to read the first line. : I have a test.ini with : : : telnet xxx.xxx.xxx.xxx : login : password : : but it only does the telnet part and waits for manual input for the : username and password. How can I get it to read in everything? : These are not closely guarded secrets. You can find out everything you need to know from the C-Kermit manual: http://www.columbia.edu/kermit/manuals.html and for that matter from the tutorial at the beginning of the C-Kermit script library: http://www.columbia.edu/kermit/ckscripts.html Your complaint about the "telnet" command is a common one. The short answer: you are using the wrong the command. For a fuller explanation, read the manual, or see the relevant section in the C-Kermit FAQ: http://www.columbia.edu/kermit/ckfaq.html#script - Frank