Okay, I realize I should RTFM, but I intended to fly at this with gambas' GUI
terminal commands. I'm going to bow out for now. Thank you for your help,
Doriano Blengino. I guess I'm not/don't have the time to be an "Advanced
Bash-Scripter".
Post by Ron_1stPost by phohammerPost by Ron_1stPost by phohammerI would do as you said with the Object example, but those of infinite wisdom
made it read-only.
When you make a copy to your home directory or the place where you want
to
Post by Ron_1ststore your projects it is automagic not readonly any more.
copy /usr/local/share/gambas3/examples/Basic/Object
to /home/phohammer/gambas/projects/
(note: local is on my box, gambas3 may be gambas2)
If you check you will see your name as owner and read/write
for you is OK
The 'infinite wisdom' is to prevent you to damage a valuable example
you need the next time as possible template in your next project.
It should not to be to difficult to make a copy to your home place.
This copy should test first for good working before you start
working with it.
Best regards,
Ron_1st
/home/tr/Documents/programming junk
bash: copy: command not found
nice try but using the word copy in a conversation does not
always mean the same letters as command. :)
You should really read some help for linux. See below
Post by phohammerReading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package copy
So I used my file manager to locate Object in
/usr/share/gambas2/examples/Basic/Object then right click, copy,
paste to my desired location.
The easy way and the way I did in my previous post to check
owner and rights.
Post by phohammerWhen I open the example and try to run it, it
reacts the same as my own project and does not run.
That is very strange. Did you try also another example?
Post by phohammerPost by Ron_1stBTW Program is working if you make the right correction.
Best regards,
Ron_1st
What does that mean, you got it running?
I did unpack your code archive, started my gambas IDE
select the project and used compile all.
Then run and it did not work.
It told me it could not find FStart.
So I take a look in the code and made a correction.
After compile it did work as your want it to do.
This brings me to a question.
Did you change the look of your windows in PCLinux?
Plastic has/had some problems by some people with gambas.
(it is default in PCLinux for the Windows look and feel)
I use KDE2 as theme in PCLinux2007 and Kubuntu-8.04.
This because you did not mention the error message popup.
Post by phohammerbash: copy: command not found
nice try but using the word 'copy' in a conversation does not
always mean the same letters as command. :)
There is alread many help installed and the first try you
could do when a command does not work is typing
CP(1) User Commands
NAME
cp - copy files and directories
SYNOPSIS
cp [OPTION]... [-T] SOURCE DEST
cp [OPTION]... SOURCE... DIRECTORY
cp [OPTION]... -t DIRECTORY SOURCE...
DESCRIPTION
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
.....
and many more lines of help.
Post by phohammer/home/tr/Documents/programming junk
bash: copy: command not found
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package copy
What the hell, does linux not have a copy command :)
True, the Windows 'copy' command does not exist in linux :)
It is typed as 'cp' in linux. (move is mv, remove is rm)
Second: cp <your_source> to <your_destination junc> will still not work
Just as in Windows the same rule exist in Linux based systems.
Filenames and paths with spaces inside should be quoted.
The single ' is the most safe to use and allows " in names.
The double " is need when a singl quote ' is in the name.
Ohhh and the 'to' is not need in linux (AFAiK even forbidden to use).
cp /usr/share/gambas2/examples/Basic/Object
'/home/tr/Documents/programming junk'
When you buy a new car/dvd-player/ipod/windows/camera/mobile-phone you read the
userguide, why not when starting using linux?
apt-get install abs-guide
In /usr/share/doc/abs-guide you find also the example directory, very helpfull.
For more 'Documentation and examples for the The GNU Bourne Again SHell'
apt-get install bash-doc
In /usr/share/doc you will find it, and many more.
I/you know, you/I was born with acknowledge of Windows so it is much easy :)
I hope thist will help a bit and keep face up, time will learn.
Best regards,
Ron_1st
--
A: Delete the text you reply on.
Q: What to do to get my post on top?
---
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
---
A: Top-posting.
Q: What is the most annoying thing in e-mail?
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Gambas-user mailing list
https://lists.sourceforge.net/lists/listinfo/gambas-user