Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: ESingular, RedHat 7.3
PostPosted: Thu Aug 11, 2005 5:31 pm 
I have used ESingular till now without problems but it does not work with emacs-21.2 in RedHat 7.3. Is it maybe a misconfiguration problem?

email: artal@posta.unizar.es
Posted in old Singular Forum on: 2002-05-20 16:09:46+02


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 21, 2005 8:53 pm 
Dear Enrique!
You are right. There is a problem with emacs-21.2.
Install xemacs-21.4.6-7 which is also included in the
Redhat 7.3 distribution. Then restart ESingular. It should
use xemacs now. If not, use the option --emacs=xemacs
when running ESingular. With xemacs, everything should work.
Regards,
Mathias

> I have used ESingular till now without problems but it does not work with emacs-21.2 in RedHat 7.3. Is it maybe a misconfiguration problem?

email: mschulze@mathematik.uni-kl.de
Posted in old Singular Forum on: 2002-05-23 13:48:39+02


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 21, 2005 8:54 pm 
Hello,
Im not sure if this covers your problem but
emacs seems to have problems with the --no-init-file
option, which is used when starting ESingular.
If you type ESingular --emacs=emacs --no-call then you
should get something like

emacs --eval (setq singular-emacs-home-directory
"/opt/Singular/2-0-3/emacs") --no-init-file --l
/opt/Singular/2-0-3/emacs/.emacs-singular --eval
(singular-other "/opt/Singular/2-0-3/ix86-Linux/Singular"
"/home/" (list ) "singular")

Now just replace the --no-init-file option by -q and it
should work. Of course you can then just save this new
command to a file MyESingular (and make it executable)
in order to have a permanent solution.

Eric Westenberger

> I have used ESingular till now without problems but
> it does not work with emacs-21.2 in RedHat 7.3.
> Is it maybe a misconfiguration problem?

email: westenb@mathematik.uni-kl.de
Posted in old Singular Forum on: 2002-05-27 14:57:56+02


Report this post
Top
  
Reply with quote  
 Post subject: Re: ESingular, Mac OS X (was: RedHat 7.3)
PostPosted: Wed Sep 21, 2005 8:55 pm 
> emacs --eval (setq singular-emacs-home-directory
> "/opt/Singular/2-0-3/emacs") --no-init-file --l
> /opt/Singular/2-0-3/emacs/.emacs-singular --eval
> (singular-other "/opt/Singular/2-0-3/ix86-Linux/Singular"
> "/home/" (list ) "singular")

Thanks. I was able to use the following script (not thoroughly tested yet) as the ESingular program in Mac OS X.

#! /bin/sh
/Applications/Emacs.app/Contents/MacOS/Emacs --eval (setq singular-emacs-home-directory "/sw/Singular/2-0-3/emacs") --no-init-file -l /sw/Singular/2-0-3/emacs/.emacs-singular --eval (singular-other "/sw/Singular/2-0-3/PowerMacintosh-darwin/Singular" "/users/" (list ) "singular")

Curiously, it seems I have to hit return once (in the Terminal window) before the ESingular window becomes responsive to mouse clicks.

Of course, /Applications/... is my Carbon Emacs 21.1.30.3 application (from porkrind.org), and I installed Singular in /sw (I use Fink) to try to get it to look for its libraries there (no luck). Symlinks from /usr/local/lib worked, though.


email: jdalbec@cboss.com
Posted in old Singular Forum on: 2002-06-26 05:29:54+02


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 21, 2005 8:56 pm 
>
> > emacs --eval (setq singular-emacs-home-directory
> > "/opt/Singular/2-0-3/emacs") --no-init-file --l
> > /opt/Singular/2-0-3/emacs/.emacs-singular --eval
> > (singular-other "/opt/Singular/2-0-3/ix86-Linux/Singular"
> > "/home/" (list ) "singular")
>
> Thanks. I was able to use the following script (not
thoroughly tested yet) as the ESingular program in Mac OS X.
>
> #! /bin/sh
> /Applications/Emacs.app/Contents/MacOS/Emacs --eval (setq
singular-emacs-home-directory "/sw/Singular/2-0-3/emacs")
--no-init-file -l /sw/Singular/2-0-3/emacs/.emacs-singular
--eval (singular-other
"/sw/Singular/2-0-3/PowerMacintosh-darwin/Singular"
"/users/" (list ) "singular")
>
> Curiously, it seems I have to hit return once (in the
Terminal window) before the ESingular window becomes
responsive to mouse clicks.
>
> Of course, /Applications/... is my Carbon Emacs 21.1.30.3
application (from porkrind.org), and I installed Singular in
/sw (I use Fink) to try to get it to look for its libraries
there (no luck). Symlinks from /usr/local/lib worked,
though.
>

Sorry, I didn't realize I was supposed to do manual line
wrapping. Also this forum appears to eat single quotes.
Both of the arguments to --eval should have single quotes
around them.

P.S. Is there any way to tell Singular to look elsewhere
(i.e., not in /usr/local/lib) for libgmp and libreadline or
are symlinks the only solution?Mac OS X doesn't have an ldd command so I can't check how
the libraries were compiled in.


email: jdalbec@cboss.com
Posted in old Singular Forum on: 2002-06-26 05:38:59+02


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 21, 2005 8:57 pm 
Minor revisions to my script:

#! /bin/sh
echo | /Applications/Emacs.app/Contents/MacOS/Emacs
--eval (setq singular-emacs-home-directory
"/sw/Singular/2-0-3/emacs") --no-init-file -l
/sw/Singular/2-0-3/emacs/.emacs-singular --eval
(singular-other "Singular" "/users/" (list ) "singular")

> >
> > Curiously, it seems I have to hit return once (in the
> Terminal window) before the ESingular window becomes
> responsive to mouse clicks.

The "echo" at the beginning fixes the above problem. Since Singular is in my PATH I dont need the full pathname, so I changed the executable name to "Singular". Hopefully this time the single quotes will show up correctly.

email: jdalbec@cboss.com
Posted in old Singular Forum on: 2002-06-27 04:16:18+02


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:00 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group