Re: Maximum length input line

2000-08-20 Thread Bryan C . Warnock
On Sun, 20 Aug 2000, Peter Scott wrote: > Well you guys are way ahead of me on your line discipline modes, so I > didn't want to hazard a syntax; just wanted to make my desires known. I wouldn't say that we are (well, at least me) way ahead. I'm just throwing ideas out nyself, except that I was

Re: Maximum length input line

2000-08-20 Thread Peter Scott
At 10:06 AM 8/20/00 -0400, Bryan C. Warnock wrote: >On Sun, 20 Aug 2000, Peter Scott wrote: > > > I read that before I made my posting; it looked to me that :block was > > specifying a fixed-length read independent of line terminators, i.e., same > > behavior as $/ = \1024. > >Stand-alone, I guess

Re: Maximum length input line

2000-08-20 Thread Bryan C . Warnock
On Sun, 20 Aug 2000, Peter Scott wrote: > I read that before I made my posting; it looked to me that :block was > specifying a fixed-length read independent of line terminators, i.e., same > behavior as $/ = \1024. Stand-alone, I guess it would be. But I would think that combining it with, sa

Re: Maximum length input line

2000-08-19 Thread Peter Scott
At 12:01 AM 8/20/00 -0400, Bryan C. Warnock wrote: >On Sat, 19 Aug 2000, Peter Scott wrote: > > -io guys, I've been looking through your archives at the line discipline > > stuff and I don't see this there: what do you think? The proposal is > for a > > mode that specifies a maximum number of ch

Re: Maximum length input line

2000-08-19 Thread Bryan C . Warnock
On Sat, 19 Aug 2000, Peter Scott wrote: > -io guys, I've been looking through your archives at the line discipline > stuff and I don't see this there: what do you think? The proposal is for a > mode that specifies a maximum number of characters to be returned by a > getline (<>) so that parano

Re: Maximum length input line

2000-08-19 Thread Uri Guttman
> "PS" == Peter Scott <[EMAIL PROTECTED]> writes: PS> No, the point is not that I want truncated lines but that I want to say PS> "toss/leave back the excess over 100,000 characters when I do a , PS> for I am sure that a line longer than that would be an error of some PS> kind."

Re: Maximum length input line

2000-08-19 Thread Peter Scott
At 06:22 PM 8/19/00 -0700, I wrote: >No, the point is not that I want truncated lines but that I want to say >"toss/leave back the excess over 100,000 characters when I do a , >for I am sure that a line longer than that would be an error of some kind." I phrased this badly. I meant to say that

Re: Maximum length input line

2000-08-19 Thread Peter Scott
At 08:59 PM 8/19/00 -0400, [EMAIL PROTECTED] wrote: > >Au contraire; sysread reads exactly the number of characters requested; > >what I want is a way for programs that do all over the place to be > >protected if someone throws a gargantuan number of characters at FH without > >a newline. The $/