Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - ESingular, RedHat 7.3
Author Message
  Post subject:   Reply with quote
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
Post Posted: Wed Sep 21, 2005 8:57 pm
  Post subject:   Reply with quote
>
> > 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
Post Posted: Wed Sep 21, 2005 8:56 pm
  Post subject:  Re: ESingular, Mac OS X (was: RedHat 7.3)  Reply with quote
> 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
Post Posted: Wed Sep 21, 2005 8:55 pm
  Post subject:   Reply with quote
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
Post Posted: Wed Sep 21, 2005 8:54 pm
  Post subject:   Reply with quote
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
Post Posted: Wed Sep 21, 2005 8:53 pm
  Post subject:  ESingular, RedHat 7.3  Reply with quote
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
Post Posted: Thu Aug 11, 2005 5:31 pm


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