Singular
https://www.singular.uni-kl.de/forum/

ESingular, RedHat 7.3
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1330
Page 1 of 1

Author:  Enrique Artal Bartolo [ Thu Aug 11, 2005 5:31 pm ]
Post subject:  ESingular, RedHat 7.3

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

Author:  Mathias Schulze [ Wed Sep 21, 2005 8:53 pm ]
Post subject: 

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

Author:  Eric Westenberger [ Wed Sep 21, 2005 8:54 pm ]
Post subject: 

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

Author:  John Dalbec [ Wed Sep 21, 2005 8:55 pm ]
Post subject:  Re: ESingular, Mac OS X (was: RedHat 7.3)

> 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

Author:  John Dalbec [ Wed Sep 21, 2005 8:56 pm ]
Post subject: 

>
> > 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

Author:  John Dalbec [ Wed Sep 21, 2005 8:57 pm ]
Post subject: 

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

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/