Pete Naylor pete@geckoworks.com writes:
I believe TCP_NODELAY is used by telnet, openssh etc to improve responsiveness for remote shells. My network is not laggy as openssh, telnet etc work great. It's possible that the default algorithm used by lsh is behind the delays, but I think setting TCP_NODELAY is a reasonable thing to try since lsh seems to be the odd-one-out in this regard. As I said, I'd like to test it myself but when I edit io.c something breaks in the abstraction stuff which I have no clue about.
With the patch at URL:http://soua.net/io.c.diff, I can at least build (this is for the CVS-version, but I don't think anythings happened). [BTW; it seems I need to include netinet/tcp.h to get TCP_NODELAY, which I think I shouldn't, I wonder why].
Anyway, IIRC, you might also want to look at your terminal settings (min and time in stty) if TCP_NODELAY doesn't help.
/Pontus