From: Adrian P. <ad...@po...> - 2003-07-19 10:20:41
|
>>>>> "Roland" == Roland Giersig <RGi...@cp...> writes: Roland> well, this is a linux kernel problem, somebody decided Roland> that ptys need not handle lines longer than 155 bytes at a Roland> time, so there. I'm just the messenger, talk to redhat Which Linux kernel ? In 2.4.20 :- ./include/linux/tty.h:153:#define PTY_BUF_SIZE 4*TTY_FLIPBUF_SIZE ./include/linux/tty.h:137:#define TTY_FLIPBUF_SIZE 512 Which means 2048 not 155. Is the limit some other place, libc or is yet another Redhat x.0 screw up ? On my machine, 2.4.20 glibc 3.2.1 it is definitely 2048 as I have a perl module based upon Expect where each read and write of a big transfer through the pty receives/sends 2048. Sincerely, Adrian Phillips -- Who really wrote the works of William Shakespeare ? http://www.pbs.org/wgbh/pages/frontline/shakespeare/ |