You can create a DEVICE file entry with specific open parameters if
need be. 

If you set recordsize=255 (or a larger value), will read reliably
return that number of characters, or will it read as many characters as
possible without blocking? I may have misunderstood Kevin's problem,
but I thought he was getting less than a full record in a single #
read.

--- "K.S. Bhaskar" <[EMAIL PROTECTED]> wrote:

> I hope this helps (4 lines; watch out for line breaks):
> 
> iodemo        set file="/etc/dictionaries-common/words"
>       open file:(readonly:fixed:recordsize=80)
>       for  use file read x use $P write $l(x),! zwrite x quit:$ZEOF
>       quit
> 
> I use zwrite to demonstrate that linefeeds are being read in as
> characters into strings.
> 
> -- Bhaskar
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 



===
Gregory Woodhouse  <[EMAIL PROTECTED]>

"Design quality doesn't ensure success, but design failure can ensure failure."

--Kent Beck








-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to