[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: talking to terminal servers

Arthur Clune ajc22@york.ac.uk
Tue, 25 Oct 2005 08:58:12 -0700 (PDT)



On 25 Oct 2005, at 16:17, Bill Sommerfeld wrote:



conserver has a built-in telnet client so you shouldn't need to exec telnet.

Ah! Got it. Many thanks. Maybe something for the FAQ?


So for anyone searching the archives in future, this works fine:

In conserver.cf

----

default ts_server {
  type exec;
  host tsserver;
  initcmd '/opt/test/etc/shiva-chat';
  type host;
  portbase 3000;
  portinc 1;
}

console fred { include ts_server; port 22; }

-----

chat-shiva contains:

-----
#!/bin/sh

/opt/test/bin/chat -I -t 10 "Password: " "mypass"
-----

Many thanks,

Arthur