Non-Gui, console only

Let the developers know what you think of the software and what can be done to either improve the CFDG language or the Context Free program.

Moderators: MtnViewJohn, chris, mtnviewmark

shevegen
Posts: 57
Joined: Wed Jul 06, 2005 5:38 am

Non-Gui, console only

Post by shevegen »

Hi!

I am a bit confused.

As far as I have understood it, there is only the console application on Linux. It works nicely, but the confusion was in whenever I see something like "render button" on the forum, i mean i have no buttons. The console application works the same though in that instead of clicking buttons someone has to specify certain command line options?

Maybe you can help to remove my confusion, i am still digging through the forum and web links :)

Guest

Post by Guest »

type "./cfdg" at the prompt, with no parameters, to get a summary of how to use it with parameters..


Usage: ./cfdg [option]... input.cfdg output.png
Options:
-w num width in pixels (default 500)
-h num height in pixels (default 500)
-s num set both width and height in pixels
-m num maximum number of shapes (default none)
-x num over sampling for anti-aliasing (default 3, 1 == off)
-v str set the variation code (default is random)
-c crop image output
-? show this message, then exit


--
for example:
./cfdg -w 500 -h 500 input/forest.cfdg output/forest.png


-cc

momo
Posts: 53
Joined: Tue Jul 19, 2005 5:08 am

Post by momo »

i think it would be nice to have a linux gui too. Are there any plans for adding it?

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post by MtnViewJohn »

Neither Mark nor I plan to make a Linux/xBSD GUI version. Someone else will have to create it.

shevegen
Posts: 57
Joined: Wed Jul 06, 2005 5:38 am

Post by shevegen »

The problem is maybe the manifold GUIs, for windows you dont have to worry much about the users - they can only use one solution. And for linux its maybe not worth it, much less users compared to, and nothing really unified (with Qt and GTK the two biggest, but FOX, wx*, tcl/tk and so many more in existance)

I luckily can use a windows box, the GUI is really great :)

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post by MtnViewJohn »

What if someone wrote a Java applet that works as a driver and GUI for the command line version of cfdg? Would the Java security model for Firefox/Safari/IE let a Java applet run a native program situated in the same directory as the applet's class file?

momo
Posts: 53
Joined: Tue Jul 19, 2005 5:08 am

Post by momo »

I'm trying to fix this so we can have a GUI in Linux too.

Image

I'll try to release an alpha version in a few weeks.

gjunell

command line for windows

Post by gjunell »

I'd like to have the same features of the *nix cfdg program in the windows version. If the windows version executed without parameters (or just a starting file name) then the gui launches. But if the the command line parameters are present, then it renders and quits.

Yes, you could say "hey, just compile cfdg" but I don't have a compiler and libraries.

Perhaps someone out there has a NT/2000 cfdg binary they could give me?

Greg

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post by MtnViewJohn »

cfdg is designed to compile under Linux, Unix (mostly xBSD), or Cygwin. We have never tried to compile it using Visual C++. I might try that over the weekend. You could install Cygwin and compile it yourself.

oliver

Post by oliver »

momo wrote:I'm trying to fix this so we can have a GUI in Linux too.

Image

I'll try to release an alpha version in a few weeks.
where's the screenshot coming from?
how about your progress?
i might me able to help. i high quality rendering
solution would be to use the cairo backend for
drawing in gtk widgets ..

best
oliver

momo
Posts: 53
Joined: Tue Jul 19, 2005 5:08 am

Post by momo »

It's just a front end for the command line version. It's made with ruby, ruby-gnome2 and glade.

I haven't had time to work on it and it lacks some basic features like search & replace or render with a specific variation code, i'm sure it contain bugs too, but it works for me now.

I'm going to try looking into it again this weekend for code cleaning and upload it so you can start using and hacking it.

momo
Posts: 53
Joined: Tue Jul 19, 2005 5:08 am

Post by momo »

Well, here is the link to the context free editor for linux.

Consider this an alpha release.

momo
Posts: 53
Joined: Tue Jul 19, 2005 5:08 am

Post by momo »

here is a new release of the context editor for linux: download

and here is a new screenshot:
Image

Skrabak Csaba
Posts: 1
Joined: Mon Nov 13, 2006 10:45 am
Location: Hungary

Linux GUI running without ruby

Post by Skrabak Csaba »

Hi momo and all,

Since there was nothing about any Linux GUI on the download page, I didn't know that you have already wrote one. Now that I made my GUI, I realized I wasn't the first one. Anyway, check it out. GTK+, made using glade, but needs no ruby: http://impulzus.com/~tchibo/cfdg-fe.tgz
Tchibo~

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post by MtnViewJohn »

I have created a LinuxGUI wiki page and linked to it from the download page.

Post Reply