comp.lang.ada
 help / color / mirror / Atom feed
From: mdisea!uw-coco!nwnexus!emagnuso@uunet.uu.net  (Erik Magnuson)
Subject: Re: Two "Simple" I/O Questions
Date: 7 Feb 93 02:09:11 GMT	[thread overview]
Message-ID: <1993Feb7.020911.28040@nwnexus.WA.COM> (raw)

In article <1993Feb5.083009.26460@cs.ucla.edu> gast@CS.UCLA.EDU (David Gast) wr
ites:
>Essentially, I just want a program like "cp" or "cat".  All it has
>to do is copy the input to the output.  I have found two problems.
>
>1) Text_IO does not handle 8-bit characters.  Is there another
>   package which does?
>
Two suggestions:
1) Use Sequential_IO instantiated for an 8 bit type. However, this may
rather inefficient if your implementation does a poor job of IO
buffering.

2) If none of the other IO packages doe what you want, write your own
using OS primitives. It's not that hard, honest.

-- 
Erik

             reply	other threads:[~1993-02-07  2:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-02-07  2:09 Erik Magnuson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-02-05 17:04 Two "Simple" I/O Questions Johnny Lin
1993-02-05  8:30 gast
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox