Clips 6.30 & xclips

61 views
Skip to first unread message

Oskar45

unread,
Nov 2, 2009, 4:26:00 AM11/2/09
to CLIPSESG
Hi,

would the source from
CLIPS_6.30_Beta_Windows_Source_Code_Installer_R3.msi stiil
work with xclips from 6.24?

Are there any plans for having a genuine Clips 6.30 xclips?

Thanks.

/oskar

Alex_G

unread,
Nov 4, 2009, 1:04:02 PM11/4/09
to CLIPSESG
Hi Oskar

I don't know about any other plans, but I really want to have this
system running on my Linux box, so I am doing it myself.

I was going to use the source code from the windoze msi, too, but then
I found the the 6.30 core on sourceforge and used that instead. It
compiled fined fine under a 64-bit Ubuntu Jaunty with Anjuta, and I
have tested a few of the supplied examples with no problem.

I will now look at the xclips 6.24 ide source, which I found
somewhere, see if I can do anything with it.
I'd also thought of using wxWidgets to make a cross platform GUI
(since wx has some prehistory with clips) but I now see that
unfortunately wx doesn't support MDI on Linux. Hmmm....

Anyway, if there's enough interest I might even upload it... we'll see
how it goes.

Do you have a running version of 6.24?

Regards
Alex

CLIPS Support

unread,
Nov 5, 2009, 12:53:03 PM11/5/09
to CLIPSESG
I've uploaded some 6.3 updates to the subversion repository on
SourceForge for the xclips code. This removes some compile errors that
prevent the code from compiling. There are still some warning messages
that need to be investigated.

Alex_G

unread,
Nov 7, 2009, 8:09:33 PM11/7/09
to CLIPSESG
Hi all

I can now confirm that the "xclips" system (i.e. CLIPS + X) builds and
works OK under 64-bit linux with gcc.
As already stated, there are a few (16, IIRC) warnings that could be
looked into, although I think only 4 or so of those affect the CLIPS
core.

The final result is not toooo bad, but I find the abysmal X slider
controls very off-putting. First few times I tried to load a file,
the best I could do was navigate to the dir, and then type the file
name. Eventually I figured it out enough so that I could select a
file, too, but hoo-boy, what a palaver. Some modernisation sorely
needed!
Some better integration with the system might be nice too. No
"system" command as yet, and the ctrl-Z for a terminal in xclips don't
work either. Minor stuff, I know.

I wonder what the general feeling is for making a single cross-
platform interface (with the advantage of a single code base).
Something in wxWidgets or Qt perhaps? I've seen the Windoze
implementation and it looks like it's its own thing, so I imagine
there's a further different version for the Mac. I know there was a
wx interface a few years back, I had it. Had a nice c++ glue layer
too, I remember.

Which reminds me, I must go look at the Java Native Interface now,
maybe some good ideas there...

Alex_G

unread,
Nov 8, 2009, 5:07:36 AM11/8/09
to CLIPSESG
Some shortcomings of the xCLIPS system (6.30)

1) No command line navigation or history available (like in the
Windows version). Quite useful.
2) No edit::cut|copy|paste within the worksheet, either for code, or
for results.
3) Closing any of the auxiliary view windows (facts,rules, etc) closes
the whole system down. Amusing.
4) Weirdness of the X-interface, sliders etc.

5) A built in syntax-aware code editor might be nice, too. (any such
thing available in _any_ form already? el file, eclipse, linux
editors, anything?)

CLIPS Support

unread,
Nov 8, 2009, 3:19:50 PM11/8/09
to CLIPSESG
There's an eclipse plug-in here: http://eclipse-plugins.2y.net/eclipse/plugin_details.jsp?id=322.
Don't know if it's any good or still works.

Based on the amount of third party documentation available for it, X-
Windows appears to be dead. At one point, I was going to try to fix
some of the more obvious problems with the interface, and the lack of
documentation was an issue. More or less convinced me the using
eclipse, swing, or something else was a better alternative.

Alex_G

unread,
Nov 8, 2009, 4:19:33 PM11/8/09
to CLIPSESG
Thanks for the response,

> There's an eclipse plug-in here:http://eclipse-plugins.2y.net/eclipse/plugin_details.jsp?id=322.
> Don't know if it's any good or still works.

Nope, that one's gone and the site is closed down, too. I think they
mean it when they say 'status - obsolete'.
I did find a VIM syntax file, though, which works quite well, and
looks like it could be fairly easily portable.
http://www.vim.org/scripts/script.php?script_id=2660

> Based on the amount of third party documentation available for it, X-
> Windows appears to be dead.

Yes, a bit too reminiscent of GEM, to be honest. Nothing basically
wrong with it, but.....
Anyway, the xclips GUI build is quite functional, just needs a bit of
modernisation, that's all.

Do the Windows and Mac interfaces currently use different code?
Would you (Clips support team) favour the creation of a new cross-
platform C++ GUI interface?



CLIPS Support

unread,
Nov 9, 2009, 7:30:30 PM11/9/09
to CLIPSESG
On Nov 8, 3:19 pm, Alex_G <alexg...@blueyonder.co.uk> wrote:

> Do the Windows and Mac interfaces currently use different code?

Yes, they use different code although I often use helper code that's
GUI independent from one in the other.

> Would you (Clips support team) favour the creation of a new cross-
> platform C++ GUI interface?

Yes, as a developer I favor this at least to the extent of replacing
the X Windows GUI that can be run cross platform.

Archzilon Eshun-Davies

unread,
Nov 10, 2009, 7:58:04 AM11/10/09
to CLIPS
I have been Monitoring this conversation for sometime
and I must say am very interested in This as am now
using OpenBSD. So the xclips idea is very interesting
to me too, am not too deep into the xwindow but I can
help in anyway in terms of Coding, just give me a
doc or two.

PS: if anyone has the source for CLIPS 6.30 I'll appreciate
it if you could pass me a copy.

|_|0|_|
|_|_|0|
|0|0|0|
I hear and I forget, I see and I remember, I do and I understand


Keep your friends updated— even when you’re not signed in.

Alex_G

unread,
Nov 10, 2009, 10:49:00 PM11/10/09
to CLIPSESG
Archzilon, the 6.30 code I used is here:
http://clipsrules.svn.sourceforge.net/viewvc/clipsrules/core/

The code I used for the X interface is here:
http://clipsrules.svn.sourceforge.net/viewvc/clipsrules/x_window_system/


On Nov 10, 12:58 pm, Archzilon Eshun-Davies <zilon-r...@hotmail.com>
wrote:
> I have been Monitoring this conversation for sometime
> and I must say am very interested in This as am now
> using OpenBSD. So the xclips idea is very interesting
> to me too, am not too deep into the xwindow but I can
> help in anyway in terms of Coding, just give me a
> doc or two.
>
> PS: if anyone has the source for CLIPS 6.30 I'll appreciate
> it if you could pass me a copy.
>
> |_|0|_|
> |_|_|0|
> |0|0|0|
> I hear and I forget, I see and I remember, I do and I understand
>
> _________________________________________________________________
> Keep your friends updated—even when you’re not signed in.http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-act...

Alex_G

unread,
Nov 10, 2009, 11:03:09 PM11/10/09
to CLIPSESG
Great, good to hear.
I've decided I'll be using wxWidgets, rather than Qt, after some
deliberation I decided I liked the lightweight portability and use of
native widgets more than Qt's (admitedly fine) widget simulation.
wxWidget also has some fine RAD stuff and a great IDE (Code::Blocks).
I'll look back over Julian Smart's wxClips C++ interface (I think it
was called wxExtend iirc) I'm sure lots of it will be usable. I also
have to familiarise myself with the latest version of wxWidgets, it's
been a while since I used it.

This is a hobby project and I don't have much time at the moment, but
anyone wishing to chip in is more than welcome.
I will be posting a separate thread to report on progress with this
idea.

Archzilon Eshun-Davies

unread,
Nov 11, 2009, 4:32:36 AM11/11/09
to CLIPS
Thanks I'll start digging into to the X and see how I can help.
My time is also very restricted as I work too.

Look forward to bringing life back into xclips.


|_|0|_|
|_|_|0|
|0|0|0|
I hear and I forget, I see and I remember, I do and I understand




> Date: Tue, 10 Nov 2009 19:49:00 -0800
> Subject: Re: Clips 6.30 & xclips
> From: alex...@blueyonder.co.uk
> To: clip...@googlegroups.com
> --
> You received this message because you are subscribed to the Google Groups "CLIPSESG" group.
> To post to this group, send email to CLIP...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/CLIPSESG?hl=en
>
> --> IF YOU NO LONGER WANT TO RECEIVE EMAIL <--
> Visit this group at http://groups.google.com/group/CLIPSESG?hl=en
> Click on "Edit my membership" link.
> Select the "No Email" radio button.
> Click the "Save these settings" button.
>
> --> IF YOU WANT TO UNSUBSCRIBE <--
> Visit this group at http://groups.google.com/group/CLIPSESG?hl=en
> Sign in
> Click on "Edit my membership" link.
> Click the "Unsubscribe" button.
> Note: This appears to be the most reliable way to unsubscribe
>
> Alternately, send email to CLIPSESG-u...@googlegroups.com. You will receive an email which you must respond to as well to unsubscribe. Clicking the link mentioned in the unsubscribe reply does not appear to work reliably.


Windows Live: Make it easier for your friends to see what you’re up to on Facebook.
Reply all
Reply to author
Forward
0 new messages