Do binary per default

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@489 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-05-05 04:34:33 +00:00
parent 4a1ebcf888
commit b415228a7f
3 changed files with 10 additions and 3 deletions

View File

@@ -130,11 +130,14 @@ int main(int argc, char **argv)
*/
autologin = -1;
while ((ch = getopt(argc, argv, "8EKLS:X:acde:fFk:l:n:rt:x")) != EOF) {
while ((ch = getopt(argc, argv, "78EKLS:X:acde:fFk:l:n:rt:x")) != EOF) {
switch(ch) {
case '8':
eight = 3; /* binary output and input */
break;
case '7':
eight = 0;
break;
case 'E':
rlogin = escape = _POSIX_VDISABLE;
break;

View File

@@ -41,7 +41,7 @@
protocol
.Sh SYNOPSIS
.Nm telnet
.Op Fl 8EFKLacdfrx
.Op Fl 78EFKLacdfrx
.Op Fl S Ar tos
.Op Fl X Ar authtype
.Op Fl e Ar escapechar
@@ -78,6 +78,10 @@ Specifies an 8-bit data path. This causes an attempt to
negotiate the
.Dv TELNET BINARY
option on both input and output.
.It Fl 7
Do not try to negotiate
.Dv TELNET BINARY
option.
.It Fl E
Stops any character from being recognized as an escape character.
.It Fl F

View File

@@ -76,7 +76,7 @@ char do_dont_resp[256];
char will_wont_resp[256];
int
eight = 0,
eight = 3,
autologin = 0, /* Autologin anyone? */
skiprc = 0,
connected,