dasyar wrote:Since I use 'fbc -s gui xxxx.bas' for my Windows 7 compile, will 'fbc -s gui xxxx.bas' work on the Raspberry Pi, or do I have to install more missing libs? And of course, what would be the preferred GUI solution for a .bas program on the RPi?
Option
-s gui has no effect on LINUX systems,
The prefered GUI solution is always GTK+ (on all systems, including RPi).
dasyar wrote:As a trial run, I have another program called SimTerm.bas which I went ahead and compiled using Geany, on the Raspberry Pi, which worked after adding the missing lib. On my test hardware setup I have an XBee module plugged into the RPi USB port(/dev/ttyUSB0) and another XBee module plugged into my Windows 7 desktop. I started my FBterm.bas program on the Windows desktop, and I started SimTerm.bas on the RPi, and they were communicating as expected. On the RPi and on the Linux installs I think you have to setup some dialout privileges in order to get access to the /dev/ttyXXXX ports, but I am not sure if FBC does that for you when you compile a program that uses the tty ports.
Usually the user has to be a member of the 'dialout' group to access /dev/ttyXXXX (this may vary in different LINUX ports).
I don't understand what you're trying to do.
To control the RPi from your PC, connect the RPi to your LAN and just execute
ssh username@RPi_IP_Addr at the commanmd line of your PC. You'll get a login prompt from the RPi. After login you'll have command line access on the RPi.
On a LINUX PC you can use
ssh -X username@RPi_IP_Addr and you can run grafic applications as well. (I don't know if there's a similar ssh option on other OSs as well.)