*BSD News Article 93241


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news.maxwell.syr.edu!news-xfer.mccc.edu!news-xfer.netaxs.com!ddsw1!news.mcs.net!ddsw1!not-for-mail
From: font@MCS.COM (Font)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Is there a line length limit?  (2.2.1)
Date: 9 Apr 1997 23:13:08 -0500
Organization: MCSNet Services
Lines: 17
Message-ID: <5ihpck$h8p$1@Mars.mcs.net>
NNTP-Posting-Host: mars.mcs.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38836

I'm using FreeBSD 2.2.1 and programs which accept input from stdin,
such as cat, won't accept lines longer than about a thousand
characters.  If I pipe these characters instead of typing them,
everything works.  This happens under /bin/sh and /usr/local/bin/zsh.
Is this something in the kernel?  I don't remember ever having run
into this before.  Whether I'm typing stdin to awk, doing a "read
line" from /bin/sh, or even doing an fgets(s, sizeof(s), stdin), I run
up against the thousand character barrier when typing in input
(actually I'm scripting it most of the time, but you know what I
mean).

My ISP uses FreeBSD 3.0 and doesn't exhibit this problem.  But I'm not
prepared to go to CURRENT.

I hope I didn't miss something obvious.
-- 
font@mcs.net                              Wishes are like dishes.