Search found 156 matches

by cogier
Friday 15th December 2017 11:17am
Forum: General
Topic: Cut and Paste in Terminal
Replies: 15
Views: 1035

Re: Cut and Paste in Terminal

Hi Didier, A good example of changing something and breaking it!! Move line 54 ' If Not Exist(sFolder) Then Mkdir sFolder ' to line 43, just before ' Me.Show ' Salut Didier, Un bon exemple de changement et de rupture!! Déplacez la ligne 54' If Not Exist(sFolder) Then Mkdir sFolder ' à la ligne 43, j...
by cogier
Thursday 14th December 2017 2:55pm
Forum: General
Topic: Cut and Paste in Terminal
Replies: 15
Views: 1035

Re: Cut and Paste in Terminal

Hi Didier, Thanks for trying the program. I think most Distributions have a Home folder and run in a protected mode and not in root. I have tried in the past to load ToOpPy but I ran into all sorts of problems. 'sudo' should not have been a problem as I didn't use it. The program tries to make a fol...
by cogier
Wednesday 13th December 2017 6:37pm
Forum: General
Topic: Cut and Paste in Terminal
Replies: 15
Views: 1035

Re: Cut and Paste in Terminal

The attached program was what it was all about. I would appreciate any feed back as I know you good people use different Distros.
EasyTerminal_378.png
EasyTerminal_378.png (3.74 MiB) Viewed 579 times
EasyTerminal.tar
(799 KiB) Downloaded 27 times
by cogier
Sunday 10th December 2017 5:05pm
Forum: General
Topic: Cut and Paste in Terminal
Replies: 15
Views: 1035

Re: Cut and Paste in Terminal

With the help of my friend Matt we found that the 'TerminalView.copy' works fine but we could not get the 'TerminalView.paste' to work. So with the help of 'Desktop.sendkeys' we came up with the following code for the 'Terminal_Copy_Paste' program in my first post. Thanks for all the input. pBash As...
by cogier
Thursday 07th December 2017 3:29pm
Forum: General
Topic: Cut and Paste in Terminal
Replies: 15
Views: 1035

Re: Cut and Paste in Terminal

I have tried looking for the '\n' (gb.newline) but it is not put in the text so does not show up in a string. :(
by cogier
Wednesday 06th December 2017 5:24pm
Forum: General
Topic: Cut and Paste in Terminal
Replies: 15
Views: 1035

Re: Cut and Paste in Terminal

Thanks Didier but I still can't get it to work. I have even loaded the Gambas daily build on a computer hoping that the 'help' for TerminalView had been updated, but no!
by cogier
Tuesday 05th December 2017 3:31pm
Forum: General
Topic: Cut and Paste in Terminal
Replies: 15
Views: 1035

Cut and Paste in Terminal

Can anyone point me in the right direction. I am trying to Cut and Paste in a Gambas Terminal. I have attached a small program to help highlight the issue. I would like to be able to Copy selected text from Terminal and Paste text into Terminal. I can Copy but only ALL the text, no need to highlight...
by cogier
Saturday 25th November 2017 3:55pm
Forum: General
Topic: Terminal
Replies: 2
Views: 273

Re: Terminal

My friend Matt found the issue. I had copied the gb.Terminal code that used TerminalView.kill to stop the Terminal in the Form_Close() routine. This was added as the TerminalView does not close when the Form is closed. By setting up a Process pBash As Process the TerminalView will start with pBash =...
by cogier
Friday 24th November 2017 4:49pm
Forum: General
Topic: Terminal
Replies: 2
Views: 273

Terminal

Using the Gambas Terminal the 'bash' history file is loaded so that pressing the [up arrow] gives you the previously used command. All the commands typed in the Terminal are also remembered. This is what you would expect. However once the Terminal is closed everything typed while it was open is lost...
by cogier
Saturday 11th November 2017 12:24pm
Forum: General
Topic: "And" query
Replies: 3
Views: 317

Re: "And" query

Thanks guys, the 'And If' fixed it.