Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #12439

Re: standard input and standard output in programming languages

From "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Newsgroups comp.programming
Subject Re: standard input and standard output in programming languages
Date 2021-04-02 14:22 +0200
Organization Aioe.org NNTP Server
Message-ID <s4729m$viu$1@gioia.aioe.org> (permalink)
References <f3de0f84-82e2-42f8-8793-f445cd79c936n@googlegroups.com>

Show all headers | View raw


On 2021-04-02 13:00, Mark Tarver wrote:
> I'm doing an informal survey on standard input and standard output in
> different programming languages.  In many languages these streams
> are char based and you cannot read or write a byte off them.  In Common
> Lisp it depends on the implementation.   What is the state of play with your
> preferred language?

In Ada standard input, output and error are formatted text files. 
Formatting includes paging.

Anything can be written into a text file, the encoding is presumed to be 
Latin-1. Since all 8-bit are available in Latin-1 it does not really 
matter what you actually write into [*]

----------------
* Ada's text I/O was designed when OSes respected encoding and 
formatting. These days an OS would rather ignore anything except the 
line terminators.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

standard input and standard output in programming languages Mark Tarver <dr.mtarver@ukonline.co.uk> - 2021-04-02 04:00 -0700
  Re: standard input and standard output in programming languages "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-04-02 14:22 +0200
  Re: standard input and standard output in programming languages Ǝ <loveaaaa@mail.ee> - 2023-08-04 04:03 -0700

csiph-web