projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
72e9dcb
)
*** empty log message ***
author
djk
<djk>
Sun, 18 Jun 2000 09:10:57 +0000
(09:10 +0000)
committer
djk
<djk>
Sun, 18 Jun 2000 09:10:57 +0000
(09:10 +0000)
Changes
patch
|
blob
|
history
perl/client.pl
patch
|
blob
|
history
src/client.c
patch
|
blob
|
history
diff --git
a/Changes
b/Changes
index a71063c40a1ffa93d063735719b080093791b27d..19f1c31f3e79c651228ade3f8078cdb703c1c8dc 100644
(file)
--- 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.
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 66c7b0927337d88443097fb62b2c1daa1cc5dce9..bb3c4829a60ca956175b5439d12e75dd590a9aa2 100755
(executable)
--- a/
perl/client.pl
+++ b/
perl/client.pl
@@
-108,7
+108,7
@@
sub rec_socket
my $snl = $mynl;
my $newsavenl = "";
$snl = "" if $mode == 0;
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 = ' ';
if ($mode == 2 && $line =~ />$/) {
$newsavenl = $snl;
$snl = ' ';
diff --git
a/src/client.c
b/src/client.c
index 885b50efa3601a019e4038001dbb84f9787eaae5..80b6de69603fe44db14f2b3b6ea33c774b4acced 100644
(file)
--- 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);
} 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;
if (tcsetattr(0, TCSANOW, &t) < 0)
die("tcsetattr (%d)", errno);
in->echo = echo;