Search found 220 matches

by jornmo
Monday 16th January 2017 12:45pm
Forum: General
Topic: Did you know?
Replies: 91
Views: 415603

Re: Did you know?

I did :)

Have you tried typing ps+ tab? Or v + tab? Or _n +tab?
by jornmo
Saturday 14th January 2017 2:29pm
Forum: Web
Topic: Web Form
Replies: 10
Views: 25414

Re: Web Form

Wow! That's very impressive! I've seen the site before, but had no clue it was made with Gambas... I sure need to look at the code and see what you guys have been up to. Good job :!:
by jornmo
Wednesday 4th January 2017 9:42am
Forum: General
Topic: Gambas for Puppy-Linux
Replies: 19
Views: 32025

Re: Gambas for Puppy-Linux

The image was the best I could find that had a reasonable size :)

Thanks for your contribution and welcome to the forums!
by jornmo
Tuesday 3rd January 2017 10:36am
Forum: General
Topic: Gambas for Puppy-Linux
Replies: 19
Views: 32025

Re: Gambas for Puppy-Linux

I made a news item about this on the front page http://wordpress.gambas.one/2017/01/03/ ... ppy-linux/
by jornmo
Tuesday 3rd January 2017 9:49am
Forum: Lounge
Topic: Technical Support Request Form
Replies: 2
Views: 6983

Re: Technical Support Request Form

That might actually had helped quite a few times in my experience :)
by jornmo
Wednesday 28th December 2016 11:03am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24560

Re: Reading a USB stream from a DYMO M10 scales

Well, what you just did in the shell here, is what gb.pcre does. [0-9]* is regular expression for any digits between 0-9, which is the same as any digit. That mean you could use \d instead of [0-9]. When you just leave it there it will stop looking at the first match, but when you added * it will co...
by jornmo
Monday 26th December 2016 10:09am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24560

Re: Reading a USB stream from a DYMO M10 scales

My second question referes to this:

Code: Select all

sOutput = Mid$(sOutput, InStr(sOutput, "hidraw"), 7)
If you've got a file named "hidraw10" it will not work, it needs to be 8, not 7 in that case.
by jornmo
Sunday 25th December 2016 7:05pm
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24560

Re: Reading a USB stream from a DYMO M10 scales

Have you disabled password for sudo on your linux user for this to work?
What if you got more than 9 hidraw files? (Hint: gb.pcre -> regex)
by jornmo
Friday 23rd December 2016 9:30am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24560

Re: Reading a hiddev stream

And, when there are changes you re-create the stream.
by jornmo
Friday 23rd December 2016 9:29am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24560

Re: Reading a hiddev stream

This is more or less of a guess work from my side, but perhaps you can check the Stream.EndOfFile boolean value, and send the Stream.Close() signal to kill it. Then you could monitor the hidraw3 file for changes with the gb.inotify component?