heas
209ebbab46
- deal with a dead tty in ttyflush() by cleaning-up and exiting instead of
...
returning a failure code and processing that all the way up the stack.
- deal with a dead peer similarly and do it without setjmp/longjmp() (at
christos' request).
These fix bin/20304 and my own observations when the remote abruptly closes
the connection.
2004-03-20 23:26:05 +00:00
wiz
f05e6f1a3a
occured -> occurred. From Peter Postma.
2004-02-24 15:12:51 +00:00
agc
89aaa1bb64
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
jdolecek
291a252c2e
need to pass flags as argument to TIOCFLUSH ioctl
...
fixes bin/22391 by SAITOH Masanobu
2003-08-07 07:01:09 +00:00
itojun
1f245ffbb2
more unifdef
2003-07-14 16:06:46 +00:00
itojun
eb8120f761
more unifdef
2003-07-14 16:00:52 +00:00
itojun
21f5307c6f
remove unneeded #ifdef. (confirmed that same *.o is generated)
2003-07-14 15:56:28 +00:00
christos
2658386875
Ansify.
2003-06-18 20:51:00 +00:00
christos
be6d6ca02b
PR/18984: John Heasley: telnet spins on dead tty
2003-03-15 04:48:22 +00:00
mycroft
aae6c28cf9
null commit
2002-09-23 12:44:34 +00:00
itojun
6248b5281d
poll.h, not sys/poll.h
2002-09-23 03:29:10 +00:00
mycroft
6053f5543a
select() -> poll()
2002-09-18 19:40:34 +00:00
wiz
797d779cf1
De-register, de-__P. Remove #ifndef __STDC__ parts.
...
defines.h: Be more careful with braces in macro definitions.
2002-06-14 00:30:56 +00:00
wiz
89f6005c6b
s/infinate/infinite/
2002-02-11 11:00:07 +00:00
cgd
d594ce939b
comment or delete text after CPP directives.
2001-01-16 02:50:27 +00:00
msaitoh
44181778bd
fix following sequence:
...
telnet localhost
cat (no argument)
control-C
(not returned to the shell prompt)
(push enter key)
(returned to prompt)
1999-11-26 07:33:52 +00:00
mcr
c441f5e810
Added an #undef. This, and previous revision fixes PR bin/5374
1998-12-22 05:27:35 +00:00
mcr
851f23b927
fixed call to select to keep track of the highest numbered file
...
descriptor. Also removed some redundant code that was #ifdef TN3270
(the code was the same on both sides of the #ifdef)
1998-12-22 05:26:22 +00:00
msaitoh
4944940fcf
Declare ints, too, don't default them.
1998-07-09 18:32:52 +00:00
christos
434ea11b22
WARNSify and fix problems passing int * -> long *
1998-02-27 10:44:12 +00:00
thorpej
077a490a9f
RCS id cosmetics.
1996-02-28 21:03:49 +00:00
jtk
bf9897158a
put back in a change I accidentally dropped from telnet.95.10.23
1996-02-24 20:02:02 +00:00
jtk
42a670f945
restore local change mistakenly overrun in import of 95.10.23
...
telnet--keep track of a client-side close and just turn off one
direction of the socket; keep running until server side closes down too.
1996-02-24 07:32:00 +00:00
jtk
583a8146a9
update to 95.10.23 version of telnet
...
also, RCS ID police
1996-02-24 01:18:25 +00:00
tls
ebe345eab2
I seem to have forgotten to commit the patch in PR1608 when I closed it. Fix VLNEXT handling.
1996-02-15 00:59:16 +00:00
mycroft
451c744306
If we get an EOF on stdin, close the write side of the TCP connection, but
...
wait for the remote host to close the connection before exiting.
1995-03-17 18:03:06 +00:00
cgd
0582c91393
new telnet from ftp.cray.com. Encryption support ripped out, pending
...
figuring out what to do about it...
1994-02-25 03:00:16 +00:00
mycroft
f6b073c4ee
Patch from Frank van der Linden <vdlinden@fwi.uva.nl> to handle 57600 and
...
115200 baud. Baud rate checking code disabled completely when using termios.
1993-12-02 22:58:58 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
f19d90d7fe
Cleanup for GCC 2.
1993-04-19 07:28:01 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00