 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Tomasz Soltysiak Guest
|
Posted: Fri Feb 20, 2004 10:43 pm Post subject: TIdTelnetServer - some bugfixes |
|
|
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 |
|
 |
|
|
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
|
|