Re: [Gambas-user] Variation in output

2015-12-23 Thread Charlie
Thanks for this Zainudin A. It does work as you described. Can you tell me why this works and why it doesn't work in a Home directory? Thanks. -- View this message in context: http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p55085.html Sent from the gambas-user mailing list archive

Re: [Gambas-user] Variation in output

2015-12-23 Thread zainudin ahmad
Because I use "inxi" from the directory "/tmp/Execute_bug", Maybe you can try - Delete this line: Chmod "/tmp/Execute_bug/inxi" To "rwx" - And changing: Shell "/tmp/Execute_bug/inxi -n -Z -c0" To sNetwork become: Shell "inxi -n -Z -c0" To sNetwork On Thu, Dec 24, 2015 at 12:02 AM,

Re: [Gambas-user] Variation in output

2015-12-20 Thread Charlie
Thanks for the replies. I have tried both the *-z* and *-Z* options but neither seem to have any effect. Regarding the use of *Trim* I do use this and other tricks to remove double spaces etc. but it does not alter the output. -- View this message in context:

Re: [Gambas-user] Variation in output

2015-12-14 Thread Rolf-Werner Eilert
Fabien, do you need a real VT terminal to test your component? With RS 232 input wide plug, black and white screen... Would be freaky, wouldn't it? I've got two of those, but with a German keyboard. Regards Rolf Am 14.12.2015 09:29, schrieb Fabien Bodard: > you can use trim first > >

Re: [Gambas-user] Variation in output

2015-12-14 Thread Fabien Bodard
2015-12-14 10:04 GMT+01:00 Rolf-Werner Eilert : > Fabien, do you need a real VT terminal to test your component? With RS > 232 input wide plug, black and white screen... Would be freaky, wouldn't it? > > I've got two of those, but with a German keyboard. OH !!!

Re: [Gambas-user] Variation in output

2015-12-14 Thread Rolf-Werner Eilert
Ok :) Am 14.12.2015 16:39, schrieb Fabien Bodard: > 2015-12-14 10:04 GMT+01:00 Rolf-Werner Eilert : >> Fabien, do you need a real VT terminal to test your component? With RS >> 232 input wide plug, black and white screen... Would be freaky, wouldn't it? >> >> I've got

Re: [Gambas-user] Variation in output

2015-12-14 Thread Fabien Bodard
you can use trim first http://gambaswiki.org/wiki/lang/trim?l=fr and then try to see what to remove or remove all string between chr(27) and ";","h","l" well it will not fix all ... my next project concern a little bit that. I'm writting for my own needs a vt100/102 component. That is able to

Re: [Gambas-user] Variation in output

2015-12-13 Thread zainudin ahmad
may be you can try option -Z (instead -z) (attach pic) On Sat, Dec 12, 2015 at 1:47 PM, Charlie wrote: > Thanks for looking at this. > Regarding the 'Esc' colour characters, the code posted does remove them. I > also discovered that when run as an executable there are lots

[Gambas-user] Variation in output

2015-12-11 Thread Charlie
Can someone have a look at a bug that I have run into. The output inside the IDE is as expected but when made into an executable the output is very different. Output when run in the IDE as expected: - Run_in_IDE.png Output when

Re: [Gambas-user] Variation in output

2015-12-11 Thread Jussi Lahtinen
Oh, so it was tar file... I got the project open and if I run it from terminal everything is OK. But if I just double click on the executable I get the gibberish. So, it is not necessarily IDE vs executable, but how it was launched. Output of "$ inxi -n" gives the result with different colors.

Re: [Gambas-user] Variation in output

2015-12-11 Thread Jussi Lahtinen
"inxi -n -c0" removes the gibberish, but the MAC address etc are not told, instead it says ""?? Could this be permission problem? Jussi On Sat, Dec 12, 2015 at 1:27 AM, Jussi Lahtinen wrote: > Oh, so it was tar file... I got the project open and if I run it from >

Re: [Gambas-user] Variation in output

2015-12-11 Thread Charlie
Thanks for looking at this. Regarding the 'Esc' colour characters, the code posted does remove them. I also discovered that when run as an executable there are lots of other characters that are not showing in the IDE like *chr(3)* but these can easily be removed. The main issue for me is why

Re: [Gambas-user] Variation in output

2015-12-11 Thread Jussi Lahtinen
The file (execute_bug.gz) seems to be corrupted, I can't open it. Is that output to terminal? Maybe it is, because of your terminal settings? Jussi On Fri, Dec 11, 2015 at 4:53 PM, Charlie wrote: > Can someone have a look at a bug that I have run into. The output inside >

Re: [Gambas-user] Variation in output

2015-12-11 Thread Fabien Bodard
try to change the charset for outout. 2015-12-11 18:31 GMT+01:00 Jussi Lahtinen : > The file (execute_bug.gz) seems to be corrupted, I can't open it. > Is that output to terminal? Maybe it is, because of your terminal settings? > > > Jussi > > On Fri, Dec 11, 2015 at