bug-inetutils
[Top][All Lists]
Advanced

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

Re: GNU telnet


From: Sergey Poznyakoff
Subject: Re: GNU telnet
Date: Mon, 30 Sep 2002 15:51:43 +0300

Hello Alexandros,

> Do you know how I can increase this buffer size from 256 to 1024 for my
> Solaris client? Can I define this somewhere in the telnet source code?

No, this number is system-dependent. When instructed to use linemode,
telnet switches its controlling terminal into canonical mode. In this
mode, the input characters are accumulated into the system input
buffer, until a newline character is typed. The length of the system
input buffer is determined by the MAX_INPUT and MAX_CANON constants.
Usually these are defined in limits.h or in stdio.h.

Regards,
Sergey





reply via email to

[Prev in Thread] Current Thread [Next in Thread]