What does SetRawMode do?
var
OldIO : termio.TermIos;
inputRaw, outputRaw: boolean;
procedure saveRawSettings(const tio: termio.termios);
Begin
with tio do
begin
inputRaw :=
((c_iflag and (IGNBRK or BRKINT or PARMRK or ISTRIP or
INLCR or IGN
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.
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
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
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
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
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
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
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
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
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 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)
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
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 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
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 Monday 21 September 2015 11:06:53 Jonas Maebe wrote:
> Martin Schreiber wrote on Sun, 20 Sep 2015:
> > Are there any changes? How resourcestrings are encoded?
>
> Resourcestrings are stored using the same code page as constant
> ansistrings in the source file in which they are defined (i.e.,
> a
Martin Schreiber wrote:
FPC fixes_3_0 with the program
"
program json;
{$codepage utf8}
{$ifdef FPC}{$mode objfpc}{$h+}{$endif}
{$ifdef mswindows}{$apptype console}{$endif}
uses
{$ifdef FPC}{$ifdef unix}cthreads,cwstring,{$endif}{$endif}
sysutils;
resourcestring
a = 'aäÄ';
begin
end.
"
prod
On 2015-09-24 06:55, Martin Schreiber wrote:
> Is this intended? How can translation tools know that the Unicode points must
> be interpreted as utf-8 code units in this case?
I would guess you found a bug or the implementation is incomplete - but
then FPC 3.0 is in rc phase as far as I know.
I
20 matches
Mail list logo