Content-type: text/html; charset=UTF-8
X11-Basic is a dialect of the BASIC programming language with graphics capability.
fbxbasic is the framebuffer version of the X11-Basic interpreter. It excecutes BASIC programs, which usually have the extension .bas or .xbas.
The base functionallity is exactly the same as the (normal, X11/X.org version) of X11-Basic. Please also read the man page of xbasic(1).
fbxbasic is independent of the X.org installation and can run without, though supporting all graphics commands of the language.
To show graphics on the screen, fbxbasic trys to open a framebuffer device, supported by the operating system. By default /dev/fb0 is opened, but you can also specify a specific device with the --framebuffer option (see below).
Mouse and keyboard input is also supported by corresponding raw devices which can be specified via the commanline options --mouse and --keyboard .
For detailed help and description of the implemented basic commands take a look at the README file which comes with the X11-Basic package. There is also a full users manual available as *.pdf file on the homepage.
A prompt will be displayed and any command can be typed in. It will be excecuted immediately after pressing return or enter. The input is buffered and can be edited using the up and down arrows on the keyboard.
To quit the program simply enter quit or press CTRL-C.
fbxbasic testme.bas fbxbasic testme.b fbxbasic --framebuffer /dev/fb0 -e 'alert 1,"Hello world !",1," OK ",b'
For a complete language reference of X11-Basic please refer to the manual. You should be able to find one at http://x11-basic.sourceforge.net/x11basic.html
You can find additional sample programs in /usr/share/doc/packages/X11Basic/examples.
For a complete language reference of X11-Basic please refer to the manual. You should be able to find one at http://x11-basic.sourceforge.net/x11basic.html
If you find a bug in the X11-Basic interpreter, you should report it. But first, you should make sure that it really is a bug, and that it appears in the latest version of the X11-Basic package that you have.
Once you have determined that a bug actually exists, mail a bug report to kollo@users.sourceforge.net. If you have a fix, you are welcome to mail that as well! Suggestions may be mailed to the X11-Basic mailing list on www.sourceforge.net/projects/x11-basic or posted to the bug tracking system.
Comments and bug reports concerning this manual page should be directed to kollo@users.sourceforge.net.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
http://x11-basic.sourceforge.net/
/usr/share/doc/x11basic/
xbasic(1), ybasic(1), xbc(1), xbbc(1), bas211basic(1)