FreeM: strange $zh output

88 views
Skip to first unread message

retired developer

unread,
Dec 23, 2021, 11:57:55 AM12/23/21
to
Hallo,

right now, I'm playing with FreeM...

For some reason, the vaste majoriti of

write $zh

gives a strange output. I think, this will be a bug...

--- sample terminal output ---
USER> w $zv

FreeM 0.44.0 (x86_64-pc-linux-gnu)

USER>

USER> k a f i=1:1:1000 s
a=$tr($zh,"123456789","000000000"),a(a)=$g(a(a))+1

USER>
USER> zw a
a=00000,00000.�00
a("00000,00000.�0")=3
a("00000,00000.�00")=10
a("00000,00000.")=29
a("00000,00000.",0)=1
a("00000,00000.","00")=11
a("00000,00000.�00")=10
a("00000,00000.�00")=11
a("00000,00000.�00")=6
a("00000,00000.�00")=7
a("00000,00000.�00")=12
a("00000,00000.�00")=1
a("00000,00000.�0")=1
a("00000,00000.�00")=2
a("00000,00000.�0")=2
a("00000,00000.�00")=8
a("00000,00000.�0")=1
a("00000,00000.�00")=8
a("00000,00000.�00")=8
a("00000,00000.�0")=1
a("00000,00000.�00")=8
a("00000,00000.�00")=9
a("00000,00000.�00")=6
a("00000,00000.�00")=9
a("00000,00000.�00")=6
a("00000,00000.�0")=2
a("00000,00000.�00")=5
a("00000,00000.�0")=1
a("00000,00000.�00")=4
a("00000,00000.�00")=5
a("00000,00000.�00")=4
a("00000,00000.�00")=8
a("00000,00000.�0")=1
a("00000,00000.�00")=6
a("00000,00000.�0")=2
a("00000,00000.�00")=5
a("00000,00000.�00")=6
a("00000,00000.�00")=8
a("00000,00000.�00")=5
a("00000,00000.�0")=2
a("00000,00000.�00")=5
a("00000,00000.�0")=1
a("00000,00000.�00")=2
a("00000,00000.�0")=1
a("00000,00000.�00")=6
a("00000,00000.�0")=1
a("00000,00000.�00")=5
a("00000,00000.�0")=1
a("00000,00000.�00")=5
a("00000,00000.�00")=6
a("00000,00000.�00")=6
a("00000,00000.�00")=4
a("00000,00000.�00")=6
a("00000,00000.�0")=1
a("00000,00000.�00")=2
a("00000,00000.�00")=6
a("00000,00000.�0")=1
a("00000,00000.�00")=3
a("00000,00000.�00")=5
a("00000,00000.�0")=1
a("00000,00000.�00")=4
a("00000,00000.�00")=6
a("00000,00000.�00")=6
a("00000,00000.�0")=1
a("00000,00000.�00")=3
a("00000,00000.�")=1
a("00000,00000.�00")=2
a("00000,00000.�0")=1
a("00000,00000.�00")=3
a("00000,00000.�0")=1
a("00000,00000.�00")=9
a("00000,00000.�0")=1
a("00000,00000.�00")=10
a("00000,00000.�0")=2
a("00000,00000.�00")=11
a("00000,00000.�00")=14
a("00000,00000.�0")=1
a("00000,00000.�00")=11
a("00000,00000.�")=1
a("00000,00000.�00")=11
a("00000,00000.�")=1
a("00000,00000.�00")=11
a("00000,00000.�0")=2
a("00000,00000.�00")=9
a("00000,00000.�0")=3
a("00000,00000.�00")=8
a("00000,00000.�0")=3
a("00000,00000.�00")=8
a("00000,00000.�00")=10
a("00000,00000.�00")=5
a("00000,00000.�00")=9
a("00000,00000.�00")=10
a("00000,00000.�0")=1
a("00000,00000.�00")=8
a("00000,00000.�0")=1
a("00000,00000.�00")=8
a("00000,00000.�0")=1
00")=7
00")=400,00000.
a("00000,00000.")=1
�("00000,00000.00")=6
�("00000,00000.00")=6
a("00000,00000.0")=1
a("00000,00000.00")=5
a("00000,00000.0")=2
a("00000,00000.00")=4
a("00000,00000.00")=6
a("00000,00000.0")=1
a("00000,00000.00")=4
a("00000,00000.00")=6
a("00000,00000.00")=6
a("00000,00000.0")=2
a("00000,00000.00")=3
a("00000,00000.00")=3
a("00000,00000.00")=4
a("00000,00000.00")=6
a("00000,00000.�00")=5
a("00000,00000.")=2
a("00000,00000.0")=3
a("00000,00000.00")=5
a("00000,00000.00")=5
a("00000,00000.")=1
a("00000,00000.00")=4
a("00000,00000.0")=1
a("00000,00000.00")=4
a("00000,00000. 00")=5
a("00000,00000.!00")=4
a("00000,00000.""00")=5
a("00000,00000.#00")=5
a("00000,00000.$00")=5
a("00000,00000.%00")=4
a("00000,00000.&00")=5
a("00000,00000.'00")=5
a("00000,00000.(00")=4
a("00000,00000.)")=1
a("00000,00000.)00")=4
a("00000,00000.*00")=4
a("00000,00000.+")=1
a("00000,00000.+00")=3
a("00000,00000.,00")=4
a("00000,00000.-00")=5
a("00000,00000..0")=1
a("00000,00000..00")=3
a("00000,00000./00")=4
a("00000,00000.0")=1
a("00000,00000.00")=4
a("00000,00000.000")=37
a("00000,00000.:00")=4
a("00000,00000.;00")=5
a("00000,00000.<00")=4
a("00000,00000.=0")=1
a("00000,00000.=00")=3
a("00000,00000.>00")=4
a("00000,00000.?0")=1
a("00000,00000.?00")=1
a("00000,00000.@0")=1
a("00000,00000.@00")=3
a("00000,00000.A00")=4
a("00000,00000.B0")=1
a("00000,00000.B00")=2
a("00000,00000.C00")=4
a("00000,00000.D00")=4
a("00000,00000.E00")=4
a("00000,00000.F0")=1
a("00000,00000.F00")=2
a("00000,00000.G00")=4
a("00000,00000.H00")=4
a("00000,00000.I00")=2
a("00000,00000.J")=1
a("00000,00000.J0")=2
a("00000,00000.J00")=1
a("00000,00000.K00")=3
a("00000,00000.L00")=4
a("00000,00000.M00")=3
a("00000,00000.N00")=4
a("00000,00000.O00")=3
a("00000,00000.P00")=4
a("00000,00000.Q0")=1
a("00000,00000.Q00")=2
a("00000,00000.R00")=3
a("00000,00000.S00")=3
a("00000,00000.T00")=2
a("00000,00000.]00")=1
a("00000,00000.^00")=3
a("00000,00000._00")=3
a("00000,00000.`00")=3
a("00000,00000.a00")=3
a("00000,00000.b00")=3
a("00000,00000.c00")=4
a("00000,00000.d0")=1
a("00000,00000.d00")=2
a("00000,00000.e0")=1
a("00000,00000.e00")=2
a("00000,00000.f00")=3
a("00000,00000.g00")=1
a("00000,00000.h00")=3
a("00000,00000.i00")=3
a("00000,00000.j00")=3
a("00000,00000.k0")=1
a("00000,00000.k00")=2
a("00000,00000.l00")=3
a("00000,00000.m00")=3
a("00000,00000.n00")=2
a("00000,00000.o0")=1
a("00000,00000.o00")=2
a("00000,00000.p00")=3
a("00000,00000.q00")=2
a("00000,00000.r0")=1
a("00000,00000.r00")=2
a("00000,00000.s00")=2
a("00000,00000.t00")=3
a("00000,00000.u0")=1
a("00000,00000.u00")=2
a("00000,00000.v00")=2
a("00000,00000.w00")=3
a("00000,00000.x00")=3
a("00000,00000.y0")=2
a("00000,00000.z0")=1
a("00000,00000.z00")=2
a("00000,00000.{0")=1
a("00000,00000.{00")=1
a("00000,00000.|0")=2
a("00000,00000.|00")=1
a("00000,00000.}00")=2
a("00000,00000.~00")=3
a("00000,00000.00")=2

USER>
--- end of sample ---

Regards and
have a nice day
Julius

--
An old Windows has old security holes.
A new Windows has new security holes.
Another OS has other security holes.
For safety you must care yourself.

chocolat...@gmail.com

unread,
Dec 28, 2021, 9:59:11 PM12/28/21
to
On Thursday, December 23, 2021 at 9:57:55 AM UTC-7, retired developer wrote:
> Hallo,
>
> right now, I'm playing with FreeM...
>
> For some reason, the vaste majoriti of
>
> write $zh
>
> gives a strange output. I think, this will be a bug...
>
> --- sample terminal output ---
> USER> w $zv
>
> FreeM 0.44.0 (x86_64-pc-linux-gnu)
>
> USER>
>
> USER> k a f i=1:1:1000 s
> a=$tr($zh,"123456789","000000000"),a(a)=$g(a(a))+1
>
> USER>
> USER> zw a
> a=00000,00000.�00

<snipped>

> a("00000,00000.00")=2
>
> USER>
> --- end of sample ---
>
> Regards and
> have a nice day
> Julius
>
> --
> An old Windows has old security holes.
> A new Windows has new security holes.
> Another OS has other security holes.
> For safety you must care yourself.

Hello Julius,

I have pushed a patch to fix this bug. It is fixed as of FreeM 0.47.2

Please let me know if this solves the problem!

Thanks,
John Willis

retired developer

unread,
Dec 30, 2021, 12:06:38 PM12/30/21
to

Hello John,

On 29.12.21 03:59, chocolat...@gmail.com wrote:
>
> I have pushed a patch to fix this bug. It is fixed as of FreeM 0.47.2
>
> Please let me know if this solves the problem!

thank you.

When the holidays are over I will give it a try.

A Happy New Year 2022.

Regards,
Reply all
Reply to author
Forward
0 new messages