Skip to content
Snippets Groups Projects
Commit 09f5d705 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Use the telnet gateway proxy (not pass-through) by default

Pass-through only really does anything useful if the BBS user's client is a
Telnet client and it responds as the server expects. Since the user's
Telnet client (when using one) has already negotiated Telnet options, they
won't ACK options that the server expects them to, so this doesn't really
work. The proxy fixes that issue.
parent 1c7c3efd
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -7,7 +7,7 @@ load("sbbsdefs.js");
write("\r\n\1h\1hPress \001yCtrl-]\001w for a control menu anytime.\r\n\r\n");
console.pause();
writeln("\001h\001yConnecting to: \001w"+argv[0]+"\001n");
var flags=TG_PASSTHRU;
var flags=TG_NONE;
if(argc>1)
flags=eval(argv[1]);
bbs.telnet_gate(argv[0],flags);
......
......@@ -9,5 +9,5 @@ load("sbbsdefs.js");
write("\r\n\1h\1hPress \001yCtrl-]\001w for a control menu anytime.\r\n\r\n");
console.pause();
writeln("\001h\001yConnecting to: \001w"+argv[0]+"\001n");
bbs.telnet_gate(argv[0],TG_PASSTHRU|TG_NOTERMTYPE);
bbs.telnet_gate(argv[0],TG_NOTERMTYPE);
console.clear();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment