2 new IDEs for Windows and Linux written in Freebasic

User contributed sources that have become inactive, deprecated, or generally unusable. But ... we don't really want to throw them away either.
stevie1401
Posts: 134
Joined: Apr 19, 2007 16:20
Contact:

2 new IDEs for Windows and Linux written in Freebasic

Post by stevie1401 »

I have 2 IDEs written, one for Windows, one for Linux.
Its the same, because it is the same code :-)

Please test it.
It is written with pure freebasic commands.

You can someting change with the setup.txt inside the inc folder.
The fbc-Path is only needed by windows.
Please read the setup.txt.

Have fun!

Stevie

www.hundertdrei-allerlei.de/freebasic/fred/fred0864.zip
Last edited by stevie1401 on Jul 19, 2008 10:01, edited 5 times in total.
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

Der Pfad zu fbc.exe wird in der setup datei ignoriert :-(
The path to fbc.exe are ignored from setup file

Image
Last edited by D.J.Peters on Oct 03, 2017 6:02, edited 1 time in total.
theuserbl
Posts: 29
Joined: Dec 01, 2005 13:03

Re: 2 new IDEs for Windows and Linux written in Freebasic

Post by theuserbl »

stevie1401 wrote: You can someting change with the setup.txt inside the inc folder.
The fbc-Path is only needed by windows.
Please read the setup.txt.
I have a similar problem like D.J.Peters. But here there comes no error information, it only not compiles.

And will the sourcecode of the editor in any later time published?

Greatings
theuserbl
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

with the hardcoded PATH it will work so far.
nice GUI elements for pure fbgfx lib :-)

Joshy
stevie1401
Posts: 134
Joined: Apr 19, 2007 16:20
Contact:

Post by stevie1401 »

The errors are fixed now.

@theuserbl:

The code is at time a horror mix between german and (bad) english, so I guess, you cannot understand what I have written.

But if there are people which want to read the code, I can published it in nearly time.


Stevie
theuserbl
Posts: 29
Joined: Dec 01, 2005 13:03

Post by theuserbl »

stevie1401 wrote:The code is at time a horror mix between german and (bad) english, so I guess, you cannot understand what I have written.
I am a german, too. So I think, I would understand it. :-)


But if there are people which want to read the code, I can published it in nearly time.
Would be nice.


Three or four yers ago, I also tried to write an editor in FB.
If you want you can download it at
http://www.file-upload.net/download-730 ... r.zip.html

But yours looks much nicer and can open more files.
But you editor don't make use of the "page down" key and so on.

Hopefully I will see new versions of your editor in the future.

theuserbl
stevie1401
Posts: 134
Joined: Apr 19, 2007 16:20
Contact:

Post by stevie1401 »

@theuserbl

Send me an E-Mail (stevie1401@web.de), so I will send you the code.

Greeting

Stevie
tinycla
Posts: 121
Joined: Jan 07, 2006 12:51

Re: 2 new IDEs for Windows and Linux written in Freebasic

Post by tinycla »

Please use a more portable format, the .rar is not readable under my Linux boxes. I would try to test it, if I ould install it.
stevie1401
Posts: 134
Joined: Apr 19, 2007 16:20
Contact:

Post by stevie1401 »

Now the code is free for private use.

http://www.hundertdrei-allerlei.de/fbhp/fred/

Have fun.

Stevie

Ubuntu can unrar rar files. I think other linux versions, too.
Which Linux do you have?
Under the link above you can download the editor and the code also as zip file.
DOS386
Posts: 798
Joined: Jul 02, 2005 20:55

IDE

Post by DOS386 »

> I have 2 IDEs written, one for Windows, one for Linux.
> Its the same, because it is the same code

Then it's only ONE ;-)

Started here: http://www.freebasic.net/forum/viewtopic.php?t=8497 as IDE for DOS ...

> The target of the project is to make one code for Windows and Linux.
> (Perhaps a guy can help to make it ready for Dos?)

Then subject should be changed to "Portable IDE written in FreeBASIC" ;-)

COOL. Compiles for DOS like a charm ... but

Image

(shots from Win32 executable running in DOS)

Nice, but doesn't really work. Either it's too buggy, or too CPU hoggy (seems to have less problems on faster PC's), or both.

Does this work well for anyone ?

Various bugs: unresponsive, can't type, C&P doesn't work, CTL-C crashes, black tapes on the screen, ...

Language issues:

- STGR -> CTL
- Menue -> Menu

FYI: the "can't find as.exe" bug is fixed in SVN now, should be in 0.18.4 ;-)
cha0s
Site Admin
Posts: 5319
Joined: May 27, 2005 6:42
Location: USA
Contact:

Post by cha0s »

D.J.Peters wrote:Der Pfad zu fbc.exe wird in der setup datei ignoriert :-(
The path to fbc.exe are ignored from setup file

Image
rofl @ the button label
stevie1401
Posts: 134
Joined: Apr 19, 2007 16:20
Contact:

Post by stevie1401 »

Fred0.70 can now print in color.
But the sub is not optimal. In Linux not very fast :-)

The Fred-Twins are at time NOT ready for Dos.
I have written a editor for Dos, and the code was, so I guess, ok, but the hdpmi makes always errors.

But with litte changes you can Fred use for Dos.

Stevie
AGS
Posts: 1284
Joined: Sep 25, 2007 0:26
Location: the Netherlands

Post by AGS »

stevie1401 wrote:Fred0.70 can now print in color.
But the sub is not optimal. In Linux not very fast :-)

The Fred-Twins are at time NOT ready for Dos.
I have written a editor for Dos, and the code was, so I guess, ok, but the hdpmi makes always errors.

But with litte changes you can Fred use for Dos.

Stevie
I've tried the IDE, Stevie. First of all I think it is brilliant for someone to write an editor using GFX. Very orignial (and I mean that in a positive way).

Now for the program. It is quite responsive on my CPU (IBM with Celeron 1Ghz and 512MB) and the memory use is as expected (about 5MB). On the negative side there seem to be a lot of things that are either absent or not working

For instance I can go beyond the current maximum linenumber (using arrow down) and type something.

Building a GUI with FbGFX is gonna be HARD (to say the least) because GFX comes without widgets. There are some alternative GFX libraries that do come with widgets. FreeBASIC comes with the Allegro library and that library does contain widgets. A tutorial on building a graphical user interface with Allegro can be found here:

http://agdn.netfirms.com/main/gui/

And there is an example on using the widgets in the directory where FreeBASIC is installed (.\examples\libraries\allegro\dialog.bas). You'll need the allegro dll to run it. You can download it here

http://sourceforge.net/project/showfile ... _id=168871

(download allegro-mingw-4.2.2.zip)

After unpacking the archive rename alleg42.dll to aleg40.dll otherwise the example that comes with FreeBASIC will not work.
stevie1401
Posts: 134
Joined: Apr 19, 2007 16:20
Contact:

Post by stevie1401 »

Thank you for the hints.
But that is not my plan.
My plan is, to make an editor with pure freebasic-commands, because I want to found out what is really going with Freebasic for a BASIC programmer.
Look at my code:
You will see, it is NOT the best code and really not optimized.
That is ALL learning by doing.

Please read the setup.txt in the inc-folder in my pogram. There is an entry like "colorprint=1".
Change it to "colorprint=0"
Then it is normal without the color-routine and much faster.

The second problem is:
I have noticed that Linux is MUCH slower than Windows. Perhaps the nvidia-driver, I don´t know.

Very helpfull is to give hints to optimize my code with pure basic commands.

Thank you very much!

Stevie
Imortis
Moderator
Posts: 1926
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Post by Imortis »

Small issue:
On Windows, it is missing the winclip.bas file. Where is this and where can I get it?
Post Reply