[Gambas-user] shell

2013-12-02 Thread Mike Crean
Hey boys, I am trying to emulate the terminal string sudo sh -c 'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell, sudo sh -c 'echo out /sys/class/gpio/gpio27/direction'] and get an error /bin/sh: 0: Can't

[Gambas-user] (no subject)

2013-12-02 Thread Mike Crean
Hey boys, I am trying to emulate the terminal string sudo sh -c 'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell, sudo sh -c 'echo out /sys/class/gpio/gpio27/direction'] and get an error /bin/sh: 0: Can't

Re: [Gambas-user] shell

2013-12-02 Thread Kende Krisztián
2013-12-02 12:17 keltezéssel, Mike Crean írta: Hey boys, I am trying to emulate the terminal string sudo sh -c 'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell, sudo sh -c 'echo out

Re: [Gambas-user] shell

2013-12-02 Thread Tobias Boege
On Mon, 02 Dec 2013, Mike Crean wrote: Hey boys, I am trying to emulate the terminal string sudo sh -c 'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell, sudo sh -c 'echo out

Re: [Gambas-user] (no subject)

2013-12-02 Thread Jussi Lahtinen
Given string to exec is invalid. http://gambasdoc.org/help/lang/exec?v3 shell sudo sh -c 'echo out /sys/class/gpio/gpio27/direction' Why this would do anything? sudo is without any input, unnecessary sh -c and then command which output should be out /sys/class/gpio/gpio27/direction. If you want

Re: [Gambas-user] Where are the examples in gambas 3.5.1?

2013-12-02 Thread Carl Nilsson
G'day Matti: I don't have a success story to report yet, but I have not been idle and thought I should report. I spent quite some time looking at that 'versions' tab. Couldn't actually do anything with it until later today when I realised that only some packages had alternate versions from

Re: [Gambas-user] gambas documentation offline include in source (gb.web)

2013-12-02 Thread PICCORO McKAY Lenz
From: Rob Kudla sourceforge-raind...@kudla.org Should be... I did apt-get source gambas3 and the source for the program is here inside the tarball: gambas3-3.1.1/app/src/doc.cgi/ yes, but the idea its to generate when user/admin goes to install, and the ide use it that in preference to

Re: [Gambas-user] DataCheckBox Bugs

2013-12-02 Thread Marty
Benoit, Thank you for your explanation. I now understand why the tristate and click properties are not supported by the DataCheckBox control. You might want to revise the docs and auto-complete on this control to remove remove references to these properties. I've changed the fields in the

Re: [Gambas-user] shell

2013-12-02 Thread MinnesotaJon
Maybe I'm not understanding the problem, but sudo always wants a password, right? In which case you have to feed it a password with the Exec or Shell command. I'm not a shell script expert (just learning), but I assume that the string would look like this: Exec [system.shell, sudo sh -c 'echo

Re: [Gambas-user] shell

2013-12-02 Thread Rolf-Werner Eilert
You could allow a certain user to execute a command via the sudo system. I've got this here, one of the teachers is able to switch the internet on and off for students by applying a script. Normally, only the admin is allowed to change the filter chain... A Gambas front-end picks out the

Re: [Gambas-user] gambas documentation offline include in source (gb.web)

2013-12-02 Thread Tobias Boege
On Mon, 02 Dec 2013, PICCORO McKAY Lenz wrote: From: Rob Kudla sourceforge-raind...@kudla.org Should be... I did apt-get source gambas3 and the source for the program is here inside the tarball: gambas3-3.1.1/app/src/doc.cgi/ yes, but the idea its to generate when user/admin goes to

Re: [Gambas-user] gambas documentation offline include in source (gb.web)

2013-12-02 Thread Bruce
On Mon, 2013-12-02 at 18:16 +0100, Tobias Boege wrote: In a next step, we would write a parser to let the IDE display this help and Its already there. Local modules inline help is shown even if there is no internet connection. Another idea would be to somehow generate all the structural help

Re: [Gambas-user] Webview editing problem

2013-12-02 Thread Michael Hart
On 29/11/13 09:39, michael wrote: I have written a small project which is intended to test editing an html page (I would like to create a wysiwyg markdown editor). I have attached a copy. I am having trouble with editing the html programattically

Re: [Gambas-user] Configure method of ToolBar

2013-12-02 Thread Jesus
El 01/12/13 16:54, Jesus escribió: Hi all I'm trying to get up and running a project which have a Toolbar and some toolbuttons in it. I'd like to mimic the same behavior toolbars have in Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but calling the configure method throws an

Re: [Gambas-user] Configure method of ToolBar

2013-12-02 Thread Benoît Minisini
Le 03/12/2013 00:41, Jesus a écrit : El 01/12/13 16:54, Jesus escribió: Hi all I'm trying to get up and running a project which have a Toolbar and some toolbuttons in it. I'd like to mimic the same behavior toolbars have in Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but

Re: [Gambas-user] shell

2013-12-02 Thread Ivan Kern
Hi Try Shell echo 'mypassword' |sudo -S sh -c 'echo out /sys/class/gpio/gpio27/direction Regards -Ursprüngliche Nachricht- Von: Mike Crean [mailto:mike.cr...@y7mail.com] Gesendet: Montag, 2. Dezember 2013 12:18 An: Mike Betreff: [Gambas-user] shell Hey boys, I am trying to emulate