On 20 June 2011 18:05, Hiltjo Posthuma <hil...@codemadness.org> wrote: > getline / getdelim (re)allocates buffers though. But yes a custom > function with fgets would be more compatible.
My point was that this is unnecessary: is your screen able to display more than, say, 8192 characters (a common value for BUFSIZ) on a single line? And even if so, why are you piping an essay into your status bar anyway? cls