Frozen window problem

5 views
Skip to first unread message

sabof

unread,
Oct 6, 2011, 2:00:24 PM10/6/11
to eql-user
Hello,

I have downloaded the latest EQL 11.9.1 quickstart package
The .bat examples run fine

However if I run eql.exe and type in
(load "C:/Users/k/Desktop/EQL-win32/EQL/examples/1-hello-world.lisp")
for a second I get a window of the correct size saying "off" (in small
letters). Then the window turns black and freezes.

typing (eql:qgui)
also shows a frozen window.

I have the same problem in emacs

sabof

unread,
Oct 6, 2011, 2:07:28 PM10/6/11
to eql-user
My operating system is Windows 7 64 bit

Polos Ruetz

unread,
Oct 6, 2011, 5:46:11 PM10/6/11
to eql-...@googlegroups.com
2011/10/6, sabof <evgkeni.s...@gmail.com>:

> However if I run eql.exe and type in
> (load "C:/Users/k/Desktop/EQL-win32/EQL/examples/1-hello-world.lisp")
> for a second I get a window of the correct size saying "off" (in small
> letters). Then the window turns black and freezes.

This is normal behavior, because there is no Qt event processing if
you load the file from within the eql.exe (for interactive development
you must use Slime).

So, in order to have a running Qt event loop, you need to fire up a
command shell (either cmd.exe or PowerShell), and pass the file as
argument to the eql.exe, e.g:
(please note the slash, so don't use backslashes)

eql.exe examples/1-hello-world

> typing (eql:qgui)
> also shows a frozen window.

same here; you need to do:

eql.exe -qgui

> I have the same problem in emacs

in your ".emacs" file, did you add the command line argument "-slime"?

(setq inferior-lisp-program "/path-to-eql/eql -slime")

Paul

Polos Ruetz

unread,
Oct 6, 2011, 6:33:48 PM10/6/11
to eql-...@googlegroups.com
2011/10/6, sabof <evgkeni.s...@gmail.com>:

> However if I run eql.exe and type in
> (load "C:/Users/k/Desktop/EQL-win32/EQL/examples/1-hello-world.lisp")
> for a second I get a window of the correct size saying "off" (in small
> letters). Then the window turns black and freezes.

...another option would be to call (eql:qexec) afterwards, optionally
passing a timeout (in milliseconds) after which event processing will
stop.

But in Windows there is a problem here: trying to interrupt (Ctrl+C)
and continue (:c) the event loop from the command shell will work only
a first time... (I don't know why: in both Linux and OSX this is no
problem).

Paul

sabof

unread,
Oct 6, 2011, 7:48:16 PM10/6/11
to eql-user
On Oct 6, 11:33 pm, Polos Ruetz <polos.ru...@gmail.com> wrote:
> 2011/10/6, sabof <evgkeni.sampelni...@gmail.com>:
Thanks, everything is working now.
Setting up a usable free lisp environment on windows has proven to be
a true nightmare.
Everything is either ancient, unstable, or designed for Linux.
Keep up the good work.

Sabof

Polos Ruetz

unread,
Oct 7, 2011, 4:54:22 AM10/7/11
to eql-...@googlegroups.com
2011/10/7, sabof <evgkeni.s...@gmail.com>:

> Setting up a usable free lisp environment on windows has proven to be
> a true nightmare.
> Everything is either ancient, unstable, or designed for Linux.

Well, if somebody isn't happy with EQL:
There is CommonQt: according to its website, it has been tested with
Clozure CL on Windows.

Paul

sabof

unread,
Oct 7, 2011, 3:05:41 PM10/7/11
to eql-user
On Oct 7, 9:54 am, Polos Ruetz <polos.ru...@gmail.com> wrote:
> 2011/10/7, sabof <evgkeni.sampelni...@gmail.com>:
>
> > Setting up a usable free lisp environment on windows has proven to be
> > a true nightmare.
> > Everything is either ancient, unstable, or designed for Linux.
>
> Well, if somebody isn't happy with EQL:
> There is CommonQt: according to its website, it has been tested with
> Clozure CL on Windows.
>
> Paul

That's not what I meant. So far EQL seems to be one of the few things
that work out of the box.

Sabof

Polos Ruetz

unread,
Oct 7, 2011, 7:02:30 PM10/7/11
to eql-...@googlegroups.com
2011/10/7, sabof <evgkeni.s...@gmail.com>:

>> Well, if somebody isn't happy with EQL:
>> There is CommonQt: according to its website, it has been tested with
>> Clozure CL on Windows.
>>
>> Paul
>
> That's not what I meant. So far EQL seems to be one of the few things
> that work out of the box.
>
> Sabof

thank you, you're right of course:
the "quick" part is much more important than most folks realize...

(BTW, the "eql-win32.zip" only exists because of an explicit request
from a fellow Russian user)

Paul

Reply all
Reply to author
Forward
0 new messages