Problem is using the comand 'c'
Proble in using the command 'cu' to connect to another system
I am using fedora core linux. The kernel version is 2.6.11-1.1369_FC4.
.....
I have define a host 'omcr' in the '/etc/hosts' file as follows:
The omcr host has SCO Open Server Operating System.
......
192.9.200.1 omcr
...
I want to use the command 'cu' to connect to that system.
For this I have datafilled the following files:
..........
file: /etc/uucp/sys
system omcr
port type tcp
#port service 540
call-login xyz
call-password xyz123
chat "\c" asasas asasasas ogin: \L word: \P
time any
---------------
But when I run the following command I get some error.
$ cu -d omcr
cu: fconn_open: Opening port system omcr port (default speed)
Connected.
cu: fconn_write: Writing 1 "\r"
cu: fconn_write: Writing 1 "\r"
cu: Got SIGPIPE signal
cu: write: Broken pipe
cu: Exit status 0
cu: fconn_close: Closing connection
Disconnected.
$
--------- My question is why the "\r" is coming when there is no "\r" in the chat script in the /etc/uucp/sys file?
|