From d215a32b2f4a88630b62ffa060f0c23904874438 Mon Sep 17 00:00:00 2001 From: djk Date: Sun, 18 Jun 2000 09:10:57 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 2 ++ perl/client.pl | 2 +- src/client.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index a71063c4..19f1c31f 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,5 @@ +18Jun00======================================================================= +1. fixed line ending ambiguities (I think) for telnet connections. 17Jun00======================================================================= 1. I believe I have fixed all the login/logout 'broken pipe' errors 2. Added G0RDI's 'links' command. diff --git a/perl/client.pl b/perl/client.pl index 66c7b092..bb3c4829 100755 --- a/perl/client.pl +++ b/perl/client.pl @@ -108,7 +108,7 @@ sub rec_socket my $snl = $mynl; my $newsavenl = ""; $snl = "" if $mode == 0; - $snl = "\r\n" if $mode == 2; + $snl = "\n" if $mode == 2; if ($mode == 2 && $line =~ />$/) { $newsavenl = $snl; $snl = ' '; diff --git a/src/client.c b/src/client.c index 885b50ef..80b6de69 100644 --- a/src/client.c +++ b/src/client.c @@ -838,6 +838,7 @@ lgotcall: } else { struct termios t = in->t; t.c_lflag &= ~(ECHO|ECHONL|ICANON); + t.c_oflag = 0; if (tcsetattr(0, TCSANOW, &t) < 0) die("tcsetattr (%d)", errno); in->echo = echo; -- 2.43.0