Search found 732 matches

by Allanon
Wed Jan 12, 2022 1:13 am
Forum: Showcase
Topic: ANSI Lib
Replies: 5
Views: 6880

Re: ANSI Lib

Hello, Latest version is available on GitHub -> https://github.com/Allanon71/Hollywood-MAL-Libraries I've also completed the wiki with proper documentation. Some screenshots: Menu system for quick development of console applications https://i.imgur.com/wqOWPos.png Simple progress bar https://i.imgur...
by Allanon
Thu Jan 06, 2022 9:37 pm
Forum: General programming
Topic: #STDIN to read input from console
Replies: 10
Views: 3596

Re: #STDIN to read input from console

Hi @amyren, you are right, keypresses cannot be detected because, IIRC, these events are attached to windows while console programs does not have windows, so the only method is to use the DebugPrompt command or opening a file on #STDIN, but having to press enter to finalize the input it is almost li...
by Allanon
Tue Dec 28, 2021 9:11 pm
Forum: General programming
Topic: #STDIN to read input from console
Replies: 10
Views: 3596

Re: #STDIN to read input from console

@plouf

Hi plouf, it's a legit question! :)

I need to run some applications on linux servers without gui but straight from the console
by Allanon
Tue Dec 28, 2021 3:51 pm
Forum: General programming
Topic: #STDIN to read input from console
Replies: 10
Views: 3596

Re: #STDIN to read input from console

ah, ok! Thank you! :) btw, are there any chances to stream input from the console without hitting the enter key? Or maybe a DebugPrompt() version which get a single keystroke as input? The problem I have is that I've built some applications that run in the console and hitting the enter key for some ...
by Allanon
Mon Dec 27, 2021 4:06 pm
Forum: General programming
Topic: #STDIN to read input from console
Replies: 10
Views: 3596

Re: #STDIN to read input from console

Hi and Thanks! You are right, I was not using the hollywood_console executable but there is still a problem: the input is read only after I hit the enter key, is this the standard behaviour? I've tried to search for hollywood_console.exe in the guide but I was not able to find any references to it, ...
by Allanon
Mon Dec 27, 2021 12:14 pm
Forum: General programming
Topic: #STDIN to read input from console
Replies: 10
Views: 3596

#STDIN to read input from console

Hello, maybe I'm doing something wrong but I'm not able to read input from the console (on Windows) opening #STDIN file, here is my snippet I used for the test: CODE Local fid = OpenFile(Nil, #STDIN, #MODE_READ) While True ExitOnError(False) Local c = ReadChr(fid) Local le = GetLastError() ExitOnErr...
by Allanon
Thu Dec 09, 2021 9:00 am
Forum: Off topic
Topic: Raspberry Pi 4 is out!
Replies: 12
Views: 18700

Re: Raspberry Pi 4 is out!

Hi SamuraiCrow,
that's right, in the link I posted it's clearly stated that the download is for Raspberry Pi 4, I hope to try it in the weekend :)
by Allanon
Tue Dec 07, 2021 4:20 pm
Forum: Off topic
Topic: Raspberry Pi 4 is out!
Replies: 12
Views: 18700

Re: Raspberry Pi 4 is out!

Official Raspbian seems to be 32bit (now called Raspberry Pi OS), but Manjaro ha moved to 64bit, btw I've never tried it yet Some rumors say that the official distro will go 64bit soon LINKS https://manjaro.org/download/#ARM https://manjaro.org/downloads/arm/raspberry-pi-4/arm8-raspberry-pi-4-kde-pl...
by Allanon
Sat Dec 04, 2021 11:19 am
Forum: Off topic
Topic: Raspberry Pi 4 is out!
Replies: 12
Views: 18700

Re: Raspberry Pi 4 is out!

Hello Andreas!
any news about a possible linux-arm64 target? Pi4 OSes seems to drop 32bit distributions :)

Greets,
Fabio
by Allanon
Mon Nov 08, 2021 8:28 am
Forum: Showcase
Topic: SHA and HMAC functions ported to Hollywood
Replies: 10
Views: 6946

Re: SHA and HMAC functions ported to Hollywood

@lazi Unfortunately I don't have time to have a look at it right now but if IIRC the original implementation should not depend on endianess... the problem could depend on some functions I used to mimic the original Lua functions (some of them are really hacked ones :) ), have a look at the beginning...