+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.
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 = ' ';
} 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;