comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Dump screen content into file....
Date: 1996/12/09
Date: 1996-12-09T00:00:00+00:00	[thread overview]
Message-ID: <1996Dec9.164917.1@eisner> (raw)
In-Reply-To: 32AC4A25.41C6@cnam.fr


In article <32AC4A25.41C6@cnam.fr>, BAMBA ISMAEL 19320 <bamba_i@cnam.fr> writes:

> Does anybody knows how to save a rs232 terminal screen( standard output)
> into a file and conversely (dump a given file into memory)?

> P.S:If Robert Dewar is to answer,please let him be a little bit humble
> and stop speculating about what ones in his mind fails to understand or
> not.I indeed need some hints.but this in no way makes me stupid.let
> M.Dewar know i might not know Ada but i do know some other languages.in
> addition to this, i do not feel like arguing about the "turbo" features
> of pascal...

Regardless of what the other language is with which you might be
familiar, the process of reading characters from an RS232 device
into memory and writing them to disk will be much the same in
Ada.  You need a manual for the device to determine whether it
is able to answer inquiries regarding the characters on screen
(most are not).

So you want to send various control functions to the terminal,
and you do that using Ada IO capabilities as you would the
IO capabilities of the other languages you use.  Or perhaps
on some operating systems (like VMS) you might want to use
OS-specific calls to obtain larger buffers or asynchrouous
input from a single read, or read-with-prompt semantics.

The process of reading characters from a terminal screen
really has much more to do with the model of terminal
than with the programming language, so you might consider
a hardware-specific newsgroup.

Larry Kilgallen




  parent reply	other threads:[~1996-12-09  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-09  0:00 Dump screen content into file BAMBA ISMAEL 19320
1996-12-09  0:00 ` john schneider
1996-12-09  0:00 ` Larry Kilgallen [this message]
1996-12-10  0:00   ` BAMBA ISMAEL 19320
1996-12-10  0:00     ` Larry Kilgallen
1996-12-10  0:00   ` Jon S Anthony
1996-12-11  0:00     ` Fergus Henderson
1996-12-11  0:00   ` Jon S Anthony
replies disabled

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