Daniel Eischen <[EMAIL PROTECTED]> writes:
> As someone else has already posted, the following will reproduce
> the behaviour on my system:
> 
>   bash-2.02$ telnet localhost
>   Trying ::1...
>   Connected to localhost.
>   Escape character is '^]'.
>   Trying SRA secure login:
>   User (deischen): ^C^C^C^C^C^C^C
>   Password: 
>   [ SRA login failed ]
>   User (deischen): ^Z
>   [1]+  Stopped                 telnet localhost
>   bash-2.02$ kill -9 13164
>   [1]+  Killed                  telnet localhost
> 
> Once you login and are connected, telnet can then again be escaped
> with CTRL-].

Thanks.  The problem is with SRA using fgets/getpass for its prompts.
The simplest way of fixing this is by disabling SRA with the following
patch:

/assar

Index: secure/lib/libtelnet/Makefile
===================================================================
RCS file: /home/ncvs/src/secure/lib/libtelnet/Makefile,v
retrieving revision 1.18
diff -u -w -u -w -r1.18 Makefile
--- secure/lib/libtelnet/Makefile       2000/07/16 05:52:55     1.18
+++ secure/lib/libtelnet/Makefile       2001/03/22 15:05:50
@@ -3,10 +3,10 @@
 LIB=           telnet
 
 SRCS=          genget.c getent.c misc.c encrypt.c auth.c \
-               enc_des.c sra.c pk.c
+               enc_des.c pk.c
 
 CFLAGS+=        -DHAS_CGETENT -DENCRYPTION -DDES_ENCRYPTION -DAUTHENTICATION \
-                -DSRA -I${TELNETDIR} \
+                -I${TELNETDIR} \
 
 NOPIC=          yes
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to