Switch the default value of the "crlf" option in telnet. This means lines are
ended with \r\n instead of \r\0. Both are accepted in most telnet servers, as there is some unclear wording in the telnet RFC. However, using \r\n allows to use telnet for other stuff, like connecting to an SMTP server. Debian Linux telnet client also uses that by default (likely other Linuces use the same). Fixes #2663. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43049 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
02c3d9f5e6
commit
a40e8645e2
@ -156,6 +156,9 @@ main(int argc, char *argv[])
|
||||
#else
|
||||
#define IPSECOPT
|
||||
#endif
|
||||
|
||||
crlf = 1;
|
||||
|
||||
while ((ch = getopt(argc, argv,
|
||||
"468EKLNS:X:acde:fFk:l:n:rs:uxy" IPSECOPT)) != -1)
|
||||
#undef IPSECOPT
|
||||
|
Loading…
Reference in New Issue
Block a user