Search found 1583 matches
- Sunday 30th August 2020 12:00pm
- Forum: Project showcase
- Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
- Replies: 10
- Views: 26685
Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
I need to get a life and stop working on this lol :) major bugfix. I found a bug in the listening pipe routine where multiple lines of text were not being processed correctly. Trying to get my head around how to access the Eof(hFile) call or the hFile.EndOffile without locking up the app was driving...
- Wednesday 26th August 2020 11:01pm
- Forum: Project showcase
- Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
- Replies: 10
- Views: 26685
Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Further Updated now... Lots of tweaking , more options added. Big change in the pipe reading routine. I found using the timer method to echo the pipe was occasionally missing messages somehow so was looking into it. then finally i figured out the pipes 'Watch' option and using the File_Read() event ...
- Saturday 22nd August 2020 7:26pm
- Forum: Project showcase
- Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
- Replies: 10
- Views: 26685
Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Source code is getting more complex now. :roll: Added lots of new features. Gave it a home on git. https://github.com/BruceSteers/GForm Here's the current arg list , my how it's grown..... currently supported objects are... Button, ToggleButton, TextBox (InputBox), CheckBox, ListBox, DirBox, FontBox...
- Thursday 20th August 2020 4:16pm
- Forum: Project showcase
- Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
- Replies: 10
- Views: 26685
Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Here's an update... Arguments are.... (Runtime args when launching GForm) title="Title for window top" width=<n> , manually define a window width box , makes a Horizontal box, subsequent objects go in the box until unboxed unbox , finishes the box button="name|text|close" , makes...
- Thursday 20th August 2020 2:00pm
- Forum: Project showcase
- Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
- Replies: 10
- Views: 26685
Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Hi Cool. I've made some additions already like now it also has an incoming pipe. So the gui can talk to the script about events and the script can send command to the gui too. I've got a working example here that the script can change text fields and list indexes and stuff. Like I say it's a way to ...
- Wednesday 19th August 2020 1:05am
- Forum: Project showcase
- Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
- Replies: 10
- Views: 26685
GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Pre Note... All uploads except the latest version of this app i uploaded to this thread i've deleted. for one i was having a problem with my executable files being too large because of things i had in the source dir so they were wasting Gambas ones storage space. Plus i think people may download the...
- Sunday 16th August 2020 9:46pm
- Forum: General
- Topic: Terminal with Shell
- Replies: 7
- Views: 6699
Re: Terminal with Shell
Happy to set you all on the right path
Ps. Another way to get your forms to close properly is simply put 'Quit 0' at the end of your form_close procedure. That will kill any lingering unwanted processes on exit
Ps. Another way to get your forms to close properly is simply put 'Quit 0' at the end of your form_close procedure. That will kill any lingering unwanted processes on exit
- Sunday 16th August 2020 5:40pm
- Forum: General
- Topic: Terminal with Shell
- Replies: 7
- Views: 6699
Re: Terminal with Shell
aah lol , yeah don't forget the return key \n :D Nice code Cogier :) You get the gist I hope. Knowing what the terminal view is actually doing internally (idle or not) while it has an active shell in it seems limited but we can monitor the process.status of whether the shell is active. so trailing y...
- Sunday 16th August 2020 11:17am
- Forum: General
- Topic: Terminal with Shell
- Replies: 7
- Views: 6699
Re: Terminal with Shell
I found the way to use Terminal view like that was to use the Process.State to see if it's active. I also had a job getting standard commands to do anything with the Shell or Exec methods. Only got it to work by first issuing it the 'bash' command, then Input my command followed by ;exit then a shel...
- Friday 7th August 2020 4:49pm
- Forum: Project showcase
- Topic: Sudo relauncher class (using pkexec)
- Replies: 1
- Views: 3231
Sudo relauncher class (using pkexec)
Hi. I've been writing a class based on something my pkAppMan application does... As it loads it checks the pkexec policy list to see if '/usr/bin/gbr3' is in it. if not run as root and gbr3 is not in pkexec list then it displays a message telling the user to run the application from a shell as root ...