El 23/9/2015 12:25 PM, Rainer Stratmann escribió:
Rather than saving the state in a static way, I prefer implementing a
Push/Pop (LIFO queue) approach to allow for nested pairs of setting and
restoring, like this:
Type IOsCollection = {Any sort of collection, array, list, or record
with lin
On Wednesday 23 September 2015 13:19:28 you wrote:
> Rainer Stratmann wrote on Wed, 23 Sep 2015:
> > Does an example exist to turn off (and on) the rawmode?
>
> You posted the routine to do that yourself in the first mail of this
> thread (the last one).
There is not enough information available
On Wednesday 23 September 2015 22:40:32 you wrote:
> What means CRT for ? :)
https://en.wikipedia.org/wiki/Cathode_ray_tube
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
What means CRT for ? :)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wednesday 23 September 2015 18:24:54 you wrote:
> On 23/09/15 15:06, Rainer Stratmann wrote:
> > On Wednesday 23 September 2015 13:19:28 you wrote:
> >> >Rainer Stratmann wrote on Wed, 23 Sep 2015:
> >>> > >Does an example exist to turn off (and on) the rawmode?
> >> >
> >> >You posted the ro
On Wednesday 23 September 2015 18:24:54 you wrote:
> On 23/09/15 15:06, Rainer Stratmann wrote:
> > On Wednesday 23 September 2015 13:19:28 you wrote:
> >> >Rainer Stratmann wrote on Wed, 23 Sep 2015:
> >>> > >Does an example exist to turn off (and on) the rawmode?
> >> >
> >> >You posted the ro
On 23/09/15 15:06, Rainer Stratmann wrote:
On Wednesday 23 September 2015 13:19:28 you wrote:
>Rainer Stratmann wrote on Wed, 23 Sep 2015:
> >Does an example exist to turn off (and on) the rawmode?
>
>You posted the routine to do that yourself in the first mail of this
>thread (the last one)
Rainer Stratmann wrote:
On Wednesday 23 September 2015 13:19:28 you wrote:
Rainer Stratmann wrote on Wed, 23 Sep 2015:
Does an example exist to turn off (and on) the rawmode?
You posted the routine to do that yourself in the first mail of this
thread (the last one).
http://man7.org/linux/ma
On Wednesday 23 September 2015 13:19:28 you wrote:
> Rainer Stratmann wrote on Wed, 23 Sep 2015:
> > Does an example exist to turn off (and on) the rawmode?
>
> You posted the routine to do that yourself in the first mail of this
> thread (the last one).
>
http://man7.org/linux/man-pages/man3/te
On Wednesday 23 September 2015 13:19:28 you wrote:
> Rainer Stratmann wrote on Wed, 23 Sep 2015:
> > Does an example exist to turn off (and on) the rawmode?
>
> You posted the routine to do that yourself in the first mail of this
> thread (the last one).
Ok, I guess the ONOCR flag in c_oflag bit
Rainer Stratmann wrote on Wed, 23 Sep 2015:
Does an example exist to turn off (and on) the rawmode?
You posted the routine to do that yourself in the first mail of this
thread (the last one).
Jonas
___
fpc-pascal maillist - fpc-pascal@lists.f
Rainer Stratmann wrote:
Does it have something to do with the output of Linux commands?
Now the outputs are:
Message 1
Message 2
Message 3
How is it possible to get the normal behaviour?
stty sane
Note that is doesn't so much affect the out
On Wednesday 23 September 2015 12:05:43 you wrote:
> In our previous episode, Rainer Stratmann said:
> > Does it have something to do with the output of Linux commands?
>
> Yes. In raw mode cr and lf are separate. so suddenly your lf only advances
> to the next line, but doesn't reset the carriag
In our previous episode, Rainer Stratmann said:
> Does it have something to do with the output of Linux commands?
Yes. In raw mode cr and lf are separate. so suddenly your lf only advances
to the next line, but doesn't reset the carriage to the first column.
Use TProcess to capture the command ou
Does it have something to do with the output of Linux commands?
Now the outputs are:
Message 1
Message 2
Message 3
How is it possible to get the normal behaviour?
Message 1
Message 2
Message 3
On Wednesday 23 September 2015 11:46:15 you wrot
Rainer Stratmann wrote:
What does SetRawMode do?
Applies CFMakeRaw.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.free
On Tue, 22 Sep 2015, Rainer Stratmann wrote:
What does SetRawMode do?
puts the terminal in RAW mode.
This disables usual terminal tricks such as translating CTRL-C to SIGINT etc.
A terminal does quite some things 'behind your back', which are not desirable
for the CRT unit.
Michael.
> When using the crt unit the CR LF is not working properly as I understand.
quite the opposite, crt makes CR LF works as intended per character (see
last answer)
> Is it possible to change this behaviour?
yes, don't use crt
> So that the CR LF is working?
Back to first answer
> For examlp
18 matches
Mail list logo