[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Student Looking for A Final Year Project



On Sat, Sep 08, 2001 at 06:56:40PM +0200, Russell Coker wrote:

> Ideally we could have a terminal type that allows the server to say "local 
> echo all characters, buffer them and flush the buffer on '\n', '\t', (and any 
> other interesting characters)".  That would allow the above command to be 
> sent in 4 packets of data instead of 15+!  The 3270 emulation does similar 
> things but isn't designed for UNIX use, so it doesn't work for TAB's.

Actually, one good solution is turning on the Nagle algorithm, or rather not
using TCP_NODELAY (I don't know if ssh sets it, but I guess it does to improve
responsiveness). What you propose will break situations where you have to type
one non-interesting key to invoke an action, people wait for it to happen but
it won't be sent out because of your proposed terminal type. The only way you
could safely do this is if the server side would send cues whether or not to do
character/word/line buffering.

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen <guus@sliepen.warande.net>

Attachment: pgpaIFpvoDGu_.pgp
Description: PGP signature


Reply to: