Problem with telnet in ccGo

If you have problem connecting to IGS or regularly get disconnect unexpectedly, chances are the telnet doesn't set the control character correctly when it's running without a pseudo-terminal.

To check this, you can run the following command:

$ echo display | telnet
Look for any control character settings that are actually not control characters. For example you might see something like:
will flush output when sending interrupt characters.
won't send interrupt characters in urgent mode.
won't read the telnetrc files.
won't map carriage return on output.
will recognize certain control characters.
won't turn on socket level debugging.
won't print hexadecimal representation of network traffic.
won't print user readable output for "netdata".
won't show option processing.
won't print hexadecimal representation of terminal traffic.

echo            [^E]
escape          [^]]
rlogin          [off]
tracefile       "(standard output)"
flushoutput     [^D]
interrupt       [k]
quit            [^L]
eof             [7]
erase           [@]
kill            [^D]
lnext           [off]
susp            [^H]
reprint         [\220]
worderase       [^H]
start           [^A]
stop            [^F]
forw1           [\374]
forw2           [\374]
ayt             [^T]
This means 'k', '7', and '@' will be interpreted as interrupt, eof, and erase by telnet.

To fix the problem in this case, you can add the following section to "~/.telnetrc", the configuration file of telnet.

igs.joyjoy.net
	unset interrupt
	unset eof
	unset erase
Please note that there should be no white space in front of "igs.joyjoy.net" in the first line.

Hope this will help!


Back | cjj