BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TIdTelnetServer - some bugfixes

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Tomasz Soltysiak
Guest





PostPosted: Fri Feb 20, 2004 10:43 pm    Post subject: TIdTelnetServer - some bugfixes Reply with quote



Hello all

[ # FIX 1 # ]

This should help anyone who are using very popular free telnet/ssh client
from http://www.chiark.greenend.org.uk/~sgtatham/putty/ and getting problems
with IdTelnetServer1Authentication: AUsername contain strange values like:
û? û û? û' ø? û? ø? (this is propably send from putty after connect)

Try use this (I don't know why clearwritebuffer except access volation):
------------------------------------------------------------------------
procedure TForm1.IdTelnetServer1Connect(AThread: TIdPeerThread);
begin
writeln('Buffer content: '+AThread.Connection.CurrentReadBuffer);
// or without writeln to solve this without any message
end;
------------------------------------------------------------------------


[ # FIX 2 # ]

This is not really bug but should be usefull if you are wondering why
IdTelnetServer OnAuthentication Event you are getting local echo
when typing username (every char are displayed twice)

Try to recompile SourceIndyIdTelnetServer.pas in procedure
TIdTelnetServer.DoConnect(AThread: TIdPeerThread);
------------------ turn off echo parameter ------------------------
Data.Username := AThread.Connection.InputLn('',false);
-------------------------------------------------------------------

Or just force local echo off in putty sesson settings ...


greetz...
[email]gold-man (AT) mjdruk (DOT) pl[/email]


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.